From 486ce26a91fbcda5697ceb2ce8e238037ddfa081 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 11 Nov 2022 12:49:53 -0600 Subject: [PATCH] Handle pending invites correctly --- src/state/models/get-assertions-view.ts | 121 +++++++ src/state/models/members-view.ts | 4 + src/state/models/suggested-actors-view.ts | 1 - ...d-invites.ts => suggested-invites-view.ts} | 33 +- src/third-party/api/index.js | 299 ++++++++++++++++-- src/third-party/api/index.js.map | 8 +- src/third-party/api/src/client/index.d.ts | 3 + .../types/app/bsky/graph/getAssertions.d.ts | 50 +++ .../api/tsconfig.build.tsbuildinfo | 2 +- src/view/com/modals/InviteToScene.tsx | 92 +++++- todos.txt | 2 - 11 files changed, 557 insertions(+), 58 deletions(-) create mode 100644 src/state/models/get-assertions-view.ts rename src/state/models/{suggested-invites.ts => suggested-invites-view.ts} (75%) create mode 100644 src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts diff --git a/src/state/models/get-assertions-view.ts b/src/state/models/get-assertions-view.ts new file mode 100644 index 00000000..f9e78f38 --- /dev/null +++ b/src/state/models/get-assertions-view.ts @@ -0,0 +1,121 @@ +import {makeAutoObservable} from 'mobx' +import * as GetAssertions from '../../third-party/api/src/client/types/app/bsky/graph/getAssertions' +import {RootStoreModel} from './root-store' + +type ResponseAssertion = GetAssertions.OutputSchema['assertions'][number] +export type Assertion = ResponseAssertion & { + _reactKey: string +} + +export class GetAssertionsView { + // state + isLoading = false + isRefreshing = false + hasLoaded = false + error = '' + params: GetAssertions.QueryParams + + // data + assertions: Assertion[] = [] + + constructor( + public rootStore: RootStoreModel, + params: GetAssertions.QueryParams, + ) { + makeAutoObservable( + this, + { + rootStore: false, + params: false, + }, + {autoBind: true}, + ) + this.params = params + } + + get hasContent() { + return this.assertions.length > 0 + } + + get hasError() { + return this.error !== '' + } + + get isEmpty() { + return this.hasLoaded && !this.hasContent + } + + getBySubject(did: string) { + return this.assertions.find(assertion => assertion.subject.did === did) + } + + get confirmed() { + return this.assertions.filter(assertion => !!assertion.confirmation) + } + + get unconfirmed() { + return this.assertions.filter(assertion => !assertion.confirmation) + } + + // public api + // = + + async setup() { + await this._fetch() + } + + async refresh() { + await this._fetch(true) + } + + async loadMore() { + // TODO + } + + // state transitions + // = + + private _xLoading(isRefreshing = false) { + this.isLoading = true + this.isRefreshing = isRefreshing + this.error = '' + } + + private _xIdle(err: string = '') { + this.isLoading = false + this.isRefreshing = false + this.hasLoaded = true + this.error = err + } + + // loader functions + // = + + private async _fetch(isRefreshing = false) { + this._xLoading(isRefreshing) + try { + const res = await this.rootStore.api.app.bsky.graph.getAssertions( + this.params, + ) + this._replaceAll(res) + this._xIdle() + } catch (e: any) { + this._xIdle(e.toString()) + } + } + + private _replaceAll(res: GetAssertions.Response) { + this.assertions.length = 0 + let counter = 0 + for (const item of res.data.assertions) { + this._append({ + _reactKey: `item-${counter++}`, + ...item, + }) + } + } + + private _append(item: Assertion) { + this.assertions.push(item) + } +} diff --git a/src/state/models/members-view.ts b/src/state/models/members-view.ts index b96d4cd0..370b6b43 100644 --- a/src/state/models/members-view.ts +++ b/src/state/models/members-view.ts @@ -46,6 +46,10 @@ export class MembersViewModel { return this.hasLoaded && !this.hasContent } + isMember(did: string) { + return this.members.find(member => member.did === did) + } + // public api // = diff --git a/src/state/models/suggested-actors-view.ts b/src/state/models/suggested-actors-view.ts index eeb86be7..52e1aec9 100644 --- a/src/state/models/suggested-actors-view.ts +++ b/src/state/models/suggested-actors-view.ts @@ -1,7 +1,6 @@ import {makeAutoObservable} from 'mobx' import * as GetSuggestions from '../../third-party/api/src/client/types/app/bsky/actor/getSuggestions' import {RootStoreModel} from './root-store' -import {Declaration} from './_common' type ResponseSuggestedActor = GetSuggestions.OutputSchema['actors'][number] export type SuggestedActor = ResponseSuggestedActor & { diff --git a/src/state/models/suggested-invites.ts b/src/state/models/suggested-invites-view.ts similarity index 75% rename from src/state/models/suggested-invites.ts rename to src/state/models/suggested-invites-view.ts index 1b080163..260ec681 100644 --- a/src/state/models/suggested-invites.ts +++ b/src/state/models/suggested-invites-view.ts @@ -1,27 +1,30 @@ import {makeAutoObservable, runInAction} from 'mobx' import {RootStoreModel} from './root-store' -import {MembersViewModel} from './members-view' import {UserFollowsViewModel, FollowItem} from './user-follows-view' -import {APP_BSKY_SYSTEM} from '../../third-party/api' +import {GetAssertionsView} from './get-assertions-view' +import {APP_BSKY_SYSTEM, APP_BSKY_GRAPH} from '../../third-party/api' -export interface SuggestedInvites { +export interface SuggestedInvitesViewParams { sceneDid: string } -export class SuggestedInvites { +export class SuggestedInvitesView { // state isLoading = false isRefreshing = false hasLoaded = false error = '' - params: SuggestedInvites - sceneMembersView: MembersViewModel + params: SuggestedInvitesViewParams + sceneAssertionsView: GetAssertionsView myFollowsView: UserFollowsViewModel // data suggestions: FollowItem[] = [] - constructor(public rootStore: RootStoreModel, params: SuggestedInvites) { + constructor( + public rootStore: RootStoreModel, + params: SuggestedInvitesViewParams, + ) { makeAutoObservable( this, { @@ -31,8 +34,9 @@ export class SuggestedInvites { {autoBind: true}, ) this.params = params - this.sceneMembersView = new MembersViewModel(rootStore, { - actor: params.sceneDid, + this.sceneAssertionsView = new GetAssertionsView(rootStore, { + author: params.sceneDid, + assertion: APP_BSKY_GRAPH.AssertMember, }) this.myFollowsView = new UserFollowsViewModel(rootStore, { user: rootStore.me.did || '', @@ -51,6 +55,10 @@ export class SuggestedInvites { return this.hasLoaded && !this.hasContent } + get unconfirmed() { + return this.sceneAssertionsView.unconfirmed + } + // public api // = @@ -88,7 +96,8 @@ export class SuggestedInvites { private async _fetch(isRefreshing = false) { this._xLoading(isRefreshing) try { - await this.sceneMembersView.setup() + // TODO need to fetch all! + await this.sceneAssertionsView.setup() } catch (e) { console.error(e) this._xIdle( @@ -112,9 +121,7 @@ export class SuggestedInvites { if (follow.declaration.actorType !== APP_BSKY_SYSTEM.ActorUser) { continue } - if ( - !this.sceneMembersView.members.find(member => member.did === follow.did) - ) { + if (!this.sceneAssertionsView.getBySubject(follow.did)) { newSuggestions.push(follow) } } diff --git a/src/third-party/api/index.js b/src/third-party/api/index.js index 223cc9ba..d7aea65f 100644 --- a/src/third-party/api/index.js +++ b/src/third-party/api/index.js @@ -6960,6 +6960,7 @@ __export(src_exports, { AppBskyGraphAssertion: () => assertion_exports, AppBskyGraphConfirmation: () => confirmation_exports, AppBskyGraphFollow: () => follow_exports, + AppBskyGraphGetAssertions: () => getAssertions_exports, AppBskyGraphGetFollowers: () => getFollowers_exports, AppBskyGraphGetFollows: () => getFollows_exports, AppBskyGraphGetMembers: () => getMembers_exports, @@ -13340,6 +13341,231 @@ var methodSchemaDict = { } } }, + "app.bsky.graph.getAssertions": { + lexicon: 1, + id: "app.bsky.graph.getAssertions", + type: "query", + description: "General-purpose query for assertions.", + parameters: { + type: "object", + properties: { + author: { + type: "string" + }, + subject: { + type: "string" + }, + assertion: { + type: "string" + }, + confirmed: { + type: "boolean" + }, + limit: { + type: "number", + maximum: 100 + }, + before: { + type: "string" + } + } + }, + output: { + encoding: "application/json", + schema: { + type: "object", + required: ["assertions"], + properties: { + cursor: { + type: "string" + }, + assertions: { + type: "array", + items: { + type: "object", + required: [ + "uri", + "cid", + "assertion", + "author", + "subject", + "indexedAt", + "createdAt" + ], + properties: { + uri: { + type: "string" + }, + cid: { + type: "string" + }, + assertion: { + type: "string" + }, + confirmation: { + $ref: "#/$defs/confirmation" + }, + author: { + $ref: "#/$defs/actor" + }, + subject: { + $ref: "#/$defs/actor" + }, + indexedAt: { + type: "string", + format: "date-time" + }, + createdAt: { + type: "string", + format: "date-time" + } + } + } + } + }, + $defs: { + confirmation: { + type: "object", + required: ["uri", "cid", "indexedAt", "createdAt"], + properties: { + uri: { + type: "string" + }, + cid: { + type: "string" + }, + indexedAt: { + type: "string", + format: "date-time" + }, + createdAt: { + type: "string", + format: "date-time" + } + } + }, + actor: { + type: "object", + required: ["did", "declaration", "handle"], + properties: { + did: { + type: "string" + }, + declaration: { + $ref: "#/$defs/declaration" + }, + handle: { + type: "string" + }, + displayName: { + type: "string", + maxLength: 64 + } + } + }, + declaration: { + type: "object", + required: ["cid", "actorType"], + properties: { + cid: { + type: "string" + }, + actorType: { + oneOf: [ + { + $ref: "#/$defs/actorKnown" + }, + { + $ref: "#/$defs/actorUnknown" + } + ] + } + } + }, + actorKnown: { + type: "string", + enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"] + }, + actorUnknown: { + type: "string", + not: { + enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"] + } + } + } + } + }, + defs: { + confirmation: { + type: "object", + required: ["uri", "cid", "indexedAt", "createdAt"], + properties: { + uri: { + type: "string" + }, + cid: { + type: "string" + }, + indexedAt: { + type: "string", + format: "date-time" + }, + createdAt: { + type: "string", + format: "date-time" + } + } + }, + actor: { + type: "object", + required: ["did", "declaration", "handle"], + properties: { + did: { + type: "string" + }, + declaration: { + $ref: "#/$defs/declaration" + }, + handle: { + type: "string" + }, + displayName: { + type: "string", + maxLength: 64 + } + } + }, + declaration: { + type: "object", + required: ["cid", "actorType"], + properties: { + cid: { + type: "string" + }, + actorType: { + oneOf: [ + { + $ref: "#/$defs/actorKnown" + }, + { + $ref: "#/$defs/actorUnknown" + } + ] + } + } + }, + actorKnown: { + type: "string", + enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"] + }, + actorUnknown: { + type: "string", + not: { + enum: ["app.bsky.system.actorUser", "app.bsky.system.actorScene"] + } + } + } + }, "app.bsky.graph.getFollowers": { lexicon: 1, id: "app.bsky.graph.getFollowers", @@ -15138,9 +15364,9 @@ function toKnownErr34(e) { return e; } -// src/client/types/app/bsky/graph/getFollowers.ts -var getFollowers_exports = {}; -__export(getFollowers_exports, { +// src/client/types/app/bsky/graph/getAssertions.ts +var getAssertions_exports = {}; +__export(getAssertions_exports, { toKnownErr: () => toKnownErr35 }); function toKnownErr35(e) { @@ -15149,9 +15375,9 @@ function toKnownErr35(e) { return e; } -// src/client/types/app/bsky/graph/getFollows.ts -var getFollows_exports = {}; -__export(getFollows_exports, { +// src/client/types/app/bsky/graph/getFollowers.ts +var getFollowers_exports = {}; +__export(getFollowers_exports, { toKnownErr: () => toKnownErr36 }); function toKnownErr36(e) { @@ -15160,9 +15386,9 @@ function toKnownErr36(e) { return e; } -// src/client/types/app/bsky/graph/getMembers.ts -var getMembers_exports = {}; -__export(getMembers_exports, { +// src/client/types/app/bsky/graph/getFollows.ts +var getFollows_exports = {}; +__export(getFollows_exports, { toKnownErr: () => toKnownErr37 }); function toKnownErr37(e) { @@ -15171,9 +15397,9 @@ function toKnownErr37(e) { return e; } -// src/client/types/app/bsky/graph/getMemberships.ts -var getMemberships_exports = {}; -__export(getMemberships_exports, { +// src/client/types/app/bsky/graph/getMembers.ts +var getMembers_exports = {}; +__export(getMembers_exports, { toKnownErr: () => toKnownErr38 }); function toKnownErr38(e) { @@ -15182,9 +15408,9 @@ function toKnownErr38(e) { return e; } -// src/client/types/app/bsky/notification/getCount.ts -var getCount_exports = {}; -__export(getCount_exports, { +// src/client/types/app/bsky/graph/getMemberships.ts +var getMemberships_exports = {}; +__export(getMemberships_exports, { toKnownErr: () => toKnownErr39 }); function toKnownErr39(e) { @@ -15193,9 +15419,9 @@ function toKnownErr39(e) { return e; } -// src/client/types/app/bsky/notification/list.ts -var list_exports = {}; -__export(list_exports, { +// src/client/types/app/bsky/notification/getCount.ts +var getCount_exports = {}; +__export(getCount_exports, { toKnownErr: () => toKnownErr40 }); function toKnownErr40(e) { @@ -15204,9 +15430,9 @@ function toKnownErr40(e) { return e; } -// src/client/types/app/bsky/notification/updateSeen.ts -var updateSeen_exports = {}; -__export(updateSeen_exports, { +// src/client/types/app/bsky/notification/list.ts +var list_exports = {}; +__export(list_exports, { toKnownErr: () => toKnownErr41 }); function toKnownErr41(e) { @@ -15215,6 +15441,17 @@ function toKnownErr41(e) { return e; } +// src/client/types/app/bsky/notification/updateSeen.ts +var updateSeen_exports = {}; +__export(updateSeen_exports, { + toKnownErr: () => toKnownErr42 +}); +function toKnownErr42(e) { + if (e instanceof XRPCError) { + } + return e; +} + // src/client/types/app/bsky/actor/profile.ts var profile_exports = {}; @@ -15754,24 +15991,29 @@ var GraphNS = class { this.confirmation = new ConfirmationRecord(service); this.follow = new FollowRecord(service); } + getAssertions(params, opts) { + return this._service.xrpc.call("app.bsky.graph.getAssertions", params, void 0, opts).catch((e) => { + throw toKnownErr35(e); + }); + } getFollowers(params, opts) { return this._service.xrpc.call("app.bsky.graph.getFollowers", params, void 0, opts).catch((e) => { - throw toKnownErr35(e); + throw toKnownErr36(e); }); } getFollows(params, opts) { return this._service.xrpc.call("app.bsky.graph.getFollows", params, void 0, opts).catch((e) => { - throw toKnownErr36(e); + throw toKnownErr37(e); }); } getMembers(params, opts) { return this._service.xrpc.call("app.bsky.graph.getMembers", params, void 0, opts).catch((e) => { - throw toKnownErr37(e); + throw toKnownErr38(e); }); } getMemberships(params, opts) { return this._service.xrpc.call("app.bsky.graph.getMemberships", params, void 0, opts).catch((e) => { - throw toKnownErr38(e); + throw toKnownErr39(e); }); } }; @@ -15892,17 +16134,17 @@ var NotificationNS = class { } getCount(params, opts) { return this._service.xrpc.call("app.bsky.notification.getCount", params, void 0, opts).catch((e) => { - throw toKnownErr39(e); + throw toKnownErr40(e); }); } list(params, opts) { return this._service.xrpc.call("app.bsky.notification.list", params, void 0, opts).catch((e) => { - throw toKnownErr40(e); + throw toKnownErr41(e); }); } updateSeen(data, opts) { return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => { - throw toKnownErr41(e); + throw toKnownErr42(e); }); } }; @@ -16100,6 +16342,7 @@ var SessionManager = class extends import_events.default { AppBskyGraphAssertion, AppBskyGraphConfirmation, AppBskyGraphFollow, + AppBskyGraphGetAssertions, AppBskyGraphGetFollowers, AppBskyGraphGetFollows, AppBskyGraphGetMembers, diff --git a/src/third-party/api/index.js.map b/src/third-party/api/index.js.map index 03028612..cd8be2f0 100644 --- a/src/third-party/api/index.js.map +++ b/src/third-party/api/index.js.map @@ -1,7 +1,7 @@ { "version": 3, - "sources": ["../../../node_modules/ajv/lib/compile/codegen/code.ts", "../../../node_modules/ajv/lib/compile/codegen/scope.ts", "../../../node_modules/ajv/lib/compile/codegen/index.ts", "../../../node_modules/ajv/lib/compile/util.ts", "../../../node_modules/ajv/lib/compile/names.ts", "../../../node_modules/ajv/lib/compile/errors.ts", "../../../node_modules/ajv/lib/compile/validate/boolSchema.ts", "../../../node_modules/ajv/lib/compile/rules.ts", "../../../node_modules/ajv/lib/compile/validate/applicability.ts", "../../../node_modules/ajv/lib/compile/validate/dataType.ts", "../../../node_modules/ajv/lib/compile/validate/defaults.ts", "../../../node_modules/ajv/lib/vocabularies/code.ts", "../../../node_modules/ajv/lib/compile/validate/keyword.ts", "../../../node_modules/ajv/lib/compile/validate/subschema.ts", "../../../node_modules/fast-deep-equal/index.js", "../../../node_modules/json-schema-traverse/index.js", "../../../node_modules/ajv/lib/compile/resolve.ts", "../../../node_modules/ajv/lib/compile/validate/index.ts", "../../../node_modules/ajv/lib/runtime/validation_error.ts", "../../../node_modules/ajv/lib/compile/ref_error.ts", "../../../node_modules/ajv/lib/compile/index.ts", "../../../node_modules/uri-js/src/index.ts", "../../../node_modules/uri-js/src/schemes/urn-uuid.ts", "../../../node_modules/uri-js/src/schemes/urn.ts", "../../../node_modules/uri-js/src/schemes/mailto.ts", "../../../node_modules/uri-js/src/schemes/wss.ts", "../../../node_modules/uri-js/src/schemes/ws.ts", "../../../node_modules/uri-js/src/schemes/https.ts", "../../../node_modules/uri-js/src/schemes/http.ts", "../../../node_modules/uri-js/src/uri.ts", "../../../node_modules/uri-js/node_modules/punycode/punycode.es6.js", "../../../node_modules/uri-js/src/regexps-iri.ts", "../../../node_modules/uri-js/src/regexps-uri.ts", "../../../node_modules/uri-js/src/util.ts", "../../../node_modules/ajv/lib/runtime/uri.ts", "../../../node_modules/ajv/lib/core.ts", "../../../node_modules/ajv/lib/vocabularies/core/id.ts", "../../../node_modules/ajv/lib/vocabularies/core/ref.ts", "../../../node_modules/ajv/lib/vocabularies/core/index.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitNumber.ts", "../../../node_modules/ajv/lib/vocabularies/validation/multipleOf.ts", "../../../node_modules/ajv/lib/runtime/ucs2length.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitLength.ts", "../../../node_modules/ajv/lib/vocabularies/validation/pattern.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitProperties.ts", "../../../node_modules/ajv/lib/vocabularies/validation/required.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitItems.ts", "../../../node_modules/ajv/lib/runtime/equal.ts", "../../../node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts", "../../../node_modules/ajv/lib/vocabularies/validation/const.ts", "../../../node_modules/ajv/lib/vocabularies/validation/enum.ts", "../../../node_modules/ajv/lib/vocabularies/validation/index.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/items.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/items2020.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/contains.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/dependencies.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/properties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/not.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/anyOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/oneOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/allOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/if.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/thenElse.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/index.ts", "../../../node_modules/ajv/lib/vocabularies/format/format.ts", "../../../node_modules/ajv/lib/vocabularies/format/index.ts", "../../../node_modules/ajv/lib/vocabularies/metadata.ts", "../../../node_modules/ajv/lib/vocabularies/draft7.ts", "../../../node_modules/ajv/lib/vocabularies/discriminator/types.ts", "../../../node_modules/ajv/lib/vocabularies/discriminator/index.ts", "../../../node_modules/ajv/lib/ajv.ts", "../../../node_modules/ajv-formats/src/formats.ts", "../../../node_modules/ajv-formats/src/limit.ts", "../../../node_modules/ajv-formats/src/index.ts", "../src/index.ts", "../../../node_modules/zod/lib/index.mjs", "../../xrpc/src/types.ts", "../../nsid/src/index.ts", "../../lexicon/src/types.ts", "../../lexicon/src/record/schema.ts", "../../lexicon/src/record/validator.ts", "../../xrpc/src/util.ts", "../../xrpc/src/client.ts", "../../xrpc/src/index.ts", "../src/client/schemas.ts", "../src/client/types/com/atproto/account/create.ts", "../src/client/types/com/atproto/account/createInviteCode.ts", "../src/client/types/com/atproto/account/delete.ts", "../src/client/types/com/atproto/account/get.ts", "../src/client/types/com/atproto/account/requestPasswordReset.ts", "../src/client/types/com/atproto/account/resetPassword.ts", "../src/client/types/com/atproto/handle/resolve.ts", "../src/client/types/com/atproto/repo/batchWrite.ts", "../src/client/types/com/atproto/repo/createRecord.ts", "../src/client/types/com/atproto/repo/deleteRecord.ts", "../src/client/types/com/atproto/repo/describe.ts", "../src/client/types/com/atproto/repo/getRecord.ts", "../src/client/types/com/atproto/repo/listRecords.ts", "../src/client/types/com/atproto/repo/putRecord.ts", "../src/client/types/com/atproto/server/getAccountsConfig.ts", "../src/client/types/com/atproto/session/create.ts", "../src/client/types/com/atproto/session/delete.ts", "../src/client/types/com/atproto/session/get.ts", "../src/client/types/com/atproto/session/refresh.ts", "../src/client/types/com/atproto/sync/getRepo.ts", "../src/client/types/com/atproto/sync/getRoot.ts", "../src/client/types/com/atproto/sync/updateRepo.ts", "../src/client/types/app/bsky/actor/createScene.ts", "../src/client/types/app/bsky/actor/getProfile.ts", "../src/client/types/app/bsky/actor/getSuggestions.ts", "../src/client/types/app/bsky/actor/search.ts", "../src/client/types/app/bsky/actor/searchTypeahead.ts", "../src/client/types/app/bsky/actor/updateProfile.ts", "../src/client/types/app/bsky/feed/getAuthorFeed.ts", "../src/client/types/app/bsky/feed/getPostThread.ts", "../src/client/types/app/bsky/feed/getRepostedBy.ts", "../src/client/types/app/bsky/feed/getTimeline.ts", "../src/client/types/app/bsky/feed/getVotes.ts", "../src/client/types/app/bsky/feed/setVote.ts", "../src/client/types/app/bsky/graph/getFollowers.ts", "../src/client/types/app/bsky/graph/getFollows.ts", "../src/client/types/app/bsky/graph/getMembers.ts", "../src/client/types/app/bsky/graph/getMemberships.ts", "../src/client/types/app/bsky/notification/getCount.ts", "../src/client/types/app/bsky/notification/list.ts", "../src/client/types/app/bsky/notification/updateSeen.ts", "../src/client/types/app/bsky/actor/profile.ts", "../src/client/types/app/bsky/feed/mediaEmbed.ts", "../src/client/types/app/bsky/feed/post.ts", "../src/client/types/app/bsky/feed/repost.ts", "../src/client/types/app/bsky/feed/trend.ts", "../src/client/types/app/bsky/feed/vote.ts", "../src/client/types/app/bsky/graph/assertion.ts", "../src/client/types/app/bsky/graph/confirmation.ts", "../src/client/types/app/bsky/graph/follow.ts", "../src/client/types/app/bsky/system/declaration.ts", "../src/client/index.ts", "../src/session.ts"], - "sourcesContent": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, "'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n", "'use strict';\n\nvar traverse = module.exports = function (schema, opts, cb) {\n // Legacy support for v0.3.1 and earlier.\n if (typeof opts == 'function') {\n cb = opts;\n opts = {};\n }\n\n cb = opts.cb || cb;\n var pre = (typeof cb == 'function') ? cb : cb.pre || function() {};\n var post = cb.post || function() {};\n\n _traverse(opts, pre, post, schema, '', schema);\n};\n\n\ntraverse.keywords = {\n additionalItems: true,\n items: true,\n contains: true,\n additionalProperties: true,\n propertyNames: true,\n not: true,\n if: true,\n then: true,\n else: true\n};\n\ntraverse.arrayKeywords = {\n items: true,\n allOf: true,\n anyOf: true,\n oneOf: true\n};\n\ntraverse.propsKeywords = {\n $defs: true,\n definitions: true,\n properties: true,\n patternProperties: true,\n dependencies: true\n};\n\ntraverse.skipKeywords = {\n default: true,\n enum: true,\n const: true,\n required: true,\n maximum: true,\n minimum: true,\n exclusiveMaximum: true,\n exclusiveMinimum: true,\n multipleOf: true,\n maxLength: true,\n minLength: true,\n pattern: true,\n format: true,\n maxItems: true,\n minItems: true,\n uniqueItems: true,\n maxProperties: true,\n minProperties: true\n};\n\n\nfunction _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n if (schema && typeof schema == 'object' && !Array.isArray(schema)) {\n pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n for (var key in schema) {\n var sch = schema[key];\n if (Array.isArray(sch)) {\n if (key in traverse.arrayKeywords) {\n for (var i=0; i = {\n\tscheme : \"urn:uuid\",\n\n\tparse : function (urnComponents:URNComponents, options:URIOptions):UUIDComponents {\n\t\tconst uuidComponents = urnComponents as UUIDComponents;\n\t\tuuidComponents.uuid = uuidComponents.nss;\n\t\tuuidComponents.nss = undefined;\n\n\t\tif (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) {\n\t\t\tuuidComponents.error = uuidComponents.error || \"UUID is not valid.\";\n\t\t}\n\n\t\treturn uuidComponents;\n\t},\n\n\tserialize : function (uuidComponents:UUIDComponents, options:URIOptions):URNComponents {\n\t\tconst urnComponents = uuidComponents as URNComponents;\n\t\t//normalize UUID\n\t\turnComponents.nss = (uuidComponents.uuid || \"\").toLowerCase();\n\t\treturn urnComponents;\n\t},\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport { pctEncChar, SCHEMES } from \"../uri\";\n\nexport interface URNComponents extends URIComponents {\n\tnid?:string;\n\tnss?:string;\n}\n\nexport interface URNOptions extends URIOptions {\n\tnid?:string;\n}\n\nconst NID$ = \"(?:[0-9A-Za-z][0-9A-Za-z\\\\-]{1,31})\";\nconst PCT_ENCODED$ = \"(?:\\\\%[0-9A-Fa-f]{2})\";\nconst TRANS$$ = \"[0-9A-Za-z\\\\(\\\\)\\\\+\\\\,\\\\-\\\\.\\\\:\\\\=\\\\@\\\\;\\\\$\\\\_\\\\!\\\\*\\\\'\\\\/\\\\?\\\\#]\";\nconst NSS$ = \"(?:(?:\" + PCT_ENCODED$ + \"|\" + TRANS$$ + \")+)\";\nconst URN_SCHEME = new RegExp(\"^urn\\\\:(\" + NID$ + \")$\");\nconst URN_PATH = new RegExp(\"^(\" + NID$ + \")\\\\:(\" + NSS$ + \")$\");\nconst URN_PARSE = /^([^\\:]+)\\:(.*)/;\nconst URN_EXCLUDED = /[\\x00-\\x20\\\\\\\"\\&\\<\\>\\[\\]\\^\\`\\{\\|\\}\\~\\x7F-\\xFF]/g;\n\n//RFC 2141\nconst handler:URISchemeHandler = {\n\tscheme : \"urn\",\n\n\tparse : function (components:URIComponents, options:URNOptions):URNComponents {\n\t\tconst matches = components.path && components.path.match(URN_PARSE);\n\t\tlet urnComponents = components as URNComponents;\n\n\t\tif (matches) {\n\t\t\tconst scheme = options.scheme || urnComponents.scheme || \"urn\";\n\t\t\tconst nid = matches[1].toLowerCase();\n\t\t\tconst nss = matches[2];\n\t\t\tconst urnScheme = `${scheme}:${options.nid || nid}`;\n\t\t\tconst schemeHandler = SCHEMES[urnScheme];\n\n\t\t\turnComponents.nid = nid;\n\t\t\turnComponents.nss = nss;\n\t\t\turnComponents.path = undefined;\n\n\t\t\tif (schemeHandler) {\n\t\t\t\turnComponents = schemeHandler.parse(urnComponents, options) as URNComponents;\n\t\t\t}\n\t\t} else {\n\t\t\turnComponents.error = urnComponents.error || \"URN can not be parsed.\";\n\t\t}\n\n\t\treturn urnComponents;\n\t},\n\n\tserialize : function (urnComponents:URNComponents, options:URNOptions):URIComponents {\n\t\tconst scheme = options.scheme || urnComponents.scheme || \"urn\";\n\t\tconst nid = urnComponents.nid;\n\t\tconst urnScheme = `${scheme}:${options.nid || nid}`;\n\t\tconst schemeHandler = SCHEMES[urnScheme];\n\n\t\tif (schemeHandler) {\n\t\t\turnComponents = schemeHandler.serialize(urnComponents, options) as URNComponents;\n\t\t}\n\n\t\tconst uriComponents = urnComponents as URIComponents;\n\t\tconst nss = urnComponents.nss;\n\t\turiComponents.path = `${nid || options.nid}:${nss}`;\n\n\t\treturn uriComponents;\n\t},\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport { pctEncChar, pctDecChars, unescapeComponent } from \"../uri\";\nimport punycode from \"punycode\";\nimport { merge, subexp, toUpperCase, toArray } from \"../util\";\n\nexport interface MailtoHeaders {\n\t[hfname:string]:string\n}\n\nexport interface MailtoComponents extends URIComponents {\n\tto:Array,\n\theaders?:MailtoHeaders,\n\tsubject?:string,\n\tbody?:string\n}\n\nconst O:MailtoHeaders = {};\nconst isIRI = true;\n\n//RFC 3986\nconst UNRESERVED$$ = \"[A-Za-z0-9\\\\-\\\\.\\\\_\\\\~\" + (isIRI ? \"\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF\" : \"\") + \"]\";\nconst HEXDIG$$ = \"[0-9A-Fa-f]\"; //case-insensitive\nconst PCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)); //expanded\n\n//RFC 5322, except these symbols as per RFC 6068: @ : / ? # [ ] & ; =\n//const ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\#\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\/\\\\=\\\\?\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QTEXT$$ = \"[\\\\x01-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F]\"; //(%d1-8 / %d11-12 / %d14-31 / %d127)\n//const QTEXT$$ = merge(\"[\\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E]\", OBS_QTEXT$$); //%d33 / %d35-91 / %d93-126 / obs-qtext\n//const VCHAR$$ = \"[\\\\x21-\\\\x7E]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QP$ = subexp(\"\\\\\\\\\" + merge(\"[\\\\x00\\\\x0D\\\\x0A]\", OBS_QTEXT$$)); //%d0 / CR / LF / obs-qtext\n//const FWS$ = subexp(subexp(WSP$$ + \"*\" + \"\\\\x0D\\\\x0A\") + \"?\" + WSP$$ + \"+\");\n//const QUOTED_PAIR$ = subexp(subexp(\"\\\\\\\\\" + subexp(VCHAR$$ + \"|\" + WSP$$)) + \"|\" + OBS_QP$);\n//const QUOTED_STRING$ = subexp('\\\\\"' + subexp(FWS$ + \"?\" + QCONTENT$) + \"*\" + FWS$ + \"?\" + '\\\\\"');\nconst ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\$\\\\%\\\\'\\\\*\\\\+\\\\-\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\nconst QTEXT$$ = \"[\\\\!\\\\$\\\\%\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\-\\\\.0-9\\\\<\\\\>A-Z\\\\x5E-\\\\x7E]\";\nconst VCHAR$$ = merge(QTEXT$$, \"[\\\\\\\"\\\\\\\\]\");\nconst DOT_ATOM_TEXT$ = subexp(ATEXT$$ + \"+\" + subexp(\"\\\\.\" + ATEXT$$ + \"+\") + \"*\");\nconst QUOTED_PAIR$ = subexp(\"\\\\\\\\\" + VCHAR$$);\nconst QCONTENT$ = subexp(QTEXT$$ + \"|\" + QUOTED_PAIR$);\nconst QUOTED_STRING$ = subexp('\\\\\"' + QCONTENT$ + \"*\" + '\\\\\"');\n\n//RFC 6068\nconst DTEXT_NO_OBS$$ = \"[\\\\x21-\\\\x5A\\\\x5E-\\\\x7E]\"; //%d33-90 / %d94-126\nconst SOME_DELIMS$$ = \"[\\\\!\\\\$\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\:\\\\@]\";\nconst QCHAR$ = subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$ + \"|\" + SOME_DELIMS$$);\nconst DOMAIN$ = subexp(DOT_ATOM_TEXT$ + \"|\" + \"\\\\[\" + DTEXT_NO_OBS$$ + \"*\" + \"\\\\]\");\nconst LOCAL_PART$ = subexp(DOT_ATOM_TEXT$ + \"|\" + QUOTED_STRING$);\nconst ADDR_SPEC$ = subexp(LOCAL_PART$ + \"\\\\@\" + DOMAIN$);\nconst TO$ = subexp(ADDR_SPEC$ + subexp(\"\\\\,\" + ADDR_SPEC$) + \"*\");\nconst HFNAME$ = subexp(QCHAR$ + \"*\");\nconst HFVALUE$ = HFNAME$;\nconst HFIELD$ = subexp(HFNAME$ + \"\\\\=\" + HFVALUE$);\nconst HFIELDS2$ = subexp(HFIELD$ + subexp(\"\\\\&\" + HFIELD$) + \"*\");\nconst HFIELDS$ = subexp(\"\\\\?\" + HFIELDS2$);\nconst MAILTO_URI = new RegExp(\"^mailto\\\\:\" + TO$ + \"?\" + HFIELDS$ + \"?$\");\n\nconst UNRESERVED = new RegExp(UNRESERVED$$, \"g\");\nconst PCT_ENCODED = new RegExp(PCT_ENCODED$, \"g\");\nconst NOT_LOCAL_PART = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\.]\", '[\\\\\"]', VCHAR$$), \"g\");\nconst NOT_DOMAIN = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\.]\", \"[\\\\[]\", DTEXT_NO_OBS$$, \"[\\\\]]\"), \"g\");\nconst NOT_HFNAME = new RegExp(merge(\"[^]\", UNRESERVED$$, SOME_DELIMS$$), \"g\");\nconst NOT_HFVALUE = NOT_HFNAME;\nconst TO = new RegExp(\"^\" + TO$ + \"$\");\nconst HFIELDS = new RegExp(\"^\" + HFIELDS2$ + \"$\");\n\nfunction decodeUnreserved(str:string):string {\n\tconst decStr = pctDecChars(str);\n\treturn (!decStr.match(UNRESERVED) ? str : decStr);\n}\n\nconst handler:URISchemeHandler = {\n\tscheme : \"mailto\",\n\n\tparse : function (components:URIComponents, options:URIOptions):MailtoComponents {\n\t\tconst mailtoComponents = components as MailtoComponents;\n\t\tconst to = mailtoComponents.to = (mailtoComponents.path ? mailtoComponents.path.split(\",\") : []);\n\t\tmailtoComponents.path = undefined;\n\n\t\tif (mailtoComponents.query) {\n\t\t\tlet unknownHeaders = false\n\t\t\tconst headers:MailtoHeaders = {};\n\t\t\tconst hfields = mailtoComponents.query.split(\"&\");\n\n\t\t\tfor (let x = 0, xl = hfields.length; x < xl; ++x) {\n\t\t\t\tconst hfield = hfields[x].split(\"=\");\n\n\t\t\t\tswitch (hfield[0]) {\n\t\t\t\t\tcase \"to\":\n\t\t\t\t\t\tconst toAddrs = hfield[1].split(\",\");\n\t\t\t\t\t\tfor (let x = 0, xl = toAddrs.length; x < xl; ++x) {\n\t\t\t\t\t\t\tto.push(toAddrs[x]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"subject\":\n\t\t\t\t\t\tmailtoComponents.subject = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"body\":\n\t\t\t\t\t\tmailtoComponents.body = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tunknownHeaders = true;\n\t\t\t\t\t\theaders[unescapeComponent(hfield[0], options)] = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (unknownHeaders) mailtoComponents.headers = headers;\n\t\t}\n\n\t\tmailtoComponents.query = undefined;\n\n\t\tfor (let x = 0, xl = to.length; x < xl; ++x) {\n\t\t\tconst addr = to[x].split(\"@\");\n\n\t\t\taddr[0] = unescapeComponent(addr[0]);\n\n\t\t\tif (!options.unicodeSupport) {\n\t\t\t\t//convert Unicode IDN -> ASCII IDN\n\t\t\t\ttry {\n\t\t\t\t\taddr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase());\n\t\t\t\t} catch (e) {\n\t\t\t\t\tmailtoComponents.error = mailtoComponents.error || \"Email address's domain name can not be converted to ASCII via punycode: \" + e;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\taddr[1] = unescapeComponent(addr[1], options).toLowerCase();\n\t\t\t}\n\n\t\t\tto[x] = addr.join(\"@\");\n\t\t}\n\n\t\treturn mailtoComponents;\n\t},\n\n\tserialize : function (mailtoComponents:MailtoComponents, options:URIOptions):URIComponents {\n\t\tconst components = mailtoComponents as URIComponents;\n\t\tconst to = toArray(mailtoComponents.to);\n\t\tif (to) {\n\t\t\tfor (let x = 0, xl = to.length; x < xl; ++x) {\n\t\t\t\tconst toAddr = String(to[x]);\n\t\t\t\tconst atIdx = toAddr.lastIndexOf(\"@\");\n\t\t\t\tconst localPart = (toAddr.slice(0, atIdx)).replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_LOCAL_PART, pctEncChar);\n\t\t\t\tlet domain = toAddr.slice(atIdx + 1);\n\n\t\t\t\t//convert IDN via punycode\n\t\t\t\ttry {\n\t\t\t\t\tdomain = (!options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : punycode.toUnicode(domain));\n\t\t\t\t} catch (e) {\n\t\t\t\t\tcomponents.error = components.error || \"Email address's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n\t\t\t\t}\n\n\t\t\t\tto[x] = localPart + \"@\" + domain;\n\t\t\t}\n\n\t\t\tcomponents.path = to.join(\",\");\n\t\t}\n\n\t\tconst headers = mailtoComponents.headers = mailtoComponents.headers || {};\n\n\t\tif (mailtoComponents.subject) headers[\"subject\"] = mailtoComponents.subject;\n\t\tif (mailtoComponents.body) headers[\"body\"] = mailtoComponents.body;\n\n\t\tconst fields = [];\n\t\tfor (const name in headers) {\n\t\t\tif (headers[name] !== O[name]) {\n\t\t\t\tfields.push(\n\t\t\t\t\tname.replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFNAME, pctEncChar) +\n\t\t\t\t\t\"=\" +\n\t\t\t\t\theaders[name].replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFVALUE, pctEncChar)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (fields.length) {\n\t\t\tcomponents.query = fields.join(\"&\");\n\t\t}\n\n\t\treturn components;\n\t}\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport ws from \"./ws\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"wss\",\n\tdomainHost : ws.domainHost,\n\tparse : ws.parse,\n\tserialize : ws.serialize\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\n\nexport interface WSComponents extends URIComponents {\n\tresourceName?: string;\n\tsecure?: boolean;\n}\n\nfunction isSecure(wsComponents:WSComponents):boolean {\n\treturn typeof wsComponents.secure === 'boolean' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === \"wss\";\n}\n\n//RFC 6455\nconst handler:URISchemeHandler = {\n\tscheme : \"ws\",\n\n\tdomainHost : true,\n\n\tparse : function (components:URIComponents, options:URIOptions):WSComponents {\n\t\tconst wsComponents = components as WSComponents;\n\n\t\t//indicate if the secure flag is set\n\t\twsComponents.secure = isSecure(wsComponents);\n\n\t\t//construct resouce name\n\t\twsComponents.resourceName = (wsComponents.path || '/') + (wsComponents.query ? '?' + wsComponents.query : '');\n\t\twsComponents.path = undefined;\n\t\twsComponents.query = undefined;\n\n\t\treturn wsComponents;\n\t},\n\n\tserialize : function (wsComponents:WSComponents, options:URIOptions):URIComponents {\n\t\t//normalize the default port\n\t\tif (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === \"\") {\n\t\t\twsComponents.port = undefined;\n\t\t}\n\n\t\t//ensure scheme matches secure flag\n\t\tif (typeof wsComponents.secure === 'boolean') {\n\t\t\twsComponents.scheme = (wsComponents.secure ? 'wss' : 'ws');\n\t\t\twsComponents.secure = undefined;\n\t\t}\n\n\t\t//reconstruct path from resource name\n\t\tif (wsComponents.resourceName) {\n\t\t\tconst [path, query] = wsComponents.resourceName.split('?');\n\t\t\twsComponents.path = (path && path !== '/' ? path : undefined);\n\t\t\twsComponents.query = query;\n\t\t\twsComponents.resourceName = undefined;\n\t\t}\n\n\t\t//forbid fragment component\n\t\twsComponents.fragment = undefined;\n\n\t\treturn wsComponents;\n\t}\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport http from \"./http\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"https\",\n\tdomainHost : http.domainHost,\n\tparse : http.parse,\n\tserialize : http.serialize\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"http\",\n\n\tdomainHost : true,\n\n\tparse : function (components:URIComponents, options:URIOptions):URIComponents {\n\t\t//report missing host\n\t\tif (!components.host) {\n\t\t\tcomponents.error = components.error || \"HTTP URIs must have a host.\";\n\t\t}\n\n\t\treturn components;\n\t},\n\n\tserialize : function (components:URIComponents, options:URIOptions):URIComponents {\n\t\tconst secure = String(components.scheme).toLowerCase() === \"https\";\n\n\t\t//normalize the default port\n\t\tif (components.port === (secure ? 443 : 80) || components.port === \"\") {\n\t\t\tcomponents.port = undefined;\n\t\t}\n\t\t\n\t\t//normalize the empty path\n\t\tif (!components.path) {\n\t\t\tcomponents.path = \"/\";\n\t\t}\n\n\t\t//NOTE: We do not parse query strings for HTTP URIs\n\t\t//as WWW Form Url Encoded query strings are part of the HTML4+ spec,\n\t\t//and not the HTTP spec.\n\n\t\treturn components;\n\t}\n};\n\nexport default handler;", "/**\n * URI.js\n *\n * @fileoverview An RFC 3986 compliant, scheme extendable URI parsing/validating/resolving library for JavaScript.\n * @author Gary Court\n * @see http://github.com/garycourt/uri-js\n */\n\n/**\n * Copyright 2011 Gary Court. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification, are\n * permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this list of\n * conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice, this list\n * of conditions and the following disclaimer in the documentation and/or other materials\n * provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n * The views and conclusions contained in the software and documentation are those of the\n * authors and should not be interpreted as representing official policies, either expressed\n * or implied, of Gary Court.\n */\n\nimport URI_PROTOCOL from \"./regexps-uri\";\nimport IRI_PROTOCOL from \"./regexps-iri\";\nimport punycode from \"punycode\";\nimport { toUpperCase, typeOf, assign } from \"./util\";\n\nexport interface URIComponents {\n\tscheme?:string;\n\tuserinfo?:string;\n\thost?:string;\n\tport?:number|string;\n\tpath?:string;\n\tquery?:string;\n\tfragment?:string;\n\treference?:string;\n\terror?:string;\n}\n\nexport interface URIOptions {\n\tscheme?:string;\n\treference?:string;\n\ttolerant?:boolean;\n\tabsolutePath?:boolean;\n\tiri?:boolean;\n\tunicodeSupport?:boolean;\n\tdomainHost?:boolean;\n}\n\nexport interface URISchemeHandler {\n\tscheme:string;\n\tparse(components:ParentComponents, options:Options):Components;\n\tserialize(components:Components, options:Options):ParentComponents;\n\tunicodeSupport?:boolean;\n\tdomainHost?:boolean;\n\tabsolutePath?:boolean;\n}\n\nexport interface URIRegExps {\n\tNOT_SCHEME : RegExp,\n\tNOT_USERINFO : RegExp,\n\tNOT_HOST : RegExp,\n\tNOT_PATH : RegExp,\n\tNOT_PATH_NOSCHEME : RegExp,\n\tNOT_QUERY : RegExp,\n\tNOT_FRAGMENT : RegExp,\n\tESCAPE : RegExp,\n\tUNRESERVED : RegExp,\n\tOTHER_CHARS : RegExp,\n\tPCT_ENCODED : RegExp,\n\tIPV4ADDRESS : RegExp,\n\tIPV6ADDRESS : RegExp,\n}\n\nexport const SCHEMES:{[scheme:string]:URISchemeHandler} = {};\n\nexport function pctEncChar(chr:string):string {\n\tconst c = chr.charCodeAt(0);\n\tlet e:string;\n\n\tif (c < 16) e = \"%0\" + c.toString(16).toUpperCase();\n\telse if (c < 128) e = \"%\" + c.toString(16).toUpperCase();\n\telse if (c < 2048) e = \"%\" + ((c >> 6) | 192).toString(16).toUpperCase() + \"%\" + ((c & 63) | 128).toString(16).toUpperCase();\n\telse e = \"%\" + ((c >> 12) | 224).toString(16).toUpperCase() + \"%\" + (((c >> 6) & 63) | 128).toString(16).toUpperCase() + \"%\" + ((c & 63) | 128).toString(16).toUpperCase();\n\n\treturn e;\n}\n\nexport function pctDecChars(str:string):string {\n\tlet newStr = \"\";\n\tlet i = 0;\n\tconst il = str.length;\n\n\twhile (i < il) {\n\t\tconst c = parseInt(str.substr(i + 1, 2), 16);\n\n\t\tif (c < 128) {\n\t\t\tnewStr += String.fromCharCode(c);\n\t\t\ti += 3;\n\t\t}\n\t\telse if (c >= 194 && c < 224) {\n\t\t\tif ((il - i) >= 6) {\n\t\t\t\tconst c2 = parseInt(str.substr(i + 4, 2), 16);\n\t\t\t\tnewStr += String.fromCharCode(((c & 31) << 6) | (c2 & 63));\n\t\t\t} else {\n\t\t\t\tnewStr += str.substr(i, 6);\n\t\t\t}\n\t\t\ti += 6;\n\t\t}\n\t\telse if (c >= 224) {\n\t\t\tif ((il - i) >= 9) {\n\t\t\t\tconst c2 = parseInt(str.substr(i + 4, 2), 16);\n\t\t\t\tconst c3 = parseInt(str.substr(i + 7, 2), 16);\n\t\t\t\tnewStr += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));\n\t\t\t} else {\n\t\t\t\tnewStr += str.substr(i, 9);\n\t\t\t}\n\t\t\ti += 9;\n\t\t}\n\t\telse {\n\t\t\tnewStr += str.substr(i, 3);\n\t\t\ti += 3;\n\t\t}\n\t}\n\n\treturn newStr;\n}\n\nfunction _normalizeComponentEncoding(components:URIComponents, protocol:URIRegExps) {\n\tfunction decodeUnreserved(str:string):string {\n\t\tconst decStr = pctDecChars(str);\n\t\treturn (!decStr.match(protocol.UNRESERVED) ? str : decStr);\n\t}\n\n\tif (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, \"\");\n\tif (components.userinfo !== undefined) components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.host !== undefined) components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.path !== undefined) components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved).replace((components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME), pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.query !== undefined) components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.fragment !== undefined) components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\n\treturn components;\n};\n\nfunction _stripLeadingZeros(str:string):string {\n\treturn str.replace(/^0*(.*)/, \"$1\") || \"0\";\n}\n\nfunction _normalizeIPv4(host:string, protocol:URIRegExps):string {\n\tconst matches = host.match(protocol.IPV4ADDRESS) || [];\n\tconst [, address] = matches;\n\t\n\tif (address) {\n\t\treturn address.split(\".\").map(_stripLeadingZeros).join(\".\");\n\t} else {\n\t\treturn host;\n\t}\n}\n\nfunction _normalizeIPv6(host:string, protocol:URIRegExps):string {\n\tconst matches = host.match(protocol.IPV6ADDRESS) || [];\n\tconst [, address, zone] = matches;\n\n\tif (address) {\n\t\tconst [last, first] = address.toLowerCase().split('::').reverse();\n\t\tconst firstFields = first ? first.split(\":\").map(_stripLeadingZeros) : [];\n\t\tconst lastFields = last.split(\":\").map(_stripLeadingZeros);\n\t\tconst isLastFieldIPv4Address = protocol.IPV4ADDRESS.test(lastFields[lastFields.length - 1]);\n\t\tconst fieldCount = isLastFieldIPv4Address ? 7 : 8;\n\t\tconst lastFieldsStart = lastFields.length - fieldCount;\n\t\tconst fields = Array(fieldCount);\n\n\t\tfor (let x = 0; x < fieldCount; ++x) {\n\t\t\tfields[x] = firstFields[x] || lastFields[lastFieldsStart + x] || '';\n\t\t}\n\n\t\tif (isLastFieldIPv4Address) {\n\t\t\tfields[fieldCount - 1] = _normalizeIPv4(fields[fieldCount - 1], protocol);\n\t\t}\n\n\t\tconst allZeroFields = fields.reduce>((acc, field, index) => {\n\t\t\tif (!field || field === \"0\") {\n\t\t\t\tconst lastLongest = acc[acc.length - 1];\n\t\t\t\tif (lastLongest && lastLongest.index + lastLongest.length === index) {\n\t\t\t\t\tlastLongest.length++;\n\t\t\t\t} else {\n\t\t\t\t\tacc.push({ index, length : 1 });\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn acc;\n\t\t}, []);\n\n\t\tconst longestZeroFields = allZeroFields.sort((a, b) => b.length - a.length)[0];\n\n\t\tlet newHost:string;\n\t\tif (longestZeroFields && longestZeroFields.length > 1) {\n\t\t\tconst newFirst = fields.slice(0, longestZeroFields.index) ;\n\t\t\tconst newLast = fields.slice(longestZeroFields.index + longestZeroFields.length);\n\t\t\tnewHost = newFirst.join(\":\") + \"::\" + newLast.join(\":\");\n\t\t} else {\n\t\t\tnewHost = fields.join(\":\");\n\t\t}\n\n\t\tif (zone) {\n\t\t\tnewHost += \"%\" + zone;\n\t\t}\n\n\t\treturn newHost;\n\t} else {\n\t\treturn host;\n\t}\n}\n\nconst URI_PARSE = /^(?:([^:\\/?#]+):)?(?:\\/\\/((?:([^\\/?#@]*)@)?(\\[[^\\/?#\\]]+\\]|[^\\/?#:]*)(?:\\:(\\d*))?))?([^?#]*)(?:\\?([^#]*))?(?:#((?:.|\\n|\\r)*))?/i;\nconst NO_MATCH_IS_UNDEFINED = ((\"\").match(/(){0}/))[1] === undefined;\n\nexport function parse(uriString:string, options:URIOptions = {}):URIComponents {\n\tconst components:URIComponents = {};\n\tconst protocol = (options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL);\n\n\tif (options.reference === \"suffix\") uriString = (options.scheme ? options.scheme + \":\" : \"\") + \"//\" + uriString;\n\n\tconst matches = uriString.match(URI_PARSE);\n\n\tif (matches) {\n\t\tif (NO_MATCH_IS_UNDEFINED) {\n\t\t\t//store each component\n\t\t\tcomponents.scheme = matches[1];\n\t\t\tcomponents.userinfo = matches[3];\n\t\t\tcomponents.host = matches[4];\n\t\t\tcomponents.port = parseInt(matches[5], 10);\n\t\t\tcomponents.path = matches[6] || \"\";\n\t\t\tcomponents.query = matches[7];\n\t\t\tcomponents.fragment = matches[8];\n\n\t\t\t//fix port number\n\t\t\tif (isNaN(components.port)) {\n\t\t\t\tcomponents.port = matches[5];\n\t\t\t}\n\t\t} else { //IE FIX for improper RegExp matching\n\t\t\t//store each component\n\t\t\tcomponents.scheme = matches[1] || undefined;\n\t\t\tcomponents.userinfo = (uriString.indexOf(\"@\") !== -1 ? matches[3] : undefined);\n\t\t\tcomponents.host = (uriString.indexOf(\"//\") !== -1 ? matches[4] : undefined);\n\t\t\tcomponents.port = parseInt(matches[5], 10);\n\t\t\tcomponents.path = matches[6] || \"\";\n\t\t\tcomponents.query = (uriString.indexOf(\"?\") !== -1 ? matches[7] : undefined);\n\t\t\tcomponents.fragment = (uriString.indexOf(\"#\") !== -1 ? matches[8] : undefined);\n\n\t\t\t//fix port number\n\t\t\tif (isNaN(components.port)) {\n\t\t\t\tcomponents.port = (uriString.match(/\\/\\/(?:.|\\n)*\\:(?:\\/|\\?|\\#|$)/) ? matches[4] : undefined);\n\t\t\t}\n\t\t}\n\n\t\tif (components.host) {\n\t\t\t//normalize IP hosts\n\t\t\tcomponents.host = _normalizeIPv6(_normalizeIPv4(components.host, protocol), protocol);\n\t\t}\n\n\t\t//determine reference type\n\t\tif (components.scheme === undefined && components.userinfo === undefined && components.host === undefined && components.port === undefined && !components.path && components.query === undefined) {\n\t\t\tcomponents.reference = \"same-document\";\n\t\t} else if (components.scheme === undefined) {\n\t\t\tcomponents.reference = \"relative\";\n\t\t} else if (components.fragment === undefined) {\n\t\t\tcomponents.reference = \"absolute\";\n\t\t} else {\n\t\t\tcomponents.reference = \"uri\";\n\t\t}\n\n\t\t//check for reference errors\n\t\tif (options.reference && options.reference !== \"suffix\" && options.reference !== components.reference) {\n\t\t\tcomponents.error = components.error || \"URI is not a \" + options.reference + \" reference.\";\n\t\t}\n\n\t\t//find scheme handler\n\t\tconst schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n\n\t\t//check if scheme can't handle IRIs\n\t\tif (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {\n\t\t\t//if host component is a domain name\n\t\t\tif (components.host && (options.domainHost || (schemeHandler && schemeHandler.domainHost))) {\n\t\t\t\t//convert Unicode IDN -> ASCII IDN\n\t\t\t\ttry {\n\t\t\t\t\tcomponents.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase());\n\t\t\t\t} catch (e) {\n\t\t\t\t\tcomponents.error = components.error || \"Host's domain name can not be converted to ASCII via punycode: \" + e;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//convert IRI -> URI\n\t\t\t_normalizeComponentEncoding(components, URI_PROTOCOL);\n\t\t} else {\n\t\t\t//normalize encodings\n\t\t\t_normalizeComponentEncoding(components, protocol);\n\t\t}\n\n\t\t//perform scheme specific parsing\n\t\tif (schemeHandler && schemeHandler.parse) {\n\t\t\tschemeHandler.parse(components, options);\n\t\t}\n\t} else {\n\t\tcomponents.error = components.error || \"URI can not be parsed.\";\n\t}\n\n\treturn components;\n};\n\nfunction _recomposeAuthority(components:URIComponents, options:URIOptions):string|undefined {\n\tconst protocol = (options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL);\n\tconst uriTokens:Array = [];\n\n\tif (components.userinfo !== undefined) {\n\t\turiTokens.push(components.userinfo);\n\t\turiTokens.push(\"@\");\n\t}\n\n\tif (components.host !== undefined) {\n\t\t//normalize IP hosts, add brackets and escape zone separator for IPv6\n\t\turiTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host), protocol), protocol).replace(protocol.IPV6ADDRESS, (_, $1, $2) => \"[\" + $1 + ($2 ? \"%25\" + $2 : \"\") + \"]\"));\n\t}\n\n\tif (typeof components.port === \"number\" || typeof components.port === \"string\") {\n\t\turiTokens.push(\":\");\n\t\turiTokens.push(String(components.port));\n\t}\n\n\treturn uriTokens.length ? uriTokens.join(\"\") : undefined;\n};\n\nconst RDS1 = /^\\.\\.?\\//;\nconst RDS2 = /^\\/\\.(\\/|$)/;\nconst RDS3 = /^\\/\\.\\.(\\/|$)/;\nconst RDS4 = /^\\.\\.?$/;\nconst RDS5 = /^\\/?(?:.|\\n)*?(?=\\/|$)/;\n\nexport function removeDotSegments(input:string):string {\n\tconst output:Array = [];\n\n\twhile (input.length) {\n\t\tif (input.match(RDS1)) {\n\t\t\tinput = input.replace(RDS1, \"\");\n\t\t} else if (input.match(RDS2)) {\n\t\t\tinput = input.replace(RDS2, \"/\");\n\t\t} else if (input.match(RDS3)) {\n\t\t\tinput = input.replace(RDS3, \"/\");\n\t\t\toutput.pop();\n\t\t} else if (input === \".\" || input === \"..\") {\n\t\t\tinput = \"\";\n\t\t} else {\n\t\t\tconst im = input.match(RDS5);\n\t\t\tif (im) {\n\t\t\t\tconst s = im[0];\n\t\t\t\tinput = input.slice(s.length);\n\t\t\t\toutput.push(s);\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Unexpected dot segment condition\");\n\t\t\t}\n\t\t}\n\t}\n\n\treturn output.join(\"\");\n};\n\nexport function serialize(components:URIComponents, options:URIOptions = {}):string {\n\tconst protocol = (options.iri ? IRI_PROTOCOL : URI_PROTOCOL);\n\tconst uriTokens:Array = [];\n\n\t//find scheme handler\n\tconst schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n\n\t//perform scheme specific serialization\n\tif (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(components, options);\n\n\tif (components.host) {\n\t\t//if host component is an IPv6 address\n\t\tif (protocol.IPV6ADDRESS.test(components.host)) {\n\t\t\t//TODO: normalize IPv6 address as per RFC 5952\n\t\t}\n\n\t\t//if host component is a domain name\n\t\telse if (options.domainHost || (schemeHandler && schemeHandler.domainHost)) {\n\t\t\t//convert IDN via punycode\n\t\t\ttry {\n\t\t\t\tcomponents.host = (!options.iri ? punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase()) : punycode.toUnicode(components.host));\n\t\t\t} catch (e) {\n\t\t\t\tcomponents.error = components.error || \"Host's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n\t\t\t}\n\t\t}\n\t}\n\n\t//normalize encoding\n\t_normalizeComponentEncoding(components, protocol);\n\n\tif (options.reference !== \"suffix\" && components.scheme) {\n\t\turiTokens.push(components.scheme);\n\t\turiTokens.push(\":\");\n\t}\n\n\tconst authority = _recomposeAuthority(components, options);\n\tif (authority !== undefined) {\n\t\tif (options.reference !== \"suffix\") {\n\t\t\turiTokens.push(\"//\");\n\t\t}\n\n\t\turiTokens.push(authority);\n\n\t\tif (components.path && components.path.charAt(0) !== \"/\") {\n\t\t\turiTokens.push(\"/\");\n\t\t}\n\t}\n\n\tif (components.path !== undefined) {\n\t\tlet s = components.path;\n\n\t\tif (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {\n\t\t\ts = removeDotSegments(s);\n\t\t}\n\n\t\tif (authority === undefined) {\n\t\t\ts = s.replace(/^\\/\\//, \"/%2F\"); //don't allow the path to start with \"//\"\n\t\t}\n\n\t\turiTokens.push(s);\n\t}\n\n\tif (components.query !== undefined) {\n\t\turiTokens.push(\"?\");\n\t\turiTokens.push(components.query);\n\t}\n\n\tif (components.fragment !== undefined) {\n\t\turiTokens.push(\"#\");\n\t\turiTokens.push(components.fragment);\n\t}\n\n\treturn uriTokens.join(\"\"); //merge tokens into a string\n};\n\nexport function resolveComponents(base:URIComponents, relative:URIComponents, options:URIOptions = {}, skipNormalization?:boolean):URIComponents {\n\tconst target:URIComponents = {};\n\n\tif (!skipNormalization) {\n\t\tbase = parse(serialize(base, options), options); //normalize base components\n\t\trelative = parse(serialize(relative, options), options); //normalize relative components\n\t}\n\toptions = options || {};\n\n\tif (!options.tolerant && relative.scheme) {\n\t\ttarget.scheme = relative.scheme;\n\t\t//target.authority = relative.authority;\n\t\ttarget.userinfo = relative.userinfo;\n\t\ttarget.host = relative.host;\n\t\ttarget.port = relative.port;\n\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\ttarget.query = relative.query;\n\t} else {\n\t\tif (relative.userinfo !== undefined || relative.host !== undefined || relative.port !== undefined) {\n\t\t\t//target.authority = relative.authority;\n\t\t\ttarget.userinfo = relative.userinfo;\n\t\t\ttarget.host = relative.host;\n\t\t\ttarget.port = relative.port;\n\t\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\t\ttarget.query = relative.query;\n\t\t} else {\n\t\t\tif (!relative.path) {\n\t\t\t\ttarget.path = base.path;\n\t\t\t\tif (relative.query !== undefined) {\n\t\t\t\t\ttarget.query = relative.query;\n\t\t\t\t} else {\n\t\t\t\t\ttarget.query = base.query;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (relative.path.charAt(0) === \"/\") {\n\t\t\t\t\ttarget.path = removeDotSegments(relative.path);\n\t\t\t\t} else {\n\t\t\t\t\tif ((base.userinfo !== undefined || base.host !== undefined || base.port !== undefined) && !base.path) {\n\t\t\t\t\t\ttarget.path = \"/\" + relative.path;\n\t\t\t\t\t} else if (!base.path) {\n\t\t\t\t\t\ttarget.path = relative.path;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttarget.path = base.path.slice(0, base.path.lastIndexOf(\"/\") + 1) + relative.path;\n\t\t\t\t\t}\n\t\t\t\t\ttarget.path = removeDotSegments(target.path);\n\t\t\t\t}\n\t\t\t\ttarget.query = relative.query;\n\t\t\t}\n\t\t\t//target.authority = base.authority;\n\t\t\ttarget.userinfo = base.userinfo;\n\t\t\ttarget.host = base.host;\n\t\t\ttarget.port = base.port;\n\t\t}\n\t\ttarget.scheme = base.scheme;\n\t}\n\n\ttarget.fragment = relative.fragment;\n\n\treturn target;\n};\n\nexport function resolve(baseURI:string, relativeURI:string, options?:URIOptions):string {\n\tconst schemelessOptions = assign({ scheme : 'null' }, options);\n\treturn serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions);\n};\n\nexport function normalize(uri:string, options?:URIOptions):string;\nexport function normalize(uri:URIComponents, options?:URIOptions):URIComponents;\nexport function normalize(uri:any, options?:URIOptions):any {\n\tif (typeof uri === \"string\") {\n\t\turi = serialize(parse(uri, options), options);\n\t} else if (typeOf(uri) === \"object\") {\n\t\turi = parse(serialize(uri, options), options);\n\t}\n\n\treturn uri;\n};\n\nexport function equal(uriA:string, uriB:string, options?: URIOptions):boolean;\nexport function equal(uriA:URIComponents, uriB:URIComponents, options?:URIOptions):boolean;\nexport function equal(uriA:any, uriB:any, options?:URIOptions):boolean {\n\tif (typeof uriA === \"string\") {\n\t\turiA = serialize(parse(uriA, options), options);\n\t} else if (typeOf(uriA) === \"object\") {\n\t\turiA = serialize(uriA, options);\n\t}\n\n\tif (typeof uriB === \"string\") {\n\t\turiB = serialize(parse(uriB, options), options);\n\t} else if (typeOf(uriB) === \"object\") {\n\t\turiB = serialize(uriB, options);\n\t}\n\n\treturn uriA === uriB;\n};\n\nexport function escapeComponent(str:string, options?:URIOptions):string {\n\treturn str && str.toString().replace((!options || !options.iri ? URI_PROTOCOL.ESCAPE : IRI_PROTOCOL.ESCAPE), pctEncChar);\n};\n\nexport function unescapeComponent(str:string, options?:URIOptions):string {\n\treturn str && str.toString().replace((!options || !options.iri ? URI_PROTOCOL.PCT_ENCODED : IRI_PROTOCOL.PCT_ENCODED), pctDecChars);\n};\n", "'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7E]/; // non-ASCII chars\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, fn) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = fn(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {Array} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(string, fn) {\n\tconst parts = string.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tstring = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tstring = string.replace(regexSeparators, '\\x2E');\n\tconst labels = string.split('.');\n\tconst encoded = map(labels, fn).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see \n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = array => String.fromCodePoint(...array);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint - 0x30 < 0x0A) {\n\t\treturn codePoint - 0x16;\n\t}\n\tif (codePoint - 0x41 < 0x1A) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint - 0x61 < 0x1A) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tlet oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tlet inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tlet basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue == n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.1.0',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see \n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport default punycode;\n", "import { URIRegExps } from \"./uri\";\nimport { buildExps } from \"./regexps-uri\";\n\nexport default buildExps(true);\n", "import { URIRegExps } from \"./uri\";\nimport { merge, subexp } from \"./util\";\n\nexport function buildExps(isIRI:boolean):URIRegExps {\n\tconst\n\t\tALPHA$$ = \"[A-Za-z]\",\n\t\tCR$ = \"[\\\\x0D]\",\n\t\tDIGIT$$ = \"[0-9]\",\n\t\tDQUOTE$$ = \"[\\\\x22]\",\n\t\tHEXDIG$$ = merge(DIGIT$$, \"[A-Fa-f]\"), //case-insensitive\n\t\tLF$$ = \"[\\\\x0A]\",\n\t\tSP$$ = \"[\\\\x20]\",\n\t\tPCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)), //expanded\n\t\tGEN_DELIMS$$ = \"[\\\\:\\\\/\\\\?\\\\#\\\\[\\\\]\\\\@]\",\n\t\tSUB_DELIMS$$ = \"[\\\\!\\\\$\\\\&\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\=]\",\n\t\tRESERVED$$ = merge(GEN_DELIMS$$, SUB_DELIMS$$),\n\t\tUCSCHAR$$ = isIRI ? \"[\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF]\" : \"[]\", //subset, excludes bidi control characters\n\t\tIPRIVATE$$ = isIRI ? \"[\\\\uE000-\\\\uF8FF]\" : \"[]\", //subset\n\t\tUNRESERVED$$ = merge(ALPHA$$, DIGIT$$, \"[\\\\-\\\\.\\\\_\\\\~]\", UCSCHAR$$),\n\t\tSCHEME$ = subexp(ALPHA$$ + merge(ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\") + \"*\"),\n\t\tUSERINFO$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\")) + \"*\"),\n\t\tDEC_OCTET$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"[1-9]\" + DIGIT$$) + \"|\" + DIGIT$$),\n\t\tDEC_OCTET_RELAXED$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"0?[1-9]\" + DIGIT$$) + \"|0?0?\" + DIGIT$$), //relaxed parsing rules\n\t\tIPV4ADDRESS$ = subexp(DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$),\n\t\tH16$ = subexp(HEXDIG$$ + \"{1,4}\"),\n\t\tLS32$ = subexp(subexp(H16$ + \"\\\\:\" + H16$) + \"|\" + IPV4ADDRESS$),\n\t\tIPV6ADDRESS1$ = subexp( subexp(H16$ + \"\\\\:\") + \"{6}\" + LS32$), // 6( h16 \":\" ) ls32\n\t\tIPV6ADDRESS2$ = subexp( \"\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{5}\" + LS32$), // \"::\" 5( h16 \":\" ) ls32\n\t\tIPV6ADDRESS3$ = subexp(subexp( H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{4}\" + LS32$), //[ h16 ] \"::\" 4( h16 \":\" ) ls32\n\t\tIPV6ADDRESS4$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,1}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{3}\" + LS32$), //[ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\n\t\tIPV6ADDRESS5$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,2}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{2}\" + LS32$), //[ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\n\t\tIPV6ADDRESS6$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,3}\" + H16$) + \"?\\\\:\\\\:\" + H16$ + \"\\\\:\" + LS32$), //[ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\n\t\tIPV6ADDRESS7$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,4}\" + H16$) + \"?\\\\:\\\\:\" + LS32$), //[ *4( h16 \":\" ) h16 ] \"::\" ls32\n\t\tIPV6ADDRESS8$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,5}\" + H16$) + \"?\\\\:\\\\:\" + H16$ ), //[ *5( h16 \":\" ) h16 ] \"::\" h16\n\t\tIPV6ADDRESS9$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,6}\" + H16$) + \"?\\\\:\\\\:\" ), //[ *6( h16 \":\" ) h16 ] \"::\"\n\t\tIPV6ADDRESS$ = subexp([IPV6ADDRESS1$, IPV6ADDRESS2$, IPV6ADDRESS3$, IPV6ADDRESS4$, IPV6ADDRESS5$, IPV6ADDRESS6$, IPV6ADDRESS7$, IPV6ADDRESS8$, IPV6ADDRESS9$].join(\"|\")),\n\t\tZONEID$ = subexp(subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$) + \"+\"), //RFC 6874\n\t\tIPV6ADDRZ$ = subexp(IPV6ADDRESS$ + \"\\\\%25\" + ZONEID$), //RFC 6874\n\t\tIPV6ADDRZ_RELAXED$ = subexp(IPV6ADDRESS$ + subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + ZONEID$), //RFC 6874, with relaxed parsing rules\n\t\tIPVFUTURE$ = subexp(\"[vV]\" + HEXDIG$$ + \"+\\\\.\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\") + \"+\"),\n\t\tIP_LITERAL$ = subexp(\"\\\\[\" + subexp(IPV6ADDRZ_RELAXED$ + \"|\" + IPV6ADDRESS$ + \"|\" + IPVFUTURE$) + \"\\\\]\"), //RFC 6874\n\t\tREG_NAME$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$)) + \"*\"),\n\t\tHOST$ = subexp(IP_LITERAL$ + \"|\" + IPV4ADDRESS$ + \"(?!\" + REG_NAME$ + \")\" + \"|\" + REG_NAME$),\n\t\tPORT$ = subexp(DIGIT$$ + \"*\"),\n\t\tAUTHORITY$ = subexp(subexp(USERINFO$ + \"@\") + \"?\" + HOST$ + subexp(\"\\\\:\" + PORT$) + \"?\"),\n\t\tPCHAR$ = subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@]\")),\n\t\tSEGMENT$ = subexp(PCHAR$ + \"*\"),\n\t\tSEGMENT_NZ$ = subexp(PCHAR$ + \"+\"),\n\t\tSEGMENT_NZ_NC$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\@]\")) + \"+\"),\n\t\tPATH_ABEMPTY$ = subexp(subexp(\"\\\\/\" + SEGMENT$) + \"*\"),\n\t\tPATH_ABSOLUTE$ = subexp(\"\\\\/\" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + \"?\"), //simplified\n\t\tPATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$), //simplified\n\t\tPATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$), //simplified\n\t\tPATH_EMPTY$ = \"(?!\" + PCHAR$ + \")\",\n\t\tPATH$ = subexp(PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n\t\tQUERY$ = subexp(subexp(PCHAR$ + \"|\" + merge(\"[\\\\/\\\\?]\", IPRIVATE$$)) + \"*\"),\n\t\tFRAGMENT$ = subexp(subexp(PCHAR$ + \"|[\\\\/\\\\?]\") + \"*\"),\n\t\tHIER_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n\t\tURI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n\t\tRELATIVE_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$),\n\t\tRELATIVE$ = subexp(RELATIVE_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n\t\tURI_REFERENCE$ = subexp(URI$ + \"|\" + RELATIVE$),\n\t\tABSOLUTE_URI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\"),\n\n\t\tGENERIC_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tRELATIVE_REF$ = \"^(){0}\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tABSOLUTE_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?$\",\n\t\tSAMEDOC_REF$ = \"^\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tAUTHORITY_REF$ = \"^\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?$\"\n\t;\n\n\treturn {\n\t\tNOT_SCHEME : new RegExp(merge(\"[^]\", ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\"), \"g\"),\n\t\tNOT_USERINFO : new RegExp(merge(\"[^\\\\%\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_HOST : new RegExp(merge(\"[^\\\\%\\\\[\\\\]\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_PATH : new RegExp(merge(\"[^\\\\%\\\\/\\\\:\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_PATH_NOSCHEME : new RegExp(merge(\"[^\\\\%\\\\/\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_QUERY : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\", IPRIVATE$$), \"g\"),\n\t\tNOT_FRAGMENT : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\"), \"g\"),\n\t\tESCAPE : new RegExp(merge(\"[^]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tUNRESERVED : new RegExp(UNRESERVED$$, \"g\"),\n\t\tOTHER_CHARS : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, RESERVED$$), \"g\"),\n\t\tPCT_ENCODED : new RegExp(PCT_ENCODED$, \"g\"),\n\t\tIPV4ADDRESS : new RegExp(\"^(\" + IPV4ADDRESS$ + \")$\"),\n\t\tIPV6ADDRESS : new RegExp(\"^\\\\[?(\" + IPV6ADDRESS$ + \")\" + subexp(subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + \"(\" + ZONEID$ + \")\") + \"?\\\\]?$\") //RFC 6874, with relaxed parsing rules\n\t};\n}\n\nexport default buildExps(false);\n", "export function merge(...sets:Array):string {\n\tif (sets.length > 1) {\n\t\tsets[0] = sets[0].slice(0, -1);\n\t\tconst xl = sets.length - 1;\n\t\tfor (let x = 1; x < xl; ++x) {\n\t\t\tsets[x] = sets[x].slice(1, -1);\n\t\t}\n\t\tsets[xl] = sets[xl].slice(1);\n\t\treturn sets.join('');\n\t} else {\n\t\treturn sets[0];\n\t}\n}\n\nexport function subexp(str:string):string {\n\treturn \"(?:\" + str + \")\";\n}\n\nexport function typeOf(o:any):string {\n\treturn o === undefined ? \"undefined\" : (o === null ? \"null\" : Object.prototype.toString.call(o).split(\" \").pop().split(\"]\").shift().toLowerCase());\n}\n\nexport function toUpperCase(str:string):string {\n\treturn str.toUpperCase();\n}\n\nexport function toArray(obj:any):Array {\n\treturn obj !== undefined && obj !== null ? (obj instanceof Array ? obj : (typeof obj.length !== \"number\" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj))) : [];\n}\n\n\nexport function assign(target: object, source: any): any {\n\tconst obj = target as any;\n\tif (source) {\n\t\tfor (const key in source) {\n\t\t\tobj[key] = source[key];\n\t\t}\n\t}\n\treturn obj;\n}", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "export * from './client'\nexport { default } from './client'\nexport * from './session'\nexport { default as sessionClient } from './session'\n", "var util;\n(function (util) {\n util.assertEqual = (val) => val;\n function assertIs(_arg) { }\n util.assertIs = assertIs;\n function assertNever(_x) {\n throw new Error();\n }\n util.assertNever = assertNever;\n util.arrayToEnum = (items) => {\n const obj = {};\n for (const item of items) {\n obj[item] = item;\n }\n return obj;\n };\n util.getValidEnumValues = (obj) => {\n const validKeys = util.objectKeys(obj).filter((k) => typeof obj[obj[k]] !== \"number\");\n const filtered = {};\n for (const k of validKeys) {\n filtered[k] = obj[k];\n }\n return util.objectValues(filtered);\n };\n util.objectValues = (obj) => {\n return util.objectKeys(obj).map(function (e) {\n return obj[e];\n });\n };\n util.objectKeys = typeof Object.keys === \"function\" // eslint-disable-line ban/ban\n ? (obj) => Object.keys(obj) // eslint-disable-line ban/ban\n : (object) => {\n const keys = [];\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n keys.push(key);\n }\n }\n return keys;\n };\n util.find = (arr, checker) => {\n for (const item of arr) {\n if (checker(item))\n return item;\n }\n return undefined;\n };\n util.isInteger = typeof Number.isInteger === \"function\"\n ? (val) => Number.isInteger(val) // eslint-disable-line ban/ban\n : (val) => typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n function joinValues(array, separator = \" | \") {\n return array\n .map((val) => (typeof val === \"string\" ? `'${val}'` : val))\n .join(separator);\n }\n util.joinValues = joinValues;\n util.jsonStringifyReplacer = (_, value) => {\n if (typeof value === \"bigint\") {\n return value.toString();\n }\n return value;\n };\n})(util || (util = {}));\nconst ZodParsedType = util.arrayToEnum([\n \"string\",\n \"nan\",\n \"number\",\n \"integer\",\n \"float\",\n \"boolean\",\n \"date\",\n \"bigint\",\n \"symbol\",\n \"function\",\n \"undefined\",\n \"null\",\n \"array\",\n \"object\",\n \"unknown\",\n \"promise\",\n \"void\",\n \"never\",\n \"map\",\n \"set\",\n]);\nconst getParsedType = (data) => {\n const t = typeof data;\n switch (t) {\n case \"undefined\":\n return ZodParsedType.undefined;\n case \"string\":\n return ZodParsedType.string;\n case \"number\":\n return isNaN(data) ? ZodParsedType.nan : ZodParsedType.number;\n case \"boolean\":\n return ZodParsedType.boolean;\n case \"function\":\n return ZodParsedType.function;\n case \"bigint\":\n return ZodParsedType.bigint;\n case \"object\":\n if (Array.isArray(data)) {\n return ZodParsedType.array;\n }\n if (data === null) {\n return ZodParsedType.null;\n }\n if (data.then &&\n typeof data.then === \"function\" &&\n data.catch &&\n typeof data.catch === \"function\") {\n return ZodParsedType.promise;\n }\n if (typeof Map !== \"undefined\" && data instanceof Map) {\n return ZodParsedType.map;\n }\n if (typeof Set !== \"undefined\" && data instanceof Set) {\n return ZodParsedType.set;\n }\n if (typeof Date !== \"undefined\" && data instanceof Date) {\n return ZodParsedType.date;\n }\n return ZodParsedType.object;\n default:\n return ZodParsedType.unknown;\n }\n};\n\nconst ZodIssueCode = util.arrayToEnum([\n \"invalid_type\",\n \"invalid_literal\",\n \"custom\",\n \"invalid_union\",\n \"invalid_union_discriminator\",\n \"invalid_enum_value\",\n \"unrecognized_keys\",\n \"invalid_arguments\",\n \"invalid_return_type\",\n \"invalid_date\",\n \"invalid_string\",\n \"too_small\",\n \"too_big\",\n \"invalid_intersection_types\",\n \"not_multiple_of\",\n]);\nconst quotelessJson = (obj) => {\n const json = JSON.stringify(obj, null, 2);\n return json.replace(/\"([^\"]+)\":/g, \"$1:\");\n};\nclass ZodError extends Error {\n constructor(issues) {\n super();\n this.issues = [];\n this.addIssue = (sub) => {\n this.issues = [...this.issues, sub];\n };\n this.addIssues = (subs = []) => {\n this.issues = [...this.issues, ...subs];\n };\n const actualProto = new.target.prototype;\n if (Object.setPrototypeOf) {\n // eslint-disable-next-line ban/ban\n Object.setPrototypeOf(this, actualProto);\n }\n else {\n this.__proto__ = actualProto;\n }\n this.name = \"ZodError\";\n this.issues = issues;\n }\n get errors() {\n return this.issues;\n }\n format(_mapper) {\n const mapper = _mapper ||\n function (issue) {\n return issue.message;\n };\n const fieldErrors = { _errors: [] };\n const processError = (error) => {\n for (const issue of error.issues) {\n if (issue.code === \"invalid_union\") {\n issue.unionErrors.map(processError);\n }\n else if (issue.code === \"invalid_return_type\") {\n processError(issue.returnTypeError);\n }\n else if (issue.code === \"invalid_arguments\") {\n processError(issue.argumentsError);\n }\n else if (issue.path.length === 0) {\n fieldErrors._errors.push(mapper(issue));\n }\n else {\n let curr = fieldErrors;\n let i = 0;\n while (i < issue.path.length) {\n const el = issue.path[i];\n const terminal = i === issue.path.length - 1;\n if (!terminal) {\n curr[el] = curr[el] || { _errors: [] };\n // if (typeof el === \"string\") {\n // curr[el] = curr[el] || { _errors: [] };\n // } else if (typeof el === \"number\") {\n // const errorArray: any = [];\n // errorArray._errors = [];\n // curr[el] = curr[el] || errorArray;\n // }\n }\n else {\n curr[el] = curr[el] || { _errors: [] };\n curr[el]._errors.push(mapper(issue));\n }\n curr = curr[el];\n i++;\n }\n }\n }\n };\n processError(this);\n return fieldErrors;\n }\n toString() {\n return this.message;\n }\n get message() {\n return JSON.stringify(this.issues, util.jsonStringifyReplacer, 2);\n }\n get isEmpty() {\n return this.issues.length === 0;\n }\n flatten(mapper = (issue) => issue.message) {\n const fieldErrors = {};\n const formErrors = [];\n for (const sub of this.issues) {\n if (sub.path.length > 0) {\n fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];\n fieldErrors[sub.path[0]].push(mapper(sub));\n }\n else {\n formErrors.push(mapper(sub));\n }\n }\n return { formErrors, fieldErrors };\n }\n get formErrors() {\n return this.flatten();\n }\n}\nZodError.create = (issues) => {\n const error = new ZodError(issues);\n return error;\n};\n\nconst errorMap = (issue, _ctx) => {\n let message;\n switch (issue.code) {\n case ZodIssueCode.invalid_type:\n if (issue.received === ZodParsedType.undefined) {\n message = \"Required\";\n }\n else {\n message = `Expected ${issue.expected}, received ${issue.received}`;\n }\n break;\n case ZodIssueCode.invalid_literal:\n message = `Invalid literal value, expected ${JSON.stringify(issue.expected, util.jsonStringifyReplacer)}`;\n break;\n case ZodIssueCode.unrecognized_keys:\n message = `Unrecognized key(s) in object: ${util.joinValues(issue.keys, \", \")}`;\n break;\n case ZodIssueCode.invalid_union:\n message = `Invalid input`;\n break;\n case ZodIssueCode.invalid_union_discriminator:\n message = `Invalid discriminator value. Expected ${util.joinValues(issue.options)}`;\n break;\n case ZodIssueCode.invalid_enum_value:\n message = `Invalid enum value. Expected ${util.joinValues(issue.options)}, received '${issue.received}'`;\n break;\n case ZodIssueCode.invalid_arguments:\n message = `Invalid function arguments`;\n break;\n case ZodIssueCode.invalid_return_type:\n message = `Invalid function return type`;\n break;\n case ZodIssueCode.invalid_date:\n message = `Invalid date`;\n break;\n case ZodIssueCode.invalid_string:\n if (typeof issue.validation === \"object\") {\n if (\"startsWith\" in issue.validation) {\n message = `Invalid input: must start with \"${issue.validation.startsWith}\"`;\n }\n else if (\"endsWith\" in issue.validation) {\n message = `Invalid input: must end with \"${issue.validation.endsWith}\"`;\n }\n else {\n util.assertNever(issue.validation);\n }\n }\n else if (issue.validation !== \"regex\") {\n message = `Invalid ${issue.validation}`;\n }\n else {\n message = \"Invalid\";\n }\n break;\n case ZodIssueCode.too_small:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.inclusive ? `at least` : `more than`} ${issue.minimum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be greater than ${issue.inclusive ? `or equal to ` : ``}${issue.minimum}`;\n else if (issue.type === \"date\")\n message = `Date must be greater than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.minimum)}`;\n else\n message = \"Invalid input\";\n break;\n case ZodIssueCode.too_big:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.inclusive ? `at most` : `less than`} ${issue.maximum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.inclusive ? `at most` : `under`} ${issue.maximum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be less than ${issue.inclusive ? `or equal to ` : ``}${issue.maximum}`;\n else if (issue.type === \"date\")\n message = `Date must be smaller than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.maximum)}`;\n else\n message = \"Invalid input\";\n break;\n case ZodIssueCode.custom:\n message = `Invalid input`;\n break;\n case ZodIssueCode.invalid_intersection_types:\n message = `Intersection results could not be merged`;\n break;\n case ZodIssueCode.not_multiple_of:\n message = `Number must be a multiple of ${issue.multipleOf}`;\n break;\n default:\n message = _ctx.defaultError;\n util.assertNever(issue);\n }\n return { message };\n};\n\nlet overrideErrorMap = errorMap;\nfunction setErrorMap(map) {\n overrideErrorMap = map;\n}\nfunction getErrorMap() {\n return overrideErrorMap;\n}\n\nconst makeIssue = (params) => {\n const { data, path, errorMaps, issueData } = params;\n const fullPath = [...path, ...(issueData.path || [])];\n const fullIssue = {\n ...issueData,\n path: fullPath,\n };\n let errorMessage = \"\";\n const maps = errorMaps\n .filter((m) => !!m)\n .slice()\n .reverse();\n for (const map of maps) {\n errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;\n }\n return {\n ...issueData,\n path: fullPath,\n message: issueData.message || errorMessage,\n };\n};\nconst EMPTY_PATH = [];\nfunction addIssueToContext(ctx, issueData) {\n const issue = makeIssue({\n issueData: issueData,\n data: ctx.data,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n getErrorMap(),\n errorMap,\n ].filter((x) => !!x),\n });\n ctx.common.issues.push(issue);\n}\nclass ParseStatus {\n constructor() {\n this.value = \"valid\";\n }\n dirty() {\n if (this.value === \"valid\")\n this.value = \"dirty\";\n }\n abort() {\n if (this.value !== \"aborted\")\n this.value = \"aborted\";\n }\n static mergeArray(status, results) {\n const arrayValue = [];\n for (const s of results) {\n if (s.status === \"aborted\")\n return INVALID;\n if (s.status === \"dirty\")\n status.dirty();\n arrayValue.push(s.value);\n }\n return { status: status.value, value: arrayValue };\n }\n static async mergeObjectAsync(status, pairs) {\n const syncPairs = [];\n for (const pair of pairs) {\n syncPairs.push({\n key: await pair.key,\n value: await pair.value,\n });\n }\n return ParseStatus.mergeObjectSync(status, syncPairs);\n }\n static mergeObjectSync(status, pairs) {\n const finalObject = {};\n for (const pair of pairs) {\n const { key, value } = pair;\n if (key.status === \"aborted\")\n return INVALID;\n if (value.status === \"aborted\")\n return INVALID;\n if (key.status === \"dirty\")\n status.dirty();\n if (value.status === \"dirty\")\n status.dirty();\n if (typeof value.value !== \"undefined\" || pair.alwaysSet) {\n finalObject[key.value] = value.value;\n }\n }\n return { status: status.value, value: finalObject };\n }\n}\nconst INVALID = Object.freeze({\n status: \"aborted\",\n});\nconst DIRTY = (value) => ({ status: \"dirty\", value });\nconst OK = (value) => ({ status: \"valid\", value });\nconst isAborted = (x) => x.status === \"aborted\";\nconst isDirty = (x) => x.status === \"dirty\";\nconst isValid = (x) => x.status === \"valid\";\nconst isAsync = (x) => typeof Promise !== undefined && x instanceof Promise;\n\nvar errorUtil;\n(function (errorUtil) {\n errorUtil.errToObj = (message) => typeof message === \"string\" ? { message } : message || {};\n errorUtil.toString = (message) => typeof message === \"string\" ? message : message === null || message === void 0 ? void 0 : message.message;\n})(errorUtil || (errorUtil = {}));\n\nclass ParseInputLazyPath {\n constructor(parent, value, path, key) {\n this.parent = parent;\n this.data = value;\n this._path = path;\n this._key = key;\n }\n get path() {\n return this._path.concat(this._key);\n }\n}\nconst handleResult = (ctx, result) => {\n if (isValid(result)) {\n return { success: true, data: result.value };\n }\n else {\n if (!ctx.common.issues.length) {\n throw new Error(\"Validation failed but no issues detected.\");\n }\n const error = new ZodError(ctx.common.issues);\n return { success: false, error };\n }\n};\nfunction processCreateParams(params) {\n if (!params)\n return {};\n const { errorMap, invalid_type_error, required_error, description } = params;\n if (errorMap && (invalid_type_error || required_error)) {\n throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);\n }\n if (errorMap)\n return { errorMap: errorMap, description };\n const customMap = (iss, ctx) => {\n if (iss.code !== \"invalid_type\")\n return { message: ctx.defaultError };\n if (typeof ctx.data === \"undefined\") {\n return { message: required_error !== null && required_error !== void 0 ? required_error : ctx.defaultError };\n }\n return { message: invalid_type_error !== null && invalid_type_error !== void 0 ? invalid_type_error : ctx.defaultError };\n };\n return { errorMap: customMap, description };\n}\nclass ZodType {\n constructor(def) {\n /** Alias of safeParseAsync */\n this.spa = this.safeParseAsync;\n this.superRefine = this._refinement;\n this._def = def;\n this.parse = this.parse.bind(this);\n this.safeParse = this.safeParse.bind(this);\n this.parseAsync = this.parseAsync.bind(this);\n this.safeParseAsync = this.safeParseAsync.bind(this);\n this.spa = this.spa.bind(this);\n this.refine = this.refine.bind(this);\n this.refinement = this.refinement.bind(this);\n this.superRefine = this.superRefine.bind(this);\n this.optional = this.optional.bind(this);\n this.nullable = this.nullable.bind(this);\n this.nullish = this.nullish.bind(this);\n this.array = this.array.bind(this);\n this.promise = this.promise.bind(this);\n this.or = this.or.bind(this);\n this.and = this.and.bind(this);\n this.transform = this.transform.bind(this);\n this.default = this.default.bind(this);\n this.describe = this.describe.bind(this);\n this.isNullable = this.isNullable.bind(this);\n this.isOptional = this.isOptional.bind(this);\n }\n get description() {\n return this._def.description;\n }\n _getType(input) {\n return getParsedType(input.data);\n }\n _getOrReturnCtx(input, ctx) {\n return (ctx || {\n common: input.parent.common,\n data: input.data,\n parsedType: getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n });\n }\n _processInputParams(input) {\n return {\n status: new ParseStatus(),\n ctx: {\n common: input.parent.common,\n data: input.data,\n parsedType: getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n },\n };\n }\n _parseSync(input) {\n const result = this._parse(input);\n if (isAsync(result)) {\n throw new Error(\"Synchronous parse encountered promise.\");\n }\n return result;\n }\n _parseAsync(input) {\n const result = this._parse(input);\n return Promise.resolve(result);\n }\n parse(data, params) {\n const result = this.safeParse(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n safeParse(data, params) {\n var _a;\n const ctx = {\n common: {\n issues: [],\n async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: getParsedType(data),\n };\n const result = this._parseSync({ data, path: ctx.path, parent: ctx });\n return handleResult(ctx, result);\n }\n async parseAsync(data, params) {\n const result = await this.safeParseAsync(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n async safeParseAsync(data, params) {\n const ctx = {\n common: {\n issues: [],\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n async: true,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: getParsedType(data),\n };\n const maybeAsyncResult = this._parse({ data, path: [], parent: ctx });\n const result = await (isAsync(maybeAsyncResult)\n ? maybeAsyncResult\n : Promise.resolve(maybeAsyncResult));\n return handleResult(ctx, result);\n }\n refine(check, message) {\n const getIssueProperties = (val) => {\n if (typeof message === \"string\" || typeof message === \"undefined\") {\n return { message };\n }\n else if (typeof message === \"function\") {\n return message(val);\n }\n else {\n return message;\n }\n };\n return this._refinement((val, ctx) => {\n const result = check(val);\n const setError = () => ctx.addIssue({\n code: ZodIssueCode.custom,\n ...getIssueProperties(val),\n });\n if (typeof Promise !== \"undefined\" && result instanceof Promise) {\n return result.then((data) => {\n if (!data) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n if (!result) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n refinement(check, refinementData) {\n return this._refinement((val, ctx) => {\n if (!check(val)) {\n ctx.addIssue(typeof refinementData === \"function\"\n ? refinementData(val, ctx)\n : refinementData);\n return false;\n }\n else {\n return true;\n }\n });\n }\n _refinement(refinement) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"refinement\", refinement },\n });\n }\n optional() {\n return ZodOptional.create(this);\n }\n nullable() {\n return ZodNullable.create(this);\n }\n nullish() {\n return this.optional().nullable();\n }\n array() {\n return ZodArray.create(this);\n }\n promise() {\n return ZodPromise.create(this);\n }\n or(option) {\n return ZodUnion.create([this, option]);\n }\n and(incoming) {\n return ZodIntersection.create(this, incoming);\n }\n transform(transform) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"transform\", transform },\n });\n }\n default(def) {\n const defaultValueFunc = typeof def === \"function\" ? def : () => def;\n return new ZodDefault({\n innerType: this,\n defaultValue: defaultValueFunc,\n typeName: ZodFirstPartyTypeKind.ZodDefault,\n });\n }\n brand() {\n return new ZodBranded({\n typeName: ZodFirstPartyTypeKind.ZodBranded,\n type: this,\n ...processCreateParams(undefined),\n });\n }\n describe(description) {\n const This = this.constructor;\n return new This({\n ...this._def,\n description,\n });\n }\n isOptional() {\n return this.safeParse(undefined).success;\n }\n isNullable() {\n return this.safeParse(null).success;\n }\n}\nconst cuidRegex = /^c[^\\s-]{8,}$/i;\nconst uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;\n// from https://stackoverflow.com/a/46181/1550155\n// old version: too slow, didn't support unicode\n// const emailRegex = /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i;\n// eslint-disable-next-line\nconst emailRegex = /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i;\nclass ZodString extends ZodType {\n constructor() {\n super(...arguments);\n this._regex = (regex, validation, message) => this.refinement((data) => regex.test(data), {\n validation,\n code: ZodIssueCode.invalid_string,\n ...errorUtil.errToObj(message),\n });\n /**\n * @deprecated Use z.string().min(1) instead.\n * @see {@link ZodString.min}\n */\n this.nonempty = (message) => this.min(1, errorUtil.errToObj(message));\n this.trim = () => new ZodString({\n ...this._def,\n checks: [...this._def.checks, { kind: \"trim\" }],\n });\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.string) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.string,\n received: ctx.parsedType,\n }\n //\n );\n return INVALID;\n }\n const status = new ParseStatus();\n let ctx = undefined;\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n if (input.data.length < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: check.value,\n type: \"string\",\n inclusive: true,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n if (input.data.length > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: check.value,\n type: \"string\",\n inclusive: true,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"email\") {\n if (!emailRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"email\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"uuid\") {\n if (!uuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"uuid\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"cuid\") {\n if (!cuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"cuid\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"url\") {\n try {\n new URL(input.data);\n }\n catch (_a) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"url\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"regex\") {\n check.regex.lastIndex = 0;\n const testResult = check.regex.test(input.data);\n if (!testResult) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"regex\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"trim\") {\n input.data = input.data.trim();\n }\n else if (check.kind === \"startsWith\") {\n if (!input.data.startsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_string,\n validation: { startsWith: check.value },\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"endsWith\") {\n if (!input.data.endsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_string,\n validation: { endsWith: check.value },\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n _addCheck(check) {\n return new ZodString({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n email(message) {\n return this._addCheck({ kind: \"email\", ...errorUtil.errToObj(message) });\n }\n url(message) {\n return this._addCheck({ kind: \"url\", ...errorUtil.errToObj(message) });\n }\n uuid(message) {\n return this._addCheck({ kind: \"uuid\", ...errorUtil.errToObj(message) });\n }\n cuid(message) {\n return this._addCheck({ kind: \"cuid\", ...errorUtil.errToObj(message) });\n }\n regex(regex, message) {\n return this._addCheck({\n kind: \"regex\",\n regex: regex,\n ...errorUtil.errToObj(message),\n });\n }\n startsWith(value, message) {\n return this._addCheck({\n kind: \"startsWith\",\n value: value,\n ...errorUtil.errToObj(message),\n });\n }\n endsWith(value, message) {\n return this._addCheck({\n kind: \"endsWith\",\n value: value,\n ...errorUtil.errToObj(message),\n });\n }\n min(minLength, message) {\n return this._addCheck({\n kind: \"min\",\n value: minLength,\n ...errorUtil.errToObj(message),\n });\n }\n max(maxLength, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxLength,\n ...errorUtil.errToObj(message),\n });\n }\n length(len, message) {\n return this.min(len, message).max(len, message);\n }\n get isEmail() {\n return !!this._def.checks.find((ch) => ch.kind === \"email\");\n }\n get isURL() {\n return !!this._def.checks.find((ch) => ch.kind === \"url\");\n }\n get isUUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"uuid\");\n }\n get isCUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"cuid\");\n }\n get minLength() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxLength() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n}\nZodString.create = (params) => {\n return new ZodString({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodString,\n ...processCreateParams(params),\n });\n};\n// https://stackoverflow.com/questions/3966484/why-does-modulus-operator-return-fractional-number-in-javascript/31711034#31711034\nfunction floatSafeRemainder(val, step) {\n const valDecCount = (val.toString().split(\".\")[1] || \"\").length;\n const stepDecCount = (step.toString().split(\".\")[1] || \"\").length;\n const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;\n const valInt = parseInt(val.toFixed(decCount).replace(\".\", \"\"));\n const stepInt = parseInt(step.toFixed(decCount).replace(\".\", \"\"));\n return (valInt % stepInt) / Math.pow(10, decCount);\n}\nclass ZodNumber extends ZodType {\n constructor() {\n super(...arguments);\n this.min = this.gte;\n this.max = this.lte;\n this.step = this.multipleOf;\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.number) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.number,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n let ctx = undefined;\n const status = new ParseStatus();\n for (const check of this._def.checks) {\n if (check.kind === \"int\") {\n if (!util.isInteger(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: \"integer\",\n received: \"float\",\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"min\") {\n const tooSmall = check.inclusive\n ? input.data < check.value\n : input.data <= check.value;\n if (tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n const tooBig = check.inclusive\n ? input.data > check.value\n : input.data >= check.value;\n if (tooBig) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"multipleOf\") {\n if (floatSafeRemainder(input.data, check.value) !== 0) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.not_multiple_of,\n multipleOf: check.value,\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n gte(value, message) {\n return this.setLimit(\"min\", value, true, errorUtil.toString(message));\n }\n gt(value, message) {\n return this.setLimit(\"min\", value, false, errorUtil.toString(message));\n }\n lte(value, message) {\n return this.setLimit(\"max\", value, true, errorUtil.toString(message));\n }\n lt(value, message) {\n return this.setLimit(\"max\", value, false, errorUtil.toString(message));\n }\n setLimit(kind, value, inclusive, message) {\n return new ZodNumber({\n ...this._def,\n checks: [\n ...this._def.checks,\n {\n kind,\n value,\n inclusive,\n message: errorUtil.toString(message),\n },\n ],\n });\n }\n _addCheck(check) {\n return new ZodNumber({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n int(message) {\n return this._addCheck({\n kind: \"int\",\n message: errorUtil.toString(message),\n });\n }\n positive(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: false,\n message: errorUtil.toString(message),\n });\n }\n negative(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: false,\n message: errorUtil.toString(message),\n });\n }\n nonpositive(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: true,\n message: errorUtil.toString(message),\n });\n }\n nonnegative(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: true,\n message: errorUtil.toString(message),\n });\n }\n multipleOf(value, message) {\n return this._addCheck({\n kind: \"multipleOf\",\n value: value,\n message: errorUtil.toString(message),\n });\n }\n get minValue() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxValue() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n get isInt() {\n return !!this._def.checks.find((ch) => ch.kind === \"int\");\n }\n}\nZodNumber.create = (params) => {\n return new ZodNumber({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodNumber,\n ...processCreateParams(params),\n });\n};\nclass ZodBigInt extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.bigint) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.bigint,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodBigInt.create = (params) => {\n return new ZodBigInt({\n typeName: ZodFirstPartyTypeKind.ZodBigInt,\n ...processCreateParams(params),\n });\n};\nclass ZodBoolean extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.boolean) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.boolean,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodBoolean.create = (params) => {\n return new ZodBoolean({\n typeName: ZodFirstPartyTypeKind.ZodBoolean,\n ...processCreateParams(params),\n });\n};\nclass ZodDate extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.date) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.date,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n if (isNaN(input.data.getTime())) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_date,\n });\n return INVALID;\n }\n const status = new ParseStatus();\n let ctx = undefined;\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n if (input.data.getTime() < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n message: check.message,\n inclusive: true,\n minimum: check.value,\n type: \"date\",\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n if (input.data.getTime() > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n message: check.message,\n inclusive: true,\n maximum: check.value,\n type: \"date\",\n });\n status.dirty();\n }\n }\n else {\n util.assertNever(check);\n }\n }\n return {\n status: status.value,\n value: new Date(input.data.getTime()),\n };\n }\n _addCheck(check) {\n return new ZodDate({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n min(minDate, message) {\n return this._addCheck({\n kind: \"min\",\n value: minDate.getTime(),\n message: errorUtil.toString(message),\n });\n }\n max(maxDate, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxDate.getTime(),\n message: errorUtil.toString(message),\n });\n }\n get minDate() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min != null ? new Date(min) : null;\n }\n get maxDate() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max != null ? new Date(max) : null;\n }\n}\nZodDate.create = (params) => {\n return new ZodDate({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodDate,\n ...processCreateParams(params),\n });\n};\nclass ZodUndefined extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.undefined,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodUndefined.create = (params) => {\n return new ZodUndefined({\n typeName: ZodFirstPartyTypeKind.ZodUndefined,\n ...processCreateParams(params),\n });\n};\nclass ZodNull extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.null) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.null,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodNull.create = (params) => {\n return new ZodNull({\n typeName: ZodFirstPartyTypeKind.ZodNull,\n ...processCreateParams(params),\n });\n};\nclass ZodAny extends ZodType {\n constructor() {\n super(...arguments);\n // to prevent instances of other classes from extending ZodAny. this causes issues with catchall in ZodObject.\n this._any = true;\n }\n _parse(input) {\n return OK(input.data);\n }\n}\nZodAny.create = (params) => {\n return new ZodAny({\n typeName: ZodFirstPartyTypeKind.ZodAny,\n ...processCreateParams(params),\n });\n};\nclass ZodUnknown extends ZodType {\n constructor() {\n super(...arguments);\n // required\n this._unknown = true;\n }\n _parse(input) {\n return OK(input.data);\n }\n}\nZodUnknown.create = (params) => {\n return new ZodUnknown({\n typeName: ZodFirstPartyTypeKind.ZodUnknown,\n ...processCreateParams(params),\n });\n};\nclass ZodNever extends ZodType {\n _parse(input) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.never,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n}\nZodNever.create = (params) => {\n return new ZodNever({\n typeName: ZodFirstPartyTypeKind.ZodNever,\n ...processCreateParams(params),\n });\n};\nclass ZodVoid extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.void,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodVoid.create = (params) => {\n return new ZodVoid({\n typeName: ZodFirstPartyTypeKind.ZodVoid,\n ...processCreateParams(params),\n });\n};\nclass ZodArray extends ZodType {\n _parse(input) {\n const { ctx, status } = this._processInputParams(input);\n const def = this._def;\n if (ctx.parsedType !== ZodParsedType.array) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.array,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n if (def.minLength !== null) {\n if (ctx.data.length < def.minLength.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: def.minLength.value,\n type: \"array\",\n inclusive: true,\n message: def.minLength.message,\n });\n status.dirty();\n }\n }\n if (def.maxLength !== null) {\n if (ctx.data.length > def.maxLength.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: def.maxLength.value,\n type: \"array\",\n inclusive: true,\n message: def.maxLength.message,\n });\n status.dirty();\n }\n }\n if (ctx.common.async) {\n return Promise.all(ctx.data.map((item, i) => {\n return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n })).then((result) => {\n return ParseStatus.mergeArray(status, result);\n });\n }\n const result = ctx.data.map((item, i) => {\n return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n });\n return ParseStatus.mergeArray(status, result);\n }\n get element() {\n return this._def.type;\n }\n min(minLength, message) {\n return new ZodArray({\n ...this._def,\n minLength: { value: minLength, message: errorUtil.toString(message) },\n });\n }\n max(maxLength, message) {\n return new ZodArray({\n ...this._def,\n maxLength: { value: maxLength, message: errorUtil.toString(message) },\n });\n }\n length(len, message) {\n return this.min(len, message).max(len, message);\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nZodArray.create = (schema, params) => {\n return new ZodArray({\n type: schema,\n minLength: null,\n maxLength: null,\n typeName: ZodFirstPartyTypeKind.ZodArray,\n ...processCreateParams(params),\n });\n};\n/////////////////////////////////////////\n/////////////////////////////////////////\n////////// //////////\n////////// ZodObject //////////\n////////// //////////\n/////////////////////////////////////////\n/////////////////////////////////////////\nvar objectUtil;\n(function (objectUtil) {\n objectUtil.mergeShapes = (first, second) => {\n return {\n ...first,\n ...second,\n };\n };\n})(objectUtil || (objectUtil = {}));\nconst AugmentFactory = (def) => (augmentation) => {\n return new ZodObject({\n ...def,\n shape: () => ({\n ...def.shape(),\n ...augmentation,\n }),\n });\n};\nfunction deepPartialify(schema) {\n if (schema instanceof ZodObject) {\n const newShape = {};\n for (const key in schema.shape) {\n const fieldSchema = schema.shape[key];\n newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));\n }\n return new ZodObject({\n ...schema._def,\n shape: () => newShape,\n });\n }\n else if (schema instanceof ZodArray) {\n return ZodArray.create(deepPartialify(schema.element));\n }\n else if (schema instanceof ZodOptional) {\n return ZodOptional.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodNullable) {\n return ZodNullable.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodTuple) {\n return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));\n }\n else {\n return schema;\n }\n}\nclass ZodObject extends ZodType {\n constructor() {\n super(...arguments);\n this._cached = null;\n /**\n * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\n * If you want to pass through unknown properties, use `.passthrough()` instead.\n */\n this.nonstrict = this.passthrough;\n this.augment = AugmentFactory(this._def);\n this.extend = AugmentFactory(this._def);\n }\n _getCached() {\n if (this._cached !== null)\n return this._cached;\n const shape = this._def.shape();\n const keys = util.objectKeys(shape);\n return (this._cached = { shape, keys });\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.object) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const { status, ctx } = this._processInputParams(input);\n const { shape, keys: shapeKeys } = this._getCached();\n const extraKeys = [];\n if (!(this._def.catchall instanceof ZodNever &&\n this._def.unknownKeys === \"strip\")) {\n for (const key in ctx.data) {\n if (!shapeKeys.includes(key)) {\n extraKeys.push(key);\n }\n }\n }\n const pairs = [];\n for (const key of shapeKeys) {\n const keyValidator = shape[key];\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: keyValidator._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),\n alwaysSet: key in ctx.data,\n });\n }\n if (this._def.catchall instanceof ZodNever) {\n const unknownKeys = this._def.unknownKeys;\n if (unknownKeys === \"passthrough\") {\n for (const key of extraKeys) {\n pairs.push({\n key: { status: \"valid\", value: key },\n value: { status: \"valid\", value: ctx.data[key] },\n });\n }\n }\n else if (unknownKeys === \"strict\") {\n if (extraKeys.length > 0) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.unrecognized_keys,\n keys: extraKeys,\n });\n status.dirty();\n }\n }\n else if (unknownKeys === \"strip\") ;\n else {\n throw new Error(`Internal ZodObject error: invalid unknownKeys value.`);\n }\n }\n else {\n // run catchall validation\n const catchall = this._def.catchall;\n for (const key of extraKeys) {\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, key) //, ctx.child(key), value, getParsedType(value)\n ),\n alwaysSet: key in ctx.data,\n });\n }\n }\n if (ctx.common.async) {\n return Promise.resolve()\n .then(async () => {\n const syncPairs = [];\n for (const pair of pairs) {\n const key = await pair.key;\n syncPairs.push({\n key,\n value: await pair.value,\n alwaysSet: pair.alwaysSet,\n });\n }\n return syncPairs;\n })\n .then((syncPairs) => {\n return ParseStatus.mergeObjectSync(status, syncPairs);\n });\n }\n else {\n return ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get shape() {\n return this._def.shape();\n }\n strict(message) {\n errorUtil.errToObj;\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strict\",\n ...(message !== undefined\n ? {\n errorMap: (issue, ctx) => {\n var _a, _b, _c, _d;\n const defaultError = (_c = (_b = (_a = this._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;\n if (issue.code === \"unrecognized_keys\")\n return {\n message: (_d = errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError,\n };\n return {\n message: defaultError,\n };\n },\n }\n : {}),\n });\n }\n strip() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strip\",\n });\n }\n passthrough() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"passthrough\",\n });\n }\n setKey(key, schema) {\n return this.augment({ [key]: schema });\n }\n /**\n * Prior to zod@1.0.12 there was a bug in the\n * inferred type of merged objects. Please\n * upgrade if you are experiencing issues.\n */\n merge(merging) {\n // const mergedShape = objectUtil.mergeShapes(\n // this._def.shape(),\n // merging._def.shape()\n // );\n const merged = new ZodObject({\n unknownKeys: merging._def.unknownKeys,\n catchall: merging._def.catchall,\n shape: () => objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n });\n return merged;\n }\n catchall(index) {\n return new ZodObject({\n ...this._def,\n catchall: index,\n });\n }\n pick(mask) {\n const shape = {};\n util.objectKeys(mask).map((key) => {\n // only add to shape if key corresponds to an element of the current shape\n if (this.shape[key])\n shape[key] = this.shape[key];\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n omit(mask) {\n const shape = {};\n util.objectKeys(this.shape).map((key) => {\n if (util.objectKeys(mask).indexOf(key) === -1) {\n shape[key] = this.shape[key];\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n deepPartial() {\n return deepPartialify(this);\n }\n partial(mask) {\n const newShape = {};\n if (mask) {\n util.objectKeys(this.shape).map((key) => {\n if (util.objectKeys(mask).indexOf(key) === -1) {\n newShape[key] = this.shape[key];\n }\n else {\n newShape[key] = this.shape[key].optional();\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n else {\n for (const key in this.shape) {\n const fieldSchema = this.shape[key];\n newShape[key] = fieldSchema.optional();\n }\n }\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n required() {\n const newShape = {};\n for (const key in this.shape) {\n const fieldSchema = this.shape[key];\n let newField = fieldSchema;\n while (newField instanceof ZodOptional) {\n newField = newField._def.innerType;\n }\n newShape[key] = newField;\n }\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n keyof() {\n return createZodEnum(util.objectKeys(this.shape));\n }\n}\nZodObject.create = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.strictCreate = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strict\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.lazycreate = (shape, params) => {\n return new ZodObject({\n shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nclass ZodUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const options = this._def.options;\n function handleResults(results) {\n // return first issue-free validation if it exists\n for (const result of results) {\n if (result.result.status === \"valid\") {\n return result.result;\n }\n }\n for (const result of results) {\n if (result.result.status === \"dirty\") {\n // add issues from dirty option\n ctx.common.issues.push(...result.ctx.common.issues);\n return result.result;\n }\n }\n // return invalid\n const unionErrors = results.map((result) => new ZodError(result.ctx.common.issues));\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union,\n unionErrors,\n });\n return INVALID;\n }\n if (ctx.common.async) {\n return Promise.all(options.map(async (option) => {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n return {\n result: await option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n }),\n ctx: childCtx,\n };\n })).then(handleResults);\n }\n else {\n let dirty = undefined;\n const issues = [];\n for (const option of options) {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n const result = option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n });\n if (result.status === \"valid\") {\n return result;\n }\n else if (result.status === \"dirty\" && !dirty) {\n dirty = { result, ctx: childCtx };\n }\n if (childCtx.common.issues.length) {\n issues.push(childCtx.common.issues);\n }\n }\n if (dirty) {\n ctx.common.issues.push(...dirty.ctx.common.issues);\n return dirty.result;\n }\n const unionErrors = issues.map((issues) => new ZodError(issues));\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union,\n unionErrors,\n });\n return INVALID;\n }\n }\n get options() {\n return this._def.options;\n }\n}\nZodUnion.create = (types, params) => {\n return new ZodUnion({\n options: types,\n typeName: ZodFirstPartyTypeKind.ZodUnion,\n ...processCreateParams(params),\n });\n};\nclass ZodDiscriminatedUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.object) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const discriminator = this.discriminator;\n const discriminatorValue = ctx.data[discriminator];\n const option = this.options.get(discriminatorValue);\n if (!option) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union_discriminator,\n options: this.validDiscriminatorValues,\n path: [discriminator],\n });\n return INVALID;\n }\n if (ctx.common.async) {\n return option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n else {\n return option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n get discriminator() {\n return this._def.discriminator;\n }\n get validDiscriminatorValues() {\n return Array.from(this.options.keys());\n }\n get options() {\n return this._def.options;\n }\n /**\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n * have a different value for each object in the union.\n * @param discriminator the name of the discriminator property\n * @param types an array of object schemas\n * @param params\n */\n static create(discriminator, types, params) {\n // Get all the valid discriminator values\n const options = new Map();\n try {\n types.forEach((type) => {\n const discriminatorValue = type.shape[discriminator].value;\n options.set(discriminatorValue, type);\n });\n }\n catch (e) {\n throw new Error(\"The discriminator value could not be extracted from all the provided schemas\");\n }\n // Assert that all the discriminator values are unique\n if (options.size !== types.length) {\n throw new Error(\"Some of the discriminator values are not unique\");\n }\n return new ZodDiscriminatedUnion({\n typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,\n discriminator,\n options,\n ...processCreateParams(params),\n });\n }\n}\nfunction mergeValues(a, b) {\n const aType = getParsedType(a);\n const bType = getParsedType(b);\n if (a === b) {\n return { valid: true, data: a };\n }\n else if (aType === ZodParsedType.object && bType === ZodParsedType.object) {\n const bKeys = util.objectKeys(b);\n const sharedKeys = util\n .objectKeys(a)\n .filter((key) => bKeys.indexOf(key) !== -1);\n const newObj = { ...a, ...b };\n for (const key of sharedKeys) {\n const sharedValue = mergeValues(a[key], b[key]);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newObj[key] = sharedValue.data;\n }\n return { valid: true, data: newObj };\n }\n else if (aType === ZodParsedType.array && bType === ZodParsedType.array) {\n if (a.length !== b.length) {\n return { valid: false };\n }\n const newArray = [];\n for (let index = 0; index < a.length; index++) {\n const itemA = a[index];\n const itemB = b[index];\n const sharedValue = mergeValues(itemA, itemB);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newArray.push(sharedValue.data);\n }\n return { valid: true, data: newArray };\n }\n else if (aType === ZodParsedType.date &&\n bType === ZodParsedType.date &&\n +a === +b) {\n return { valid: true, data: a };\n }\n else {\n return { valid: false };\n }\n}\nclass ZodIntersection extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const handleParsed = (parsedLeft, parsedRight) => {\n if (isAborted(parsedLeft) || isAborted(parsedRight)) {\n return INVALID;\n }\n const merged = mergeValues(parsedLeft.value, parsedRight.value);\n if (!merged.valid) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_intersection_types,\n });\n return INVALID;\n }\n if (isDirty(parsedLeft) || isDirty(parsedRight)) {\n status.dirty();\n }\n return { status: status.value, value: merged.data };\n };\n if (ctx.common.async) {\n return Promise.all([\n this._def.left._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n this._def.right._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n ]).then(([left, right]) => handleParsed(left, right));\n }\n else {\n return handleParsed(this._def.left._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }), this._def.right._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }));\n }\n }\n}\nZodIntersection.create = (left, right, params) => {\n return new ZodIntersection({\n left: left,\n right: right,\n typeName: ZodFirstPartyTypeKind.ZodIntersection,\n ...processCreateParams(params),\n });\n};\nclass ZodTuple extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.array) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.array,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n if (ctx.data.length < this._def.items.length) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: this._def.items.length,\n inclusive: true,\n type: \"array\",\n });\n return INVALID;\n }\n const rest = this._def.rest;\n if (!rest && ctx.data.length > this._def.items.length) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: this._def.items.length,\n inclusive: true,\n type: \"array\",\n });\n status.dirty();\n }\n const items = ctx.data\n .map((item, itemIndex) => {\n const schema = this._def.items[itemIndex] || this._def.rest;\n if (!schema)\n return null;\n return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));\n })\n .filter((x) => !!x); // filter nulls\n if (ctx.common.async) {\n return Promise.all(items).then((results) => {\n return ParseStatus.mergeArray(status, results);\n });\n }\n else {\n return ParseStatus.mergeArray(status, items);\n }\n }\n get items() {\n return this._def.items;\n }\n rest(rest) {\n return new ZodTuple({\n ...this._def,\n rest,\n });\n }\n}\nZodTuple.create = (schemas, params) => {\n if (!Array.isArray(schemas)) {\n throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");\n }\n return new ZodTuple({\n items: schemas,\n typeName: ZodFirstPartyTypeKind.ZodTuple,\n rest: null,\n ...processCreateParams(params),\n });\n};\nclass ZodRecord extends ZodType {\n get keySchema() {\n return this._def.keyType;\n }\n get valueSchema() {\n return this._def.valueType;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.object) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const pairs = [];\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n for (const key in ctx.data) {\n pairs.push({\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),\n value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),\n });\n }\n if (ctx.common.async) {\n return ParseStatus.mergeObjectAsync(status, pairs);\n }\n else {\n return ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get element() {\n return this._def.valueType;\n }\n static create(first, second, third) {\n if (second instanceof ZodType) {\n return new ZodRecord({\n keyType: first,\n valueType: second,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(third),\n });\n }\n return new ZodRecord({\n keyType: ZodString.create(),\n valueType: first,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(second),\n });\n }\n}\nclass ZodMap extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.map) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.map,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n const pairs = [...ctx.data.entries()].map(([key, value], index) => {\n return {\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, \"key\"])),\n value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, \"value\"])),\n };\n });\n if (ctx.common.async) {\n const finalMap = new Map();\n return Promise.resolve().then(async () => {\n for (const pair of pairs) {\n const key = await pair.key;\n const value = await pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n });\n }\n else {\n const finalMap = new Map();\n for (const pair of pairs) {\n const key = pair.key;\n const value = pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n }\n }\n}\nZodMap.create = (keyType, valueType, params) => {\n return new ZodMap({\n valueType,\n keyType,\n typeName: ZodFirstPartyTypeKind.ZodMap,\n ...processCreateParams(params),\n });\n};\nclass ZodSet extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.set) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.set,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const def = this._def;\n if (def.minSize !== null) {\n if (ctx.data.size < def.minSize.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: def.minSize.value,\n type: \"set\",\n inclusive: true,\n message: def.minSize.message,\n });\n status.dirty();\n }\n }\n if (def.maxSize !== null) {\n if (ctx.data.size > def.maxSize.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: def.maxSize.value,\n type: \"set\",\n inclusive: true,\n message: def.maxSize.message,\n });\n status.dirty();\n }\n }\n const valueType = this._def.valueType;\n function finalizeSet(elements) {\n const parsedSet = new Set();\n for (const element of elements) {\n if (element.status === \"aborted\")\n return INVALID;\n if (element.status === \"dirty\")\n status.dirty();\n parsedSet.add(element.value);\n }\n return { status: status.value, value: parsedSet };\n }\n const elements = [...ctx.data.values()].map((item, i) => valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i)));\n if (ctx.common.async) {\n return Promise.all(elements).then((elements) => finalizeSet(elements));\n }\n else {\n return finalizeSet(elements);\n }\n }\n min(minSize, message) {\n return new ZodSet({\n ...this._def,\n minSize: { value: minSize, message: errorUtil.toString(message) },\n });\n }\n max(maxSize, message) {\n return new ZodSet({\n ...this._def,\n maxSize: { value: maxSize, message: errorUtil.toString(message) },\n });\n }\n size(size, message) {\n return this.min(size, message).max(size, message);\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nZodSet.create = (valueType, params) => {\n return new ZodSet({\n valueType,\n minSize: null,\n maxSize: null,\n typeName: ZodFirstPartyTypeKind.ZodSet,\n ...processCreateParams(params),\n });\n};\nclass ZodFunction extends ZodType {\n constructor() {\n super(...arguments);\n this.validate = this.implement;\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.function) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.function,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n function makeArgsIssue(args, error) {\n return makeIssue({\n data: args,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n getErrorMap(),\n errorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodIssueCode.invalid_arguments,\n argumentsError: error,\n },\n });\n }\n function makeReturnsIssue(returns, error) {\n return makeIssue({\n data: returns,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n getErrorMap(),\n errorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodIssueCode.invalid_return_type,\n returnTypeError: error,\n },\n });\n }\n const params = { errorMap: ctx.common.contextualErrorMap };\n const fn = ctx.data;\n if (this._def.returns instanceof ZodPromise) {\n return OK(async (...args) => {\n const error = new ZodError([]);\n const parsedArgs = await this._def.args\n .parseAsync(args, params)\n .catch((e) => {\n error.addIssue(makeArgsIssue(args, e));\n throw error;\n });\n const result = await fn(...parsedArgs);\n const parsedReturns = await this._def.returns._def.type\n .parseAsync(result, params)\n .catch((e) => {\n error.addIssue(makeReturnsIssue(result, e));\n throw error;\n });\n return parsedReturns;\n });\n }\n else {\n return OK((...args) => {\n const parsedArgs = this._def.args.safeParse(args, params);\n if (!parsedArgs.success) {\n throw new ZodError([makeArgsIssue(args, parsedArgs.error)]);\n }\n const result = fn(...parsedArgs.data);\n const parsedReturns = this._def.returns.safeParse(result, params);\n if (!parsedReturns.success) {\n throw new ZodError([makeReturnsIssue(result, parsedReturns.error)]);\n }\n return parsedReturns.data;\n });\n }\n }\n parameters() {\n return this._def.args;\n }\n returnType() {\n return this._def.returns;\n }\n args(...items) {\n return new ZodFunction({\n ...this._def,\n args: ZodTuple.create(items).rest(ZodUnknown.create()),\n });\n }\n returns(returnType) {\n return new ZodFunction({\n ...this._def,\n returns: returnType,\n });\n }\n implement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n strictImplement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n static create(args, returns, params) {\n return new ZodFunction({\n args: (args\n ? args\n : ZodTuple.create([]).rest(ZodUnknown.create())),\n returns: returns || ZodUnknown.create(),\n typeName: ZodFirstPartyTypeKind.ZodFunction,\n ...processCreateParams(params),\n });\n }\n}\nclass ZodLazy extends ZodType {\n get schema() {\n return this._def.getter();\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const lazySchema = this._def.getter();\n return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });\n }\n}\nZodLazy.create = (getter, params) => {\n return new ZodLazy({\n getter: getter,\n typeName: ZodFirstPartyTypeKind.ZodLazy,\n ...processCreateParams(params),\n });\n};\nclass ZodLiteral extends ZodType {\n _parse(input) {\n if (input.data !== this._def.value) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_literal,\n expected: this._def.value,\n });\n return INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n get value() {\n return this._def.value;\n }\n}\nZodLiteral.create = (value, params) => {\n return new ZodLiteral({\n value: value,\n typeName: ZodFirstPartyTypeKind.ZodLiteral,\n ...processCreateParams(params),\n });\n};\nfunction createZodEnum(values, params) {\n return new ZodEnum({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodEnum,\n ...processCreateParams(params),\n });\n}\nclass ZodEnum extends ZodType {\n _parse(input) {\n if (typeof input.data !== \"string\") {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n addIssueToContext(ctx, {\n expected: util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodIssueCode.invalid_type,\n });\n return INVALID;\n }\n if (this._def.values.indexOf(input.data) === -1) {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n get options() {\n return this._def.values;\n }\n get enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Values() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n}\nZodEnum.create = createZodEnum;\nclass ZodNativeEnum extends ZodType {\n _parse(input) {\n const nativeEnumValues = util.getValidEnumValues(this._def.values);\n const ctx = this._getOrReturnCtx(input);\n if (ctx.parsedType !== ZodParsedType.string &&\n ctx.parsedType !== ZodParsedType.number) {\n const expectedValues = util.objectValues(nativeEnumValues);\n addIssueToContext(ctx, {\n expected: util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodIssueCode.invalid_type,\n });\n return INVALID;\n }\n if (nativeEnumValues.indexOf(input.data) === -1) {\n const expectedValues = util.objectValues(nativeEnumValues);\n addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n get enum() {\n return this._def.values;\n }\n}\nZodNativeEnum.create = (values, params) => {\n return new ZodNativeEnum({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodNativeEnum,\n ...processCreateParams(params),\n });\n};\nclass ZodPromise extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.promise &&\n ctx.common.async === false) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.promise,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const promisified = ctx.parsedType === ZodParsedType.promise\n ? ctx.data\n : Promise.resolve(ctx.data);\n return OK(promisified.then((data) => {\n return this._def.type.parseAsync(data, {\n path: ctx.path,\n errorMap: ctx.common.contextualErrorMap,\n });\n }));\n }\n}\nZodPromise.create = (schema, params) => {\n return new ZodPromise({\n type: schema,\n typeName: ZodFirstPartyTypeKind.ZodPromise,\n ...processCreateParams(params),\n });\n};\nclass ZodEffects extends ZodType {\n innerType() {\n return this._def.schema;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const effect = this._def.effect || null;\n if (effect.type === \"preprocess\") {\n const processed = effect.transform(ctx.data);\n if (ctx.common.async) {\n return Promise.resolve(processed).then((processed) => {\n return this._def.schema._parseAsync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n });\n }\n else {\n return this._def.schema._parseSync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n const checkCtx = {\n addIssue: (arg) => {\n addIssueToContext(ctx, arg);\n if (arg.fatal) {\n status.abort();\n }\n else {\n status.dirty();\n }\n },\n get path() {\n return ctx.path;\n },\n };\n checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);\n if (effect.type === \"refinement\") {\n const executeRefinement = (acc\n // effect: RefinementEffect\n ) => {\n const result = effect.refinement(acc, checkCtx);\n if (ctx.common.async) {\n return Promise.resolve(result);\n }\n if (result instanceof Promise) {\n throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n }\n return acc;\n };\n if (ctx.common.async === false) {\n const inner = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n if (inner.status === \"aborted\")\n return INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n // return value is ignored\n executeRefinement(inner.value);\n return { status: status.value, value: inner.value };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((inner) => {\n if (inner.status === \"aborted\")\n return INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n return executeRefinement(inner.value).then(() => {\n return { status: status.value, value: inner.value };\n });\n });\n }\n }\n if (effect.type === \"transform\") {\n if (ctx.common.async === false) {\n const base = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n if (!isValid(base))\n return base;\n const result = effect.transform(base.value, checkCtx);\n if (result instanceof Promise) {\n throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);\n }\n return { status: status.value, value: result };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((base) => {\n if (!isValid(base))\n return base;\n // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({ status: status.value, value: result }));\n });\n }\n }\n util.assertNever(effect);\n }\n}\nZodEffects.create = (schema, effect, params) => {\n return new ZodEffects({\n schema,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect,\n ...processCreateParams(params),\n });\n};\nZodEffects.createWithPreprocess = (preprocess, schema, params) => {\n return new ZodEffects({\n schema,\n effect: { type: \"preprocess\", transform: preprocess },\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n ...processCreateParams(params),\n });\n};\nclass ZodOptional extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === ZodParsedType.undefined) {\n return OK(undefined);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nZodOptional.create = (type, params) => {\n return new ZodOptional({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional,\n ...processCreateParams(params),\n });\n};\nclass ZodNullable extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === ZodParsedType.null) {\n return OK(null);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nZodNullable.create = (type, params) => {\n return new ZodNullable({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodNullable,\n ...processCreateParams(params),\n });\n};\nclass ZodDefault extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n let data = ctx.data;\n if (ctx.parsedType === ZodParsedType.undefined) {\n data = this._def.defaultValue();\n }\n return this._def.innerType._parse({\n data,\n path: ctx.path,\n parent: ctx,\n });\n }\n removeDefault() {\n return this._def.innerType;\n }\n}\nZodDefault.create = (type, params) => {\n return new ZodOptional({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional,\n ...processCreateParams(params),\n });\n};\nclass ZodNaN extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.nan) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.nan,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n}\nZodNaN.create = (params) => {\n return new ZodNaN({\n typeName: ZodFirstPartyTypeKind.ZodNaN,\n ...processCreateParams(params),\n });\n};\nconst BRAND = Symbol(\"zod_brand\");\nclass ZodBranded extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const data = ctx.data;\n return this._def.type._parse({\n data,\n path: ctx.path,\n parent: ctx,\n });\n }\n unwrap() {\n return this._def.type;\n }\n}\nconst custom = (check, params = {}, fatal) => {\n if (check)\n return ZodAny.create().superRefine((data, ctx) => {\n if (!check(data)) {\n const p = typeof params === \"function\" ? params(data) : params;\n const p2 = typeof p === \"string\" ? { message: p } : p;\n ctx.addIssue({ code: \"custom\", ...p2, fatal });\n }\n });\n return ZodAny.create();\n};\nconst late = {\n object: ZodObject.lazycreate,\n};\nvar ZodFirstPartyTypeKind;\n(function (ZodFirstPartyTypeKind) {\n ZodFirstPartyTypeKind[\"ZodString\"] = \"ZodString\";\n ZodFirstPartyTypeKind[\"ZodNumber\"] = \"ZodNumber\";\n ZodFirstPartyTypeKind[\"ZodNaN\"] = \"ZodNaN\";\n ZodFirstPartyTypeKind[\"ZodBigInt\"] = \"ZodBigInt\";\n ZodFirstPartyTypeKind[\"ZodBoolean\"] = \"ZodBoolean\";\n ZodFirstPartyTypeKind[\"ZodDate\"] = \"ZodDate\";\n ZodFirstPartyTypeKind[\"ZodUndefined\"] = \"ZodUndefined\";\n ZodFirstPartyTypeKind[\"ZodNull\"] = \"ZodNull\";\n ZodFirstPartyTypeKind[\"ZodAny\"] = \"ZodAny\";\n ZodFirstPartyTypeKind[\"ZodUnknown\"] = \"ZodUnknown\";\n ZodFirstPartyTypeKind[\"ZodNever\"] = \"ZodNever\";\n ZodFirstPartyTypeKind[\"ZodVoid\"] = \"ZodVoid\";\n ZodFirstPartyTypeKind[\"ZodArray\"] = \"ZodArray\";\n ZodFirstPartyTypeKind[\"ZodObject\"] = \"ZodObject\";\n ZodFirstPartyTypeKind[\"ZodUnion\"] = \"ZodUnion\";\n ZodFirstPartyTypeKind[\"ZodDiscriminatedUnion\"] = \"ZodDiscriminatedUnion\";\n ZodFirstPartyTypeKind[\"ZodIntersection\"] = \"ZodIntersection\";\n ZodFirstPartyTypeKind[\"ZodTuple\"] = \"ZodTuple\";\n ZodFirstPartyTypeKind[\"ZodRecord\"] = \"ZodRecord\";\n ZodFirstPartyTypeKind[\"ZodMap\"] = \"ZodMap\";\n ZodFirstPartyTypeKind[\"ZodSet\"] = \"ZodSet\";\n ZodFirstPartyTypeKind[\"ZodFunction\"] = \"ZodFunction\";\n ZodFirstPartyTypeKind[\"ZodLazy\"] = \"ZodLazy\";\n ZodFirstPartyTypeKind[\"ZodLiteral\"] = \"ZodLiteral\";\n ZodFirstPartyTypeKind[\"ZodEnum\"] = \"ZodEnum\";\n ZodFirstPartyTypeKind[\"ZodEffects\"] = \"ZodEffects\";\n ZodFirstPartyTypeKind[\"ZodNativeEnum\"] = \"ZodNativeEnum\";\n ZodFirstPartyTypeKind[\"ZodOptional\"] = \"ZodOptional\";\n ZodFirstPartyTypeKind[\"ZodNullable\"] = \"ZodNullable\";\n ZodFirstPartyTypeKind[\"ZodDefault\"] = \"ZodDefault\";\n ZodFirstPartyTypeKind[\"ZodPromise\"] = \"ZodPromise\";\n ZodFirstPartyTypeKind[\"ZodBranded\"] = \"ZodBranded\";\n})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));\n// new approach that works for abstract classes\n// but required TS 4.4+\n// abstract class Class {\n// constructor(..._: any[]) {}\n// }\n// const instanceOfType = (\nconst instanceOfType = (cls, params = {\n message: `Input not instance of ${cls.name}`,\n}) => custom((data) => data instanceof cls, params, true);\nconst stringType = ZodString.create;\nconst numberType = ZodNumber.create;\nconst nanType = ZodNaN.create;\nconst bigIntType = ZodBigInt.create;\nconst booleanType = ZodBoolean.create;\nconst dateType = ZodDate.create;\nconst undefinedType = ZodUndefined.create;\nconst nullType = ZodNull.create;\nconst anyType = ZodAny.create;\nconst unknownType = ZodUnknown.create;\nconst neverType = ZodNever.create;\nconst voidType = ZodVoid.create;\nconst arrayType = ZodArray.create;\nconst objectType = ZodObject.create;\nconst strictObjectType = ZodObject.strictCreate;\nconst unionType = ZodUnion.create;\nconst discriminatedUnionType = ZodDiscriminatedUnion.create;\nconst intersectionType = ZodIntersection.create;\nconst tupleType = ZodTuple.create;\nconst recordType = ZodRecord.create;\nconst mapType = ZodMap.create;\nconst setType = ZodSet.create;\nconst functionType = ZodFunction.create;\nconst lazyType = ZodLazy.create;\nconst literalType = ZodLiteral.create;\nconst enumType = ZodEnum.create;\nconst nativeEnumType = ZodNativeEnum.create;\nconst promiseType = ZodPromise.create;\nconst effectsType = ZodEffects.create;\nconst optionalType = ZodOptional.create;\nconst nullableType = ZodNullable.create;\nconst preprocessType = ZodEffects.createWithPreprocess;\nconst ostring = () => stringType().optional();\nconst onumber = () => numberType().optional();\nconst oboolean = () => booleanType().optional();\nconst NEVER = INVALID;\n\nvar mod = /*#__PURE__*/Object.freeze({\n __proto__: null,\n getParsedType: getParsedType,\n ZodParsedType: ZodParsedType,\n defaultErrorMap: errorMap,\n setErrorMap: setErrorMap,\n getErrorMap: getErrorMap,\n makeIssue: makeIssue,\n EMPTY_PATH: EMPTY_PATH,\n addIssueToContext: addIssueToContext,\n ParseStatus: ParseStatus,\n INVALID: INVALID,\n DIRTY: DIRTY,\n OK: OK,\n isAborted: isAborted,\n isDirty: isDirty,\n isValid: isValid,\n isAsync: isAsync,\n ZodType: ZodType,\n ZodString: ZodString,\n ZodNumber: ZodNumber,\n ZodBigInt: ZodBigInt,\n ZodBoolean: ZodBoolean,\n ZodDate: ZodDate,\n ZodUndefined: ZodUndefined,\n ZodNull: ZodNull,\n ZodAny: ZodAny,\n ZodUnknown: ZodUnknown,\n ZodNever: ZodNever,\n ZodVoid: ZodVoid,\n ZodArray: ZodArray,\n get objectUtil () { return objectUtil; },\n ZodObject: ZodObject,\n ZodUnion: ZodUnion,\n ZodDiscriminatedUnion: ZodDiscriminatedUnion,\n ZodIntersection: ZodIntersection,\n ZodTuple: ZodTuple,\n ZodRecord: ZodRecord,\n ZodMap: ZodMap,\n ZodSet: ZodSet,\n ZodFunction: ZodFunction,\n ZodLazy: ZodLazy,\n ZodLiteral: ZodLiteral,\n ZodEnum: ZodEnum,\n ZodNativeEnum: ZodNativeEnum,\n ZodPromise: ZodPromise,\n ZodEffects: ZodEffects,\n ZodTransformer: ZodEffects,\n ZodOptional: ZodOptional,\n ZodNullable: ZodNullable,\n ZodDefault: ZodDefault,\n ZodNaN: ZodNaN,\n BRAND: BRAND,\n ZodBranded: ZodBranded,\n custom: custom,\n Schema: ZodType,\n ZodSchema: ZodType,\n late: late,\n get ZodFirstPartyTypeKind () { return ZodFirstPartyTypeKind; },\n any: anyType,\n array: arrayType,\n bigint: bigIntType,\n boolean: booleanType,\n date: dateType,\n discriminatedUnion: discriminatedUnionType,\n effect: effectsType,\n 'enum': enumType,\n 'function': functionType,\n 'instanceof': instanceOfType,\n intersection: intersectionType,\n lazy: lazyType,\n literal: literalType,\n map: mapType,\n nan: nanType,\n nativeEnum: nativeEnumType,\n never: neverType,\n 'null': nullType,\n nullable: nullableType,\n number: numberType,\n object: objectType,\n oboolean: oboolean,\n onumber: onumber,\n optional: optionalType,\n ostring: ostring,\n preprocess: preprocessType,\n promise: promiseType,\n record: recordType,\n set: setType,\n strictObject: strictObjectType,\n string: stringType,\n transformer: effectsType,\n tuple: tupleType,\n 'undefined': undefinedType,\n union: unionType,\n unknown: unknownType,\n 'void': voidType,\n NEVER: NEVER,\n ZodIssueCode: ZodIssueCode,\n quotelessJson: quotelessJson,\n ZodError: ZodError\n});\n\nexport { BRAND, DIRTY, EMPTY_PATH, INVALID, NEVER, OK, ParseStatus, ZodType as Schema, ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodBranded, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodEffects, ZodEnum, ZodError, ZodFirstPartyTypeKind, ZodFunction, ZodIntersection, ZodIssueCode, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNativeEnum, ZodNever, ZodNull, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodParsedType, ZodPromise, ZodRecord, ZodType as ZodSchema, ZodSet, ZodString, ZodEffects as ZodTransformer, ZodTuple, ZodType, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, addIssueToContext, anyType as any, arrayType as array, bigIntType as bigint, booleanType as boolean, custom, dateType as date, mod as default, errorMap as defaultErrorMap, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, getErrorMap, getParsedType, instanceOfType as instanceof, intersectionType as intersection, isAborted, isAsync, isDirty, isValid, late, lazyType as lazy, literalType as literal, makeIssue, mapType as map, nanType as nan, nativeEnumType as nativeEnum, neverType as never, nullType as null, nullableType as nullable, numberType as number, objectType as object, objectUtil, oboolean, onumber, optionalType as optional, ostring, preprocessType as preprocess, promiseType as promise, quotelessJson, recordType as record, setType as set, setErrorMap, strictObjectType as strictObject, stringType as string, effectsType as transformer, tupleType as tuple, undefinedType as undefined, unionType as union, unknownType as unknown, voidType as void, mod as z };\n", "import { z } from 'zod'\n\nexport type QueryParams = Record\nexport type Headers = Record\n\nexport interface CallOptions {\n encoding?: string\n headers?: Headers\n}\n\nexport interface FetchHandlerResponse {\n status: number\n headers: Headers\n body: ArrayBuffer | undefined\n}\n\nexport type FetchHandler = (\n httpUri: string,\n httpMethod: string,\n httpHeaders: Headers,\n httpReqBody: any,\n) => Promise\n\nexport const errorResponseBody = z.object({\n error: z.string().optional(),\n message: z.string().optional(),\n})\nexport type ErrorResponseBody = z.infer\n\nexport enum ResponseType {\n Unknown = 1,\n InvalidResponse = 2,\n Success = 200,\n InvalidRequest = 400,\n AuthRequired = 401,\n Forbidden = 403,\n XRPCNotSupported = 404,\n PayloadTooLarge = 413,\n RateLimitExceeded = 429,\n InternalServerError = 500,\n MethodNotImplemented = 501,\n UpstreamFailure = 502,\n NotEnoughResouces = 503,\n UpstreamTimeout = 504,\n}\n\nexport const ResponseTypeNames = {\n [ResponseType.InvalidResponse]: 'InvalidResponse',\n [ResponseType.Success]: 'Success',\n [ResponseType.InvalidRequest]: 'InvalidRequest',\n [ResponseType.AuthRequired]: 'AuthenticationRequired',\n [ResponseType.Forbidden]: 'Forbidden',\n [ResponseType.XRPCNotSupported]: 'XRPCNotSupported',\n [ResponseType.PayloadTooLarge]: 'PayloadTooLarge',\n [ResponseType.RateLimitExceeded]: 'RateLimitExceeded',\n [ResponseType.InternalServerError]: 'InternalServerError',\n [ResponseType.MethodNotImplemented]: 'MethodNotImplemented',\n [ResponseType.UpstreamFailure]: 'UpstreamFailure',\n [ResponseType.NotEnoughResouces]: 'NotEnoughResouces',\n [ResponseType.UpstreamTimeout]: 'UpstreamTimeout',\n}\n\nexport const ResponseTypeStrings = {\n [ResponseType.InvalidResponse]: 'Invalid Response',\n [ResponseType.Success]: 'Success',\n [ResponseType.InvalidRequest]: 'Invalid Request',\n [ResponseType.AuthRequired]: 'Authentication Required',\n [ResponseType.Forbidden]: 'Forbidden',\n [ResponseType.XRPCNotSupported]: 'XRPC Not Supported',\n [ResponseType.PayloadTooLarge]: 'Payload Too Large',\n [ResponseType.RateLimitExceeded]: 'Rate Limit Exceeded',\n [ResponseType.InternalServerError]: 'Internal Server Error',\n [ResponseType.MethodNotImplemented]: 'Method Not Implemented',\n [ResponseType.UpstreamFailure]: 'Upstream Failure',\n [ResponseType.NotEnoughResouces]: 'Not Enough Resouces',\n [ResponseType.UpstreamTimeout]: 'Upstream Timeout',\n}\n\nexport class XRPCResponse {\n success = true\n\n constructor(public data: any, public headers: Headers) {}\n}\n\nexport class XRPCError extends Error {\n success = false\n\n constructor(\n public status: ResponseType,\n public error?: string,\n message?: string,\n ) {\n super(message || error || ResponseTypeStrings[status])\n if (!this.error) {\n this.error = ResponseTypeNames[status]\n }\n }\n}\n", "/*\nGrammar:\n\nalpha = \"a\" / \"b\" / \"c\" / \"d\" / \"e\" / \"f\" / \"g\" / \"h\" / \"i\" / \"j\" / \"k\" / \"l\" / \"m\" / \"n\" / \"o\" / \"p\" / \"q\" / \"r\" / \"s\" / \"t\" / \"u\" / \"v\" / \"w\" / \"x\" / \"y\" / \"z\" / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\" / \"G\" / \"H\" / \"I\" / \"J\" / \"K\" / \"L\" / \"M\" / \"N\" / \"O\" / \"P\" / \"Q\" / \"R\" / \"S\" / \"T\" / \"U\" / \"V\" / \"W\" / \"X\" / \"Y\" / \"Z\"\nnumber = \"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\" / \"0\"\ndelim = \".\"\nsegment = alpha *( alpha / number / \"-\" )\nauthority = segment *( delim segment )\nname = segment\nnsid = authority delim name\nnsid-ns = authority delim \"*\"\n\n*/\n\nconst SEGMENT_RE = /^[a-zA-Z]([a-zA-Z0-9-])*$/\n\nexport class NSID {\n segments: string[] = []\n\n static parse(nsid: string): NSID {\n return new NSID(nsid)\n }\n\n static create(authority: string, name: string): NSID {\n const segments = [...authority.split('.').reverse(), name].join('.')\n return new NSID(segments)\n }\n\n static isValid(nsid: string): boolean {\n try {\n NSID.parse(nsid)\n return true\n } catch (e: any) {\n return false\n }\n }\n\n constructor(nsid: string) {\n const segments = nsid.split('.')\n if (segments.length <= 2) {\n throw new Error(`Invalid NSID: ${nsid}`)\n }\n for (let i = 0; i < segments.length; i++) {\n const segment = segments[i]\n if (SEGMENT_RE.test(segment)) {\n continue\n }\n if (i === segments.length - 1 && segment === '*') {\n continue\n }\n throw new Error(`Invalid NSID: invalid character in segment \"${segment}\"`)\n }\n this.segments = segments\n }\n\n get authority() {\n return this.segments\n .slice(0, this.segments.length - 1)\n .reverse()\n .join('.')\n }\n\n get name() {\n return this.segments.at(this.segments.length - 1)\n }\n\n toString() {\n return this.segments.join('.')\n }\n}\n", "import { z } from 'zod'\nimport { NSID } from '@atproto/nsid'\n\nexport const tokenSchema = z.object({\n lexicon: z.literal(1),\n id: z.string().refine((v: string) => NSID.isValid(v), {\n message: 'Must be a valid NSID',\n }),\n type: z.enum(['token']),\n revision: z.number().optional(),\n description: z.string().optional(),\n defs: z.any().optional(),\n})\nexport type TokenSchema = z.infer\n\nexport function isValidTokenSchema(v: unknown): v is TokenSchema {\n return tokenSchema.safeParse(v).success\n}\n\nexport const recordSchema = z.object({\n lexicon: z.literal(1),\n id: z.string().refine((v: string) => NSID.isValid(v), {\n message: 'Must be a valid NSID',\n }),\n type: z.enum(['record']),\n revision: z.number().optional(),\n description: z.string().optional(),\n key: z.string().optional(),\n record: z.any().optional(),\n defs: z.any().optional(),\n})\nexport type RecordSchema = z.infer\n\nexport function isValidRecordSchema(v: unknown): v is RecordSchema {\n return recordSchema.safeParse(v).success\n}\n\nexport class RecordSchemaMalformedError extends Error {\n constructor(\n message: string,\n public schemaDef: unknown,\n public issues?: z.ZodIssue[],\n ) {\n super(message)\n this.schemaDef = schemaDef\n this.issues = issues\n }\n}\n\nexport const methodSchemaBody = z.object({\n encoding: z.union([z.string(), z.string().array()]),\n description: z.string().optional(),\n schema: z.any().optional(),\n})\nexport type MethodSchemaBody = z.infer\n\nexport const methodSchemaParam = z\n .object({\n type: z.literal('object'),\n properties: z.record(\n z\n .object({\n type: z.enum(['string', 'number', 'integer', 'boolean']),\n })\n .catchall(z.any()),\n ),\n })\n .catchall(z.any())\nexport type MethodSchemaParam = z.infer\n\nexport const methodSchemaError = z.object({\n name: z.string(),\n description: z.string().optional(),\n})\nexport type MethodSchemaError = z.infer\n\nexport const methodSchema = z.object({\n lexicon: z.literal(1),\n id: z.string(),\n type: z.enum(['query', 'procedure']),\n description: z.string().optional(),\n parameters: methodSchemaParam.optional(),\n input: methodSchemaBody.optional(),\n output: methodSchemaBody.optional(),\n errors: methodSchemaError.array().optional(),\n defs: z.any().optional(),\n})\nexport type MethodSchema = z.infer\n\nexport function isValidMethodSchema(v: unknown): v is MethodSchema {\n return methodSchema.safeParse(v).success\n}\n\nexport type Schema = TokenSchema | RecordSchema | MethodSchema\n\nexport class SchemaNotFoundError extends Error {}\n", "import Ajv, { ValidateFunction } from 'ajv'\nimport ajvAddFormats from 'ajv-formats'\nimport { RecordSchema, RecordSchemaMalformedError } from '../types'\n\nconst ajv = new Ajv()\najvAddFormats(ajv)\n\n/**\n * A compiled schema.\n */\nexport class CompiledRecordSchema {\n id: string\n validate?: ValidateFunction\n\n constructor(public def: RecordSchema) {\n this.id = def.id\n\n // .record\n try {\n if (def.record) {\n if (def.record.type !== 'object') {\n throw new Error('The base .type must be an \"object\"')\n }\n this.validate = ajv.compile(def.record)\n }\n } catch (e: any) {\n throw new RecordSchemaMalformedError(\n `The \"${this.id}\" .record failed to compile: ${e.message}`,\n def,\n )\n }\n }\n}\n\nexport default CompiledRecordSchema\n", "import Ajv from 'ajv'\nimport ajvAddFormats from 'ajv-formats'\nimport * as util from './util'\n\nimport CompiledRecordSchema from './schema'\nimport RecordSchemas from './schemas'\nimport {\n ValidationError,\n ValidationResult,\n ValidationResultCode,\n} from './validation'\n\nconst ajv = new Ajv()\najvAddFormats(ajv)\n\nexport interface RecordValidatorDescription {\n type: string | string[]\n ext?: string | string[]\n}\n\n/**\n * Validates records using schemas.\n */\nexport class RecordValidator {\n constructor(\n private schemas: RecordSchemas,\n public type: CompiledRecordSchema[],\n public ext: CompiledRecordSchema[],\n ) {}\n\n /**\n * Returns detailed information about validity and compatibility.\n */\n validate(value: unknown): ValidationResult {\n const res = new ValidationResult()\n\n // basic validation\n if (!util.isRecord(value)) {\n res._t(ValidationResultCode.Invalid, `The passed value is not an object`)\n return res // abort now\n }\n if (!value.$type) {\n res._t(\n ValidationResultCode.Invalid,\n `The passed value does not declare a $type`,\n )\n return res // abort now\n }\n\n // lookup schema\n const typeSchema = this.type.find(schemaIdFilter(value.$type as string))\n if (!typeSchema) {\n res._t(\n ValidationResultCode.Incompatible,\n `Record type ${value.$type} is not supported`,\n )\n } else if (!typeSchema.validate) {\n res._t(\n ValidationResultCode.Incompatible,\n `Record type ${value.$type} is not a record schema`,\n )\n } else {\n // validate base type\n const typeIsValid = typeSchema.validate(value)\n if (!typeIsValid) {\n res._fail(typeSchema, typeSchema.validate)\n }\n }\n\n // validate extension objects\n if ('$ext' in value && typeof value.$ext === 'object') {\n for (const [extSchemaId, obj] of Object.entries(\n value.$ext as Record,\n )) {\n const extObj = obj as Record\n\n const extIsRequired =\n '$required' in extObj && typeof extObj.$required === 'boolean'\n ? extObj.$required\n : false\n\n let extFallback\n if ('$fallback' in extObj && typeof extObj.$fallback === 'string') {\n extFallback = extObj.$fallback\n }\n\n // lookup extension\n const extSchema = this.ext.find(schemaIdFilter(extSchemaId))\n if (!extSchema || !extSchema.validate) {\n if (extIsRequired) {\n res._t(\n ValidationResultCode.Incompatible,\n `Record extension ${extSchemaId} is not supported`,\n )\n } else {\n res._t(ValidationResultCode.Partial, extFallback)\n }\n } else {\n // validate extension object\n const extObjIsValid = extSchema.validate(extObj)\n if (!extObjIsValid) {\n res._fail(extSchema, extSchema.validate)\n }\n }\n }\n }\n\n return res\n }\n\n /**\n * Provides a simple boolean check of validity.\n */\n isValid(value: unknown) {\n const res = this.validate(value)\n return res.valid\n }\n\n /**\n * Like validate() but throws if validation fails.\n */\n assertValid(value: unknown) {\n const res = this.validate(value)\n if (!res.valid) {\n throw new ValidationError(res)\n }\n return res\n }\n}\n\n// helpers\n\nconst schemaIdFilter = (schemaId: string) => (s: CompiledRecordSchema) =>\n s.id === schemaId\n\nexport default RecordValidator\n", "import { MethodSchema } from '@atproto/lexicon'\nimport {\n CallOptions,\n Headers,\n QueryParams,\n ResponseType,\n XRPCError,\n} from './types'\n\nexport function getMethodSchemaHTTPMethod(schema: MethodSchema) {\n if (schema.type === 'query') {\n return 'get'\n }\n if (schema.type === 'procedure') {\n return 'post'\n }\n throw new Error(`Invalid method type: ${schema.type}`)\n}\n\nexport function constructMethodCallUri(\n schema: MethodSchema,\n serviceUri: URL,\n params?: QueryParams,\n): string {\n const uri = new URL(serviceUri)\n uri.pathname = `/xrpc/${schema.id}`\n\n // given parameters\n if (params) {\n for (const [key, value] of Object.entries(params)) {\n const paramSchema = schema.parameters?.properties[key]\n if (!paramSchema) {\n throw new Error(`Invalid query parameter: ${key}`)\n }\n if (value !== undefined) {\n uri.searchParams.set(key, encodeQueryParam(paramSchema.type, value))\n }\n }\n }\n\n return uri.toString()\n}\n\nexport function encodeQueryParam(\n type: 'string' | 'number' | 'integer' | 'boolean',\n value: any,\n): string {\n if (type === 'string') {\n return String(value)\n }\n if (type === 'number') {\n return String(Number(value))\n } else if (type === 'integer') {\n return String(Number(value) | 0)\n } else if (type === 'boolean') {\n return value ? 'true' : 'false'\n }\n throw new Error(`Unsupported query param type: ${type}`)\n}\n\nexport function constructMethodCallHeaders(\n schema: MethodSchema,\n data?: any,\n opts?: CallOptions,\n): Headers {\n const headers: Headers = opts?.headers || {}\n if (schema.type === 'procedure') {\n if (opts?.encoding) {\n headers['Content-Type'] = opts.encoding\n }\n if (data && typeof data === 'object') {\n if (!headers['Content-Type']) {\n headers['Content-Type'] = 'application/json'\n }\n }\n }\n return headers\n}\n\nexport function encodeMethodCallBody(\n headers: Headers,\n data?: any,\n): ArrayBuffer | undefined {\n if (!headers['Content-Type'] || typeof data === 'undefined') {\n return undefined\n }\n if (data instanceof ArrayBuffer) {\n return data\n }\n if (headers['Content-Type'].startsWith('text/')) {\n return new TextEncoder().encode(data.toString())\n }\n if (headers['Content-Type'].startsWith('application/json')) {\n return new TextEncoder().encode(JSON.stringify(data))\n }\n return data\n}\n\nexport function httpResponseCodeToEnum(status: number): ResponseType {\n let resCode: ResponseType\n if (status in ResponseType) {\n resCode = status\n } else if (status >= 100 && status < 200) {\n resCode = ResponseType.XRPCNotSupported\n } else if (status >= 200 && status < 300) {\n resCode = ResponseType.Success\n } else if (status >= 300 && status < 400) {\n resCode = ResponseType.XRPCNotSupported\n } else if (status >= 400 && status < 500) {\n resCode = ResponseType.InvalidRequest\n } else {\n resCode = ResponseType.InternalServerError\n }\n return resCode\n}\n\nexport function httpResponseBodyParse(\n mimeType: string | null,\n data: ArrayBuffer | undefined,\n): any {\n if (mimeType) {\n if (mimeType.includes('application/json') && data?.byteLength) {\n try {\n const str = new TextDecoder().decode(data)\n return JSON.parse(str)\n } catch (e: any) {\n throw new XRPCError(\n ResponseType.InvalidResponse,\n `Failed to parse response body: ${e.toString()}`,\n )\n }\n }\n if (mimeType.startsWith('text/') && data?.byteLength) {\n try {\n return new TextDecoder().decode(data)\n } catch (e: any) {\n throw new XRPCError(\n ResponseType.InvalidResponse,\n `Failed to parse response body: ${e.toString()}`,\n )\n }\n }\n }\n return data\n}\n", "import {\n methodSchema,\n MethodSchema,\n isValidMethodSchema,\n} from '@atproto/lexicon'\nimport {\n getMethodSchemaHTTPMethod,\n constructMethodCallUri,\n constructMethodCallHeaders,\n encodeMethodCallBody,\n httpResponseCodeToEnum,\n httpResponseBodyParse,\n} from './util'\nimport {\n FetchHandler,\n FetchHandlerResponse,\n Headers,\n CallOptions,\n QueryParams,\n ResponseType,\n errorResponseBody,\n ErrorResponseBody,\n XRPCResponse,\n XRPCError,\n} from './types'\n\nexport class Client {\n fetch: FetchHandler = defaultFetchHandler\n schemas: Map = new Map()\n\n // method calls\n //\n\n async call(\n serviceUri: string | URL,\n methodNsid: string,\n params?: QueryParams,\n data?: unknown,\n opts?: CallOptions,\n ) {\n return this.service(serviceUri).call(methodNsid, params, data, opts)\n }\n\n service(serviceUri: string | URL) {\n return new ServiceClient(this, serviceUri)\n }\n\n // schemas\n // =\n\n addSchema(schema: unknown) {\n if (isValidMethodSchema(schema)) {\n this.schemas.set(schema.id, schema)\n } else {\n methodSchema.parse(schema) // will throw with the validation error\n }\n }\n\n addSchemas(schemas: unknown[]) {\n for (const schema of schemas) {\n this.addSchema(schema)\n }\n }\n\n listSchemaIds(): string[] {\n return Array.from(this.schemas.keys())\n }\n\n removeSchema(nsid: string) {\n this.schemas.delete(nsid)\n }\n}\n\nexport class ServiceClient {\n baseClient: Client\n uri: URL\n headers: Record = {}\n\n constructor(baseClient: Client, serviceUri: string | URL) {\n this.baseClient = baseClient\n this.uri = typeof serviceUri === 'string' ? new URL(serviceUri) : serviceUri\n }\n\n setHeader(key: string, value: string): void {\n this.headers[key] = value\n }\n\n unsetHeader(key: string): void {\n delete this.headers[key]\n }\n\n async call(\n methodNsid: string,\n params?: QueryParams,\n data?: unknown,\n opts?: CallOptions,\n ) {\n const schema = this.baseClient.schemas.get(methodNsid)\n if (!schema) {\n throw new Error(`Method schema not found: ${methodNsid}`)\n }\n const httpMethod = getMethodSchemaHTTPMethod(schema)\n const httpUri = constructMethodCallUri(schema, this.uri, params)\n const httpHeaders = constructMethodCallHeaders(schema, data, {\n headers: {\n ...this.headers,\n ...opts?.headers,\n },\n encoding: opts?.encoding,\n })\n\n const res = await this.baseClient.fetch(\n httpUri,\n httpMethod,\n httpHeaders,\n data,\n )\n\n const resCode = httpResponseCodeToEnum(res.status)\n if (resCode === ResponseType.Success) {\n return new XRPCResponse(res.body, res.headers)\n } else {\n if (res.body && isErrorResponseBody(res.body)) {\n throw new XRPCError(resCode, res.body.error, res.body.message)\n } else {\n throw new XRPCError(resCode)\n }\n }\n }\n}\n\nasync function defaultFetchHandler(\n httpUri: string,\n httpMethod: string,\n httpHeaders: Headers,\n httpReqBody: unknown,\n): Promise {\n try {\n const res = await fetch(httpUri, {\n method: httpMethod,\n headers: httpHeaders,\n body: encodeMethodCallBody(httpHeaders, httpReqBody),\n })\n const resBody = await res.arrayBuffer()\n return {\n status: res.status,\n headers: Object.fromEntries(res.headers.entries()),\n body: httpResponseBodyParse(res.headers.get('content-type'), resBody),\n }\n } catch (e: any) {\n throw new XRPCError(ResponseType.Unknown, e.toString())\n }\n}\n\nfunction isErrorResponseBody(v: unknown): v is ErrorResponseBody {\n return errorResponseBody.safeParse(v).success\n}\n", "export * from './types'\nexport * from './client'\n\nimport { Client } from './client'\nconst defaultInst = new Client()\nexport default defaultInst\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { MethodSchema, RecordSchema } from '@atproto/lexicon'\n\nexport const methodSchemaDict: Record = {\n 'com.atproto.account.create': {\n lexicon: 1,\n id: 'com.atproto.account.create',\n type: 'procedure',\n description: 'Create an account.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'email', 'password'],\n properties: {\n email: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n inviteCode: {\n type: 'string',\n },\n password: {\n type: 'string',\n },\n recoveryKey: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n properties: {\n accessJwt: {\n type: 'string',\n },\n refreshJwt: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n errors: [\n {\n name: 'InvalidHandle',\n },\n {\n name: 'InvalidPassword',\n },\n {\n name: 'InvalidInviteCode',\n },\n {\n name: 'HandleNotAvailable',\n },\n ],\n },\n 'com.atproto.account.createInviteCode': {\n lexicon: 1,\n id: 'com.atproto.account.createInviteCode',\n type: 'procedure',\n description: 'Create an invite code.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['useCount'],\n properties: {\n useCount: {\n type: 'number',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['code'],\n properties: {\n code: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.account.delete': {\n lexicon: 1,\n id: 'com.atproto.account.delete',\n type: 'procedure',\n description: 'Delete an account.',\n input: {\n encoding: '',\n schema: {\n $defs: {},\n },\n },\n output: {\n encoding: '',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.account.get': {\n lexicon: 1,\n id: 'com.atproto.account.get',\n type: 'query',\n description: 'Get information about an account.',\n output: {\n encoding: '',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.account.requestPasswordReset': {\n lexicon: 1,\n id: 'com.atproto.account.requestPasswordReset',\n type: 'procedure',\n description: 'Initiate a user account password reset via email.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['email'],\n properties: {\n email: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {},\n $defs: {},\n },\n },\n },\n 'com.atproto.account.resetPassword': {\n lexicon: 1,\n id: 'com.atproto.account.resetPassword',\n type: 'procedure',\n description: 'Reset a user account password using a token.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['token', 'password'],\n properties: {\n token: {\n type: 'string',\n },\n password: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {},\n $defs: {},\n },\n },\n errors: [\n {\n name: 'ExpiredToken',\n },\n {\n name: 'InvalidToken',\n },\n ],\n },\n 'com.atproto.handle.resolve': {\n lexicon: 1,\n id: 'com.atproto.handle.resolve',\n type: 'query',\n description: 'Provides the DID of a repo.',\n parameters: {\n type: 'object',\n properties: {\n handle: {\n type: 'string',\n description:\n \"The handle to resolve. If not supplied, will resolve the host's own handle.\",\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.batchWrite': {\n lexicon: 1,\n id: 'com.atproto.repo.batchWrite',\n type: 'procedure',\n description: 'Apply a batch transaction of creates, puts, and deletes.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'writes'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n validate: {\n type: 'boolean',\n default: true,\n description: 'Validate the records?',\n },\n writes: {\n type: 'array',\n items: {\n oneOf: [\n {\n type: 'object',\n required: ['action', 'collection', 'value'],\n properties: {\n action: {\n type: 'string',\n const: 'create',\n },\n collection: {\n type: 'string',\n },\n rkey: {\n type: 'string',\n },\n value: {},\n },\n },\n {\n type: 'object',\n required: ['action', 'collection', 'rkey', 'value'],\n properties: {\n action: {\n type: 'string',\n const: 'update',\n },\n collection: {\n type: 'string',\n },\n rkey: {\n type: 'string',\n },\n value: {},\n },\n },\n {\n type: 'object',\n required: ['action', 'collection', 'rkey'],\n properties: {\n action: {\n type: 'string',\n const: 'delete',\n },\n collection: {\n type: 'string',\n },\n rkey: {\n type: 'string',\n },\n },\n },\n ],\n },\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.createRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.createRecord',\n type: 'procedure',\n description: 'Create a new record.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'collection', 'record'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record collection.',\n },\n validate: {\n type: 'boolean',\n default: true,\n description: 'Validate the record?',\n },\n record: {\n type: 'object',\n description: 'The record to create.',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.deleteRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.deleteRecord',\n type: 'procedure',\n description: 'Delete a record.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'collection', 'rkey'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record collection.',\n },\n rkey: {\n type: 'string',\n description: 'The key of the record.',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.describe': {\n lexicon: 1,\n id: 'com.atproto.repo.describe',\n type: 'query',\n description:\n 'Get information about the repo, including the list of collections.',\n parameters: {\n type: 'object',\n required: ['user'],\n properties: {\n user: {\n type: 'string',\n description: 'The handle or DID of the repo.',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'did', 'didDoc', 'collections', 'handleIsCorrect'],\n properties: {\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n didDoc: {\n type: 'object',\n },\n collections: {\n type: 'array',\n items: {\n type: 'string',\n },\n },\n handleIsCorrect: {\n type: 'boolean',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.getRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.getRecord',\n type: 'query',\n description: 'Fetch a record.',\n parameters: {\n type: 'object',\n required: ['user', 'collection', 'rkey'],\n properties: {\n user: {\n type: 'string',\n description: 'The handle or DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the collection.',\n },\n rkey: {\n type: 'string',\n description: 'The key of the record.',\n },\n cid: {\n type: 'string',\n description:\n 'The CID of the version of the record. If not specified, then return the most recent version.',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'value'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n value: {\n type: 'object',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.listRecords': {\n lexicon: 1,\n id: 'com.atproto.repo.listRecords',\n type: 'query',\n description: 'List a range of records in a collection.',\n parameters: {\n type: 'object',\n required: ['user', 'collection'],\n properties: {\n user: {\n type: 'string',\n description: 'The handle or DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record type.',\n },\n limit: {\n type: 'number',\n minimum: 1,\n default: 50,\n description: 'The number of records to return. TODO-max number?',\n },\n before: {\n type: 'string',\n description: 'A TID to filter the range of records returned.',\n },\n after: {\n type: 'string',\n description: 'A TID to filter the range of records returned.',\n },\n reverse: {\n type: 'boolean',\n description: 'Reverse the order of the returned records?',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['records'],\n properties: {\n cursor: {\n type: 'string',\n },\n records: {\n type: 'array',\n items: {\n type: 'object',\n required: ['uri', 'cid', 'value'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n value: {\n type: 'object',\n },\n },\n },\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.putRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.putRecord',\n type: 'procedure',\n description: 'Write a record.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'collection', 'rkey', 'record'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record type.',\n },\n rkey: {\n type: 'string',\n description: 'The TID of the record.',\n },\n validate: {\n type: 'boolean',\n default: true,\n description: 'Validate the record?',\n },\n record: {\n type: 'object',\n description: 'The record to create.',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.server.getAccountsConfig': {\n lexicon: 1,\n id: 'com.atproto.server.getAccountsConfig',\n type: 'query',\n description:\n \"Get a document describing the service's accounts configuration.\",\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['availableUserDomains'],\n properties: {\n inviteCodeRequired: {\n type: 'boolean',\n },\n availableUserDomains: {\n type: 'array',\n items: {\n type: 'string',\n },\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.session.create': {\n lexicon: 1,\n id: 'com.atproto.session.create',\n type: 'procedure',\n description: 'Create an authentication session.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'password'],\n properties: {\n handle: {\n type: 'string',\n },\n password: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n properties: {\n accessJwt: {\n type: 'string',\n },\n refreshJwt: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.session.delete': {\n lexicon: 1,\n id: 'com.atproto.session.delete',\n type: 'procedure',\n description: 'Delete the current session.',\n output: {\n encoding: 'application/json',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.session.get': {\n lexicon: 1,\n id: 'com.atproto.session.get',\n type: 'query',\n description: 'Get information about the current session.',\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'did'],\n properties: {\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.session.refresh': {\n lexicon: 1,\n id: 'com.atproto.session.refresh',\n type: 'procedure',\n description: 'Refresh an authentication session.',\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n properties: {\n accessJwt: {\n type: 'string',\n },\n refreshJwt: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.sync.getRepo': {\n lexicon: 1,\n id: 'com.atproto.sync.getRepo',\n type: 'query',\n description: 'Gets the repo state.',\n parameters: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n from: {\n type: 'string',\n description: 'A past commit CID.',\n },\n },\n },\n output: {\n encoding: 'application/cbor',\n },\n },\n 'com.atproto.sync.getRoot': {\n lexicon: 1,\n id: 'com.atproto.sync.getRoot',\n type: 'query',\n description: 'Gets the current root CID of a repo.',\n parameters: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['root'],\n properties: {\n root: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.sync.updateRepo': {\n lexicon: 1,\n id: 'com.atproto.sync.updateRepo',\n type: 'procedure',\n description: 'Writes commits to a repo.',\n parameters: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n },\n },\n input: {\n encoding: 'application/cbor',\n },\n },\n 'app.bsky.actor.createScene': {\n lexicon: 1,\n id: 'app.bsky.actor.createScene',\n type: 'procedure',\n description: 'Create a scene.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle'],\n properties: {\n handle: {\n type: 'string',\n },\n recoveryKey: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'did', 'declaration'],\n properties: {\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n errors: [\n {\n name: 'InvalidHandle',\n },\n {\n name: 'HandleNotAvailable',\n },\n ],\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.getProfile': {\n lexicon: 1,\n id: 'app.bsky.actor.getProfile',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['actor'],\n properties: {\n actor: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: [\n 'did',\n 'declaration',\n 'handle',\n 'creator',\n 'followersCount',\n 'followsCount',\n 'membersCount',\n 'postsCount',\n ],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n creator: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n maxLength: 256,\n },\n followersCount: {\n type: 'number',\n },\n followsCount: {\n type: 'number',\n },\n membersCount: {\n type: 'number',\n },\n postsCount: {\n type: 'number',\n },\n myState: {\n type: 'object',\n properties: {\n follow: {\n type: 'string',\n },\n member: {\n type: 'string',\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.getSuggestions': {\n lexicon: 1,\n id: 'app.bsky.actor.getSuggestions',\n type: 'query',\n description:\n 'Get a list of actors suggested for following. Used in discovery UIs.',\n parameters: {\n type: 'object',\n properties: {\n limit: {\n type: 'number',\n maximum: 100,\n },\n cursor: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['actors'],\n properties: {\n cursor: {\n type: 'string',\n },\n actors: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n follow: {\n type: 'string',\n },\n },\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.search': {\n lexicon: 1,\n id: 'app.bsky.actor.search',\n type: 'query',\n description: 'Find users matching search criteria.',\n parameters: {\n type: 'object',\n required: ['term'],\n properties: {\n term: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['users'],\n properties: {\n cursor: {\n type: 'string',\n },\n users: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.searchTypeahead': {\n lexicon: 1,\n id: 'app.bsky.actor.searchTypeahead',\n type: 'query',\n description: 'Find user suggestions for a search term.',\n parameters: {\n type: 'object',\n required: ['term'],\n properties: {\n term: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['users'],\n properties: {\n users: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.updateProfile': {\n lexicon: 1,\n id: 'app.bsky.actor.updateProfile',\n type: 'procedure',\n description: 'Notify server that the user has seen notifications.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n maxLength: 256,\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'cid', 'record'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n record: {\n type: 'object',\n },\n },\n $defs: {},\n },\n },\n },\n 'app.bsky.feed.getAuthorFeed': {\n lexicon: 1,\n id: 'app.bsky.feed.getAuthorFeed',\n type: 'query',\n description: \"A view of a user's feed.\",\n parameters: {\n type: 'object',\n required: ['author'],\n properties: {\n author: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['feed'],\n properties: {\n cursor: {\n type: 'string',\n },\n feed: {\n type: 'array',\n items: {\n $ref: '#/$defs/feedItem',\n },\n },\n },\n $defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n },\n },\n },\n defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getPostThread': {\n lexicon: 1,\n id: 'app.bsky.feed.getPostThread',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['uri'],\n properties: {\n uri: {\n type: 'string',\n },\n depth: {\n type: 'number',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['thread'],\n properties: {\n thread: {\n $ref: '#/$defs/post',\n },\n },\n $defs: {\n post: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n parent: {\n $ref: '#/$defs/post',\n },\n replyCount: {\n type: 'number',\n },\n replies: {\n type: 'array',\n items: {\n $ref: '#/$defs/post',\n },\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n user: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n },\n },\n },\n defs: {\n post: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n parent: {\n $ref: '#/$defs/post',\n },\n replyCount: {\n type: 'number',\n },\n replies: {\n type: 'array',\n items: {\n $ref: '#/$defs/post',\n },\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n user: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getRepostedBy': {\n lexicon: 1,\n id: 'app.bsky.feed.getRepostedBy',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['uri'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'repostedBy'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n cursor: {\n type: 'string',\n },\n repostedBy: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getTimeline': {\n lexicon: 1,\n id: 'app.bsky.feed.getTimeline',\n type: 'query',\n description: \"A view of the user's home timeline.\",\n parameters: {\n type: 'object',\n properties: {\n algorithm: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['feed'],\n properties: {\n cursor: {\n type: 'string',\n },\n feed: {\n type: 'array',\n items: {\n $ref: '#/$defs/feedItem',\n },\n },\n },\n $defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n actorType: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n },\n },\n },\n defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n actorType: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getVotes': {\n lexicon: 1,\n id: 'app.bsky.feed.getVotes',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['uri'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n direction: {\n type: 'string',\n enum: ['up', 'down'],\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'votes'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n cursor: {\n type: 'string',\n },\n votes: {\n type: 'array',\n items: {\n type: 'object',\n required: ['direction', 'indexedAt', 'createdAt', 'actor'],\n properties: {\n direction: {\n type: 'string',\n enum: ['up', 'down'],\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n actor: {\n $ref: '#/$defs/actor',\n },\n },\n },\n },\n },\n $defs: {\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.setVote': {\n lexicon: 1,\n id: 'app.bsky.feed.setVote',\n type: 'procedure',\n description: \"Upvote, downvote, or clear the user's vote for a post.\",\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'direction'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n direction: {\n type: 'string',\n enum: ['up', 'down', 'none'],\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.graph.getFollowers': {\n lexicon: 1,\n id: 'app.bsky.graph.getFollowers',\n type: 'query',\n description: 'Who is following a user?',\n parameters: {\n type: 'object',\n required: ['user'],\n properties: {\n user: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'followers'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n followers: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.graph.getFollows': {\n lexicon: 1,\n id: 'app.bsky.graph.getFollows',\n type: 'query',\n description: 'Who is a user following?',\n parameters: {\n type: 'object',\n required: ['user'],\n properties: {\n user: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'follows'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n follows: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.graph.getMembers': {\n lexicon: 1,\n id: 'app.bsky.graph.getMembers',\n type: 'query',\n description: 'Who is a member of the group?',\n parameters: {\n type: 'object',\n required: ['actor'],\n properties: {\n actor: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'members'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n members: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.graph.getMemberships': {\n lexicon: 1,\n id: 'app.bsky.graph.getMemberships',\n type: 'query',\n description: 'Which groups is the actor a member of?',\n parameters: {\n type: 'object',\n required: ['actor'],\n properties: {\n actor: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'memberships'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n memberships: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.notification.getCount': {\n lexicon: 1,\n id: 'app.bsky.notification.getCount',\n type: 'query',\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['count'],\n properties: {\n count: {\n type: 'number',\n },\n },\n $defs: {},\n },\n },\n },\n 'app.bsky.notification.list': {\n lexicon: 1,\n id: 'app.bsky.notification.list',\n type: 'query',\n parameters: {\n type: 'object',\n properties: {\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['notifications'],\n properties: {\n cursor: {\n type: 'string',\n },\n notifications: {\n type: 'array',\n items: {\n $ref: '#/$defs/notification',\n },\n },\n },\n $defs: {\n notification: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'reason',\n 'record',\n 'isRead',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n format: 'uri',\n },\n cid: {\n type: 'string',\n },\n author: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n reason: {\n type: 'string',\n $comment:\n \"Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.\",\n },\n reasonSubject: {\n type: 'string',\n },\n record: {\n type: 'object',\n },\n isRead: {\n type: 'boolean',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n notification: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'reason',\n 'record',\n 'isRead',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n format: 'uri',\n },\n cid: {\n type: 'string',\n },\n author: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n reason: {\n type: 'string',\n $comment:\n \"Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.\",\n },\n reasonSubject: {\n type: 'string',\n },\n record: {\n type: 'object',\n },\n isRead: {\n type: 'boolean',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.notification.updateSeen': {\n lexicon: 1,\n id: 'app.bsky.notification.updateSeen',\n type: 'procedure',\n description: 'Notify server that the user has seen notifications.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['seenAt'],\n properties: {\n seenAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n $defs: {},\n },\n },\n },\n}\nexport const methodSchemas: MethodSchema[] = Object.values(methodSchemaDict)\nexport const ids = {\n AppBskyActorProfile: 'app.bsky.actor.profile',\n AppBskyFeedMediaEmbed: 'app.bsky.feed.mediaEmbed',\n AppBskyFeedPost: 'app.bsky.feed.post',\n AppBskyFeedRepost: 'app.bsky.feed.repost',\n AppBskyFeedTrend: 'app.bsky.feed.trend',\n AppBskyFeedVote: 'app.bsky.feed.vote',\n AppBskyGraphAssertion: 'app.bsky.graph.assertion',\n AppBskyGraphConfirmation: 'app.bsky.graph.confirmation',\n AppBskyGraphFollow: 'app.bsky.graph.follow',\n AppBskySystemDeclaration: 'app.bsky.system.declaration',\n}\nexport const recordSchemaDict: Record = {\n 'app.bsky.actor.profile': {\n lexicon: 1,\n id: 'app.bsky.actor.profile',\n type: 'record',\n key: 'literal:self',\n record: {\n type: 'object',\n required: ['displayName'],\n properties: {\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n maxLength: 256,\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.feed.mediaEmbed': {\n lexicon: 1,\n id: 'app.bsky.feed.mediaEmbed',\n type: 'record',\n description: 'A list of media embedded in a post or document.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['media'],\n properties: {\n media: {\n type: 'array',\n items: {\n $ref: '#/$defs/mediaEmbed',\n },\n },\n },\n $defs: {\n mediaEmbed: {\n type: 'object',\n required: ['original'],\n properties: {\n alt: {\n type: 'string',\n },\n thumb: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n original: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n },\n },\n mediaEmbedBlob: {\n type: 'object',\n required: ['mimeType', 'blobId'],\n properties: {\n mimeType: {\n type: 'string',\n },\n blobId: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n mediaEmbed: {\n type: 'object',\n required: ['original'],\n properties: {\n alt: {\n type: 'string',\n },\n thumb: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n original: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n },\n },\n mediaEmbedBlob: {\n type: 'object',\n required: ['mimeType', 'blobId'],\n properties: {\n mimeType: {\n type: 'string',\n },\n blobId: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.feed.post': {\n lexicon: 1,\n id: 'app.bsky.feed.post',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['text', 'createdAt'],\n properties: {\n text: {\n type: 'string',\n maxLength: 256,\n },\n entities: {\n type: 'array',\n items: {\n $ref: '#/$defs/entity',\n },\n },\n reply: {\n type: 'object',\n required: ['root', 'parent'],\n properties: {\n root: {\n $ref: '#/$defs/postRef',\n },\n parent: {\n $ref: '#/$defs/postRef',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n entity: {\n type: 'object',\n required: ['index', 'type', 'value'],\n properties: {\n index: {\n $ref: '#/$defs/textSlice',\n },\n type: {\n type: 'string',\n $comment: \"Expected values are 'mention', 'hashtag', and 'link'.\",\n },\n value: {\n type: 'string',\n },\n },\n },\n textSlice: {\n type: 'object',\n required: ['start', 'end'],\n properties: {\n start: {\n type: 'number',\n minimum: 0,\n },\n end: {\n type: 'number',\n minimum: 0,\n },\n },\n },\n postRef: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n postRef: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n entity: {\n type: 'object',\n required: ['index', 'type', 'value'],\n properties: {\n index: {\n $ref: '#/$defs/textSlice',\n },\n type: {\n type: 'string',\n $comment: \"Expected values are 'mention', 'hashtag', and 'link'.\",\n },\n value: {\n type: 'string',\n },\n },\n },\n textSlice: {\n type: 'object',\n required: ['start', 'end'],\n properties: {\n start: {\n type: 'number',\n minimum: 0,\n },\n end: {\n type: 'number',\n minimum: 0,\n },\n },\n },\n },\n },\n 'app.bsky.feed.repost': {\n lexicon: 1,\n id: 'app.bsky.feed.repost',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'createdAt'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.feed.trend': {\n lexicon: 1,\n id: 'app.bsky.feed.trend',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'createdAt'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.feed.vote': {\n lexicon: 1,\n id: 'app.bsky.feed.vote',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'direction', 'createdAt'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n direction: {\n type: 'string',\n enum: ['up', 'down'],\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.graph.assertion': {\n lexicon: 1,\n id: 'app.bsky.graph.assertion',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['assertion', 'subject', 'createdAt'],\n properties: {\n assertion: {\n type: 'string',\n },\n subject: {\n type: 'object',\n required: ['did', 'declarationCid'],\n properties: {\n did: {\n type: 'string',\n },\n declarationCid: {\n type: 'string',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.graph.confirmation': {\n lexicon: 1,\n id: 'app.bsky.graph.confirmation',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['originator', 'assertion', 'createdAt'],\n properties: {\n originator: {\n type: 'object',\n required: ['did', 'declarationCid'],\n properties: {\n did: {\n type: 'string',\n },\n declarationCid: {\n type: 'string',\n },\n },\n },\n assertion: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.graph.follow': {\n lexicon: 1,\n id: 'app.bsky.graph.follow',\n type: 'record',\n description: 'A social follow.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'createdAt'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declarationCid'],\n properties: {\n did: {\n type: 'string',\n },\n declarationCid: {\n type: 'string',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.system.declaration': {\n lexicon: 1,\n id: 'app.bsky.system.declaration',\n description:\n 'Context for an account that is considered intrinsic to it and alters the fundamental understanding of an account of changed. A declaration should be treated as immutable.',\n type: 'record',\n key: 'literal:self',\n record: {\n type: 'object',\n required: ['actorType'],\n properties: {\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n $defs: {\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n defs: {\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n}\nexport const recordSchemas: RecordSchema[] = Object.values(recordSchemaDict)\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n email: string;\n handle: string;\n inviteCode?: string;\n password: string;\n recoveryKey?: string;\n}\n\nexport interface OutputSchema {\n accessJwt: string;\n refreshJwt: string;\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport class InvalidHandleError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class InvalidPasswordError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class InvalidInviteCodeError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n if (e.error === 'InvalidPassword') return new InvalidPasswordError(e)\n if (e.error === 'InvalidInviteCode') return new InvalidInviteCodeError(e)\n if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n useCount: number;\n}\n\nexport interface OutputSchema {\n code: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: '';\n}\n\nexport interface InputSchema {\n [k: string]: unknown;\n}\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n email: string;\n}\n\nexport interface OutputSchema {}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n token: string;\n password: string;\n}\n\nexport interface OutputSchema {}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport class ExpiredTokenError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class InvalidTokenError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'ExpiredToken') return new ExpiredTokenError(e)\n if (e.error === 'InvalidToken') return new InvalidTokenError(e)\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle to resolve. If not supplied, will resolve the host's own handle.\n */\n handle?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * Validate the records?\n */\n validate?: boolean;\n writes: (\n | {\n action: 'create',\n collection: string,\n rkey?: string,\n value: unknown,\n }\n | {\n action: 'update',\n collection: string,\n rkey: string,\n value: unknown,\n }\n | {\n action: 'delete',\n collection: string,\n rkey: string,\n }\n )[];\n}\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * The NSID of the record collection.\n */\n collection: string;\n /**\n * Validate the record?\n */\n validate?: boolean;\n /**\n * The record to create.\n */\n record: {};\n}\n\nexport interface OutputSchema {\n uri: string;\n cid: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * The NSID of the record collection.\n */\n collection: string;\n /**\n * The key of the record.\n */\n rkey: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle or DID of the repo.\n */\n user: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n handle: string;\n did: string;\n didDoc: {};\n collections: string[];\n handleIsCorrect: boolean;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle or DID of the repo.\n */\n user: string;\n /**\n * The NSID of the collection.\n */\n collection: string;\n /**\n * The key of the record.\n */\n rkey: string;\n /**\n * The CID of the version of the record. If not specified, then return the most recent version.\n */\n cid?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n uri: string;\n cid?: string;\n value: {};\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle or DID of the repo.\n */\n user: string;\n /**\n * The NSID of the record type.\n */\n collection: string;\n /**\n * The number of records to return. TODO-max number?\n */\n limit?: number;\n /**\n * A TID to filter the range of records returned.\n */\n before?: string;\n /**\n * A TID to filter the range of records returned.\n */\n after?: string;\n /**\n * Reverse the order of the returned records?\n */\n reverse?: boolean;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string;\n records: {\n uri: string,\n cid: string,\n value: {},\n }[];\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * The NSID of the record type.\n */\n collection: string;\n /**\n * The TID of the record.\n */\n rkey: string;\n /**\n * Validate the record?\n */\n validate?: boolean;\n /**\n * The record to create.\n */\n record: {};\n}\n\nexport interface OutputSchema {\n uri: string;\n cid: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n inviteCodeRequired?: boolean;\n availableUserDomains: string[];\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n handle: string;\n password: string;\n}\n\nexport interface OutputSchema {\n accessJwt: string;\n refreshJwt: string;\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n accessJwt: string;\n refreshJwt: string;\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * A past commit CID.\n */\n from?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: Uint8Array;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The DID of the repo.\n */\n did: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n root: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The DID of the repo.\n */\n did: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/cbor';\n}\n\nexport type InputSchema = string | Uint8Array\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n handle: string;\n recoveryKey?: string;\n}\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n handle: string;\n did: string;\n declaration: Declaration;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport class InvalidHandleError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n actor: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n did: string;\n declaration: Declaration;\n handle: string;\n creator: string;\n displayName?: string;\n description?: string;\n followersCount: number;\n followsCount: number;\n membersCount: number;\n postsCount: number;\n myState?: {\n follow?: string,\n member?: string,\n };\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n limit?: number;\n cursor?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n actors: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n description?: string,\n indexedAt?: string,\n myState?: {\n follow?: string,\n },\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n term: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n users: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n description?: string,\n indexedAt?: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n term: string;\n limit?: number;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n users: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n displayName?: string;\n description?: string;\n}\n\nexport interface OutputSchema {\n uri: string;\n cid: string;\n record: {};\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n author: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n feed: FeedItem[];\n}\nexport interface FeedItem {\n uri: string;\n cid: string;\n author: Actor;\n trendedBy?: Actor;\n repostedBy?: Actor;\n record: {};\n embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n replyCount: number;\n repostCount: number;\n upvoteCount: number;\n downvoteCount: number;\n indexedAt: string;\n myState?: {\n repost?: string,\n upvote?: string,\n downvote?: string,\n };\n}\nexport interface Actor {\n did: string;\n declaration: Declaration;\n handle: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n type: 'record';\n author: Actor;\n record: {};\n}\nexport interface ExternalEmbed {\n type: 'external';\n uri: string;\n title: string;\n description: string;\n imageUri: string;\n}\nexport interface UnknownEmbed {\n type: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n uri: string;\n depth?: number;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n thread: Post;\n}\nexport interface Post {\n uri: string;\n cid: string;\n author: User;\n record: {};\n embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n parent?: Post;\n replyCount: number;\n replies?: Post[];\n repostCount: number;\n upvoteCount: number;\n downvoteCount: number;\n indexedAt: string;\n myState?: {\n repost?: string,\n upvote?: string,\n downvote?: string,\n };\n}\nexport interface User {\n did: string;\n declaration: Declaration;\n handle: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n type: 'record';\n author: User;\n record: {};\n}\nexport interface ExternalEmbed {\n type: 'external';\n uri: string;\n title: string;\n description: string;\n imageUri: string;\n}\nexport interface UnknownEmbed {\n type: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n uri: string;\n cid?: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n uri: string;\n cid?: string;\n cursor?: string;\n repostedBy: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n algorithm?: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n feed: FeedItem[];\n}\nexport interface FeedItem {\n uri: string;\n cid: string;\n author: Actor;\n trendedBy?: Actor;\n repostedBy?: Actor;\n record: {};\n embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n replyCount: number;\n repostCount: number;\n upvoteCount: number;\n downvoteCount: number;\n indexedAt: string;\n myState?: {\n repost?: string,\n upvote?: string,\n downvote?: string,\n };\n}\nexport interface Actor {\n did: string;\n declaration: Declaration;\n handle: string;\n actorType?: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n type: 'record';\n author: Actor;\n record: {};\n}\nexport interface ExternalEmbed {\n type: 'external';\n uri: string;\n title: string;\n description: string;\n imageUri: string;\n}\nexport interface UnknownEmbed {\n type: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n uri: string;\n cid?: string;\n direction?: 'up' | 'down';\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n uri: string;\n cid?: string;\n cursor?: string;\n votes: {\n direction: 'up' | 'down',\n indexedAt: string,\n createdAt: string,\n actor: Actor,\n }[];\n}\nexport interface Actor {\n did: string;\n declaration: Declaration;\n handle: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n subject: Subject;\n direction: 'up' | 'down' | 'none';\n}\nexport interface Subject {\n uri: string;\n cid: string;\n}\n\nexport interface OutputSchema {\n upvote?: string;\n downvote?: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n user: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n followers: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n user: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n follows: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n actor: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n members: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n actor: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n memberships: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n count: number;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n notifications: Notification[];\n}\nexport interface Notification {\n uri: string;\n cid: string;\n author: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n reason: string;\n reasonSubject?: string;\n record: {};\n isRead: boolean;\n indexedAt: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n seenAt: string;\n}\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n displayName: string;\n description?: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n media: MediaEmbed[];\n [k: string]: unknown;\n}\nexport interface MediaEmbed {\n alt?: string;\n thumb?: MediaEmbedBlob;\n original: MediaEmbedBlob;\n [k: string]: unknown;\n}\nexport interface MediaEmbedBlob {\n mimeType: string;\n blobId: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n text: string;\n entities?: Entity[];\n reply?: {\n root: PostRef,\n parent: PostRef,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Entity {\n index: TextSlice;\n type: string;\n value: string;\n [k: string]: unknown;\n}\nexport interface TextSlice {\n start: number;\n end: number;\n [k: string]: unknown;\n}\nexport interface PostRef {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: Subject;\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Subject {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: Subject;\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Subject {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: Subject;\n direction: 'up' | 'down';\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Subject {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n assertion: string;\n subject: {\n did: string,\n declarationCid: string,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n originator: {\n did: string,\n declarationCid: string,\n [k: string]: unknown,\n };\n assertion: {\n uri: string,\n cid: string,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: {\n did: string,\n declarationCid: string,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface Record {\n actorType: ActorKnown | ActorUnknown;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport {\n Client as XrpcClient,\n ServiceClient as XrpcServiceClient,\n} from '@atproto/xrpc'\nimport { methodSchemas, recordSchemas } from './schemas'\nimport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nimport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nimport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nimport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nimport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nimport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nimport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nimport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nimport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nimport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nimport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nimport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nimport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nimport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nimport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nimport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nimport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nimport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nimport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nimport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nimport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nimport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nimport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nimport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nimport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nimport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nimport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nimport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nimport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nimport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nimport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nimport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nimport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nimport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nimport * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed'\nimport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nimport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nimport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nimport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nimport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nimport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nimport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nimport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nimport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nimport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nimport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nimport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nimport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nimport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nimport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nimport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nexport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nexport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nexport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nexport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nexport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nexport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nexport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nexport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nexport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nexport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nexport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nexport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nexport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nexport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nexport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nexport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nexport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nexport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nexport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nexport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nexport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nexport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nexport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nexport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nexport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nexport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nexport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nexport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nexport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nexport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nexport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nexport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nexport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nexport * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed'\nexport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nexport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nexport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nexport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nexport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nexport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nexport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nexport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nexport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nexport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nexport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nexport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nexport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nexport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nexport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nexport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport const APP_BSKY_GRAPH = {\n AssertCreator: 'app.bsky.graph.assertCreator',\n AssertMember: 'app.bsky.graph.assertMember',\n}\nexport const APP_BSKY_SYSTEM = {\n ActorScene: 'app.bsky.system.actorScene',\n ActorUser: 'app.bsky.system.actorUser',\n}\n\nexport class Client {\n xrpc: XrpcClient = new XrpcClient()\n\n constructor() {\n this.xrpc.addSchemas(methodSchemas)\n }\n\n service(serviceUri: string | URL): ServiceClient {\n return new ServiceClient(this, this.xrpc.service(serviceUri))\n }\n}\n\nconst defaultInst = new Client()\nexport default defaultInst\n\nexport class ServiceClient {\n _baseClient: Client\n xrpc: XrpcServiceClient\n com: ComNS\n app: AppNS\n\n constructor(baseClient: Client, xrpcService: XrpcServiceClient) {\n this._baseClient = baseClient\n this.xrpc = xrpcService\n this.com = new ComNS(this)\n this.app = new AppNS(this)\n }\n\n setHeader(key: string, value: string): void {\n this.xrpc.setHeader(key, value)\n }\n}\n\nexport class ComNS {\n _service: ServiceClient\n atproto: AtprotoNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.atproto = new AtprotoNS(service)\n }\n}\n\nexport class AtprotoNS {\n _service: ServiceClient\n account: AccountNS\n handle: HandleNS\n repo: RepoNS\n server: ServerNS\n session: SessionNS\n sync: SyncNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.account = new AccountNS(service)\n this.handle = new HandleNS(service)\n this.repo = new RepoNS(service)\n this.server = new ServerNS(service)\n this.session = new SessionNS(service)\n this.sync = new SyncNS(service)\n }\n}\n\nexport class AccountNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n create(\n data?: ComAtprotoAccountCreate.InputSchema,\n opts?: ComAtprotoAccountCreate.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.create', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountCreate.toKnownErr(e)\n })\n }\n\n createInviteCode(\n data?: ComAtprotoAccountCreateInviteCode.InputSchema,\n opts?: ComAtprotoAccountCreateInviteCode.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.createInviteCode', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountCreateInviteCode.toKnownErr(e)\n })\n }\n\n delete(\n data?: ComAtprotoAccountDelete.InputSchema,\n opts?: ComAtprotoAccountDelete.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.delete', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountDelete.toKnownErr(e)\n })\n }\n\n get(\n params?: ComAtprotoAccountGet.QueryParams,\n opts?: ComAtprotoAccountGet.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.get', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoAccountGet.toKnownErr(e)\n })\n }\n\n requestPasswordReset(\n data?: ComAtprotoAccountRequestPasswordReset.InputSchema,\n opts?: ComAtprotoAccountRequestPasswordReset.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.requestPasswordReset', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountRequestPasswordReset.toKnownErr(e)\n })\n }\n\n resetPassword(\n data?: ComAtprotoAccountResetPassword.InputSchema,\n opts?: ComAtprotoAccountResetPassword.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.resetPassword', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountResetPassword.toKnownErr(e)\n })\n }\n}\n\nexport class HandleNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n resolve(\n params?: ComAtprotoHandleResolve.QueryParams,\n opts?: ComAtprotoHandleResolve.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.handle.resolve', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoHandleResolve.toKnownErr(e)\n })\n }\n}\n\nexport class RepoNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n batchWrite(\n data?: ComAtprotoRepoBatchWrite.InputSchema,\n opts?: ComAtprotoRepoBatchWrite.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.batchWrite', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoBatchWrite.toKnownErr(e)\n })\n }\n\n createRecord(\n data?: ComAtprotoRepoCreateRecord.InputSchema,\n opts?: ComAtprotoRepoCreateRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.createRecord', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoCreateRecord.toKnownErr(e)\n })\n }\n\n deleteRecord(\n data?: ComAtprotoRepoDeleteRecord.InputSchema,\n opts?: ComAtprotoRepoDeleteRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.deleteRecord', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoDeleteRecord.toKnownErr(e)\n })\n }\n\n describe(\n params?: ComAtprotoRepoDescribe.QueryParams,\n opts?: ComAtprotoRepoDescribe.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.describe', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoRepoDescribe.toKnownErr(e)\n })\n }\n\n getRecord(\n params?: ComAtprotoRepoGetRecord.QueryParams,\n opts?: ComAtprotoRepoGetRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.getRecord', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoRepoGetRecord.toKnownErr(e)\n })\n }\n\n listRecords(\n params?: ComAtprotoRepoListRecords.QueryParams,\n opts?: ComAtprotoRepoListRecords.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.listRecords', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoRepoListRecords.toKnownErr(e)\n })\n }\n\n putRecord(\n data?: ComAtprotoRepoPutRecord.InputSchema,\n opts?: ComAtprotoRepoPutRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.putRecord', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoPutRecord.toKnownErr(e)\n })\n }\n}\n\nexport class ServerNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n getAccountsConfig(\n params?: ComAtprotoServerGetAccountsConfig.QueryParams,\n opts?: ComAtprotoServerGetAccountsConfig.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.server.getAccountsConfig', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoServerGetAccountsConfig.toKnownErr(e)\n })\n }\n}\n\nexport class SessionNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n create(\n data?: ComAtprotoSessionCreate.InputSchema,\n opts?: ComAtprotoSessionCreate.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.create', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSessionCreate.toKnownErr(e)\n })\n }\n\n delete(\n data?: ComAtprotoSessionDelete.InputSchema,\n opts?: ComAtprotoSessionDelete.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.delete', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSessionDelete.toKnownErr(e)\n })\n }\n\n get(\n params?: ComAtprotoSessionGet.QueryParams,\n opts?: ComAtprotoSessionGet.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.get', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoSessionGet.toKnownErr(e)\n })\n }\n\n refresh(\n data?: ComAtprotoSessionRefresh.InputSchema,\n opts?: ComAtprotoSessionRefresh.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.refresh', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSessionRefresh.toKnownErr(e)\n })\n }\n}\n\nexport class SyncNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n getRepo(\n params?: ComAtprotoSyncGetRepo.QueryParams,\n opts?: ComAtprotoSyncGetRepo.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.sync.getRepo', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoSyncGetRepo.toKnownErr(e)\n })\n }\n\n getRoot(\n params?: ComAtprotoSyncGetRoot.QueryParams,\n opts?: ComAtprotoSyncGetRoot.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.sync.getRoot', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoSyncGetRoot.toKnownErr(e)\n })\n }\n\n updateRepo(\n data?: ComAtprotoSyncUpdateRepo.InputSchema,\n opts?: ComAtprotoSyncUpdateRepo.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.sync.updateRepo', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSyncUpdateRepo.toKnownErr(e)\n })\n }\n}\n\nexport class AppNS {\n _service: ServiceClient\n bsky: BskyNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.bsky = new BskyNS(service)\n }\n}\n\nexport class BskyNS {\n _service: ServiceClient\n actor: ActorNS\n feed: FeedNS\n graph: GraphNS\n notification: NotificationNS\n system: SystemNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.actor = new ActorNS(service)\n this.feed = new FeedNS(service)\n this.graph = new GraphNS(service)\n this.notification = new NotificationNS(service)\n this.system = new SystemNS(service)\n }\n}\n\nexport class ActorNS {\n _service: ServiceClient\n profile: ProfileRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.profile = new ProfileRecord(service)\n }\n\n createScene(\n data?: AppBskyActorCreateScene.InputSchema,\n opts?: AppBskyActorCreateScene.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.createScene', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyActorCreateScene.toKnownErr(e)\n })\n }\n\n getProfile(\n params?: AppBskyActorGetProfile.QueryParams,\n opts?: AppBskyActorGetProfile.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.getProfile', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorGetProfile.toKnownErr(e)\n })\n }\n\n getSuggestions(\n params?: AppBskyActorGetSuggestions.QueryParams,\n opts?: AppBskyActorGetSuggestions.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.getSuggestions', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorGetSuggestions.toKnownErr(e)\n })\n }\n\n search(\n params?: AppBskyActorSearch.QueryParams,\n opts?: AppBskyActorSearch.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.search', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorSearch.toKnownErr(e)\n })\n }\n\n searchTypeahead(\n params?: AppBskyActorSearchTypeahead.QueryParams,\n opts?: AppBskyActorSearchTypeahead.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.searchTypeahead', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorSearchTypeahead.toKnownErr(e)\n })\n }\n\n updateProfile(\n data?: AppBskyActorUpdateProfile.InputSchema,\n opts?: AppBskyActorUpdateProfile.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.updateProfile', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyActorUpdateProfile.toKnownErr(e)\n })\n }\n}\n\nexport class ProfileRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyActorProfile.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.actor.profile',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyActorProfile.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.actor.profile',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyActorProfile.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.actor.profile'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.actor.profile', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.actor.profile', ...params },\n { headers }\n )\n }\n}\n\nexport class FeedNS {\n _service: ServiceClient\n mediaEmbed: MediaEmbedRecord\n post: PostRecord\n repost: RepostRecord\n trend: TrendRecord\n vote: VoteRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.mediaEmbed = new MediaEmbedRecord(service)\n this.post = new PostRecord(service)\n this.repost = new RepostRecord(service)\n this.trend = new TrendRecord(service)\n this.vote = new VoteRecord(service)\n }\n\n getAuthorFeed(\n params?: AppBskyFeedGetAuthorFeed.QueryParams,\n opts?: AppBskyFeedGetAuthorFeed.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getAuthorFeed', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetAuthorFeed.toKnownErr(e)\n })\n }\n\n getPostThread(\n params?: AppBskyFeedGetPostThread.QueryParams,\n opts?: AppBskyFeedGetPostThread.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getPostThread', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetPostThread.toKnownErr(e)\n })\n }\n\n getRepostedBy(\n params?: AppBskyFeedGetRepostedBy.QueryParams,\n opts?: AppBskyFeedGetRepostedBy.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getRepostedBy', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetRepostedBy.toKnownErr(e)\n })\n }\n\n getTimeline(\n params?: AppBskyFeedGetTimeline.QueryParams,\n opts?: AppBskyFeedGetTimeline.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getTimeline', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetTimeline.toKnownErr(e)\n })\n }\n\n getVotes(\n params?: AppBskyFeedGetVotes.QueryParams,\n opts?: AppBskyFeedGetVotes.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getVotes', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetVotes.toKnownErr(e)\n })\n }\n\n setVote(\n data?: AppBskyFeedSetVote.InputSchema,\n opts?: AppBskyFeedSetVote.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.setVote', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyFeedSetVote.toKnownErr(e)\n })\n }\n}\n\nexport class MediaEmbedRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedMediaEmbed.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.mediaEmbed',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskyFeedMediaEmbed.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.mediaEmbed',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedMediaEmbed.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.mediaEmbed'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.mediaEmbed', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.mediaEmbed', ...params },\n { headers }\n )\n }\n}\n\nexport class PostRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedPost.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.post',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedPost.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.post',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedPost.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.post'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.post', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.post', ...params },\n { headers }\n )\n }\n}\n\nexport class RepostRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedRepost.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.repost',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedRepost.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.repost',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedRepost.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.repost'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.repost', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.repost', ...params },\n { headers }\n )\n }\n}\n\nexport class TrendRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedTrend.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.trend',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedTrend.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.trend',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedTrend.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.trend'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.trend', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.trend', ...params },\n { headers }\n )\n }\n}\n\nexport class VoteRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedVote.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.vote',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedVote.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.vote',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedVote.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.vote'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.vote', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.vote', ...params },\n { headers }\n )\n }\n}\n\nexport class GraphNS {\n _service: ServiceClient\n assertion: AssertionRecord\n confirmation: ConfirmationRecord\n follow: FollowRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.assertion = new AssertionRecord(service)\n this.confirmation = new ConfirmationRecord(service)\n this.follow = new FollowRecord(service)\n }\n\n getFollowers(\n params?: AppBskyGraphGetFollowers.QueryParams,\n opts?: AppBskyGraphGetFollowers.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getFollowers', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetFollowers.toKnownErr(e)\n })\n }\n\n getFollows(\n params?: AppBskyGraphGetFollows.QueryParams,\n opts?: AppBskyGraphGetFollows.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getFollows', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetFollows.toKnownErr(e)\n })\n }\n\n getMembers(\n params?: AppBskyGraphGetMembers.QueryParams,\n opts?: AppBskyGraphGetMembers.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getMembers', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetMembers.toKnownErr(e)\n })\n }\n\n getMemberships(\n params?: AppBskyGraphGetMemberships.QueryParams,\n opts?: AppBskyGraphGetMemberships.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getMemberships', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetMemberships.toKnownErr(e)\n })\n }\n}\n\nexport class AssertionRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyGraphAssertion.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.graph.assertion',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskyGraphAssertion.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.graph.assertion',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyGraphAssertion.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.graph.assertion'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.graph.assertion', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.graph.assertion', ...params },\n { headers }\n )\n }\n}\n\nexport class ConfirmationRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyGraphConfirmation.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.graph.confirmation',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskyGraphConfirmation.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.graph.confirmation',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyGraphConfirmation.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.graph.confirmation'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.graph.confirmation', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.graph.confirmation', ...params },\n { headers }\n )\n }\n}\n\nexport class FollowRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyGraphFollow.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.graph.follow',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyGraphFollow.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.graph.follow',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyGraphFollow.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.graph.follow'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.graph.follow', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.graph.follow', ...params },\n { headers }\n )\n }\n}\n\nexport class NotificationNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n getCount(\n params?: AppBskyNotificationGetCount.QueryParams,\n opts?: AppBskyNotificationGetCount.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.notification.getCount', params, undefined, opts)\n .catch((e) => {\n throw AppBskyNotificationGetCount.toKnownErr(e)\n })\n }\n\n list(\n params?: AppBskyNotificationList.QueryParams,\n opts?: AppBskyNotificationList.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.notification.list', params, undefined, opts)\n .catch((e) => {\n throw AppBskyNotificationList.toKnownErr(e)\n })\n }\n\n updateSeen(\n data?: AppBskyNotificationUpdateSeen.InputSchema,\n opts?: AppBskyNotificationUpdateSeen.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.notification.updateSeen', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyNotificationUpdateSeen.toKnownErr(e)\n })\n }\n}\n\nexport class SystemNS {\n _service: ServiceClient\n declaration: DeclarationRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.declaration = new DeclarationRecord(service)\n }\n}\n\nexport class DeclarationRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskySystemDeclaration.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.system.declaration',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskySystemDeclaration.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.system.declaration',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskySystemDeclaration.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.system.declaration'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.system.declaration', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.system.declaration', ...params },\n { headers }\n )\n }\n}\n", "import {\n CallOptions,\n Client as XrpcClient,\n ServiceClient as XrpcServiceClient,\n QueryParams,\n ResponseType,\n XRPCError,\n XRPCResponse,\n} from '@atproto/xrpc'\nimport EventEmitter from 'events'\nimport TypedEmitter from 'typed-emitter'\nimport { Client, ServiceClient } from './client'\nimport * as CreateSession from './client/types/com/atproto/session/create'\nimport * as RefreshSession from './client/types/com/atproto/session/refresh'\nimport * as CreateAccount from './client/types/com/atproto/session/create'\n\nconst CREATE_SESSION = 'com.atproto.session.create'\nconst REFRESH_SESSION = 'com.atproto.session.refresh'\nconst DELETE_SESSION = 'com.atproto.session.delete'\nconst CREATE_ACCOUNT = 'com.atproto.account.create'\n\nexport class SessionClient extends Client {\n service(serviceUri: string | URL): SessionServiceClient {\n const xrpcService = new SessionXrpcServiceClient(this.xrpc, serviceUri)\n return new SessionServiceClient(this, xrpcService)\n }\n}\n\nconst defaultInst = new SessionClient()\nexport default defaultInst\n\nexport class SessionServiceClient extends ServiceClient {\n xrpc: SessionXrpcServiceClient\n sessionManager: SessionManager\n constructor(baseClient: Client, xrpcService: SessionXrpcServiceClient) {\n super(baseClient, xrpcService)\n this.sessionManager = this.xrpc.sessionManager\n }\n}\n\nexport class SessionXrpcServiceClient extends XrpcServiceClient {\n sessionManager = new SessionManager()\n refreshing?: Promise\n\n constructor(baseClient: XrpcClient, serviceUri: string | URL) {\n super(baseClient, serviceUri)\n this.sessionManager.on('session', () => {\n // Maintain access token headers when session changes\n const accessHeaders = this.sessionManager.accessHeaders()\n if (accessHeaders) {\n this.setHeader('authorization', accessHeaders.authorization)\n } else {\n this.unsetHeader('authorization')\n }\n })\n }\n\n async call(\n methodNsid: string,\n params?: QueryParams,\n data?: unknown,\n opts?: CallOptions,\n ) {\n const original = (overrideOpts?: CallOptions) =>\n super.call(methodNsid, params, data, overrideOpts ?? opts)\n\n // If someone is setting credentials manually, pass through as an escape hatch\n if (opts?.headers?.authorization) {\n return await original()\n }\n\n // Manage concurrent refreshes on session refresh\n if (methodNsid === REFRESH_SESSION) {\n return await this.refresh(opts)\n }\n\n // Complete any pending session refresh and then continue onto the original request with fresh credentials\n await this.refreshing\n\n // Setup session on session or account creation\n if (methodNsid === CREATE_SESSION || methodNsid === CREATE_ACCOUNT) {\n const result = await original()\n const { accessJwt, refreshJwt } =\n result.data as CreateSession.OutputSchema & CreateAccount.OutputSchema\n this.sessionManager.set({ accessJwt, refreshJwt })\n return result\n }\n\n // Clear session on session deletion\n if (methodNsid === DELETE_SESSION) {\n const result = await original({\n ...opts,\n headers: {\n ...opts?.headers,\n ...this.sessionManager.refreshHeaders(),\n },\n })\n this.sessionManager.unset()\n return result\n }\n\n // For all other requests, if failed due to an expired token, refresh and retry with fresh credentials\n try {\n return await original()\n } catch (err) {\n if (\n err instanceof XRPCError &&\n err.status === ResponseType.InvalidRequest &&\n err.error === 'ExpiredToken' &&\n this.sessionManager.active()\n ) {\n await this.refresh(opts)\n return await original()\n }\n throw err\n }\n }\n\n // Ensures a single refresh request at a time, deduping concurrent requests.\n async refresh(opts?: CallOptions) {\n this.refreshing ??= this._refresh(opts)\n try {\n return await this.refreshing\n } finally {\n this.refreshing = undefined\n }\n }\n\n private async _refresh(opts?: CallOptions) {\n try {\n const result = await super.call(REFRESH_SESSION, undefined, undefined, {\n ...opts,\n headers: {\n ...opts?.headers,\n ...this.sessionManager.refreshHeaders(),\n },\n })\n const { accessJwt, refreshJwt } =\n result.data as RefreshSession.OutputSchema\n this.sessionManager.set({ accessJwt, refreshJwt })\n return result\n } catch (err) {\n if (\n err instanceof XRPCError &&\n err.status === ResponseType.InvalidRequest &&\n (err.error === 'ExpiredToken' || err.error === 'InvalidToken')\n ) {\n this.sessionManager.unset()\n }\n throw err\n }\n }\n}\n\nexport class SessionManager extends (EventEmitter as new () => TypedEmitter) {\n session?: Session\n get() {\n return this.session\n }\n set(session: Session) {\n this.session = session\n this.emit('session', session)\n }\n unset() {\n this.session = undefined\n this.emit('session', undefined)\n }\n active() {\n return !!this.session\n }\n accessHeaders() {\n return (\n this.session && {\n authorization: `Bearer ${this.session.accessJwt}`,\n }\n )\n }\n refreshHeaders() {\n return (\n this.session && {\n authorization: `Bearer ${this.session.refreshJwt}`,\n }\n )\n }\n}\n\nexport type Session = {\n refreshJwt: string\n accessJwt: string\n}\n\ntype SessionEvents = {\n session: (session?: Session) => void\n}\n"], - "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,QAAsB,cAAtB,MAAiC;;AAAjC,YAAA,cAAA;AAOa,YAAA,aAAa;AAE1B,QAAa,OAAb,cAA0B,YAAW;MAEnC,YAAY,GAAS;AACnB,cAAK;AACL,YAAI,CAAC,QAAA,WAAW,KAAK,CAAC;AAAG,gBAAM,IAAI,MAAM,0CAA0C;AACnF,aAAK,MAAM;MACb;MAEA,WAAQ;AACN,eAAO,KAAK;MACd;MAEA,WAAQ;AACN,eAAO;MACT;MAEA,IAAI,QAAK;AACP,eAAO,EAAC,CAAC,KAAK,MAAM,EAAC;MACvB;;AAlBF,YAAA,OAAA;AAqBA,QAAa,QAAb,cAA2B,YAAW;MAKpC,YAAY,MAAkC;AAC5C,cAAK;AACL,aAAK,SAAS,OAAO,SAAS,WAAW,CAAC,IAAI,IAAI;MACpD;MAEA,WAAQ;AACN,eAAO,KAAK;MACd;MAEA,WAAQ;AACN,YAAI,KAAK,OAAO,SAAS;AAAG,iBAAO;AACnC,cAAM,OAAO,KAAK,OAAO;AACzB,eAAO,SAAS,MAAM,SAAS;MACjC;MAEA,IAAI,MAAG;;AACL,gBAAO,KAAC,KAAK,UAAI,QAAA,OAAA,SAAA,KAAT,KAAK,OAAS,KAAK,OAAO,OAAO,CAAC,GAAW,MAAgB,GAAG,IAAI,KAAK,EAAE;MACrF;MAEA,IAAI,QAAK;;AACP,gBAAO,KAAC,KAAK,YAAM,QAAA,OAAA,SAAA,KAAX,KAAK,SAAW,KAAK,OAAO,OAAO,CAAC,O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", "module", "baseId", "ValidationError", "ValidationError", "merge", "sets", "length", "slice", "xl", "x", "join", "subexp", "str", "typeOf", "o", "undefined", "Object", "prototype", "toString", "call", "split", "pop", "shift", "toLowerCase", "toUpperCase", "toArray", "obj", "Array", "setInterval", "assign", "target", "source", "key", "buildExps", "isIRI", "ALPHA$$", "CR$", "DIGIT$$", "DQUOTE$$", "HEXDIG$$", "SP$$", "PCT_ENCODED$", "SUB_DELIMS$$", "RESERVED$$", "GEN_DELIMS$$", "UCSCHAR$$", "SCHEME$", "USERINFO$", "UNRESERVED$$", "DEC_OCTET$", "DEC_OCTET_RELAXED$", "H16$", "LS32$", "IPV4ADDRESS$", "IPV6ADDRESS1$", "IPV6ADDRESS2$", "IPV6ADDRESS3$", "IPV6ADDRESS4$", "IPV6ADDRESS5$", "IPV6ADDRESS6$", "IPV6ADDRESS7$", "IPV6ADDRESS8$", "IPV6ADDRESS9$", "ZONEID$", "IPV6ADDRESS$", "IP_LITERAL$", "IPV6ADDRZ_RELAXED$", "IPVFUTURE$", "HOST$", "REG_NAME$", "PORT$", "AUTHORITY$", "PCHAR$", "SEGMENT$", "SEGMENT_NZ$", "SEGMENT_NZ_NC$", "PATH_ABEMPTY$", "PATH_ABSOLUTE$", "PATH$", "PATH_NOSCHEME$", "PATH_ROOTLESS$", "PATH_EMPTY$", "QUERY$", "IPRIVATE$$", "FRAGMENT$", "HIER_PART$", "URI$", "RELATIVE_PART$", "RELATIVE$", "URI_REFERENCE$", "ABSOLUTE_URI$", "GENERIC_REF$", "RELATIVE_REF$", "ABSOLUTE_REF$", "SAMEDOC_REF$", "AUTHORITY_REF$", "RegExp", "maxInt", "base", "tMin", "tMax", "skew", "damp", "initialBias", "initialN", "delimiter", "regexPunycode", "regexNonASCII", "regexSeparators", "errors", "baseMinusTMin", "floor", "Math", "stringFromCharCode", "String", "fromCharCode", "error", "type", "RangeError", "map", "array", "fn", "result", "mapDomain", "string", "parts", "replace", "labels", "encoded", "ucs2decode", "output", "counter", "value", "charCodeAt", "extra", "push", "ucs2encode", "fromCodePoint", "basicToDigit", "codePoint", "digitToBasic", "digit", "flag", "adapt", "delta", "numPoints", "firstTime", "k", "decode", "input", "inputLength", "i", "n", "bias", "basic", "lastIndexOf", "j", "index", "oldi", "w", "t", "baseMinusT", "out", "splice", "encode", "currentValue", "basicLength", "handledCPCount", "m", "handledCPCountPlusOne", "q", "qMinusT", "toUnicode", "test", "toASCII", "punycode", "SCHEMES", "pctEncChar", "chr", "c", "e", "pctDecChars", "newStr", "il", "parseInt", "substr", "c2", "c3", "_normalizeComponentEncoding", "components", "protocol", "decodeUnreserved", "decStr", "match", "UNRESERVED", "scheme", "PCT_ENCODED", "NOT_SCHEME", "userinfo", "NOT_USERINFO", "host", "NOT_HOST", "path", "NOT_PATH", "NOT_PATH_NOSCHEME", "query", "NOT_QUERY", "fragment", "NOT_FRAGMENT", "_stripLeadingZeros", "_normalizeIPv4", "matches", "IPV4ADDRESS", "address", "_normalizeIPv6", "IPV6ADDRESS", "zone", "reverse", "last", "first", "firstFields", "lastFields", "isLastFieldIPv4Address", "fieldCount", "lastFieldsStart", "fields", "allZeroFields", "reduce", "acc", "field", "lastLongest", "longestZeroFields", "sort", "a", "b", "newHost", "newFirst", "newLast", "URI_PARSE", "NO_MATCH_IS_UNDEFINED", "parse", "uriString", "options", "iri", "IRI_PROTOCOL", "URI_PROTOCOL", "reference", "port", "isNaN", "indexOf", "schemeHandler", "unicodeSupport", "domainHost", "_recomposeAuthority", "uriTokens", "_", "$1", "$2", "RDS1", "RDS2", "RDS3", "RDS5", "removeDotSegments", "im", "s", "Error", "serialize", "authority", "charAt", "absolutePath", "resolveComponents", "relative", "skipNormalization", "tolerant", "resolve", "baseURI", "relativeURI", "schemelessOptions", "normalize", "uri", "equal", "uriA", "uriB", "escapeComponent", "ESCAPE", "unescapeComponent", "handler", "secure", "http", "isSecure", "wsComponents", "resourceName", "ws", "O", "ATEXT$$", "QTEXT$$", "VCHAR$$", "SOME_DELIMS$$", "NOT_LOCAL_PART", "NOT_HFNAME", "NOT_HFVALUE", "mailtoComponents", "to", "unknownHeaders", "headers", "hfields", "hfield", "toAddrs", "subject", "body", "addr", "toAddr", "atIdx", "localPart", "domain", "name", "URN_PARSE", "urnComponents", "nid", "nss", "urnScheme", "uriComponents", "UUID", "uuidComponents", "uuid", "https", "wss", "mailto", "urn", "Ajv", "DiscrError", "Ajv", "module", "ajv", "ajv", "module", "Client", "create_exports", "delete_exports", "get_exports", "ServiceClient", "util", "errorUtil", "errorMap", "ctx", "result", "objectUtil", "issues", "elements", "processed", "ZodFirstPartyTypeKind", "ResponseType", "Ajv", "ajvAddFormats", "import_ajv", "import_ajv_formats", "ajv", "Ajv", "ajvAddFormats", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "create_exports", "toKnownErr", "toKnownErr", "delete_exports", "toKnownErr", "toKnownErr", "get_exports", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "HandleNotAvailableError", "InvalidHandleError", "toKnownErr", "InvalidHandleError", "HandleNotAvailableError", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "Client", "ServiceClient", "defaultInst", "toKnownErr", "Client", "defaultInst", "ServiceClient", "EventEmitter"] + "sources": ["../../../node_modules/ajv/lib/compile/codegen/code.ts", "../../../node_modules/ajv/lib/compile/codegen/scope.ts", "../../../node_modules/ajv/lib/compile/codegen/index.ts", "../../../node_modules/ajv/lib/compile/util.ts", "../../../node_modules/ajv/lib/compile/names.ts", "../../../node_modules/ajv/lib/compile/errors.ts", "../../../node_modules/ajv/lib/compile/validate/boolSchema.ts", "../../../node_modules/ajv/lib/compile/rules.ts", "../../../node_modules/ajv/lib/compile/validate/applicability.ts", "../../../node_modules/ajv/lib/compile/validate/dataType.ts", "../../../node_modules/ajv/lib/compile/validate/defaults.ts", "../../../node_modules/ajv/lib/vocabularies/code.ts", "../../../node_modules/ajv/lib/compile/validate/keyword.ts", "../../../node_modules/ajv/lib/compile/validate/subschema.ts", "../../../node_modules/fast-deep-equal/index.js", "../../../node_modules/json-schema-traverse/index.js", "../../../node_modules/ajv/lib/compile/resolve.ts", "../../../node_modules/ajv/lib/compile/validate/index.ts", "../../../node_modules/ajv/lib/runtime/validation_error.ts", "../../../node_modules/ajv/lib/compile/ref_error.ts", "../../../node_modules/ajv/lib/compile/index.ts", "../../../node_modules/uri-js/src/index.ts", "../../../node_modules/uri-js/src/schemes/urn-uuid.ts", "../../../node_modules/uri-js/src/schemes/urn.ts", "../../../node_modules/uri-js/src/schemes/mailto.ts", "../../../node_modules/uri-js/src/schemes/wss.ts", "../../../node_modules/uri-js/src/schemes/ws.ts", "../../../node_modules/uri-js/src/schemes/https.ts", "../../../node_modules/uri-js/src/schemes/http.ts", "../../../node_modules/uri-js/src/uri.ts", "../../../node_modules/uri-js/node_modules/punycode/punycode.es6.js", "../../../node_modules/uri-js/src/regexps-iri.ts", "../../../node_modules/uri-js/src/regexps-uri.ts", "../../../node_modules/uri-js/src/util.ts", "../../../node_modules/ajv/lib/runtime/uri.ts", "../../../node_modules/ajv/lib/core.ts", "../../../node_modules/ajv/lib/vocabularies/core/id.ts", "../../../node_modules/ajv/lib/vocabularies/core/ref.ts", "../../../node_modules/ajv/lib/vocabularies/core/index.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitNumber.ts", "../../../node_modules/ajv/lib/vocabularies/validation/multipleOf.ts", "../../../node_modules/ajv/lib/runtime/ucs2length.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitLength.ts", "../../../node_modules/ajv/lib/vocabularies/validation/pattern.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitProperties.ts", "../../../node_modules/ajv/lib/vocabularies/validation/required.ts", "../../../node_modules/ajv/lib/vocabularies/validation/limitItems.ts", "../../../node_modules/ajv/lib/runtime/equal.ts", "../../../node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts", "../../../node_modules/ajv/lib/vocabularies/validation/const.ts", "../../../node_modules/ajv/lib/vocabularies/validation/enum.ts", "../../../node_modules/ajv/lib/vocabularies/validation/index.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/items.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/items2020.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/contains.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/dependencies.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/properties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/not.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/anyOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/oneOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/allOf.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/if.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/thenElse.ts", "../../../node_modules/ajv/lib/vocabularies/applicator/index.ts", "../../../node_modules/ajv/lib/vocabularies/format/format.ts", "../../../node_modules/ajv/lib/vocabularies/format/index.ts", "../../../node_modules/ajv/lib/vocabularies/metadata.ts", "../../../node_modules/ajv/lib/vocabularies/draft7.ts", "../../../node_modules/ajv/lib/vocabularies/discriminator/types.ts", "../../../node_modules/ajv/lib/vocabularies/discriminator/index.ts", "../../../node_modules/ajv/lib/ajv.ts", "../../../node_modules/ajv-formats/src/formats.ts", "../../../node_modules/ajv-formats/src/limit.ts", "../../../node_modules/ajv-formats/src/index.ts", "../src/index.ts", "../../../node_modules/zod/lib/index.mjs", "../../xrpc/src/types.ts", "../../nsid/src/index.ts", "../../lexicon/src/types.ts", "../../lexicon/src/record/schema.ts", "../../lexicon/src/record/validator.ts", "../../xrpc/src/util.ts", "../../xrpc/src/client.ts", "../../xrpc/src/index.ts", "../src/client/schemas.ts", "../src/client/types/com/atproto/account/create.ts", "../src/client/types/com/atproto/account/createInviteCode.ts", "../src/client/types/com/atproto/account/delete.ts", "../src/client/types/com/atproto/account/get.ts", "../src/client/types/com/atproto/account/requestPasswordReset.ts", "../src/client/types/com/atproto/account/resetPassword.ts", "../src/client/types/com/atproto/handle/resolve.ts", "../src/client/types/com/atproto/repo/batchWrite.ts", "../src/client/types/com/atproto/repo/createRecord.ts", "../src/client/types/com/atproto/repo/deleteRecord.ts", "../src/client/types/com/atproto/repo/describe.ts", "../src/client/types/com/atproto/repo/getRecord.ts", "../src/client/types/com/atproto/repo/listRecords.ts", "../src/client/types/com/atproto/repo/putRecord.ts", "../src/client/types/com/atproto/server/getAccountsConfig.ts", "../src/client/types/com/atproto/session/create.ts", "../src/client/types/com/atproto/session/delete.ts", "../src/client/types/com/atproto/session/get.ts", "../src/client/types/com/atproto/session/refresh.ts", "../src/client/types/com/atproto/sync/getRepo.ts", "../src/client/types/com/atproto/sync/getRoot.ts", "../src/client/types/com/atproto/sync/updateRepo.ts", "../src/client/types/app/bsky/actor/createScene.ts", "../src/client/types/app/bsky/actor/getProfile.ts", "../src/client/types/app/bsky/actor/getSuggestions.ts", "../src/client/types/app/bsky/actor/search.ts", "../src/client/types/app/bsky/actor/searchTypeahead.ts", "../src/client/types/app/bsky/actor/updateProfile.ts", "../src/client/types/app/bsky/feed/getAuthorFeed.ts", "../src/client/types/app/bsky/feed/getPostThread.ts", "../src/client/types/app/bsky/feed/getRepostedBy.ts", "../src/client/types/app/bsky/feed/getTimeline.ts", "../src/client/types/app/bsky/feed/getVotes.ts", "../src/client/types/app/bsky/feed/setVote.ts", "../src/client/types/app/bsky/graph/getAssertions.ts", "../src/client/types/app/bsky/graph/getFollowers.ts", "../src/client/types/app/bsky/graph/getFollows.ts", "../src/client/types/app/bsky/graph/getMembers.ts", "../src/client/types/app/bsky/graph/getMemberships.ts", "../src/client/types/app/bsky/notification/getCount.ts", "../src/client/types/app/bsky/notification/list.ts", "../src/client/types/app/bsky/notification/updateSeen.ts", "../src/client/types/app/bsky/actor/profile.ts", "../src/client/types/app/bsky/feed/mediaEmbed.ts", "../src/client/types/app/bsky/feed/post.ts", "../src/client/types/app/bsky/feed/repost.ts", "../src/client/types/app/bsky/feed/trend.ts", "../src/client/types/app/bsky/feed/vote.ts", "../src/client/types/app/bsky/graph/assertion.ts", "../src/client/types/app/bsky/graph/confirmation.ts", "../src/client/types/app/bsky/graph/follow.ts", "../src/client/types/app/bsky/system/declaration.ts", "../src/client/index.ts", "../src/session.ts"], + "sourcesContent": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, "'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n", "'use strict';\n\nvar traverse = module.exports = function (schema, opts, cb) {\n // Legacy support for v0.3.1 and earlier.\n if (typeof opts == 'function') {\n cb = opts;\n opts = {};\n }\n\n cb = opts.cb || cb;\n var pre = (typeof cb == 'function') ? cb : cb.pre || function() {};\n var post = cb.post || function() {};\n\n _traverse(opts, pre, post, schema, '', schema);\n};\n\n\ntraverse.keywords = {\n additionalItems: true,\n items: true,\n contains: true,\n additionalProperties: true,\n propertyNames: true,\n not: true,\n if: true,\n then: true,\n else: true\n};\n\ntraverse.arrayKeywords = {\n items: true,\n allOf: true,\n anyOf: true,\n oneOf: true\n};\n\ntraverse.propsKeywords = {\n $defs: true,\n definitions: true,\n properties: true,\n patternProperties: true,\n dependencies: true\n};\n\ntraverse.skipKeywords = {\n default: true,\n enum: true,\n const: true,\n required: true,\n maximum: true,\n minimum: true,\n exclusiveMaximum: true,\n exclusiveMinimum: true,\n multipleOf: true,\n maxLength: true,\n minLength: true,\n pattern: true,\n format: true,\n maxItems: true,\n minItems: true,\n uniqueItems: true,\n maxProperties: true,\n minProperties: true\n};\n\n\nfunction _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n if (schema && typeof schema == 'object' && !Array.isArray(schema)) {\n pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n for (var key in schema) {\n var sch = schema[key];\n if (Array.isArray(sch)) {\n if (key in traverse.arrayKeywords) {\n for (var i=0; i = {\n\tscheme : \"urn:uuid\",\n\n\tparse : function (urnComponents:URNComponents, options:URIOptions):UUIDComponents {\n\t\tconst uuidComponents = urnComponents as UUIDComponents;\n\t\tuuidComponents.uuid = uuidComponents.nss;\n\t\tuuidComponents.nss = undefined;\n\n\t\tif (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) {\n\t\t\tuuidComponents.error = uuidComponents.error || \"UUID is not valid.\";\n\t\t}\n\n\t\treturn uuidComponents;\n\t},\n\n\tserialize : function (uuidComponents:UUIDComponents, options:URIOptions):URNComponents {\n\t\tconst urnComponents = uuidComponents as URNComponents;\n\t\t//normalize UUID\n\t\turnComponents.nss = (uuidComponents.uuid || \"\").toLowerCase();\n\t\treturn urnComponents;\n\t},\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport { pctEncChar, SCHEMES } from \"../uri\";\n\nexport interface URNComponents extends URIComponents {\n\tnid?:string;\n\tnss?:string;\n}\n\nexport interface URNOptions extends URIOptions {\n\tnid?:string;\n}\n\nconst NID$ = \"(?:[0-9A-Za-z][0-9A-Za-z\\\\-]{1,31})\";\nconst PCT_ENCODED$ = \"(?:\\\\%[0-9A-Fa-f]{2})\";\nconst TRANS$$ = \"[0-9A-Za-z\\\\(\\\\)\\\\+\\\\,\\\\-\\\\.\\\\:\\\\=\\\\@\\\\;\\\\$\\\\_\\\\!\\\\*\\\\'\\\\/\\\\?\\\\#]\";\nconst NSS$ = \"(?:(?:\" + PCT_ENCODED$ + \"|\" + TRANS$$ + \")+)\";\nconst URN_SCHEME = new RegExp(\"^urn\\\\:(\" + NID$ + \")$\");\nconst URN_PATH = new RegExp(\"^(\" + NID$ + \")\\\\:(\" + NSS$ + \")$\");\nconst URN_PARSE = /^([^\\:]+)\\:(.*)/;\nconst URN_EXCLUDED = /[\\x00-\\x20\\\\\\\"\\&\\<\\>\\[\\]\\^\\`\\{\\|\\}\\~\\x7F-\\xFF]/g;\n\n//RFC 2141\nconst handler:URISchemeHandler = {\n\tscheme : \"urn\",\n\n\tparse : function (components:URIComponents, options:URNOptions):URNComponents {\n\t\tconst matches = components.path && components.path.match(URN_PARSE);\n\t\tlet urnComponents = components as URNComponents;\n\n\t\tif (matches) {\n\t\t\tconst scheme = options.scheme || urnComponents.scheme || \"urn\";\n\t\t\tconst nid = matches[1].toLowerCase();\n\t\t\tconst nss = matches[2];\n\t\t\tconst urnScheme = `${scheme}:${options.nid || nid}`;\n\t\t\tconst schemeHandler = SCHEMES[urnScheme];\n\n\t\t\turnComponents.nid = nid;\n\t\t\turnComponents.nss = nss;\n\t\t\turnComponents.path = undefined;\n\n\t\t\tif (schemeHandler) {\n\t\t\t\turnComponents = schemeHandler.parse(urnComponents, options) as URNComponents;\n\t\t\t}\n\t\t} else {\n\t\t\turnComponents.error = urnComponents.error || \"URN can not be parsed.\";\n\t\t}\n\n\t\treturn urnComponents;\n\t},\n\n\tserialize : function (urnComponents:URNComponents, options:URNOptions):URIComponents {\n\t\tconst scheme = options.scheme || urnComponents.scheme || \"urn\";\n\t\tconst nid = urnComponents.nid;\n\t\tconst urnScheme = `${scheme}:${options.nid || nid}`;\n\t\tconst schemeHandler = SCHEMES[urnScheme];\n\n\t\tif (schemeHandler) {\n\t\t\turnComponents = schemeHandler.serialize(urnComponents, options) as URNComponents;\n\t\t}\n\n\t\tconst uriComponents = urnComponents as URIComponents;\n\t\tconst nss = urnComponents.nss;\n\t\turiComponents.path = `${nid || options.nid}:${nss}`;\n\n\t\treturn uriComponents;\n\t},\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport { pctEncChar, pctDecChars, unescapeComponent } from \"../uri\";\nimport punycode from \"punycode\";\nimport { merge, subexp, toUpperCase, toArray } from \"../util\";\n\nexport interface MailtoHeaders {\n\t[hfname:string]:string\n}\n\nexport interface MailtoComponents extends URIComponents {\n\tto:Array,\n\theaders?:MailtoHeaders,\n\tsubject?:string,\n\tbody?:string\n}\n\nconst O:MailtoHeaders = {};\nconst isIRI = true;\n\n//RFC 3986\nconst UNRESERVED$$ = \"[A-Za-z0-9\\\\-\\\\.\\\\_\\\\~\" + (isIRI ? \"\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF\" : \"\") + \"]\";\nconst HEXDIG$$ = \"[0-9A-Fa-f]\"; //case-insensitive\nconst PCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)); //expanded\n\n//RFC 5322, except these symbols as per RFC 6068: @ : / ? # [ ] & ; =\n//const ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\#\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\/\\\\=\\\\?\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QTEXT$$ = \"[\\\\x01-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F]\"; //(%d1-8 / %d11-12 / %d14-31 / %d127)\n//const QTEXT$$ = merge(\"[\\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E]\", OBS_QTEXT$$); //%d33 / %d35-91 / %d93-126 / obs-qtext\n//const VCHAR$$ = \"[\\\\x21-\\\\x7E]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QP$ = subexp(\"\\\\\\\\\" + merge(\"[\\\\x00\\\\x0D\\\\x0A]\", OBS_QTEXT$$)); //%d0 / CR / LF / obs-qtext\n//const FWS$ = subexp(subexp(WSP$$ + \"*\" + \"\\\\x0D\\\\x0A\") + \"?\" + WSP$$ + \"+\");\n//const QUOTED_PAIR$ = subexp(subexp(\"\\\\\\\\\" + subexp(VCHAR$$ + \"|\" + WSP$$)) + \"|\" + OBS_QP$);\n//const QUOTED_STRING$ = subexp('\\\\\"' + subexp(FWS$ + \"?\" + QCONTENT$) + \"*\" + FWS$ + \"?\" + '\\\\\"');\nconst ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\$\\\\%\\\\'\\\\*\\\\+\\\\-\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\nconst QTEXT$$ = \"[\\\\!\\\\$\\\\%\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\-\\\\.0-9\\\\<\\\\>A-Z\\\\x5E-\\\\x7E]\";\nconst VCHAR$$ = merge(QTEXT$$, \"[\\\\\\\"\\\\\\\\]\");\nconst DOT_ATOM_TEXT$ = subexp(ATEXT$$ + \"+\" + subexp(\"\\\\.\" + ATEXT$$ + \"+\") + \"*\");\nconst QUOTED_PAIR$ = subexp(\"\\\\\\\\\" + VCHAR$$);\nconst QCONTENT$ = subexp(QTEXT$$ + \"|\" + QUOTED_PAIR$);\nconst QUOTED_STRING$ = subexp('\\\\\"' + QCONTENT$ + \"*\" + '\\\\\"');\n\n//RFC 6068\nconst DTEXT_NO_OBS$$ = \"[\\\\x21-\\\\x5A\\\\x5E-\\\\x7E]\"; //%d33-90 / %d94-126\nconst SOME_DELIMS$$ = \"[\\\\!\\\\$\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\:\\\\@]\";\nconst QCHAR$ = subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$ + \"|\" + SOME_DELIMS$$);\nconst DOMAIN$ = subexp(DOT_ATOM_TEXT$ + \"|\" + \"\\\\[\" + DTEXT_NO_OBS$$ + \"*\" + \"\\\\]\");\nconst LOCAL_PART$ = subexp(DOT_ATOM_TEXT$ + \"|\" + QUOTED_STRING$);\nconst ADDR_SPEC$ = subexp(LOCAL_PART$ + \"\\\\@\" + DOMAIN$);\nconst TO$ = subexp(ADDR_SPEC$ + subexp(\"\\\\,\" + ADDR_SPEC$) + \"*\");\nconst HFNAME$ = subexp(QCHAR$ + \"*\");\nconst HFVALUE$ = HFNAME$;\nconst HFIELD$ = subexp(HFNAME$ + \"\\\\=\" + HFVALUE$);\nconst HFIELDS2$ = subexp(HFIELD$ + subexp(\"\\\\&\" + HFIELD$) + \"*\");\nconst HFIELDS$ = subexp(\"\\\\?\" + HFIELDS2$);\nconst MAILTO_URI = new RegExp(\"^mailto\\\\:\" + TO$ + \"?\" + HFIELDS$ + \"?$\");\n\nconst UNRESERVED = new RegExp(UNRESERVED$$, \"g\");\nconst PCT_ENCODED = new RegExp(PCT_ENCODED$, \"g\");\nconst NOT_LOCAL_PART = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\.]\", '[\\\\\"]', VCHAR$$), \"g\");\nconst NOT_DOMAIN = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\.]\", \"[\\\\[]\", DTEXT_NO_OBS$$, \"[\\\\]]\"), \"g\");\nconst NOT_HFNAME = new RegExp(merge(\"[^]\", UNRESERVED$$, SOME_DELIMS$$), \"g\");\nconst NOT_HFVALUE = NOT_HFNAME;\nconst TO = new RegExp(\"^\" + TO$ + \"$\");\nconst HFIELDS = new RegExp(\"^\" + HFIELDS2$ + \"$\");\n\nfunction decodeUnreserved(str:string):string {\n\tconst decStr = pctDecChars(str);\n\treturn (!decStr.match(UNRESERVED) ? str : decStr);\n}\n\nconst handler:URISchemeHandler = {\n\tscheme : \"mailto\",\n\n\tparse : function (components:URIComponents, options:URIOptions):MailtoComponents {\n\t\tconst mailtoComponents = components as MailtoComponents;\n\t\tconst to = mailtoComponents.to = (mailtoComponents.path ? mailtoComponents.path.split(\",\") : []);\n\t\tmailtoComponents.path = undefined;\n\n\t\tif (mailtoComponents.query) {\n\t\t\tlet unknownHeaders = false\n\t\t\tconst headers:MailtoHeaders = {};\n\t\t\tconst hfields = mailtoComponents.query.split(\"&\");\n\n\t\t\tfor (let x = 0, xl = hfields.length; x < xl; ++x) {\n\t\t\t\tconst hfield = hfields[x].split(\"=\");\n\n\t\t\t\tswitch (hfield[0]) {\n\t\t\t\t\tcase \"to\":\n\t\t\t\t\t\tconst toAddrs = hfield[1].split(\",\");\n\t\t\t\t\t\tfor (let x = 0, xl = toAddrs.length; x < xl; ++x) {\n\t\t\t\t\t\t\tto.push(toAddrs[x]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"subject\":\n\t\t\t\t\t\tmailtoComponents.subject = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"body\":\n\t\t\t\t\t\tmailtoComponents.body = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tunknownHeaders = true;\n\t\t\t\t\t\theaders[unescapeComponent(hfield[0], options)] = unescapeComponent(hfield[1], options);\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (unknownHeaders) mailtoComponents.headers = headers;\n\t\t}\n\n\t\tmailtoComponents.query = undefined;\n\n\t\tfor (let x = 0, xl = to.length; x < xl; ++x) {\n\t\t\tconst addr = to[x].split(\"@\");\n\n\t\t\taddr[0] = unescapeComponent(addr[0]);\n\n\t\t\tif (!options.unicodeSupport) {\n\t\t\t\t//convert Unicode IDN -> ASCII IDN\n\t\t\t\ttry {\n\t\t\t\t\taddr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase());\n\t\t\t\t} catch (e) {\n\t\t\t\t\tmailtoComponents.error = mailtoComponents.error || \"Email address's domain name can not be converted to ASCII via punycode: \" + e;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\taddr[1] = unescapeComponent(addr[1], options).toLowerCase();\n\t\t\t}\n\n\t\t\tto[x] = addr.join(\"@\");\n\t\t}\n\n\t\treturn mailtoComponents;\n\t},\n\n\tserialize : function (mailtoComponents:MailtoComponents, options:URIOptions):URIComponents {\n\t\tconst components = mailtoComponents as URIComponents;\n\t\tconst to = toArray(mailtoComponents.to);\n\t\tif (to) {\n\t\t\tfor (let x = 0, xl = to.length; x < xl; ++x) {\n\t\t\t\tconst toAddr = String(to[x]);\n\t\t\t\tconst atIdx = toAddr.lastIndexOf(\"@\");\n\t\t\t\tconst localPart = (toAddr.slice(0, atIdx)).replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_LOCAL_PART, pctEncChar);\n\t\t\t\tlet domain = toAddr.slice(atIdx + 1);\n\n\t\t\t\t//convert IDN via punycode\n\t\t\t\ttry {\n\t\t\t\t\tdomain = (!options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : punycode.toUnicode(domain));\n\t\t\t\t} catch (e) {\n\t\t\t\t\tcomponents.error = components.error || \"Email address's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n\t\t\t\t}\n\n\t\t\t\tto[x] = localPart + \"@\" + domain;\n\t\t\t}\n\n\t\t\tcomponents.path = to.join(\",\");\n\t\t}\n\n\t\tconst headers = mailtoComponents.headers = mailtoComponents.headers || {};\n\n\t\tif (mailtoComponents.subject) headers[\"subject\"] = mailtoComponents.subject;\n\t\tif (mailtoComponents.body) headers[\"body\"] = mailtoComponents.body;\n\n\t\tconst fields = [];\n\t\tfor (const name in headers) {\n\t\t\tif (headers[name] !== O[name]) {\n\t\t\t\tfields.push(\n\t\t\t\t\tname.replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFNAME, pctEncChar) +\n\t\t\t\t\t\"=\" +\n\t\t\t\t\theaders[name].replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFVALUE, pctEncChar)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (fields.length) {\n\t\t\tcomponents.query = fields.join(\"&\");\n\t\t}\n\n\t\treturn components;\n\t}\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport ws from \"./ws\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"wss\",\n\tdomainHost : ws.domainHost,\n\tparse : ws.parse,\n\tserialize : ws.serialize\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\n\nexport interface WSComponents extends URIComponents {\n\tresourceName?: string;\n\tsecure?: boolean;\n}\n\nfunction isSecure(wsComponents:WSComponents):boolean {\n\treturn typeof wsComponents.secure === 'boolean' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === \"wss\";\n}\n\n//RFC 6455\nconst handler:URISchemeHandler = {\n\tscheme : \"ws\",\n\n\tdomainHost : true,\n\n\tparse : function (components:URIComponents, options:URIOptions):WSComponents {\n\t\tconst wsComponents = components as WSComponents;\n\n\t\t//indicate if the secure flag is set\n\t\twsComponents.secure = isSecure(wsComponents);\n\n\t\t//construct resouce name\n\t\twsComponents.resourceName = (wsComponents.path || '/') + (wsComponents.query ? '?' + wsComponents.query : '');\n\t\twsComponents.path = undefined;\n\t\twsComponents.query = undefined;\n\n\t\treturn wsComponents;\n\t},\n\n\tserialize : function (wsComponents:WSComponents, options:URIOptions):URIComponents {\n\t\t//normalize the default port\n\t\tif (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === \"\") {\n\t\t\twsComponents.port = undefined;\n\t\t}\n\n\t\t//ensure scheme matches secure flag\n\t\tif (typeof wsComponents.secure === 'boolean') {\n\t\t\twsComponents.scheme = (wsComponents.secure ? 'wss' : 'ws');\n\t\t\twsComponents.secure = undefined;\n\t\t}\n\n\t\t//reconstruct path from resource name\n\t\tif (wsComponents.resourceName) {\n\t\t\tconst [path, query] = wsComponents.resourceName.split('?');\n\t\t\twsComponents.path = (path && path !== '/' ? path : undefined);\n\t\t\twsComponents.query = query;\n\t\t\twsComponents.resourceName = undefined;\n\t\t}\n\n\t\t//forbid fragment component\n\t\twsComponents.fragment = undefined;\n\n\t\treturn wsComponents;\n\t}\n};\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\nimport http from \"./http\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"https\",\n\tdomainHost : http.domainHost,\n\tparse : http.parse,\n\tserialize : http.serialize\n}\n\nexport default handler;", "import { URISchemeHandler, URIComponents, URIOptions } from \"../uri\";\n\nconst handler:URISchemeHandler = {\n\tscheme : \"http\",\n\n\tdomainHost : true,\n\n\tparse : function (components:URIComponents, options:URIOptions):URIComponents {\n\t\t//report missing host\n\t\tif (!components.host) {\n\t\t\tcomponents.error = components.error || \"HTTP URIs must have a host.\";\n\t\t}\n\n\t\treturn components;\n\t},\n\n\tserialize : function (components:URIComponents, options:URIOptions):URIComponents {\n\t\tconst secure = String(components.scheme).toLowerCase() === \"https\";\n\n\t\t//normalize the default port\n\t\tif (components.port === (secure ? 443 : 80) || components.port === \"\") {\n\t\t\tcomponents.port = undefined;\n\t\t}\n\t\t\n\t\t//normalize the empty path\n\t\tif (!components.path) {\n\t\t\tcomponents.path = \"/\";\n\t\t}\n\n\t\t//NOTE: We do not parse query strings for HTTP URIs\n\t\t//as WWW Form Url Encoded query strings are part of the HTML4+ spec,\n\t\t//and not the HTTP spec.\n\n\t\treturn components;\n\t}\n};\n\nexport default handler;", "/**\n * URI.js\n *\n * @fileoverview An RFC 3986 compliant, scheme extendable URI parsing/validating/resolving library for JavaScript.\n * @author Gary Court\n * @see http://github.com/garycourt/uri-js\n */\n\n/**\n * Copyright 2011 Gary Court. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification, are\n * permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this list of\n * conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice, this list\n * of conditions and the following disclaimer in the documentation and/or other materials\n * provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n * The views and conclusions contained in the software and documentation are those of the\n * authors and should not be interpreted as representing official policies, either expressed\n * or implied, of Gary Court.\n */\n\nimport URI_PROTOCOL from \"./regexps-uri\";\nimport IRI_PROTOCOL from \"./regexps-iri\";\nimport punycode from \"punycode\";\nimport { toUpperCase, typeOf, assign } from \"./util\";\n\nexport interface URIComponents {\n\tscheme?:string;\n\tuserinfo?:string;\n\thost?:string;\n\tport?:number|string;\n\tpath?:string;\n\tquery?:string;\n\tfragment?:string;\n\treference?:string;\n\terror?:string;\n}\n\nexport interface URIOptions {\n\tscheme?:string;\n\treference?:string;\n\ttolerant?:boolean;\n\tabsolutePath?:boolean;\n\tiri?:boolean;\n\tunicodeSupport?:boolean;\n\tdomainHost?:boolean;\n}\n\nexport interface URISchemeHandler {\n\tscheme:string;\n\tparse(components:ParentComponents, options:Options):Components;\n\tserialize(components:Components, options:Options):ParentComponents;\n\tunicodeSupport?:boolean;\n\tdomainHost?:boolean;\n\tabsolutePath?:boolean;\n}\n\nexport interface URIRegExps {\n\tNOT_SCHEME : RegExp,\n\tNOT_USERINFO : RegExp,\n\tNOT_HOST : RegExp,\n\tNOT_PATH : RegExp,\n\tNOT_PATH_NOSCHEME : RegExp,\n\tNOT_QUERY : RegExp,\n\tNOT_FRAGMENT : RegExp,\n\tESCAPE : RegExp,\n\tUNRESERVED : RegExp,\n\tOTHER_CHARS : RegExp,\n\tPCT_ENCODED : RegExp,\n\tIPV4ADDRESS : RegExp,\n\tIPV6ADDRESS : RegExp,\n}\n\nexport const SCHEMES:{[scheme:string]:URISchemeHandler} = {};\n\nexport function pctEncChar(chr:string):string {\n\tconst c = chr.charCodeAt(0);\n\tlet e:string;\n\n\tif (c < 16) e = \"%0\" + c.toString(16).toUpperCase();\n\telse if (c < 128) e = \"%\" + c.toString(16).toUpperCase();\n\telse if (c < 2048) e = \"%\" + ((c >> 6) | 192).toString(16).toUpperCase() + \"%\" + ((c & 63) | 128).toString(16).toUpperCase();\n\telse e = \"%\" + ((c >> 12) | 224).toString(16).toUpperCase() + \"%\" + (((c >> 6) & 63) | 128).toString(16).toUpperCase() + \"%\" + ((c & 63) | 128).toString(16).toUpperCase();\n\n\treturn e;\n}\n\nexport function pctDecChars(str:string):string {\n\tlet newStr = \"\";\n\tlet i = 0;\n\tconst il = str.length;\n\n\twhile (i < il) {\n\t\tconst c = parseInt(str.substr(i + 1, 2), 16);\n\n\t\tif (c < 128) {\n\t\t\tnewStr += String.fromCharCode(c);\n\t\t\ti += 3;\n\t\t}\n\t\telse if (c >= 194 && c < 224) {\n\t\t\tif ((il - i) >= 6) {\n\t\t\t\tconst c2 = parseInt(str.substr(i + 4, 2), 16);\n\t\t\t\tnewStr += String.fromCharCode(((c & 31) << 6) | (c2 & 63));\n\t\t\t} else {\n\t\t\t\tnewStr += str.substr(i, 6);\n\t\t\t}\n\t\t\ti += 6;\n\t\t}\n\t\telse if (c >= 224) {\n\t\t\tif ((il - i) >= 9) {\n\t\t\t\tconst c2 = parseInt(str.substr(i + 4, 2), 16);\n\t\t\t\tconst c3 = parseInt(str.substr(i + 7, 2), 16);\n\t\t\t\tnewStr += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));\n\t\t\t} else {\n\t\t\t\tnewStr += str.substr(i, 9);\n\t\t\t}\n\t\t\ti += 9;\n\t\t}\n\t\telse {\n\t\t\tnewStr += str.substr(i, 3);\n\t\t\ti += 3;\n\t\t}\n\t}\n\n\treturn newStr;\n}\n\nfunction _normalizeComponentEncoding(components:URIComponents, protocol:URIRegExps) {\n\tfunction decodeUnreserved(str:string):string {\n\t\tconst decStr = pctDecChars(str);\n\t\treturn (!decStr.match(protocol.UNRESERVED) ? str : decStr);\n\t}\n\n\tif (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, \"\");\n\tif (components.userinfo !== undefined) components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.host !== undefined) components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.path !== undefined) components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved).replace((components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME), pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.query !== undefined) components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\tif (components.fragment !== undefined) components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n\n\treturn components;\n};\n\nfunction _stripLeadingZeros(str:string):string {\n\treturn str.replace(/^0*(.*)/, \"$1\") || \"0\";\n}\n\nfunction _normalizeIPv4(host:string, protocol:URIRegExps):string {\n\tconst matches = host.match(protocol.IPV4ADDRESS) || [];\n\tconst [, address] = matches;\n\t\n\tif (address) {\n\t\treturn address.split(\".\").map(_stripLeadingZeros).join(\".\");\n\t} else {\n\t\treturn host;\n\t}\n}\n\nfunction _normalizeIPv6(host:string, protocol:URIRegExps):string {\n\tconst matches = host.match(protocol.IPV6ADDRESS) || [];\n\tconst [, address, zone] = matches;\n\n\tif (address) {\n\t\tconst [last, first] = address.toLowerCase().split('::').reverse();\n\t\tconst firstFields = first ? first.split(\":\").map(_stripLeadingZeros) : [];\n\t\tconst lastFields = last.split(\":\").map(_stripLeadingZeros);\n\t\tconst isLastFieldIPv4Address = protocol.IPV4ADDRESS.test(lastFields[lastFields.length - 1]);\n\t\tconst fieldCount = isLastFieldIPv4Address ? 7 : 8;\n\t\tconst lastFieldsStart = lastFields.length - fieldCount;\n\t\tconst fields = Array(fieldCount);\n\n\t\tfor (let x = 0; x < fieldCount; ++x) {\n\t\t\tfields[x] = firstFields[x] || lastFields[lastFieldsStart + x] || '';\n\t\t}\n\n\t\tif (isLastFieldIPv4Address) {\n\t\t\tfields[fieldCount - 1] = _normalizeIPv4(fields[fieldCount - 1], protocol);\n\t\t}\n\n\t\tconst allZeroFields = fields.reduce>((acc, field, index) => {\n\t\t\tif (!field || field === \"0\") {\n\t\t\t\tconst lastLongest = acc[acc.length - 1];\n\t\t\t\tif (lastLongest && lastLongest.index + lastLongest.length === index) {\n\t\t\t\t\tlastLongest.length++;\n\t\t\t\t} else {\n\t\t\t\t\tacc.push({ index, length : 1 });\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn acc;\n\t\t}, []);\n\n\t\tconst longestZeroFields = allZeroFields.sort((a, b) => b.length - a.length)[0];\n\n\t\tlet newHost:string;\n\t\tif (longestZeroFields && longestZeroFields.length > 1) {\n\t\t\tconst newFirst = fields.slice(0, longestZeroFields.index) ;\n\t\t\tconst newLast = fields.slice(longestZeroFields.index + longestZeroFields.length);\n\t\t\tnewHost = newFirst.join(\":\") + \"::\" + newLast.join(\":\");\n\t\t} else {\n\t\t\tnewHost = fields.join(\":\");\n\t\t}\n\n\t\tif (zone) {\n\t\t\tnewHost += \"%\" + zone;\n\t\t}\n\n\t\treturn newHost;\n\t} else {\n\t\treturn host;\n\t}\n}\n\nconst URI_PARSE = /^(?:([^:\\/?#]+):)?(?:\\/\\/((?:([^\\/?#@]*)@)?(\\[[^\\/?#\\]]+\\]|[^\\/?#:]*)(?:\\:(\\d*))?))?([^?#]*)(?:\\?([^#]*))?(?:#((?:.|\\n|\\r)*))?/i;\nconst NO_MATCH_IS_UNDEFINED = ((\"\").match(/(){0}/))[1] === undefined;\n\nexport function parse(uriString:string, options:URIOptions = {}):URIComponents {\n\tconst components:URIComponents = {};\n\tconst protocol = (options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL);\n\n\tif (options.reference === \"suffix\") uriString = (options.scheme ? options.scheme + \":\" : \"\") + \"//\" + uriString;\n\n\tconst matches = uriString.match(URI_PARSE);\n\n\tif (matches) {\n\t\tif (NO_MATCH_IS_UNDEFINED) {\n\t\t\t//store each component\n\t\t\tcomponents.scheme = matches[1];\n\t\t\tcomponents.userinfo = matches[3];\n\t\t\tcomponents.host = matches[4];\n\t\t\tcomponents.port = parseInt(matches[5], 10);\n\t\t\tcomponents.path = matches[6] || \"\";\n\t\t\tcomponents.query = matches[7];\n\t\t\tcomponents.fragment = matches[8];\n\n\t\t\t//fix port number\n\t\t\tif (isNaN(components.port)) {\n\t\t\t\tcomponents.port = matches[5];\n\t\t\t}\n\t\t} else { //IE FIX for improper RegExp matching\n\t\t\t//store each component\n\t\t\tcomponents.scheme = matches[1] || undefined;\n\t\t\tcomponents.userinfo = (uriString.indexOf(\"@\") !== -1 ? matches[3] : undefined);\n\t\t\tcomponents.host = (uriString.indexOf(\"//\") !== -1 ? matches[4] : undefined);\n\t\t\tcomponents.port = parseInt(matches[5], 10);\n\t\t\tcomponents.path = matches[6] || \"\";\n\t\t\tcomponents.query = (uriString.indexOf(\"?\") !== -1 ? matches[7] : undefined);\n\t\t\tcomponents.fragment = (uriString.indexOf(\"#\") !== -1 ? matches[8] : undefined);\n\n\t\t\t//fix port number\n\t\t\tif (isNaN(components.port)) {\n\t\t\t\tcomponents.port = (uriString.match(/\\/\\/(?:.|\\n)*\\:(?:\\/|\\?|\\#|$)/) ? matches[4] : undefined);\n\t\t\t}\n\t\t}\n\n\t\tif (components.host) {\n\t\t\t//normalize IP hosts\n\t\t\tcomponents.host = _normalizeIPv6(_normalizeIPv4(components.host, protocol), protocol);\n\t\t}\n\n\t\t//determine reference type\n\t\tif (components.scheme === undefined && components.userinfo === undefined && components.host === undefined && components.port === undefined && !components.path && components.query === undefined) {\n\t\t\tcomponents.reference = \"same-document\";\n\t\t} else if (components.scheme === undefined) {\n\t\t\tcomponents.reference = \"relative\";\n\t\t} else if (components.fragment === undefined) {\n\t\t\tcomponents.reference = \"absolute\";\n\t\t} else {\n\t\t\tcomponents.reference = \"uri\";\n\t\t}\n\n\t\t//check for reference errors\n\t\tif (options.reference && options.reference !== \"suffix\" && options.reference !== components.reference) {\n\t\t\tcomponents.error = components.error || \"URI is not a \" + options.reference + \" reference.\";\n\t\t}\n\n\t\t//find scheme handler\n\t\tconst schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n\n\t\t//check if scheme can't handle IRIs\n\t\tif (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {\n\t\t\t//if host component is a domain name\n\t\t\tif (components.host && (options.domainHost || (schemeHandler && schemeHandler.domainHost))) {\n\t\t\t\t//convert Unicode IDN -> ASCII IDN\n\t\t\t\ttry {\n\t\t\t\t\tcomponents.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase());\n\t\t\t\t} catch (e) {\n\t\t\t\t\tcomponents.error = components.error || \"Host's domain name can not be converted to ASCII via punycode: \" + e;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//convert IRI -> URI\n\t\t\t_normalizeComponentEncoding(components, URI_PROTOCOL);\n\t\t} else {\n\t\t\t//normalize encodings\n\t\t\t_normalizeComponentEncoding(components, protocol);\n\t\t}\n\n\t\t//perform scheme specific parsing\n\t\tif (schemeHandler && schemeHandler.parse) {\n\t\t\tschemeHandler.parse(components, options);\n\t\t}\n\t} else {\n\t\tcomponents.error = components.error || \"URI can not be parsed.\";\n\t}\n\n\treturn components;\n};\n\nfunction _recomposeAuthority(components:URIComponents, options:URIOptions):string|undefined {\n\tconst protocol = (options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL);\n\tconst uriTokens:Array = [];\n\n\tif (components.userinfo !== undefined) {\n\t\turiTokens.push(components.userinfo);\n\t\turiTokens.push(\"@\");\n\t}\n\n\tif (components.host !== undefined) {\n\t\t//normalize IP hosts, add brackets and escape zone separator for IPv6\n\t\turiTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host), protocol), protocol).replace(protocol.IPV6ADDRESS, (_, $1, $2) => \"[\" + $1 + ($2 ? \"%25\" + $2 : \"\") + \"]\"));\n\t}\n\n\tif (typeof components.port === \"number\" || typeof components.port === \"string\") {\n\t\turiTokens.push(\":\");\n\t\turiTokens.push(String(components.port));\n\t}\n\n\treturn uriTokens.length ? uriTokens.join(\"\") : undefined;\n};\n\nconst RDS1 = /^\\.\\.?\\//;\nconst RDS2 = /^\\/\\.(\\/|$)/;\nconst RDS3 = /^\\/\\.\\.(\\/|$)/;\nconst RDS4 = /^\\.\\.?$/;\nconst RDS5 = /^\\/?(?:.|\\n)*?(?=\\/|$)/;\n\nexport function removeDotSegments(input:string):string {\n\tconst output:Array = [];\n\n\twhile (input.length) {\n\t\tif (input.match(RDS1)) {\n\t\t\tinput = input.replace(RDS1, \"\");\n\t\t} else if (input.match(RDS2)) {\n\t\t\tinput = input.replace(RDS2, \"/\");\n\t\t} else if (input.match(RDS3)) {\n\t\t\tinput = input.replace(RDS3, \"/\");\n\t\t\toutput.pop();\n\t\t} else if (input === \".\" || input === \"..\") {\n\t\t\tinput = \"\";\n\t\t} else {\n\t\t\tconst im = input.match(RDS5);\n\t\t\tif (im) {\n\t\t\t\tconst s = im[0];\n\t\t\t\tinput = input.slice(s.length);\n\t\t\t\toutput.push(s);\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Unexpected dot segment condition\");\n\t\t\t}\n\t\t}\n\t}\n\n\treturn output.join(\"\");\n};\n\nexport function serialize(components:URIComponents, options:URIOptions = {}):string {\n\tconst protocol = (options.iri ? IRI_PROTOCOL : URI_PROTOCOL);\n\tconst uriTokens:Array = [];\n\n\t//find scheme handler\n\tconst schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n\n\t//perform scheme specific serialization\n\tif (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(components, options);\n\n\tif (components.host) {\n\t\t//if host component is an IPv6 address\n\t\tif (protocol.IPV6ADDRESS.test(components.host)) {\n\t\t\t//TODO: normalize IPv6 address as per RFC 5952\n\t\t}\n\n\t\t//if host component is a domain name\n\t\telse if (options.domainHost || (schemeHandler && schemeHandler.domainHost)) {\n\t\t\t//convert IDN via punycode\n\t\t\ttry {\n\t\t\t\tcomponents.host = (!options.iri ? punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase()) : punycode.toUnicode(components.host));\n\t\t\t} catch (e) {\n\t\t\t\tcomponents.error = components.error || \"Host's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n\t\t\t}\n\t\t}\n\t}\n\n\t//normalize encoding\n\t_normalizeComponentEncoding(components, protocol);\n\n\tif (options.reference !== \"suffix\" && components.scheme) {\n\t\turiTokens.push(components.scheme);\n\t\turiTokens.push(\":\");\n\t}\n\n\tconst authority = _recomposeAuthority(components, options);\n\tif (authority !== undefined) {\n\t\tif (options.reference !== \"suffix\") {\n\t\t\turiTokens.push(\"//\");\n\t\t}\n\n\t\turiTokens.push(authority);\n\n\t\tif (components.path && components.path.charAt(0) !== \"/\") {\n\t\t\turiTokens.push(\"/\");\n\t\t}\n\t}\n\n\tif (components.path !== undefined) {\n\t\tlet s = components.path;\n\n\t\tif (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {\n\t\t\ts = removeDotSegments(s);\n\t\t}\n\n\t\tif (authority === undefined) {\n\t\t\ts = s.replace(/^\\/\\//, \"/%2F\"); //don't allow the path to start with \"//\"\n\t\t}\n\n\t\turiTokens.push(s);\n\t}\n\n\tif (components.query !== undefined) {\n\t\turiTokens.push(\"?\");\n\t\turiTokens.push(components.query);\n\t}\n\n\tif (components.fragment !== undefined) {\n\t\turiTokens.push(\"#\");\n\t\turiTokens.push(components.fragment);\n\t}\n\n\treturn uriTokens.join(\"\"); //merge tokens into a string\n};\n\nexport function resolveComponents(base:URIComponents, relative:URIComponents, options:URIOptions = {}, skipNormalization?:boolean):URIComponents {\n\tconst target:URIComponents = {};\n\n\tif (!skipNormalization) {\n\t\tbase = parse(serialize(base, options), options); //normalize base components\n\t\trelative = parse(serialize(relative, options), options); //normalize relative components\n\t}\n\toptions = options || {};\n\n\tif (!options.tolerant && relative.scheme) {\n\t\ttarget.scheme = relative.scheme;\n\t\t//target.authority = relative.authority;\n\t\ttarget.userinfo = relative.userinfo;\n\t\ttarget.host = relative.host;\n\t\ttarget.port = relative.port;\n\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\ttarget.query = relative.query;\n\t} else {\n\t\tif (relative.userinfo !== undefined || relative.host !== undefined || relative.port !== undefined) {\n\t\t\t//target.authority = relative.authority;\n\t\t\ttarget.userinfo = relative.userinfo;\n\t\t\ttarget.host = relative.host;\n\t\t\ttarget.port = relative.port;\n\t\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\t\ttarget.query = relative.query;\n\t\t} else {\n\t\t\tif (!relative.path) {\n\t\t\t\ttarget.path = base.path;\n\t\t\t\tif (relative.query !== undefined) {\n\t\t\t\t\ttarget.query = relative.query;\n\t\t\t\t} else {\n\t\t\t\t\ttarget.query = base.query;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (relative.path.charAt(0) === \"/\") {\n\t\t\t\t\ttarget.path = removeDotSegments(relative.path);\n\t\t\t\t} else {\n\t\t\t\t\tif ((base.userinfo !== undefined || base.host !== undefined || base.port !== undefined) && !base.path) {\n\t\t\t\t\t\ttarget.path = \"/\" + relative.path;\n\t\t\t\t\t} else if (!base.path) {\n\t\t\t\t\t\ttarget.path = relative.path;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttarget.path = base.path.slice(0, base.path.lastIndexOf(\"/\") + 1) + relative.path;\n\t\t\t\t\t}\n\t\t\t\t\ttarget.path = removeDotSegments(target.path);\n\t\t\t\t}\n\t\t\t\ttarget.query = relative.query;\n\t\t\t}\n\t\t\t//target.authority = base.authority;\n\t\t\ttarget.userinfo = base.userinfo;\n\t\t\ttarget.host = base.host;\n\t\t\ttarget.port = base.port;\n\t\t}\n\t\ttarget.scheme = base.scheme;\n\t}\n\n\ttarget.fragment = relative.fragment;\n\n\treturn target;\n};\n\nexport function resolve(baseURI:string, relativeURI:string, options?:URIOptions):string {\n\tconst schemelessOptions = assign({ scheme : 'null' }, options);\n\treturn serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions);\n};\n\nexport function normalize(uri:string, options?:URIOptions):string;\nexport function normalize(uri:URIComponents, options?:URIOptions):URIComponents;\nexport function normalize(uri:any, options?:URIOptions):any {\n\tif (typeof uri === \"string\") {\n\t\turi = serialize(parse(uri, options), options);\n\t} else if (typeOf(uri) === \"object\") {\n\t\turi = parse(serialize(uri, options), options);\n\t}\n\n\treturn uri;\n};\n\nexport function equal(uriA:string, uriB:string, options?: URIOptions):boolean;\nexport function equal(uriA:URIComponents, uriB:URIComponents, options?:URIOptions):boolean;\nexport function equal(uriA:any, uriB:any, options?:URIOptions):boolean {\n\tif (typeof uriA === \"string\") {\n\t\turiA = serialize(parse(uriA, options), options);\n\t} else if (typeOf(uriA) === \"object\") {\n\t\turiA = serialize(uriA, options);\n\t}\n\n\tif (typeof uriB === \"string\") {\n\t\turiB = serialize(parse(uriB, options), options);\n\t} else if (typeOf(uriB) === \"object\") {\n\t\turiB = serialize(uriB, options);\n\t}\n\n\treturn uriA === uriB;\n};\n\nexport function escapeComponent(str:string, options?:URIOptions):string {\n\treturn str && str.toString().replace((!options || !options.iri ? URI_PROTOCOL.ESCAPE : IRI_PROTOCOL.ESCAPE), pctEncChar);\n};\n\nexport function unescapeComponent(str:string, options?:URIOptions):string {\n\treturn str && str.toString().replace((!options || !options.iri ? URI_PROTOCOL.PCT_ENCODED : IRI_PROTOCOL.PCT_ENCODED), pctDecChars);\n};\n", "'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7E]/; // non-ASCII chars\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, fn) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = fn(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {Array} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(string, fn) {\n\tconst parts = string.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tstring = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tstring = string.replace(regexSeparators, '\\x2E');\n\tconst labels = string.split('.');\n\tconst encoded = map(labels, fn).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see \n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = array => String.fromCodePoint(...array);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint - 0x30 < 0x0A) {\n\t\treturn codePoint - 0x16;\n\t}\n\tif (codePoint - 0x41 < 0x1A) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint - 0x61 < 0x1A) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tlet oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tlet inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tlet basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue == n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.1.0',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see \n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport default punycode;\n", "import { URIRegExps } from \"./uri\";\nimport { buildExps } from \"./regexps-uri\";\n\nexport default buildExps(true);\n", "import { URIRegExps } from \"./uri\";\nimport { merge, subexp } from \"./util\";\n\nexport function buildExps(isIRI:boolean):URIRegExps {\n\tconst\n\t\tALPHA$$ = \"[A-Za-z]\",\n\t\tCR$ = \"[\\\\x0D]\",\n\t\tDIGIT$$ = \"[0-9]\",\n\t\tDQUOTE$$ = \"[\\\\x22]\",\n\t\tHEXDIG$$ = merge(DIGIT$$, \"[A-Fa-f]\"), //case-insensitive\n\t\tLF$$ = \"[\\\\x0A]\",\n\t\tSP$$ = \"[\\\\x20]\",\n\t\tPCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)), //expanded\n\t\tGEN_DELIMS$$ = \"[\\\\:\\\\/\\\\?\\\\#\\\\[\\\\]\\\\@]\",\n\t\tSUB_DELIMS$$ = \"[\\\\!\\\\$\\\\&\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\=]\",\n\t\tRESERVED$$ = merge(GEN_DELIMS$$, SUB_DELIMS$$),\n\t\tUCSCHAR$$ = isIRI ? \"[\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF]\" : \"[]\", //subset, excludes bidi control characters\n\t\tIPRIVATE$$ = isIRI ? \"[\\\\uE000-\\\\uF8FF]\" : \"[]\", //subset\n\t\tUNRESERVED$$ = merge(ALPHA$$, DIGIT$$, \"[\\\\-\\\\.\\\\_\\\\~]\", UCSCHAR$$),\n\t\tSCHEME$ = subexp(ALPHA$$ + merge(ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\") + \"*\"),\n\t\tUSERINFO$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\")) + \"*\"),\n\t\tDEC_OCTET$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"[1-9]\" + DIGIT$$) + \"|\" + DIGIT$$),\n\t\tDEC_OCTET_RELAXED$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"0?[1-9]\" + DIGIT$$) + \"|0?0?\" + DIGIT$$), //relaxed parsing rules\n\t\tIPV4ADDRESS$ = subexp(DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$),\n\t\tH16$ = subexp(HEXDIG$$ + \"{1,4}\"),\n\t\tLS32$ = subexp(subexp(H16$ + \"\\\\:\" + H16$) + \"|\" + IPV4ADDRESS$),\n\t\tIPV6ADDRESS1$ = subexp( subexp(H16$ + \"\\\\:\") + \"{6}\" + LS32$), // 6( h16 \":\" ) ls32\n\t\tIPV6ADDRESS2$ = subexp( \"\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{5}\" + LS32$), // \"::\" 5( h16 \":\" ) ls32\n\t\tIPV6ADDRESS3$ = subexp(subexp( H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{4}\" + LS32$), //[ h16 ] \"::\" 4( h16 \":\" ) ls32\n\t\tIPV6ADDRESS4$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,1}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{3}\" + LS32$), //[ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\n\t\tIPV6ADDRESS5$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,2}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{2}\" + LS32$), //[ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\n\t\tIPV6ADDRESS6$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,3}\" + H16$) + \"?\\\\:\\\\:\" + H16$ + \"\\\\:\" + LS32$), //[ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\n\t\tIPV6ADDRESS7$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,4}\" + H16$) + \"?\\\\:\\\\:\" + LS32$), //[ *4( h16 \":\" ) h16 ] \"::\" ls32\n\t\tIPV6ADDRESS8$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,5}\" + H16$) + \"?\\\\:\\\\:\" + H16$ ), //[ *5( h16 \":\" ) h16 ] \"::\" h16\n\t\tIPV6ADDRESS9$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,6}\" + H16$) + \"?\\\\:\\\\:\" ), //[ *6( h16 \":\" ) h16 ] \"::\"\n\t\tIPV6ADDRESS$ = subexp([IPV6ADDRESS1$, IPV6ADDRESS2$, IPV6ADDRESS3$, IPV6ADDRESS4$, IPV6ADDRESS5$, IPV6ADDRESS6$, IPV6ADDRESS7$, IPV6ADDRESS8$, IPV6ADDRESS9$].join(\"|\")),\n\t\tZONEID$ = subexp(subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$) + \"+\"), //RFC 6874\n\t\tIPV6ADDRZ$ = subexp(IPV6ADDRESS$ + \"\\\\%25\" + ZONEID$), //RFC 6874\n\t\tIPV6ADDRZ_RELAXED$ = subexp(IPV6ADDRESS$ + subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + ZONEID$), //RFC 6874, with relaxed parsing rules\n\t\tIPVFUTURE$ = subexp(\"[vV]\" + HEXDIG$$ + \"+\\\\.\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\") + \"+\"),\n\t\tIP_LITERAL$ = subexp(\"\\\\[\" + subexp(IPV6ADDRZ_RELAXED$ + \"|\" + IPV6ADDRESS$ + \"|\" + IPVFUTURE$) + \"\\\\]\"), //RFC 6874\n\t\tREG_NAME$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$)) + \"*\"),\n\t\tHOST$ = subexp(IP_LITERAL$ + \"|\" + IPV4ADDRESS$ + \"(?!\" + REG_NAME$ + \")\" + \"|\" + REG_NAME$),\n\t\tPORT$ = subexp(DIGIT$$ + \"*\"),\n\t\tAUTHORITY$ = subexp(subexp(USERINFO$ + \"@\") + \"?\" + HOST$ + subexp(\"\\\\:\" + PORT$) + \"?\"),\n\t\tPCHAR$ = subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@]\")),\n\t\tSEGMENT$ = subexp(PCHAR$ + \"*\"),\n\t\tSEGMENT_NZ$ = subexp(PCHAR$ + \"+\"),\n\t\tSEGMENT_NZ_NC$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\@]\")) + \"+\"),\n\t\tPATH_ABEMPTY$ = subexp(subexp(\"\\\\/\" + SEGMENT$) + \"*\"),\n\t\tPATH_ABSOLUTE$ = subexp(\"\\\\/\" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + \"?\"), //simplified\n\t\tPATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$), //simplified\n\t\tPATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$), //simplified\n\t\tPATH_EMPTY$ = \"(?!\" + PCHAR$ + \")\",\n\t\tPATH$ = subexp(PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n\t\tQUERY$ = subexp(subexp(PCHAR$ + \"|\" + merge(\"[\\\\/\\\\?]\", IPRIVATE$$)) + \"*\"),\n\t\tFRAGMENT$ = subexp(subexp(PCHAR$ + \"|[\\\\/\\\\?]\") + \"*\"),\n\t\tHIER_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n\t\tURI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n\t\tRELATIVE_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$),\n\t\tRELATIVE$ = subexp(RELATIVE_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n\t\tURI_REFERENCE$ = subexp(URI$ + \"|\" + RELATIVE$),\n\t\tABSOLUTE_URI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\"),\n\n\t\tGENERIC_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tRELATIVE_REF$ = \"^(){0}\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tABSOLUTE_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?$\",\n\t\tSAMEDOC_REF$ = \"^\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n\t\tAUTHORITY_REF$ = \"^\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?$\"\n\t;\n\n\treturn {\n\t\tNOT_SCHEME : new RegExp(merge(\"[^]\", ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\"), \"g\"),\n\t\tNOT_USERINFO : new RegExp(merge(\"[^\\\\%\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_HOST : new RegExp(merge(\"[^\\\\%\\\\[\\\\]\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_PATH : new RegExp(merge(\"[^\\\\%\\\\/\\\\:\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_PATH_NOSCHEME : new RegExp(merge(\"[^\\\\%\\\\/\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tNOT_QUERY : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\", IPRIVATE$$), \"g\"),\n\t\tNOT_FRAGMENT : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\"), \"g\"),\n\t\tESCAPE : new RegExp(merge(\"[^]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n\t\tUNRESERVED : new RegExp(UNRESERVED$$, \"g\"),\n\t\tOTHER_CHARS : new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, RESERVED$$), \"g\"),\n\t\tPCT_ENCODED : new RegExp(PCT_ENCODED$, \"g\"),\n\t\tIPV4ADDRESS : new RegExp(\"^(\" + IPV4ADDRESS$ + \")$\"),\n\t\tIPV6ADDRESS : new RegExp(\"^\\\\[?(\" + IPV6ADDRESS$ + \")\" + subexp(subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + \"(\" + ZONEID$ + \")\") + \"?\\\\]?$\") //RFC 6874, with relaxed parsing rules\n\t};\n}\n\nexport default buildExps(false);\n", "export function merge(...sets:Array):string {\n\tif (sets.length > 1) {\n\t\tsets[0] = sets[0].slice(0, -1);\n\t\tconst xl = sets.length - 1;\n\t\tfor (let x = 1; x < xl; ++x) {\n\t\t\tsets[x] = sets[x].slice(1, -1);\n\t\t}\n\t\tsets[xl] = sets[xl].slice(1);\n\t\treturn sets.join('');\n\t} else {\n\t\treturn sets[0];\n\t}\n}\n\nexport function subexp(str:string):string {\n\treturn \"(?:\" + str + \")\";\n}\n\nexport function typeOf(o:any):string {\n\treturn o === undefined ? \"undefined\" : (o === null ? \"null\" : Object.prototype.toString.call(o).split(\" \").pop().split(\"]\").shift().toLowerCase());\n}\n\nexport function toUpperCase(str:string):string {\n\treturn str.toUpperCase();\n}\n\nexport function toArray(obj:any):Array {\n\treturn obj !== undefined && obj !== null ? (obj instanceof Array ? obj : (typeof obj.length !== \"number\" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj))) : [];\n}\n\n\nexport function assign(target: object, source: any): any {\n\tconst obj = target as any;\n\tif (source) {\n\t\tfor (const key in source) {\n\t\t\tobj[key] = source[key];\n\t\t}\n\t}\n\treturn obj;\n}", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "export * from './client'\nexport { default } from './client'\nexport * from './session'\nexport { default as sessionClient } from './session'\n", "var util;\n(function (util) {\n util.assertEqual = (val) => val;\n function assertIs(_arg) { }\n util.assertIs = assertIs;\n function assertNever(_x) {\n throw new Error();\n }\n util.assertNever = assertNever;\n util.arrayToEnum = (items) => {\n const obj = {};\n for (const item of items) {\n obj[item] = item;\n }\n return obj;\n };\n util.getValidEnumValues = (obj) => {\n const validKeys = util.objectKeys(obj).filter((k) => typeof obj[obj[k]] !== \"number\");\n const filtered = {};\n for (const k of validKeys) {\n filtered[k] = obj[k];\n }\n return util.objectValues(filtered);\n };\n util.objectValues = (obj) => {\n return util.objectKeys(obj).map(function (e) {\n return obj[e];\n });\n };\n util.objectKeys = typeof Object.keys === \"function\" // eslint-disable-line ban/ban\n ? (obj) => Object.keys(obj) // eslint-disable-line ban/ban\n : (object) => {\n const keys = [];\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n keys.push(key);\n }\n }\n return keys;\n };\n util.find = (arr, checker) => {\n for (const item of arr) {\n if (checker(item))\n return item;\n }\n return undefined;\n };\n util.isInteger = typeof Number.isInteger === \"function\"\n ? (val) => Number.isInteger(val) // eslint-disable-line ban/ban\n : (val) => typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n function joinValues(array, separator = \" | \") {\n return array\n .map((val) => (typeof val === \"string\" ? `'${val}'` : val))\n .join(separator);\n }\n util.joinValues = joinValues;\n util.jsonStringifyReplacer = (_, value) => {\n if (typeof value === \"bigint\") {\n return value.toString();\n }\n return value;\n };\n})(util || (util = {}));\nconst ZodParsedType = util.arrayToEnum([\n \"string\",\n \"nan\",\n \"number\",\n \"integer\",\n \"float\",\n \"boolean\",\n \"date\",\n \"bigint\",\n \"symbol\",\n \"function\",\n \"undefined\",\n \"null\",\n \"array\",\n \"object\",\n \"unknown\",\n \"promise\",\n \"void\",\n \"never\",\n \"map\",\n \"set\",\n]);\nconst getParsedType = (data) => {\n const t = typeof data;\n switch (t) {\n case \"undefined\":\n return ZodParsedType.undefined;\n case \"string\":\n return ZodParsedType.string;\n case \"number\":\n return isNaN(data) ? ZodParsedType.nan : ZodParsedType.number;\n case \"boolean\":\n return ZodParsedType.boolean;\n case \"function\":\n return ZodParsedType.function;\n case \"bigint\":\n return ZodParsedType.bigint;\n case \"object\":\n if (Array.isArray(data)) {\n return ZodParsedType.array;\n }\n if (data === null) {\n return ZodParsedType.null;\n }\n if (data.then &&\n typeof data.then === \"function\" &&\n data.catch &&\n typeof data.catch === \"function\") {\n return ZodParsedType.promise;\n }\n if (typeof Map !== \"undefined\" && data instanceof Map) {\n return ZodParsedType.map;\n }\n if (typeof Set !== \"undefined\" && data instanceof Set) {\n return ZodParsedType.set;\n }\n if (typeof Date !== \"undefined\" && data instanceof Date) {\n return ZodParsedType.date;\n }\n return ZodParsedType.object;\n default:\n return ZodParsedType.unknown;\n }\n};\n\nconst ZodIssueCode = util.arrayToEnum([\n \"invalid_type\",\n \"invalid_literal\",\n \"custom\",\n \"invalid_union\",\n \"invalid_union_discriminator\",\n \"invalid_enum_value\",\n \"unrecognized_keys\",\n \"invalid_arguments\",\n \"invalid_return_type\",\n \"invalid_date\",\n \"invalid_string\",\n \"too_small\",\n \"too_big\",\n \"invalid_intersection_types\",\n \"not_multiple_of\",\n]);\nconst quotelessJson = (obj) => {\n const json = JSON.stringify(obj, null, 2);\n return json.replace(/\"([^\"]+)\":/g, \"$1:\");\n};\nclass ZodError extends Error {\n constructor(issues) {\n super();\n this.issues = [];\n this.addIssue = (sub) => {\n this.issues = [...this.issues, sub];\n };\n this.addIssues = (subs = []) => {\n this.issues = [...this.issues, ...subs];\n };\n const actualProto = new.target.prototype;\n if (Object.setPrototypeOf) {\n // eslint-disable-next-line ban/ban\n Object.setPrototypeOf(this, actualProto);\n }\n else {\n this.__proto__ = actualProto;\n }\n this.name = \"ZodError\";\n this.issues = issues;\n }\n get errors() {\n return this.issues;\n }\n format(_mapper) {\n const mapper = _mapper ||\n function (issue) {\n return issue.message;\n };\n const fieldErrors = { _errors: [] };\n const processError = (error) => {\n for (const issue of error.issues) {\n if (issue.code === \"invalid_union\") {\n issue.unionErrors.map(processError);\n }\n else if (issue.code === \"invalid_return_type\") {\n processError(issue.returnTypeError);\n }\n else if (issue.code === \"invalid_arguments\") {\n processError(issue.argumentsError);\n }\n else if (issue.path.length === 0) {\n fieldErrors._errors.push(mapper(issue));\n }\n else {\n let curr = fieldErrors;\n let i = 0;\n while (i < issue.path.length) {\n const el = issue.path[i];\n const terminal = i === issue.path.length - 1;\n if (!terminal) {\n curr[el] = curr[el] || { _errors: [] };\n // if (typeof el === \"string\") {\n // curr[el] = curr[el] || { _errors: [] };\n // } else if (typeof el === \"number\") {\n // const errorArray: any = [];\n // errorArray._errors = [];\n // curr[el] = curr[el] || errorArray;\n // }\n }\n else {\n curr[el] = curr[el] || { _errors: [] };\n curr[el]._errors.push(mapper(issue));\n }\n curr = curr[el];\n i++;\n }\n }\n }\n };\n processError(this);\n return fieldErrors;\n }\n toString() {\n return this.message;\n }\n get message() {\n return JSON.stringify(this.issues, util.jsonStringifyReplacer, 2);\n }\n get isEmpty() {\n return this.issues.length === 0;\n }\n flatten(mapper = (issue) => issue.message) {\n const fieldErrors = {};\n const formErrors = [];\n for (const sub of this.issues) {\n if (sub.path.length > 0) {\n fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];\n fieldErrors[sub.path[0]].push(mapper(sub));\n }\n else {\n formErrors.push(mapper(sub));\n }\n }\n return { formErrors, fieldErrors };\n }\n get formErrors() {\n return this.flatten();\n }\n}\nZodError.create = (issues) => {\n const error = new ZodError(issues);\n return error;\n};\n\nconst errorMap = (issue, _ctx) => {\n let message;\n switch (issue.code) {\n case ZodIssueCode.invalid_type:\n if (issue.received === ZodParsedType.undefined) {\n message = \"Required\";\n }\n else {\n message = `Expected ${issue.expected}, received ${issue.received}`;\n }\n break;\n case ZodIssueCode.invalid_literal:\n message = `Invalid literal value, expected ${JSON.stringify(issue.expected, util.jsonStringifyReplacer)}`;\n break;\n case ZodIssueCode.unrecognized_keys:\n message = `Unrecognized key(s) in object: ${util.joinValues(issue.keys, \", \")}`;\n break;\n case ZodIssueCode.invalid_union:\n message = `Invalid input`;\n break;\n case ZodIssueCode.invalid_union_discriminator:\n message = `Invalid discriminator value. Expected ${util.joinValues(issue.options)}`;\n break;\n case ZodIssueCode.invalid_enum_value:\n message = `Invalid enum value. Expected ${util.joinValues(issue.options)}, received '${issue.received}'`;\n break;\n case ZodIssueCode.invalid_arguments:\n message = `Invalid function arguments`;\n break;\n case ZodIssueCode.invalid_return_type:\n message = `Invalid function return type`;\n break;\n case ZodIssueCode.invalid_date:\n message = `Invalid date`;\n break;\n case ZodIssueCode.invalid_string:\n if (typeof issue.validation === \"object\") {\n if (\"startsWith\" in issue.validation) {\n message = `Invalid input: must start with \"${issue.validation.startsWith}\"`;\n }\n else if (\"endsWith\" in issue.validation) {\n message = `Invalid input: must end with \"${issue.validation.endsWith}\"`;\n }\n else {\n util.assertNever(issue.validation);\n }\n }\n else if (issue.validation !== \"regex\") {\n message = `Invalid ${issue.validation}`;\n }\n else {\n message = \"Invalid\";\n }\n break;\n case ZodIssueCode.too_small:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.inclusive ? `at least` : `more than`} ${issue.minimum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be greater than ${issue.inclusive ? `or equal to ` : ``}${issue.minimum}`;\n else if (issue.type === \"date\")\n message = `Date must be greater than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.minimum)}`;\n else\n message = \"Invalid input\";\n break;\n case ZodIssueCode.too_big:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.inclusive ? `at most` : `less than`} ${issue.maximum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.inclusive ? `at most` : `under`} ${issue.maximum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be less than ${issue.inclusive ? `or equal to ` : ``}${issue.maximum}`;\n else if (issue.type === \"date\")\n message = `Date must be smaller than ${issue.inclusive ? `or equal to ` : ``}${new Date(issue.maximum)}`;\n else\n message = \"Invalid input\";\n break;\n case ZodIssueCode.custom:\n message = `Invalid input`;\n break;\n case ZodIssueCode.invalid_intersection_types:\n message = `Intersection results could not be merged`;\n break;\n case ZodIssueCode.not_multiple_of:\n message = `Number must be a multiple of ${issue.multipleOf}`;\n break;\n default:\n message = _ctx.defaultError;\n util.assertNever(issue);\n }\n return { message };\n};\n\nlet overrideErrorMap = errorMap;\nfunction setErrorMap(map) {\n overrideErrorMap = map;\n}\nfunction getErrorMap() {\n return overrideErrorMap;\n}\n\nconst makeIssue = (params) => {\n const { data, path, errorMaps, issueData } = params;\n const fullPath = [...path, ...(issueData.path || [])];\n const fullIssue = {\n ...issueData,\n path: fullPath,\n };\n let errorMessage = \"\";\n const maps = errorMaps\n .filter((m) => !!m)\n .slice()\n .reverse();\n for (const map of maps) {\n errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;\n }\n return {\n ...issueData,\n path: fullPath,\n message: issueData.message || errorMessage,\n };\n};\nconst EMPTY_PATH = [];\nfunction addIssueToContext(ctx, issueData) {\n const issue = makeIssue({\n issueData: issueData,\n data: ctx.data,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n getErrorMap(),\n errorMap,\n ].filter((x) => !!x),\n });\n ctx.common.issues.push(issue);\n}\nclass ParseStatus {\n constructor() {\n this.value = \"valid\";\n }\n dirty() {\n if (this.value === \"valid\")\n this.value = \"dirty\";\n }\n abort() {\n if (this.value !== \"aborted\")\n this.value = \"aborted\";\n }\n static mergeArray(status, results) {\n const arrayValue = [];\n for (const s of results) {\n if (s.status === \"aborted\")\n return INVALID;\n if (s.status === \"dirty\")\n status.dirty();\n arrayValue.push(s.value);\n }\n return { status: status.value, value: arrayValue };\n }\n static async mergeObjectAsync(status, pairs) {\n const syncPairs = [];\n for (const pair of pairs) {\n syncPairs.push({\n key: await pair.key,\n value: await pair.value,\n });\n }\n return ParseStatus.mergeObjectSync(status, syncPairs);\n }\n static mergeObjectSync(status, pairs) {\n const finalObject = {};\n for (const pair of pairs) {\n const { key, value } = pair;\n if (key.status === \"aborted\")\n return INVALID;\n if (value.status === \"aborted\")\n return INVALID;\n if (key.status === \"dirty\")\n status.dirty();\n if (value.status === \"dirty\")\n status.dirty();\n if (typeof value.value !== \"undefined\" || pair.alwaysSet) {\n finalObject[key.value] = value.value;\n }\n }\n return { status: status.value, value: finalObject };\n }\n}\nconst INVALID = Object.freeze({\n status: \"aborted\",\n});\nconst DIRTY = (value) => ({ status: \"dirty\", value });\nconst OK = (value) => ({ status: \"valid\", value });\nconst isAborted = (x) => x.status === \"aborted\";\nconst isDirty = (x) => x.status === \"dirty\";\nconst isValid = (x) => x.status === \"valid\";\nconst isAsync = (x) => typeof Promise !== undefined && x instanceof Promise;\n\nvar errorUtil;\n(function (errorUtil) {\n errorUtil.errToObj = (message) => typeof message === \"string\" ? { message } : message || {};\n errorUtil.toString = (message) => typeof message === \"string\" ? message : message === null || message === void 0 ? void 0 : message.message;\n})(errorUtil || (errorUtil = {}));\n\nclass ParseInputLazyPath {\n constructor(parent, value, path, key) {\n this.parent = parent;\n this.data = value;\n this._path = path;\n this._key = key;\n }\n get path() {\n return this._path.concat(this._key);\n }\n}\nconst handleResult = (ctx, result) => {\n if (isValid(result)) {\n return { success: true, data: result.value };\n }\n else {\n if (!ctx.common.issues.length) {\n throw new Error(\"Validation failed but no issues detected.\");\n }\n const error = new ZodError(ctx.common.issues);\n return { success: false, error };\n }\n};\nfunction processCreateParams(params) {\n if (!params)\n return {};\n const { errorMap, invalid_type_error, required_error, description } = params;\n if (errorMap && (invalid_type_error || required_error)) {\n throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);\n }\n if (errorMap)\n return { errorMap: errorMap, description };\n const customMap = (iss, ctx) => {\n if (iss.code !== \"invalid_type\")\n return { message: ctx.defaultError };\n if (typeof ctx.data === \"undefined\") {\n return { message: required_error !== null && required_error !== void 0 ? required_error : ctx.defaultError };\n }\n return { message: invalid_type_error !== null && invalid_type_error !== void 0 ? invalid_type_error : ctx.defaultError };\n };\n return { errorMap: customMap, description };\n}\nclass ZodType {\n constructor(def) {\n /** Alias of safeParseAsync */\n this.spa = this.safeParseAsync;\n this.superRefine = this._refinement;\n this._def = def;\n this.parse = this.parse.bind(this);\n this.safeParse = this.safeParse.bind(this);\n this.parseAsync = this.parseAsync.bind(this);\n this.safeParseAsync = this.safeParseAsync.bind(this);\n this.spa = this.spa.bind(this);\n this.refine = this.refine.bind(this);\n this.refinement = this.refinement.bind(this);\n this.superRefine = this.superRefine.bind(this);\n this.optional = this.optional.bind(this);\n this.nullable = this.nullable.bind(this);\n this.nullish = this.nullish.bind(this);\n this.array = this.array.bind(this);\n this.promise = this.promise.bind(this);\n this.or = this.or.bind(this);\n this.and = this.and.bind(this);\n this.transform = this.transform.bind(this);\n this.default = this.default.bind(this);\n this.describe = this.describe.bind(this);\n this.isNullable = this.isNullable.bind(this);\n this.isOptional = this.isOptional.bind(this);\n }\n get description() {\n return this._def.description;\n }\n _getType(input) {\n return getParsedType(input.data);\n }\n _getOrReturnCtx(input, ctx) {\n return (ctx || {\n common: input.parent.common,\n data: input.data,\n parsedType: getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n });\n }\n _processInputParams(input) {\n return {\n status: new ParseStatus(),\n ctx: {\n common: input.parent.common,\n data: input.data,\n parsedType: getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n },\n };\n }\n _parseSync(input) {\n const result = this._parse(input);\n if (isAsync(result)) {\n throw new Error(\"Synchronous parse encountered promise.\");\n }\n return result;\n }\n _parseAsync(input) {\n const result = this._parse(input);\n return Promise.resolve(result);\n }\n parse(data, params) {\n const result = this.safeParse(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n safeParse(data, params) {\n var _a;\n const ctx = {\n common: {\n issues: [],\n async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: getParsedType(data),\n };\n const result = this._parseSync({ data, path: ctx.path, parent: ctx });\n return handleResult(ctx, result);\n }\n async parseAsync(data, params) {\n const result = await this.safeParseAsync(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n async safeParseAsync(data, params) {\n const ctx = {\n common: {\n issues: [],\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n async: true,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: getParsedType(data),\n };\n const maybeAsyncResult = this._parse({ data, path: [], parent: ctx });\n const result = await (isAsync(maybeAsyncResult)\n ? maybeAsyncResult\n : Promise.resolve(maybeAsyncResult));\n return handleResult(ctx, result);\n }\n refine(check, message) {\n const getIssueProperties = (val) => {\n if (typeof message === \"string\" || typeof message === \"undefined\") {\n return { message };\n }\n else if (typeof message === \"function\") {\n return message(val);\n }\n else {\n return message;\n }\n };\n return this._refinement((val, ctx) => {\n const result = check(val);\n const setError = () => ctx.addIssue({\n code: ZodIssueCode.custom,\n ...getIssueProperties(val),\n });\n if (typeof Promise !== \"undefined\" && result instanceof Promise) {\n return result.then((data) => {\n if (!data) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n if (!result) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n refinement(check, refinementData) {\n return this._refinement((val, ctx) => {\n if (!check(val)) {\n ctx.addIssue(typeof refinementData === \"function\"\n ? refinementData(val, ctx)\n : refinementData);\n return false;\n }\n else {\n return true;\n }\n });\n }\n _refinement(refinement) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"refinement\", refinement },\n });\n }\n optional() {\n return ZodOptional.create(this);\n }\n nullable() {\n return ZodNullable.create(this);\n }\n nullish() {\n return this.optional().nullable();\n }\n array() {\n return ZodArray.create(this);\n }\n promise() {\n return ZodPromise.create(this);\n }\n or(option) {\n return ZodUnion.create([this, option]);\n }\n and(incoming) {\n return ZodIntersection.create(this, incoming);\n }\n transform(transform) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"transform\", transform },\n });\n }\n default(def) {\n const defaultValueFunc = typeof def === \"function\" ? def : () => def;\n return new ZodDefault({\n innerType: this,\n defaultValue: defaultValueFunc,\n typeName: ZodFirstPartyTypeKind.ZodDefault,\n });\n }\n brand() {\n return new ZodBranded({\n typeName: ZodFirstPartyTypeKind.ZodBranded,\n type: this,\n ...processCreateParams(undefined),\n });\n }\n describe(description) {\n const This = this.constructor;\n return new This({\n ...this._def,\n description,\n });\n }\n isOptional() {\n return this.safeParse(undefined).success;\n }\n isNullable() {\n return this.safeParse(null).success;\n }\n}\nconst cuidRegex = /^c[^\\s-]{8,}$/i;\nconst uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;\n// from https://stackoverflow.com/a/46181/1550155\n// old version: too slow, didn't support unicode\n// const emailRegex = /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i;\n// eslint-disable-next-line\nconst emailRegex = /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i;\nclass ZodString extends ZodType {\n constructor() {\n super(...arguments);\n this._regex = (regex, validation, message) => this.refinement((data) => regex.test(data), {\n validation,\n code: ZodIssueCode.invalid_string,\n ...errorUtil.errToObj(message),\n });\n /**\n * @deprecated Use z.string().min(1) instead.\n * @see {@link ZodString.min}\n */\n this.nonempty = (message) => this.min(1, errorUtil.errToObj(message));\n this.trim = () => new ZodString({\n ...this._def,\n checks: [...this._def.checks, { kind: \"trim\" }],\n });\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.string) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.string,\n received: ctx.parsedType,\n }\n //\n );\n return INVALID;\n }\n const status = new ParseStatus();\n let ctx = undefined;\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n if (input.data.length < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: check.value,\n type: \"string\",\n inclusive: true,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n if (input.data.length > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: check.value,\n type: \"string\",\n inclusive: true,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"email\") {\n if (!emailRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"email\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"uuid\") {\n if (!uuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"uuid\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"cuid\") {\n if (!cuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"cuid\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"url\") {\n try {\n new URL(input.data);\n }\n catch (_a) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"url\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"regex\") {\n check.regex.lastIndex = 0;\n const testResult = check.regex.test(input.data);\n if (!testResult) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"regex\",\n code: ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"trim\") {\n input.data = input.data.trim();\n }\n else if (check.kind === \"startsWith\") {\n if (!input.data.startsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_string,\n validation: { startsWith: check.value },\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"endsWith\") {\n if (!input.data.endsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_string,\n validation: { endsWith: check.value },\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n _addCheck(check) {\n return new ZodString({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n email(message) {\n return this._addCheck({ kind: \"email\", ...errorUtil.errToObj(message) });\n }\n url(message) {\n return this._addCheck({ kind: \"url\", ...errorUtil.errToObj(message) });\n }\n uuid(message) {\n return this._addCheck({ kind: \"uuid\", ...errorUtil.errToObj(message) });\n }\n cuid(message) {\n return this._addCheck({ kind: \"cuid\", ...errorUtil.errToObj(message) });\n }\n regex(regex, message) {\n return this._addCheck({\n kind: \"regex\",\n regex: regex,\n ...errorUtil.errToObj(message),\n });\n }\n startsWith(value, message) {\n return this._addCheck({\n kind: \"startsWith\",\n value: value,\n ...errorUtil.errToObj(message),\n });\n }\n endsWith(value, message) {\n return this._addCheck({\n kind: \"endsWith\",\n value: value,\n ...errorUtil.errToObj(message),\n });\n }\n min(minLength, message) {\n return this._addCheck({\n kind: \"min\",\n value: minLength,\n ...errorUtil.errToObj(message),\n });\n }\n max(maxLength, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxLength,\n ...errorUtil.errToObj(message),\n });\n }\n length(len, message) {\n return this.min(len, message).max(len, message);\n }\n get isEmail() {\n return !!this._def.checks.find((ch) => ch.kind === \"email\");\n }\n get isURL() {\n return !!this._def.checks.find((ch) => ch.kind === \"url\");\n }\n get isUUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"uuid\");\n }\n get isCUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"cuid\");\n }\n get minLength() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxLength() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n}\nZodString.create = (params) => {\n return new ZodString({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodString,\n ...processCreateParams(params),\n });\n};\n// https://stackoverflow.com/questions/3966484/why-does-modulus-operator-return-fractional-number-in-javascript/31711034#31711034\nfunction floatSafeRemainder(val, step) {\n const valDecCount = (val.toString().split(\".\")[1] || \"\").length;\n const stepDecCount = (step.toString().split(\".\")[1] || \"\").length;\n const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;\n const valInt = parseInt(val.toFixed(decCount).replace(\".\", \"\"));\n const stepInt = parseInt(step.toFixed(decCount).replace(\".\", \"\"));\n return (valInt % stepInt) / Math.pow(10, decCount);\n}\nclass ZodNumber extends ZodType {\n constructor() {\n super(...arguments);\n this.min = this.gte;\n this.max = this.lte;\n this.step = this.multipleOf;\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.number) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.number,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n let ctx = undefined;\n const status = new ParseStatus();\n for (const check of this._def.checks) {\n if (check.kind === \"int\") {\n if (!util.isInteger(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: \"integer\",\n received: \"float\",\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"min\") {\n const tooSmall = check.inclusive\n ? input.data < check.value\n : input.data <= check.value;\n if (tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n const tooBig = check.inclusive\n ? input.data > check.value\n : input.data >= check.value;\n if (tooBig) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"multipleOf\") {\n if (floatSafeRemainder(input.data, check.value) !== 0) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.not_multiple_of,\n multipleOf: check.value,\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n gte(value, message) {\n return this.setLimit(\"min\", value, true, errorUtil.toString(message));\n }\n gt(value, message) {\n return this.setLimit(\"min\", value, false, errorUtil.toString(message));\n }\n lte(value, message) {\n return this.setLimit(\"max\", value, true, errorUtil.toString(message));\n }\n lt(value, message) {\n return this.setLimit(\"max\", value, false, errorUtil.toString(message));\n }\n setLimit(kind, value, inclusive, message) {\n return new ZodNumber({\n ...this._def,\n checks: [\n ...this._def.checks,\n {\n kind,\n value,\n inclusive,\n message: errorUtil.toString(message),\n },\n ],\n });\n }\n _addCheck(check) {\n return new ZodNumber({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n int(message) {\n return this._addCheck({\n kind: \"int\",\n message: errorUtil.toString(message),\n });\n }\n positive(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: false,\n message: errorUtil.toString(message),\n });\n }\n negative(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: false,\n message: errorUtil.toString(message),\n });\n }\n nonpositive(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: true,\n message: errorUtil.toString(message),\n });\n }\n nonnegative(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: true,\n message: errorUtil.toString(message),\n });\n }\n multipleOf(value, message) {\n return this._addCheck({\n kind: \"multipleOf\",\n value: value,\n message: errorUtil.toString(message),\n });\n }\n get minValue() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxValue() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n get isInt() {\n return !!this._def.checks.find((ch) => ch.kind === \"int\");\n }\n}\nZodNumber.create = (params) => {\n return new ZodNumber({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodNumber,\n ...processCreateParams(params),\n });\n};\nclass ZodBigInt extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.bigint) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.bigint,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodBigInt.create = (params) => {\n return new ZodBigInt({\n typeName: ZodFirstPartyTypeKind.ZodBigInt,\n ...processCreateParams(params),\n });\n};\nclass ZodBoolean extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.boolean) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.boolean,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodBoolean.create = (params) => {\n return new ZodBoolean({\n typeName: ZodFirstPartyTypeKind.ZodBoolean,\n ...processCreateParams(params),\n });\n};\nclass ZodDate extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.date) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.date,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n if (isNaN(input.data.getTime())) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_date,\n });\n return INVALID;\n }\n const status = new ParseStatus();\n let ctx = undefined;\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n if (input.data.getTime() < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n message: check.message,\n inclusive: true,\n minimum: check.value,\n type: \"date\",\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n if (input.data.getTime() > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n message: check.message,\n inclusive: true,\n maximum: check.value,\n type: \"date\",\n });\n status.dirty();\n }\n }\n else {\n util.assertNever(check);\n }\n }\n return {\n status: status.value,\n value: new Date(input.data.getTime()),\n };\n }\n _addCheck(check) {\n return new ZodDate({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n min(minDate, message) {\n return this._addCheck({\n kind: \"min\",\n value: minDate.getTime(),\n message: errorUtil.toString(message),\n });\n }\n max(maxDate, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxDate.getTime(),\n message: errorUtil.toString(message),\n });\n }\n get minDate() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min != null ? new Date(min) : null;\n }\n get maxDate() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max != null ? new Date(max) : null;\n }\n}\nZodDate.create = (params) => {\n return new ZodDate({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodDate,\n ...processCreateParams(params),\n });\n};\nclass ZodUndefined extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.undefined,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodUndefined.create = (params) => {\n return new ZodUndefined({\n typeName: ZodFirstPartyTypeKind.ZodUndefined,\n ...processCreateParams(params),\n });\n};\nclass ZodNull extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.null) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.null,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodNull.create = (params) => {\n return new ZodNull({\n typeName: ZodFirstPartyTypeKind.ZodNull,\n ...processCreateParams(params),\n });\n};\nclass ZodAny extends ZodType {\n constructor() {\n super(...arguments);\n // to prevent instances of other classes from extending ZodAny. this causes issues with catchall in ZodObject.\n this._any = true;\n }\n _parse(input) {\n return OK(input.data);\n }\n}\nZodAny.create = (params) => {\n return new ZodAny({\n typeName: ZodFirstPartyTypeKind.ZodAny,\n ...processCreateParams(params),\n });\n};\nclass ZodUnknown extends ZodType {\n constructor() {\n super(...arguments);\n // required\n this._unknown = true;\n }\n _parse(input) {\n return OK(input.data);\n }\n}\nZodUnknown.create = (params) => {\n return new ZodUnknown({\n typeName: ZodFirstPartyTypeKind.ZodUnknown,\n ...processCreateParams(params),\n });\n};\nclass ZodNever extends ZodType {\n _parse(input) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.never,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n}\nZodNever.create = (params) => {\n return new ZodNever({\n typeName: ZodFirstPartyTypeKind.ZodNever,\n ...processCreateParams(params),\n });\n};\nclass ZodVoid extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.void,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n}\nZodVoid.create = (params) => {\n return new ZodVoid({\n typeName: ZodFirstPartyTypeKind.ZodVoid,\n ...processCreateParams(params),\n });\n};\nclass ZodArray extends ZodType {\n _parse(input) {\n const { ctx, status } = this._processInputParams(input);\n const def = this._def;\n if (ctx.parsedType !== ZodParsedType.array) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.array,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n if (def.minLength !== null) {\n if (ctx.data.length < def.minLength.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: def.minLength.value,\n type: \"array\",\n inclusive: true,\n message: def.minLength.message,\n });\n status.dirty();\n }\n }\n if (def.maxLength !== null) {\n if (ctx.data.length > def.maxLength.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: def.maxLength.value,\n type: \"array\",\n inclusive: true,\n message: def.maxLength.message,\n });\n status.dirty();\n }\n }\n if (ctx.common.async) {\n return Promise.all(ctx.data.map((item, i) => {\n return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n })).then((result) => {\n return ParseStatus.mergeArray(status, result);\n });\n }\n const result = ctx.data.map((item, i) => {\n return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n });\n return ParseStatus.mergeArray(status, result);\n }\n get element() {\n return this._def.type;\n }\n min(minLength, message) {\n return new ZodArray({\n ...this._def,\n minLength: { value: minLength, message: errorUtil.toString(message) },\n });\n }\n max(maxLength, message) {\n return new ZodArray({\n ...this._def,\n maxLength: { value: maxLength, message: errorUtil.toString(message) },\n });\n }\n length(len, message) {\n return this.min(len, message).max(len, message);\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nZodArray.create = (schema, params) => {\n return new ZodArray({\n type: schema,\n minLength: null,\n maxLength: null,\n typeName: ZodFirstPartyTypeKind.ZodArray,\n ...processCreateParams(params),\n });\n};\n/////////////////////////////////////////\n/////////////////////////////////////////\n////////// //////////\n////////// ZodObject //////////\n////////// //////////\n/////////////////////////////////////////\n/////////////////////////////////////////\nvar objectUtil;\n(function (objectUtil) {\n objectUtil.mergeShapes = (first, second) => {\n return {\n ...first,\n ...second,\n };\n };\n})(objectUtil || (objectUtil = {}));\nconst AugmentFactory = (def) => (augmentation) => {\n return new ZodObject({\n ...def,\n shape: () => ({\n ...def.shape(),\n ...augmentation,\n }),\n });\n};\nfunction deepPartialify(schema) {\n if (schema instanceof ZodObject) {\n const newShape = {};\n for (const key in schema.shape) {\n const fieldSchema = schema.shape[key];\n newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));\n }\n return new ZodObject({\n ...schema._def,\n shape: () => newShape,\n });\n }\n else if (schema instanceof ZodArray) {\n return ZodArray.create(deepPartialify(schema.element));\n }\n else if (schema instanceof ZodOptional) {\n return ZodOptional.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodNullable) {\n return ZodNullable.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodTuple) {\n return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));\n }\n else {\n return schema;\n }\n}\nclass ZodObject extends ZodType {\n constructor() {\n super(...arguments);\n this._cached = null;\n /**\n * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\n * If you want to pass through unknown properties, use `.passthrough()` instead.\n */\n this.nonstrict = this.passthrough;\n this.augment = AugmentFactory(this._def);\n this.extend = AugmentFactory(this._def);\n }\n _getCached() {\n if (this._cached !== null)\n return this._cached;\n const shape = this._def.shape();\n const keys = util.objectKeys(shape);\n return (this._cached = { shape, keys });\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.object) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const { status, ctx } = this._processInputParams(input);\n const { shape, keys: shapeKeys } = this._getCached();\n const extraKeys = [];\n if (!(this._def.catchall instanceof ZodNever &&\n this._def.unknownKeys === \"strip\")) {\n for (const key in ctx.data) {\n if (!shapeKeys.includes(key)) {\n extraKeys.push(key);\n }\n }\n }\n const pairs = [];\n for (const key of shapeKeys) {\n const keyValidator = shape[key];\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: keyValidator._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),\n alwaysSet: key in ctx.data,\n });\n }\n if (this._def.catchall instanceof ZodNever) {\n const unknownKeys = this._def.unknownKeys;\n if (unknownKeys === \"passthrough\") {\n for (const key of extraKeys) {\n pairs.push({\n key: { status: \"valid\", value: key },\n value: { status: \"valid\", value: ctx.data[key] },\n });\n }\n }\n else if (unknownKeys === \"strict\") {\n if (extraKeys.length > 0) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.unrecognized_keys,\n keys: extraKeys,\n });\n status.dirty();\n }\n }\n else if (unknownKeys === \"strip\") ;\n else {\n throw new Error(`Internal ZodObject error: invalid unknownKeys value.`);\n }\n }\n else {\n // run catchall validation\n const catchall = this._def.catchall;\n for (const key of extraKeys) {\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, key) //, ctx.child(key), value, getParsedType(value)\n ),\n alwaysSet: key in ctx.data,\n });\n }\n }\n if (ctx.common.async) {\n return Promise.resolve()\n .then(async () => {\n const syncPairs = [];\n for (const pair of pairs) {\n const key = await pair.key;\n syncPairs.push({\n key,\n value: await pair.value,\n alwaysSet: pair.alwaysSet,\n });\n }\n return syncPairs;\n })\n .then((syncPairs) => {\n return ParseStatus.mergeObjectSync(status, syncPairs);\n });\n }\n else {\n return ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get shape() {\n return this._def.shape();\n }\n strict(message) {\n errorUtil.errToObj;\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strict\",\n ...(message !== undefined\n ? {\n errorMap: (issue, ctx) => {\n var _a, _b, _c, _d;\n const defaultError = (_c = (_b = (_a = this._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;\n if (issue.code === \"unrecognized_keys\")\n return {\n message: (_d = errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError,\n };\n return {\n message: defaultError,\n };\n },\n }\n : {}),\n });\n }\n strip() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strip\",\n });\n }\n passthrough() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"passthrough\",\n });\n }\n setKey(key, schema) {\n return this.augment({ [key]: schema });\n }\n /**\n * Prior to zod@1.0.12 there was a bug in the\n * inferred type of merged objects. Please\n * upgrade if you are experiencing issues.\n */\n merge(merging) {\n // const mergedShape = objectUtil.mergeShapes(\n // this._def.shape(),\n // merging._def.shape()\n // );\n const merged = new ZodObject({\n unknownKeys: merging._def.unknownKeys,\n catchall: merging._def.catchall,\n shape: () => objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n });\n return merged;\n }\n catchall(index) {\n return new ZodObject({\n ...this._def,\n catchall: index,\n });\n }\n pick(mask) {\n const shape = {};\n util.objectKeys(mask).map((key) => {\n // only add to shape if key corresponds to an element of the current shape\n if (this.shape[key])\n shape[key] = this.shape[key];\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n omit(mask) {\n const shape = {};\n util.objectKeys(this.shape).map((key) => {\n if (util.objectKeys(mask).indexOf(key) === -1) {\n shape[key] = this.shape[key];\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n deepPartial() {\n return deepPartialify(this);\n }\n partial(mask) {\n const newShape = {};\n if (mask) {\n util.objectKeys(this.shape).map((key) => {\n if (util.objectKeys(mask).indexOf(key) === -1) {\n newShape[key] = this.shape[key];\n }\n else {\n newShape[key] = this.shape[key].optional();\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n else {\n for (const key in this.shape) {\n const fieldSchema = this.shape[key];\n newShape[key] = fieldSchema.optional();\n }\n }\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n required() {\n const newShape = {};\n for (const key in this.shape) {\n const fieldSchema = this.shape[key];\n let newField = fieldSchema;\n while (newField instanceof ZodOptional) {\n newField = newField._def.innerType;\n }\n newShape[key] = newField;\n }\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n keyof() {\n return createZodEnum(util.objectKeys(this.shape));\n }\n}\nZodObject.create = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.strictCreate = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strict\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.lazycreate = (shape, params) => {\n return new ZodObject({\n shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nclass ZodUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const options = this._def.options;\n function handleResults(results) {\n // return first issue-free validation if it exists\n for (const result of results) {\n if (result.result.status === \"valid\") {\n return result.result;\n }\n }\n for (const result of results) {\n if (result.result.status === \"dirty\") {\n // add issues from dirty option\n ctx.common.issues.push(...result.ctx.common.issues);\n return result.result;\n }\n }\n // return invalid\n const unionErrors = results.map((result) => new ZodError(result.ctx.common.issues));\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union,\n unionErrors,\n });\n return INVALID;\n }\n if (ctx.common.async) {\n return Promise.all(options.map(async (option) => {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n return {\n result: await option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n }),\n ctx: childCtx,\n };\n })).then(handleResults);\n }\n else {\n let dirty = undefined;\n const issues = [];\n for (const option of options) {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n const result = option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n });\n if (result.status === \"valid\") {\n return result;\n }\n else if (result.status === \"dirty\" && !dirty) {\n dirty = { result, ctx: childCtx };\n }\n if (childCtx.common.issues.length) {\n issues.push(childCtx.common.issues);\n }\n }\n if (dirty) {\n ctx.common.issues.push(...dirty.ctx.common.issues);\n return dirty.result;\n }\n const unionErrors = issues.map((issues) => new ZodError(issues));\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union,\n unionErrors,\n });\n return INVALID;\n }\n }\n get options() {\n return this._def.options;\n }\n}\nZodUnion.create = (types, params) => {\n return new ZodUnion({\n options: types,\n typeName: ZodFirstPartyTypeKind.ZodUnion,\n ...processCreateParams(params),\n });\n};\nclass ZodDiscriminatedUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.object) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const discriminator = this.discriminator;\n const discriminatorValue = ctx.data[discriminator];\n const option = this.options.get(discriminatorValue);\n if (!option) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union_discriminator,\n options: this.validDiscriminatorValues,\n path: [discriminator],\n });\n return INVALID;\n }\n if (ctx.common.async) {\n return option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n else {\n return option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n get discriminator() {\n return this._def.discriminator;\n }\n get validDiscriminatorValues() {\n return Array.from(this.options.keys());\n }\n get options() {\n return this._def.options;\n }\n /**\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n * have a different value for each object in the union.\n * @param discriminator the name of the discriminator property\n * @param types an array of object schemas\n * @param params\n */\n static create(discriminator, types, params) {\n // Get all the valid discriminator values\n const options = new Map();\n try {\n types.forEach((type) => {\n const discriminatorValue = type.shape[discriminator].value;\n options.set(discriminatorValue, type);\n });\n }\n catch (e) {\n throw new Error(\"The discriminator value could not be extracted from all the provided schemas\");\n }\n // Assert that all the discriminator values are unique\n if (options.size !== types.length) {\n throw new Error(\"Some of the discriminator values are not unique\");\n }\n return new ZodDiscriminatedUnion({\n typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,\n discriminator,\n options,\n ...processCreateParams(params),\n });\n }\n}\nfunction mergeValues(a, b) {\n const aType = getParsedType(a);\n const bType = getParsedType(b);\n if (a === b) {\n return { valid: true, data: a };\n }\n else if (aType === ZodParsedType.object && bType === ZodParsedType.object) {\n const bKeys = util.objectKeys(b);\n const sharedKeys = util\n .objectKeys(a)\n .filter((key) => bKeys.indexOf(key) !== -1);\n const newObj = { ...a, ...b };\n for (const key of sharedKeys) {\n const sharedValue = mergeValues(a[key], b[key]);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newObj[key] = sharedValue.data;\n }\n return { valid: true, data: newObj };\n }\n else if (aType === ZodParsedType.array && bType === ZodParsedType.array) {\n if (a.length !== b.length) {\n return { valid: false };\n }\n const newArray = [];\n for (let index = 0; index < a.length; index++) {\n const itemA = a[index];\n const itemB = b[index];\n const sharedValue = mergeValues(itemA, itemB);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newArray.push(sharedValue.data);\n }\n return { valid: true, data: newArray };\n }\n else if (aType === ZodParsedType.date &&\n bType === ZodParsedType.date &&\n +a === +b) {\n return { valid: true, data: a };\n }\n else {\n return { valid: false };\n }\n}\nclass ZodIntersection extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const handleParsed = (parsedLeft, parsedRight) => {\n if (isAborted(parsedLeft) || isAborted(parsedRight)) {\n return INVALID;\n }\n const merged = mergeValues(parsedLeft.value, parsedRight.value);\n if (!merged.valid) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_intersection_types,\n });\n return INVALID;\n }\n if (isDirty(parsedLeft) || isDirty(parsedRight)) {\n status.dirty();\n }\n return { status: status.value, value: merged.data };\n };\n if (ctx.common.async) {\n return Promise.all([\n this._def.left._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n this._def.right._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n ]).then(([left, right]) => handleParsed(left, right));\n }\n else {\n return handleParsed(this._def.left._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }), this._def.right._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }));\n }\n }\n}\nZodIntersection.create = (left, right, params) => {\n return new ZodIntersection({\n left: left,\n right: right,\n typeName: ZodFirstPartyTypeKind.ZodIntersection,\n ...processCreateParams(params),\n });\n};\nclass ZodTuple extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.array) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.array,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n if (ctx.data.length < this._def.items.length) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: this._def.items.length,\n inclusive: true,\n type: \"array\",\n });\n return INVALID;\n }\n const rest = this._def.rest;\n if (!rest && ctx.data.length > this._def.items.length) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: this._def.items.length,\n inclusive: true,\n type: \"array\",\n });\n status.dirty();\n }\n const items = ctx.data\n .map((item, itemIndex) => {\n const schema = this._def.items[itemIndex] || this._def.rest;\n if (!schema)\n return null;\n return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));\n })\n .filter((x) => !!x); // filter nulls\n if (ctx.common.async) {\n return Promise.all(items).then((results) => {\n return ParseStatus.mergeArray(status, results);\n });\n }\n else {\n return ParseStatus.mergeArray(status, items);\n }\n }\n get items() {\n return this._def.items;\n }\n rest(rest) {\n return new ZodTuple({\n ...this._def,\n rest,\n });\n }\n}\nZodTuple.create = (schemas, params) => {\n if (!Array.isArray(schemas)) {\n throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");\n }\n return new ZodTuple({\n items: schemas,\n typeName: ZodFirstPartyTypeKind.ZodTuple,\n rest: null,\n ...processCreateParams(params),\n });\n};\nclass ZodRecord extends ZodType {\n get keySchema() {\n return this._def.keyType;\n }\n get valueSchema() {\n return this._def.valueType;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.object) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const pairs = [];\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n for (const key in ctx.data) {\n pairs.push({\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),\n value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),\n });\n }\n if (ctx.common.async) {\n return ParseStatus.mergeObjectAsync(status, pairs);\n }\n else {\n return ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get element() {\n return this._def.valueType;\n }\n static create(first, second, third) {\n if (second instanceof ZodType) {\n return new ZodRecord({\n keyType: first,\n valueType: second,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(third),\n });\n }\n return new ZodRecord({\n keyType: ZodString.create(),\n valueType: first,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(second),\n });\n }\n}\nclass ZodMap extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.map) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.map,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n const pairs = [...ctx.data.entries()].map(([key, value], index) => {\n return {\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, \"key\"])),\n value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, \"value\"])),\n };\n });\n if (ctx.common.async) {\n const finalMap = new Map();\n return Promise.resolve().then(async () => {\n for (const pair of pairs) {\n const key = await pair.key;\n const value = await pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n });\n }\n else {\n const finalMap = new Map();\n for (const pair of pairs) {\n const key = pair.key;\n const value = pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n }\n }\n}\nZodMap.create = (keyType, valueType, params) => {\n return new ZodMap({\n valueType,\n keyType,\n typeName: ZodFirstPartyTypeKind.ZodMap,\n ...processCreateParams(params),\n });\n};\nclass ZodSet extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.set) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.set,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const def = this._def;\n if (def.minSize !== null) {\n if (ctx.data.size < def.minSize.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: def.minSize.value,\n type: \"set\",\n inclusive: true,\n message: def.minSize.message,\n });\n status.dirty();\n }\n }\n if (def.maxSize !== null) {\n if (ctx.data.size > def.maxSize.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: def.maxSize.value,\n type: \"set\",\n inclusive: true,\n message: def.maxSize.message,\n });\n status.dirty();\n }\n }\n const valueType = this._def.valueType;\n function finalizeSet(elements) {\n const parsedSet = new Set();\n for (const element of elements) {\n if (element.status === \"aborted\")\n return INVALID;\n if (element.status === \"dirty\")\n status.dirty();\n parsedSet.add(element.value);\n }\n return { status: status.value, value: parsedSet };\n }\n const elements = [...ctx.data.values()].map((item, i) => valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i)));\n if (ctx.common.async) {\n return Promise.all(elements).then((elements) => finalizeSet(elements));\n }\n else {\n return finalizeSet(elements);\n }\n }\n min(minSize, message) {\n return new ZodSet({\n ...this._def,\n minSize: { value: minSize, message: errorUtil.toString(message) },\n });\n }\n max(maxSize, message) {\n return new ZodSet({\n ...this._def,\n maxSize: { value: maxSize, message: errorUtil.toString(message) },\n });\n }\n size(size, message) {\n return this.min(size, message).max(size, message);\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nZodSet.create = (valueType, params) => {\n return new ZodSet({\n valueType,\n minSize: null,\n maxSize: null,\n typeName: ZodFirstPartyTypeKind.ZodSet,\n ...processCreateParams(params),\n });\n};\nclass ZodFunction extends ZodType {\n constructor() {\n super(...arguments);\n this.validate = this.implement;\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.function) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.function,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n function makeArgsIssue(args, error) {\n return makeIssue({\n data: args,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n getErrorMap(),\n errorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodIssueCode.invalid_arguments,\n argumentsError: error,\n },\n });\n }\n function makeReturnsIssue(returns, error) {\n return makeIssue({\n data: returns,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n getErrorMap(),\n errorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodIssueCode.invalid_return_type,\n returnTypeError: error,\n },\n });\n }\n const params = { errorMap: ctx.common.contextualErrorMap };\n const fn = ctx.data;\n if (this._def.returns instanceof ZodPromise) {\n return OK(async (...args) => {\n const error = new ZodError([]);\n const parsedArgs = await this._def.args\n .parseAsync(args, params)\n .catch((e) => {\n error.addIssue(makeArgsIssue(args, e));\n throw error;\n });\n const result = await fn(...parsedArgs);\n const parsedReturns = await this._def.returns._def.type\n .parseAsync(result, params)\n .catch((e) => {\n error.addIssue(makeReturnsIssue(result, e));\n throw error;\n });\n return parsedReturns;\n });\n }\n else {\n return OK((...args) => {\n const parsedArgs = this._def.args.safeParse(args, params);\n if (!parsedArgs.success) {\n throw new ZodError([makeArgsIssue(args, parsedArgs.error)]);\n }\n const result = fn(...parsedArgs.data);\n const parsedReturns = this._def.returns.safeParse(result, params);\n if (!parsedReturns.success) {\n throw new ZodError([makeReturnsIssue(result, parsedReturns.error)]);\n }\n return parsedReturns.data;\n });\n }\n }\n parameters() {\n return this._def.args;\n }\n returnType() {\n return this._def.returns;\n }\n args(...items) {\n return new ZodFunction({\n ...this._def,\n args: ZodTuple.create(items).rest(ZodUnknown.create()),\n });\n }\n returns(returnType) {\n return new ZodFunction({\n ...this._def,\n returns: returnType,\n });\n }\n implement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n strictImplement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n static create(args, returns, params) {\n return new ZodFunction({\n args: (args\n ? args\n : ZodTuple.create([]).rest(ZodUnknown.create())),\n returns: returns || ZodUnknown.create(),\n typeName: ZodFirstPartyTypeKind.ZodFunction,\n ...processCreateParams(params),\n });\n }\n}\nclass ZodLazy extends ZodType {\n get schema() {\n return this._def.getter();\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const lazySchema = this._def.getter();\n return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });\n }\n}\nZodLazy.create = (getter, params) => {\n return new ZodLazy({\n getter: getter,\n typeName: ZodFirstPartyTypeKind.ZodLazy,\n ...processCreateParams(params),\n });\n};\nclass ZodLiteral extends ZodType {\n _parse(input) {\n if (input.data !== this._def.value) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_literal,\n expected: this._def.value,\n });\n return INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n get value() {\n return this._def.value;\n }\n}\nZodLiteral.create = (value, params) => {\n return new ZodLiteral({\n value: value,\n typeName: ZodFirstPartyTypeKind.ZodLiteral,\n ...processCreateParams(params),\n });\n};\nfunction createZodEnum(values, params) {\n return new ZodEnum({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodEnum,\n ...processCreateParams(params),\n });\n}\nclass ZodEnum extends ZodType {\n _parse(input) {\n if (typeof input.data !== \"string\") {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n addIssueToContext(ctx, {\n expected: util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodIssueCode.invalid_type,\n });\n return INVALID;\n }\n if (this._def.values.indexOf(input.data) === -1) {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n get options() {\n return this._def.values;\n }\n get enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Values() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n}\nZodEnum.create = createZodEnum;\nclass ZodNativeEnum extends ZodType {\n _parse(input) {\n const nativeEnumValues = util.getValidEnumValues(this._def.values);\n const ctx = this._getOrReturnCtx(input);\n if (ctx.parsedType !== ZodParsedType.string &&\n ctx.parsedType !== ZodParsedType.number) {\n const expectedValues = util.objectValues(nativeEnumValues);\n addIssueToContext(ctx, {\n expected: util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodIssueCode.invalid_type,\n });\n return INVALID;\n }\n if (nativeEnumValues.indexOf(input.data) === -1) {\n const expectedValues = util.objectValues(nativeEnumValues);\n addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return INVALID;\n }\n return OK(input.data);\n }\n get enum() {\n return this._def.values;\n }\n}\nZodNativeEnum.create = (values, params) => {\n return new ZodNativeEnum({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodNativeEnum,\n ...processCreateParams(params),\n });\n};\nclass ZodPromise extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.promise &&\n ctx.common.async === false) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.promise,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n const promisified = ctx.parsedType === ZodParsedType.promise\n ? ctx.data\n : Promise.resolve(ctx.data);\n return OK(promisified.then((data) => {\n return this._def.type.parseAsync(data, {\n path: ctx.path,\n errorMap: ctx.common.contextualErrorMap,\n });\n }));\n }\n}\nZodPromise.create = (schema, params) => {\n return new ZodPromise({\n type: schema,\n typeName: ZodFirstPartyTypeKind.ZodPromise,\n ...processCreateParams(params),\n });\n};\nclass ZodEffects extends ZodType {\n innerType() {\n return this._def.schema;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const effect = this._def.effect || null;\n if (effect.type === \"preprocess\") {\n const processed = effect.transform(ctx.data);\n if (ctx.common.async) {\n return Promise.resolve(processed).then((processed) => {\n return this._def.schema._parseAsync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n });\n }\n else {\n return this._def.schema._parseSync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n const checkCtx = {\n addIssue: (arg) => {\n addIssueToContext(ctx, arg);\n if (arg.fatal) {\n status.abort();\n }\n else {\n status.dirty();\n }\n },\n get path() {\n return ctx.path;\n },\n };\n checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);\n if (effect.type === \"refinement\") {\n const executeRefinement = (acc\n // effect: RefinementEffect\n ) => {\n const result = effect.refinement(acc, checkCtx);\n if (ctx.common.async) {\n return Promise.resolve(result);\n }\n if (result instanceof Promise) {\n throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n }\n return acc;\n };\n if (ctx.common.async === false) {\n const inner = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n if (inner.status === \"aborted\")\n return INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n // return value is ignored\n executeRefinement(inner.value);\n return { status: status.value, value: inner.value };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((inner) => {\n if (inner.status === \"aborted\")\n return INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n return executeRefinement(inner.value).then(() => {\n return { status: status.value, value: inner.value };\n });\n });\n }\n }\n if (effect.type === \"transform\") {\n if (ctx.common.async === false) {\n const base = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n if (!isValid(base))\n return base;\n const result = effect.transform(base.value, checkCtx);\n if (result instanceof Promise) {\n throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);\n }\n return { status: status.value, value: result };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((base) => {\n if (!isValid(base))\n return base;\n // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({ status: status.value, value: result }));\n });\n }\n }\n util.assertNever(effect);\n }\n}\nZodEffects.create = (schema, effect, params) => {\n return new ZodEffects({\n schema,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect,\n ...processCreateParams(params),\n });\n};\nZodEffects.createWithPreprocess = (preprocess, schema, params) => {\n return new ZodEffects({\n schema,\n effect: { type: \"preprocess\", transform: preprocess },\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n ...processCreateParams(params),\n });\n};\nclass ZodOptional extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === ZodParsedType.undefined) {\n return OK(undefined);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nZodOptional.create = (type, params) => {\n return new ZodOptional({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional,\n ...processCreateParams(params),\n });\n};\nclass ZodNullable extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === ZodParsedType.null) {\n return OK(null);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nZodNullable.create = (type, params) => {\n return new ZodNullable({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodNullable,\n ...processCreateParams(params),\n });\n};\nclass ZodDefault extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n let data = ctx.data;\n if (ctx.parsedType === ZodParsedType.undefined) {\n data = this._def.defaultValue();\n }\n return this._def.innerType._parse({\n data,\n path: ctx.path,\n parent: ctx,\n });\n }\n removeDefault() {\n return this._def.innerType;\n }\n}\nZodDefault.create = (type, params) => {\n return new ZodOptional({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional,\n ...processCreateParams(params),\n });\n};\nclass ZodNaN extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== ZodParsedType.nan) {\n const ctx = this._getOrReturnCtx(input);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.nan,\n received: ctx.parsedType,\n });\n return INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n}\nZodNaN.create = (params) => {\n return new ZodNaN({\n typeName: ZodFirstPartyTypeKind.ZodNaN,\n ...processCreateParams(params),\n });\n};\nconst BRAND = Symbol(\"zod_brand\");\nclass ZodBranded extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const data = ctx.data;\n return this._def.type._parse({\n data,\n path: ctx.path,\n parent: ctx,\n });\n }\n unwrap() {\n return this._def.type;\n }\n}\nconst custom = (check, params = {}, fatal) => {\n if (check)\n return ZodAny.create().superRefine((data, ctx) => {\n if (!check(data)) {\n const p = typeof params === \"function\" ? params(data) : params;\n const p2 = typeof p === \"string\" ? { message: p } : p;\n ctx.addIssue({ code: \"custom\", ...p2, fatal });\n }\n });\n return ZodAny.create();\n};\nconst late = {\n object: ZodObject.lazycreate,\n};\nvar ZodFirstPartyTypeKind;\n(function (ZodFirstPartyTypeKind) {\n ZodFirstPartyTypeKind[\"ZodString\"] = \"ZodString\";\n ZodFirstPartyTypeKind[\"ZodNumber\"] = \"ZodNumber\";\n ZodFirstPartyTypeKind[\"ZodNaN\"] = \"ZodNaN\";\n ZodFirstPartyTypeKind[\"ZodBigInt\"] = \"ZodBigInt\";\n ZodFirstPartyTypeKind[\"ZodBoolean\"] = \"ZodBoolean\";\n ZodFirstPartyTypeKind[\"ZodDate\"] = \"ZodDate\";\n ZodFirstPartyTypeKind[\"ZodUndefined\"] = \"ZodUndefined\";\n ZodFirstPartyTypeKind[\"ZodNull\"] = \"ZodNull\";\n ZodFirstPartyTypeKind[\"ZodAny\"] = \"ZodAny\";\n ZodFirstPartyTypeKind[\"ZodUnknown\"] = \"ZodUnknown\";\n ZodFirstPartyTypeKind[\"ZodNever\"] = \"ZodNever\";\n ZodFirstPartyTypeKind[\"ZodVoid\"] = \"ZodVoid\";\n ZodFirstPartyTypeKind[\"ZodArray\"] = \"ZodArray\";\n ZodFirstPartyTypeKind[\"ZodObject\"] = \"ZodObject\";\n ZodFirstPartyTypeKind[\"ZodUnion\"] = \"ZodUnion\";\n ZodFirstPartyTypeKind[\"ZodDiscriminatedUnion\"] = \"ZodDiscriminatedUnion\";\n ZodFirstPartyTypeKind[\"ZodIntersection\"] = \"ZodIntersection\";\n ZodFirstPartyTypeKind[\"ZodTuple\"] = \"ZodTuple\";\n ZodFirstPartyTypeKind[\"ZodRecord\"] = \"ZodRecord\";\n ZodFirstPartyTypeKind[\"ZodMap\"] = \"ZodMap\";\n ZodFirstPartyTypeKind[\"ZodSet\"] = \"ZodSet\";\n ZodFirstPartyTypeKind[\"ZodFunction\"] = \"ZodFunction\";\n ZodFirstPartyTypeKind[\"ZodLazy\"] = \"ZodLazy\";\n ZodFirstPartyTypeKind[\"ZodLiteral\"] = \"ZodLiteral\";\n ZodFirstPartyTypeKind[\"ZodEnum\"] = \"ZodEnum\";\n ZodFirstPartyTypeKind[\"ZodEffects\"] = \"ZodEffects\";\n ZodFirstPartyTypeKind[\"ZodNativeEnum\"] = \"ZodNativeEnum\";\n ZodFirstPartyTypeKind[\"ZodOptional\"] = \"ZodOptional\";\n ZodFirstPartyTypeKind[\"ZodNullable\"] = \"ZodNullable\";\n ZodFirstPartyTypeKind[\"ZodDefault\"] = \"ZodDefault\";\n ZodFirstPartyTypeKind[\"ZodPromise\"] = \"ZodPromise\";\n ZodFirstPartyTypeKind[\"ZodBranded\"] = \"ZodBranded\";\n})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));\n// new approach that works for abstract classes\n// but required TS 4.4+\n// abstract class Class {\n// constructor(..._: any[]) {}\n// }\n// const instanceOfType = (\nconst instanceOfType = (cls, params = {\n message: `Input not instance of ${cls.name}`,\n}) => custom((data) => data instanceof cls, params, true);\nconst stringType = ZodString.create;\nconst numberType = ZodNumber.create;\nconst nanType = ZodNaN.create;\nconst bigIntType = ZodBigInt.create;\nconst booleanType = ZodBoolean.create;\nconst dateType = ZodDate.create;\nconst undefinedType = ZodUndefined.create;\nconst nullType = ZodNull.create;\nconst anyType = ZodAny.create;\nconst unknownType = ZodUnknown.create;\nconst neverType = ZodNever.create;\nconst voidType = ZodVoid.create;\nconst arrayType = ZodArray.create;\nconst objectType = ZodObject.create;\nconst strictObjectType = ZodObject.strictCreate;\nconst unionType = ZodUnion.create;\nconst discriminatedUnionType = ZodDiscriminatedUnion.create;\nconst intersectionType = ZodIntersection.create;\nconst tupleType = ZodTuple.create;\nconst recordType = ZodRecord.create;\nconst mapType = ZodMap.create;\nconst setType = ZodSet.create;\nconst functionType = ZodFunction.create;\nconst lazyType = ZodLazy.create;\nconst literalType = ZodLiteral.create;\nconst enumType = ZodEnum.create;\nconst nativeEnumType = ZodNativeEnum.create;\nconst promiseType = ZodPromise.create;\nconst effectsType = ZodEffects.create;\nconst optionalType = ZodOptional.create;\nconst nullableType = ZodNullable.create;\nconst preprocessType = ZodEffects.createWithPreprocess;\nconst ostring = () => stringType().optional();\nconst onumber = () => numberType().optional();\nconst oboolean = () => booleanType().optional();\nconst NEVER = INVALID;\n\nvar mod = /*#__PURE__*/Object.freeze({\n __proto__: null,\n getParsedType: getParsedType,\n ZodParsedType: ZodParsedType,\n defaultErrorMap: errorMap,\n setErrorMap: setErrorMap,\n getErrorMap: getErrorMap,\n makeIssue: makeIssue,\n EMPTY_PATH: EMPTY_PATH,\n addIssueToContext: addIssueToContext,\n ParseStatus: ParseStatus,\n INVALID: INVALID,\n DIRTY: DIRTY,\n OK: OK,\n isAborted: isAborted,\n isDirty: isDirty,\n isValid: isValid,\n isAsync: isAsync,\n ZodType: ZodType,\n ZodString: ZodString,\n ZodNumber: ZodNumber,\n ZodBigInt: ZodBigInt,\n ZodBoolean: ZodBoolean,\n ZodDate: ZodDate,\n ZodUndefined: ZodUndefined,\n ZodNull: ZodNull,\n ZodAny: ZodAny,\n ZodUnknown: ZodUnknown,\n ZodNever: ZodNever,\n ZodVoid: ZodVoid,\n ZodArray: ZodArray,\n get objectUtil () { return objectUtil; },\n ZodObject: ZodObject,\n ZodUnion: ZodUnion,\n ZodDiscriminatedUnion: ZodDiscriminatedUnion,\n ZodIntersection: ZodIntersection,\n ZodTuple: ZodTuple,\n ZodRecord: ZodRecord,\n ZodMap: ZodMap,\n ZodSet: ZodSet,\n ZodFunction: ZodFunction,\n ZodLazy: ZodLazy,\n ZodLiteral: ZodLiteral,\n ZodEnum: ZodEnum,\n ZodNativeEnum: ZodNativeEnum,\n ZodPromise: ZodPromise,\n ZodEffects: ZodEffects,\n ZodTransformer: ZodEffects,\n ZodOptional: ZodOptional,\n ZodNullable: ZodNullable,\n ZodDefault: ZodDefault,\n ZodNaN: ZodNaN,\n BRAND: BRAND,\n ZodBranded: ZodBranded,\n custom: custom,\n Schema: ZodType,\n ZodSchema: ZodType,\n late: late,\n get ZodFirstPartyTypeKind () { return ZodFirstPartyTypeKind; },\n any: anyType,\n array: arrayType,\n bigint: bigIntType,\n boolean: booleanType,\n date: dateType,\n discriminatedUnion: discriminatedUnionType,\n effect: effectsType,\n 'enum': enumType,\n 'function': functionType,\n 'instanceof': instanceOfType,\n intersection: intersectionType,\n lazy: lazyType,\n literal: literalType,\n map: mapType,\n nan: nanType,\n nativeEnum: nativeEnumType,\n never: neverType,\n 'null': nullType,\n nullable: nullableType,\n number: numberType,\n object: objectType,\n oboolean: oboolean,\n onumber: onumber,\n optional: optionalType,\n ostring: ostring,\n preprocess: preprocessType,\n promise: promiseType,\n record: recordType,\n set: setType,\n strictObject: strictObjectType,\n string: stringType,\n transformer: effectsType,\n tuple: tupleType,\n 'undefined': undefinedType,\n union: unionType,\n unknown: unknownType,\n 'void': voidType,\n NEVER: NEVER,\n ZodIssueCode: ZodIssueCode,\n quotelessJson: quotelessJson,\n ZodError: ZodError\n});\n\nexport { BRAND, DIRTY, EMPTY_PATH, INVALID, NEVER, OK, ParseStatus, ZodType as Schema, ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodBranded, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodEffects, ZodEnum, ZodError, ZodFirstPartyTypeKind, ZodFunction, ZodIntersection, ZodIssueCode, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNativeEnum, ZodNever, ZodNull, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodParsedType, ZodPromise, ZodRecord, ZodType as ZodSchema, ZodSet, ZodString, ZodEffects as ZodTransformer, ZodTuple, ZodType, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, addIssueToContext, anyType as any, arrayType as array, bigIntType as bigint, booleanType as boolean, custom, dateType as date, mod as default, errorMap as defaultErrorMap, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, getErrorMap, getParsedType, instanceOfType as instanceof, intersectionType as intersection, isAborted, isAsync, isDirty, isValid, late, lazyType as lazy, literalType as literal, makeIssue, mapType as map, nanType as nan, nativeEnumType as nativeEnum, neverType as never, nullType as null, nullableType as nullable, numberType as number, objectType as object, objectUtil, oboolean, onumber, optionalType as optional, ostring, preprocessType as preprocess, promiseType as promise, quotelessJson, recordType as record, setType as set, setErrorMap, strictObjectType as strictObject, stringType as string, effectsType as transformer, tupleType as tuple, undefinedType as undefined, unionType as union, unknownType as unknown, voidType as void, mod as z };\n", "import { z } from 'zod'\n\nexport type QueryParams = Record\nexport type Headers = Record\n\nexport interface CallOptions {\n encoding?: string\n headers?: Headers\n}\n\nexport interface FetchHandlerResponse {\n status: number\n headers: Headers\n body: ArrayBuffer | undefined\n}\n\nexport type FetchHandler = (\n httpUri: string,\n httpMethod: string,\n httpHeaders: Headers,\n httpReqBody: any,\n) => Promise\n\nexport const errorResponseBody = z.object({\n error: z.string().optional(),\n message: z.string().optional(),\n})\nexport type ErrorResponseBody = z.infer\n\nexport enum ResponseType {\n Unknown = 1,\n InvalidResponse = 2,\n Success = 200,\n InvalidRequest = 400,\n AuthRequired = 401,\n Forbidden = 403,\n XRPCNotSupported = 404,\n PayloadTooLarge = 413,\n RateLimitExceeded = 429,\n InternalServerError = 500,\n MethodNotImplemented = 501,\n UpstreamFailure = 502,\n NotEnoughResouces = 503,\n UpstreamTimeout = 504,\n}\n\nexport const ResponseTypeNames = {\n [ResponseType.InvalidResponse]: 'InvalidResponse',\n [ResponseType.Success]: 'Success',\n [ResponseType.InvalidRequest]: 'InvalidRequest',\n [ResponseType.AuthRequired]: 'AuthenticationRequired',\n [ResponseType.Forbidden]: 'Forbidden',\n [ResponseType.XRPCNotSupported]: 'XRPCNotSupported',\n [ResponseType.PayloadTooLarge]: 'PayloadTooLarge',\n [ResponseType.RateLimitExceeded]: 'RateLimitExceeded',\n [ResponseType.InternalServerError]: 'InternalServerError',\n [ResponseType.MethodNotImplemented]: 'MethodNotImplemented',\n [ResponseType.UpstreamFailure]: 'UpstreamFailure',\n [ResponseType.NotEnoughResouces]: 'NotEnoughResouces',\n [ResponseType.UpstreamTimeout]: 'UpstreamTimeout',\n}\n\nexport const ResponseTypeStrings = {\n [ResponseType.InvalidResponse]: 'Invalid Response',\n [ResponseType.Success]: 'Success',\n [ResponseType.InvalidRequest]: 'Invalid Request',\n [ResponseType.AuthRequired]: 'Authentication Required',\n [ResponseType.Forbidden]: 'Forbidden',\n [ResponseType.XRPCNotSupported]: 'XRPC Not Supported',\n [ResponseType.PayloadTooLarge]: 'Payload Too Large',\n [ResponseType.RateLimitExceeded]: 'Rate Limit Exceeded',\n [ResponseType.InternalServerError]: 'Internal Server Error',\n [ResponseType.MethodNotImplemented]: 'Method Not Implemented',\n [ResponseType.UpstreamFailure]: 'Upstream Failure',\n [ResponseType.NotEnoughResouces]: 'Not Enough Resouces',\n [ResponseType.UpstreamTimeout]: 'Upstream Timeout',\n}\n\nexport class XRPCResponse {\n success = true\n\n constructor(public data: any, public headers: Headers) {}\n}\n\nexport class XRPCError extends Error {\n success = false\n\n constructor(\n public status: ResponseType,\n public error?: string,\n message?: string,\n ) {\n super(message || error || ResponseTypeStrings[status])\n if (!this.error) {\n this.error = ResponseTypeNames[status]\n }\n }\n}\n", "/*\nGrammar:\n\nalpha = \"a\" / \"b\" / \"c\" / \"d\" / \"e\" / \"f\" / \"g\" / \"h\" / \"i\" / \"j\" / \"k\" / \"l\" / \"m\" / \"n\" / \"o\" / \"p\" / \"q\" / \"r\" / \"s\" / \"t\" / \"u\" / \"v\" / \"w\" / \"x\" / \"y\" / \"z\" / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\" / \"G\" / \"H\" / \"I\" / \"J\" / \"K\" / \"L\" / \"M\" / \"N\" / \"O\" / \"P\" / \"Q\" / \"R\" / \"S\" / \"T\" / \"U\" / \"V\" / \"W\" / \"X\" / \"Y\" / \"Z\"\nnumber = \"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\" / \"0\"\ndelim = \".\"\nsegment = alpha *( alpha / number / \"-\" )\nauthority = segment *( delim segment )\nname = segment\nnsid = authority delim name\nnsid-ns = authority delim \"*\"\n\n*/\n\nconst SEGMENT_RE = /^[a-zA-Z]([a-zA-Z0-9-])*$/\n\nexport class NSID {\n segments: string[] = []\n\n static parse(nsid: string): NSID {\n return new NSID(nsid)\n }\n\n static create(authority: string, name: string): NSID {\n const segments = [...authority.split('.').reverse(), name].join('.')\n return new NSID(segments)\n }\n\n static isValid(nsid: string): boolean {\n try {\n NSID.parse(nsid)\n return true\n } catch (e: any) {\n return false\n }\n }\n\n constructor(nsid: string) {\n const segments = nsid.split('.')\n if (segments.length <= 2) {\n throw new Error(`Invalid NSID: ${nsid}`)\n }\n for (let i = 0; i < segments.length; i++) {\n const segment = segments[i]\n if (SEGMENT_RE.test(segment)) {\n continue\n }\n if (i === segments.length - 1 && segment === '*') {\n continue\n }\n throw new Error(`Invalid NSID: invalid character in segment \"${segment}\"`)\n }\n this.segments = segments\n }\n\n get authority() {\n return this.segments\n .slice(0, this.segments.length - 1)\n .reverse()\n .join('.')\n }\n\n get name() {\n return this.segments.at(this.segments.length - 1)\n }\n\n toString() {\n return this.segments.join('.')\n }\n}\n", "import { z } from 'zod'\nimport { NSID } from '@atproto/nsid'\n\nexport const tokenSchema = z.object({\n lexicon: z.literal(1),\n id: z.string().refine((v: string) => NSID.isValid(v), {\n message: 'Must be a valid NSID',\n }),\n type: z.enum(['token']),\n revision: z.number().optional(),\n description: z.string().optional(),\n defs: z.any().optional(),\n})\nexport type TokenSchema = z.infer\n\nexport function isValidTokenSchema(v: unknown): v is TokenSchema {\n return tokenSchema.safeParse(v).success\n}\n\nexport const recordSchema = z.object({\n lexicon: z.literal(1),\n id: z.string().refine((v: string) => NSID.isValid(v), {\n message: 'Must be a valid NSID',\n }),\n type: z.enum(['record']),\n revision: z.number().optional(),\n description: z.string().optional(),\n key: z.string().optional(),\n record: z.any().optional(),\n defs: z.any().optional(),\n})\nexport type RecordSchema = z.infer\n\nexport function isValidRecordSchema(v: unknown): v is RecordSchema {\n return recordSchema.safeParse(v).success\n}\n\nexport class RecordSchemaMalformedError extends Error {\n constructor(\n message: string,\n public schemaDef: unknown,\n public issues?: z.ZodIssue[],\n ) {\n super(message)\n this.schemaDef = schemaDef\n this.issues = issues\n }\n}\n\nexport const methodSchemaBody = z.object({\n encoding: z.union([z.string(), z.string().array()]),\n description: z.string().optional(),\n schema: z.any().optional(),\n})\nexport type MethodSchemaBody = z.infer\n\nexport const methodSchemaParam = z\n .object({\n type: z.literal('object'),\n properties: z.record(\n z\n .object({\n type: z.enum(['string', 'number', 'integer', 'boolean']),\n })\n .catchall(z.any()),\n ),\n })\n .catchall(z.any())\nexport type MethodSchemaParam = z.infer\n\nexport const methodSchemaError = z.object({\n name: z.string(),\n description: z.string().optional(),\n})\nexport type MethodSchemaError = z.infer\n\nexport const methodSchema = z.object({\n lexicon: z.literal(1),\n id: z.string(),\n type: z.enum(['query', 'procedure']),\n description: z.string().optional(),\n parameters: methodSchemaParam.optional(),\n input: methodSchemaBody.optional(),\n output: methodSchemaBody.optional(),\n errors: methodSchemaError.array().optional(),\n defs: z.any().optional(),\n})\nexport type MethodSchema = z.infer\n\nexport function isValidMethodSchema(v: unknown): v is MethodSchema {\n return methodSchema.safeParse(v).success\n}\n\nexport type Schema = TokenSchema | RecordSchema | MethodSchema\n\nexport class SchemaNotFoundError extends Error {}\n", "import Ajv, { ValidateFunction } from 'ajv'\nimport ajvAddFormats from 'ajv-formats'\nimport { RecordSchema, RecordSchemaMalformedError } from '../types'\n\nconst ajv = new Ajv()\najvAddFormats(ajv)\n\n/**\n * A compiled schema.\n */\nexport class CompiledRecordSchema {\n id: string\n validate?: ValidateFunction\n\n constructor(public def: RecordSchema) {\n this.id = def.id\n\n // .record\n try {\n if (def.record) {\n if (def.record.type !== 'object') {\n throw new Error('The base .type must be an \"object\"')\n }\n this.validate = ajv.compile(def.record)\n }\n } catch (e: any) {\n throw new RecordSchemaMalformedError(\n `The \"${this.id}\" .record failed to compile: ${e.message}`,\n def,\n )\n }\n }\n}\n\nexport default CompiledRecordSchema\n", "import Ajv from 'ajv'\nimport ajvAddFormats from 'ajv-formats'\nimport * as util from './util'\n\nimport CompiledRecordSchema from './schema'\nimport RecordSchemas from './schemas'\nimport {\n ValidationError,\n ValidationResult,\n ValidationResultCode,\n} from './validation'\n\nconst ajv = new Ajv()\najvAddFormats(ajv)\n\nexport interface RecordValidatorDescription {\n type: string | string[]\n ext?: string | string[]\n}\n\n/**\n * Validates records using schemas.\n */\nexport class RecordValidator {\n constructor(\n private schemas: RecordSchemas,\n public type: CompiledRecordSchema[],\n public ext: CompiledRecordSchema[],\n ) {}\n\n /**\n * Returns detailed information about validity and compatibility.\n */\n validate(value: unknown): ValidationResult {\n const res = new ValidationResult()\n\n // basic validation\n if (!util.isRecord(value)) {\n res._t(ValidationResultCode.Invalid, `The passed value is not an object`)\n return res // abort now\n }\n if (!value.$type) {\n res._t(\n ValidationResultCode.Invalid,\n `The passed value does not declare a $type`,\n )\n return res // abort now\n }\n\n // lookup schema\n const typeSchema = this.type.find(schemaIdFilter(value.$type as string))\n if (!typeSchema) {\n res._t(\n ValidationResultCode.Incompatible,\n `Record type ${value.$type} is not supported`,\n )\n } else if (!typeSchema.validate) {\n res._t(\n ValidationResultCode.Incompatible,\n `Record type ${value.$type} is not a record schema`,\n )\n } else {\n // validate base type\n const typeIsValid = typeSchema.validate(value)\n if (!typeIsValid) {\n res._fail(typeSchema, typeSchema.validate)\n }\n }\n\n // validate extension objects\n if ('$ext' in value && typeof value.$ext === 'object') {\n for (const [extSchemaId, obj] of Object.entries(\n value.$ext as Record,\n )) {\n const extObj = obj as Record\n\n const extIsRequired =\n '$required' in extObj && typeof extObj.$required === 'boolean'\n ? extObj.$required\n : false\n\n let extFallback\n if ('$fallback' in extObj && typeof extObj.$fallback === 'string') {\n extFallback = extObj.$fallback\n }\n\n // lookup extension\n const extSchema = this.ext.find(schemaIdFilter(extSchemaId))\n if (!extSchema || !extSchema.validate) {\n if (extIsRequired) {\n res._t(\n ValidationResultCode.Incompatible,\n `Record extension ${extSchemaId} is not supported`,\n )\n } else {\n res._t(ValidationResultCode.Partial, extFallback)\n }\n } else {\n // validate extension object\n const extObjIsValid = extSchema.validate(extObj)\n if (!extObjIsValid) {\n res._fail(extSchema, extSchema.validate)\n }\n }\n }\n }\n\n return res\n }\n\n /**\n * Provides a simple boolean check of validity.\n */\n isValid(value: unknown) {\n const res = this.validate(value)\n return res.valid\n }\n\n /**\n * Like validate() but throws if validation fails.\n */\n assertValid(value: unknown) {\n const res = this.validate(value)\n if (!res.valid) {\n throw new ValidationError(res)\n }\n return res\n }\n}\n\n// helpers\n\nconst schemaIdFilter = (schemaId: string) => (s: CompiledRecordSchema) =>\n s.id === schemaId\n\nexport default RecordValidator\n", "import { MethodSchema } from '@atproto/lexicon'\nimport {\n CallOptions,\n Headers,\n QueryParams,\n ResponseType,\n XRPCError,\n} from './types'\n\nexport function getMethodSchemaHTTPMethod(schema: MethodSchema) {\n if (schema.type === 'query') {\n return 'get'\n }\n if (schema.type === 'procedure') {\n return 'post'\n }\n throw new Error(`Invalid method type: ${schema.type}`)\n}\n\nexport function constructMethodCallUri(\n schema: MethodSchema,\n serviceUri: URL,\n params?: QueryParams,\n): string {\n const uri = new URL(serviceUri)\n uri.pathname = `/xrpc/${schema.id}`\n\n // given parameters\n if (params) {\n for (const [key, value] of Object.entries(params)) {\n const paramSchema = schema.parameters?.properties[key]\n if (!paramSchema) {\n throw new Error(`Invalid query parameter: ${key}`)\n }\n if (value !== undefined) {\n uri.searchParams.set(key, encodeQueryParam(paramSchema.type, value))\n }\n }\n }\n\n return uri.toString()\n}\n\nexport function encodeQueryParam(\n type: 'string' | 'number' | 'integer' | 'boolean',\n value: any,\n): string {\n if (type === 'string') {\n return String(value)\n }\n if (type === 'number') {\n return String(Number(value))\n } else if (type === 'integer') {\n return String(Number(value) | 0)\n } else if (type === 'boolean') {\n return value ? 'true' : 'false'\n }\n throw new Error(`Unsupported query param type: ${type}`)\n}\n\nexport function constructMethodCallHeaders(\n schema: MethodSchema,\n data?: any,\n opts?: CallOptions,\n): Headers {\n const headers: Headers = opts?.headers || {}\n if (schema.type === 'procedure') {\n if (opts?.encoding) {\n headers['Content-Type'] = opts.encoding\n }\n if (data && typeof data === 'object') {\n if (!headers['Content-Type']) {\n headers['Content-Type'] = 'application/json'\n }\n }\n }\n return headers\n}\n\nexport function encodeMethodCallBody(\n headers: Headers,\n data?: any,\n): ArrayBuffer | undefined {\n if (!headers['Content-Type'] || typeof data === 'undefined') {\n return undefined\n }\n if (data instanceof ArrayBuffer) {\n return data\n }\n if (headers['Content-Type'].startsWith('text/')) {\n return new TextEncoder().encode(data.toString())\n }\n if (headers['Content-Type'].startsWith('application/json')) {\n return new TextEncoder().encode(JSON.stringify(data))\n }\n return data\n}\n\nexport function httpResponseCodeToEnum(status: number): ResponseType {\n let resCode: ResponseType\n if (status in ResponseType) {\n resCode = status\n } else if (status >= 100 && status < 200) {\n resCode = ResponseType.XRPCNotSupported\n } else if (status >= 200 && status < 300) {\n resCode = ResponseType.Success\n } else if (status >= 300 && status < 400) {\n resCode = ResponseType.XRPCNotSupported\n } else if (status >= 400 && status < 500) {\n resCode = ResponseType.InvalidRequest\n } else {\n resCode = ResponseType.InternalServerError\n }\n return resCode\n}\n\nexport function httpResponseBodyParse(\n mimeType: string | null,\n data: ArrayBuffer | undefined,\n): any {\n if (mimeType) {\n if (mimeType.includes('application/json') && data?.byteLength) {\n try {\n const str = new TextDecoder().decode(data)\n return JSON.parse(str)\n } catch (e: any) {\n throw new XRPCError(\n ResponseType.InvalidResponse,\n `Failed to parse response body: ${e.toString()}`,\n )\n }\n }\n if (mimeType.startsWith('text/') && data?.byteLength) {\n try {\n return new TextDecoder().decode(data)\n } catch (e: any) {\n throw new XRPCError(\n ResponseType.InvalidResponse,\n `Failed to parse response body: ${e.toString()}`,\n )\n }\n }\n }\n return data\n}\n", "import {\n methodSchema,\n MethodSchema,\n isValidMethodSchema,\n} from '@atproto/lexicon'\nimport {\n getMethodSchemaHTTPMethod,\n constructMethodCallUri,\n constructMethodCallHeaders,\n encodeMethodCallBody,\n httpResponseCodeToEnum,\n httpResponseBodyParse,\n} from './util'\nimport {\n FetchHandler,\n FetchHandlerResponse,\n Headers,\n CallOptions,\n QueryParams,\n ResponseType,\n errorResponseBody,\n ErrorResponseBody,\n XRPCResponse,\n XRPCError,\n} from './types'\n\nexport class Client {\n fetch: FetchHandler = defaultFetchHandler\n schemas: Map = new Map()\n\n // method calls\n //\n\n async call(\n serviceUri: string | URL,\n methodNsid: string,\n params?: QueryParams,\n data?: unknown,\n opts?: CallOptions,\n ) {\n return this.service(serviceUri).call(methodNsid, params, data, opts)\n }\n\n service(serviceUri: string | URL) {\n return new ServiceClient(this, serviceUri)\n }\n\n // schemas\n // =\n\n addSchema(schema: unknown) {\n if (isValidMethodSchema(schema)) {\n this.schemas.set(schema.id, schema)\n } else {\n methodSchema.parse(schema) // will throw with the validation error\n }\n }\n\n addSchemas(schemas: unknown[]) {\n for (const schema of schemas) {\n this.addSchema(schema)\n }\n }\n\n listSchemaIds(): string[] {\n return Array.from(this.schemas.keys())\n }\n\n removeSchema(nsid: string) {\n this.schemas.delete(nsid)\n }\n}\n\nexport class ServiceClient {\n baseClient: Client\n uri: URL\n headers: Record = {}\n\n constructor(baseClient: Client, serviceUri: string | URL) {\n this.baseClient = baseClient\n this.uri = typeof serviceUri === 'string' ? new URL(serviceUri) : serviceUri\n }\n\n setHeader(key: string, value: string): void {\n this.headers[key] = value\n }\n\n unsetHeader(key: string): void {\n delete this.headers[key]\n }\n\n async call(\n methodNsid: string,\n params?: QueryParams,\n data?: unknown,\n opts?: CallOptions,\n ) {\n const schema = this.baseClient.schemas.get(methodNsid)\n if (!schema) {\n throw new Error(`Method schema not found: ${methodNsid}`)\n }\n const httpMethod = getMethodSchemaHTTPMethod(schema)\n const httpUri = constructMethodCallUri(schema, this.uri, params)\n const httpHeaders = constructMethodCallHeaders(schema, data, {\n headers: {\n ...this.headers,\n ...opts?.headers,\n },\n encoding: opts?.encoding,\n })\n\n const res = await this.baseClient.fetch(\n httpUri,\n httpMethod,\n httpHeaders,\n data,\n )\n\n const resCode = httpResponseCodeToEnum(res.status)\n if (resCode === ResponseType.Success) {\n return new XRPCResponse(res.body, res.headers)\n } else {\n if (res.body && isErrorResponseBody(res.body)) {\n throw new XRPCError(resCode, res.body.error, res.body.message)\n } else {\n throw new XRPCError(resCode)\n }\n }\n }\n}\n\nasync function defaultFetchHandler(\n httpUri: string,\n httpMethod: string,\n httpHeaders: Headers,\n httpReqBody: unknown,\n): Promise {\n try {\n const res = await fetch(httpUri, {\n method: httpMethod,\n headers: httpHeaders,\n body: encodeMethodCallBody(httpHeaders, httpReqBody),\n })\n const resBody = await res.arrayBuffer()\n return {\n status: res.status,\n headers: Object.fromEntries(res.headers.entries()),\n body: httpResponseBodyParse(res.headers.get('content-type'), resBody),\n }\n } catch (e: any) {\n throw new XRPCError(ResponseType.Unknown, e.toString())\n }\n}\n\nfunction isErrorResponseBody(v: unknown): v is ErrorResponseBody {\n return errorResponseBody.safeParse(v).success\n}\n", "export * from './types'\nexport * from './client'\n\nimport { Client } from './client'\nconst defaultInst = new Client()\nexport default defaultInst\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { MethodSchema, RecordSchema } from '@atproto/lexicon'\n\nexport const methodSchemaDict: Record = {\n 'com.atproto.account.create': {\n lexicon: 1,\n id: 'com.atproto.account.create',\n type: 'procedure',\n description: 'Create an account.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'email', 'password'],\n properties: {\n email: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n inviteCode: {\n type: 'string',\n },\n password: {\n type: 'string',\n },\n recoveryKey: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n properties: {\n accessJwt: {\n type: 'string',\n },\n refreshJwt: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n errors: [\n {\n name: 'InvalidHandle',\n },\n {\n name: 'InvalidPassword',\n },\n {\n name: 'InvalidInviteCode',\n },\n {\n name: 'HandleNotAvailable',\n },\n ],\n },\n 'com.atproto.account.createInviteCode': {\n lexicon: 1,\n id: 'com.atproto.account.createInviteCode',\n type: 'procedure',\n description: 'Create an invite code.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['useCount'],\n properties: {\n useCount: {\n type: 'number',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['code'],\n properties: {\n code: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.account.delete': {\n lexicon: 1,\n id: 'com.atproto.account.delete',\n type: 'procedure',\n description: 'Delete an account.',\n input: {\n encoding: '',\n schema: {\n $defs: {},\n },\n },\n output: {\n encoding: '',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.account.get': {\n lexicon: 1,\n id: 'com.atproto.account.get',\n type: 'query',\n description: 'Get information about an account.',\n output: {\n encoding: '',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.account.requestPasswordReset': {\n lexicon: 1,\n id: 'com.atproto.account.requestPasswordReset',\n type: 'procedure',\n description: 'Initiate a user account password reset via email.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['email'],\n properties: {\n email: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {},\n $defs: {},\n },\n },\n },\n 'com.atproto.account.resetPassword': {\n lexicon: 1,\n id: 'com.atproto.account.resetPassword',\n type: 'procedure',\n description: 'Reset a user account password using a token.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['token', 'password'],\n properties: {\n token: {\n type: 'string',\n },\n password: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {},\n $defs: {},\n },\n },\n errors: [\n {\n name: 'ExpiredToken',\n },\n {\n name: 'InvalidToken',\n },\n ],\n },\n 'com.atproto.handle.resolve': {\n lexicon: 1,\n id: 'com.atproto.handle.resolve',\n type: 'query',\n description: 'Provides the DID of a repo.',\n parameters: {\n type: 'object',\n properties: {\n handle: {\n type: 'string',\n description:\n \"The handle to resolve. If not supplied, will resolve the host's own handle.\",\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.batchWrite': {\n lexicon: 1,\n id: 'com.atproto.repo.batchWrite',\n type: 'procedure',\n description: 'Apply a batch transaction of creates, puts, and deletes.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'writes'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n validate: {\n type: 'boolean',\n default: true,\n description: 'Validate the records?',\n },\n writes: {\n type: 'array',\n items: {\n oneOf: [\n {\n type: 'object',\n required: ['action', 'collection', 'value'],\n properties: {\n action: {\n type: 'string',\n const: 'create',\n },\n collection: {\n type: 'string',\n },\n rkey: {\n type: 'string',\n },\n value: {},\n },\n },\n {\n type: 'object',\n required: ['action', 'collection', 'rkey', 'value'],\n properties: {\n action: {\n type: 'string',\n const: 'update',\n },\n collection: {\n type: 'string',\n },\n rkey: {\n type: 'string',\n },\n value: {},\n },\n },\n {\n type: 'object',\n required: ['action', 'collection', 'rkey'],\n properties: {\n action: {\n type: 'string',\n const: 'delete',\n },\n collection: {\n type: 'string',\n },\n rkey: {\n type: 'string',\n },\n },\n },\n ],\n },\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.createRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.createRecord',\n type: 'procedure',\n description: 'Create a new record.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'collection', 'record'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record collection.',\n },\n validate: {\n type: 'boolean',\n default: true,\n description: 'Validate the record?',\n },\n record: {\n type: 'object',\n description: 'The record to create.',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.deleteRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.deleteRecord',\n type: 'procedure',\n description: 'Delete a record.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'collection', 'rkey'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record collection.',\n },\n rkey: {\n type: 'string',\n description: 'The key of the record.',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.describe': {\n lexicon: 1,\n id: 'com.atproto.repo.describe',\n type: 'query',\n description:\n 'Get information about the repo, including the list of collections.',\n parameters: {\n type: 'object',\n required: ['user'],\n properties: {\n user: {\n type: 'string',\n description: 'The handle or DID of the repo.',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'did', 'didDoc', 'collections', 'handleIsCorrect'],\n properties: {\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n didDoc: {\n type: 'object',\n },\n collections: {\n type: 'array',\n items: {\n type: 'string',\n },\n },\n handleIsCorrect: {\n type: 'boolean',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.getRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.getRecord',\n type: 'query',\n description: 'Fetch a record.',\n parameters: {\n type: 'object',\n required: ['user', 'collection', 'rkey'],\n properties: {\n user: {\n type: 'string',\n description: 'The handle or DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the collection.',\n },\n rkey: {\n type: 'string',\n description: 'The key of the record.',\n },\n cid: {\n type: 'string',\n description:\n 'The CID of the version of the record. If not specified, then return the most recent version.',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'value'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n value: {\n type: 'object',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.listRecords': {\n lexicon: 1,\n id: 'com.atproto.repo.listRecords',\n type: 'query',\n description: 'List a range of records in a collection.',\n parameters: {\n type: 'object',\n required: ['user', 'collection'],\n properties: {\n user: {\n type: 'string',\n description: 'The handle or DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record type.',\n },\n limit: {\n type: 'number',\n minimum: 1,\n default: 50,\n description: 'The number of records to return. TODO-max number?',\n },\n before: {\n type: 'string',\n description: 'A TID to filter the range of records returned.',\n },\n after: {\n type: 'string',\n description: 'A TID to filter the range of records returned.',\n },\n reverse: {\n type: 'boolean',\n description: 'Reverse the order of the returned records?',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['records'],\n properties: {\n cursor: {\n type: 'string',\n },\n records: {\n type: 'array',\n items: {\n type: 'object',\n required: ['uri', 'cid', 'value'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n value: {\n type: 'object',\n },\n },\n },\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.repo.putRecord': {\n lexicon: 1,\n id: 'com.atproto.repo.putRecord',\n type: 'procedure',\n description: 'Write a record.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['did', 'collection', 'rkey', 'record'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n collection: {\n type: 'string',\n description: 'The NSID of the record type.',\n },\n rkey: {\n type: 'string',\n description: 'The TID of the record.',\n },\n validate: {\n type: 'boolean',\n default: true,\n description: 'Validate the record?',\n },\n record: {\n type: 'object',\n description: 'The record to create.',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.server.getAccountsConfig': {\n lexicon: 1,\n id: 'com.atproto.server.getAccountsConfig',\n type: 'query',\n description:\n \"Get a document describing the service's accounts configuration.\",\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['availableUserDomains'],\n properties: {\n inviteCodeRequired: {\n type: 'boolean',\n },\n availableUserDomains: {\n type: 'array',\n items: {\n type: 'string',\n },\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.session.create': {\n lexicon: 1,\n id: 'com.atproto.session.create',\n type: 'procedure',\n description: 'Create an authentication session.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'password'],\n properties: {\n handle: {\n type: 'string',\n },\n password: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n properties: {\n accessJwt: {\n type: 'string',\n },\n refreshJwt: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.session.delete': {\n lexicon: 1,\n id: 'com.atproto.session.delete',\n type: 'procedure',\n description: 'Delete the current session.',\n output: {\n encoding: 'application/json',\n schema: {\n $defs: {},\n },\n },\n },\n 'com.atproto.session.get': {\n lexicon: 1,\n id: 'com.atproto.session.get',\n type: 'query',\n description: 'Get information about the current session.',\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'did'],\n properties: {\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.session.refresh': {\n lexicon: 1,\n id: 'com.atproto.session.refresh',\n type: 'procedure',\n description: 'Refresh an authentication session.',\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['accessJwt', 'refreshJwt', 'handle', 'did'],\n properties: {\n accessJwt: {\n type: 'string',\n },\n refreshJwt: {\n type: 'string',\n },\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.sync.getRepo': {\n lexicon: 1,\n id: 'com.atproto.sync.getRepo',\n type: 'query',\n description: 'Gets the repo state.',\n parameters: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n from: {\n type: 'string',\n description: 'A past commit CID.',\n },\n },\n },\n output: {\n encoding: 'application/cbor',\n },\n },\n 'com.atproto.sync.getRoot': {\n lexicon: 1,\n id: 'com.atproto.sync.getRoot',\n type: 'query',\n description: 'Gets the current root CID of a repo.',\n parameters: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['root'],\n properties: {\n root: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n },\n 'com.atproto.sync.updateRepo': {\n lexicon: 1,\n id: 'com.atproto.sync.updateRepo',\n type: 'procedure',\n description: 'Writes commits to a repo.',\n parameters: {\n type: 'object',\n required: ['did'],\n properties: {\n did: {\n type: 'string',\n description: 'The DID of the repo.',\n },\n },\n },\n input: {\n encoding: 'application/cbor',\n },\n },\n 'app.bsky.actor.createScene': {\n lexicon: 1,\n id: 'app.bsky.actor.createScene',\n type: 'procedure',\n description: 'Create a scene.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle'],\n properties: {\n handle: {\n type: 'string',\n },\n recoveryKey: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['handle', 'did', 'declaration'],\n properties: {\n handle: {\n type: 'string',\n },\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n errors: [\n {\n name: 'InvalidHandle',\n },\n {\n name: 'HandleNotAvailable',\n },\n ],\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.getProfile': {\n lexicon: 1,\n id: 'app.bsky.actor.getProfile',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['actor'],\n properties: {\n actor: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: [\n 'did',\n 'declaration',\n 'handle',\n 'creator',\n 'followersCount',\n 'followsCount',\n 'membersCount',\n 'postsCount',\n ],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n creator: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n maxLength: 256,\n },\n followersCount: {\n type: 'number',\n },\n followsCount: {\n type: 'number',\n },\n membersCount: {\n type: 'number',\n },\n postsCount: {\n type: 'number',\n },\n myState: {\n type: 'object',\n properties: {\n follow: {\n type: 'string',\n },\n member: {\n type: 'string',\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.getSuggestions': {\n lexicon: 1,\n id: 'app.bsky.actor.getSuggestions',\n type: 'query',\n description:\n 'Get a list of actors suggested for following. Used in discovery UIs.',\n parameters: {\n type: 'object',\n properties: {\n limit: {\n type: 'number',\n maximum: 100,\n },\n cursor: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['actors'],\n properties: {\n cursor: {\n type: 'string',\n },\n actors: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n follow: {\n type: 'string',\n },\n },\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.search': {\n lexicon: 1,\n id: 'app.bsky.actor.search',\n type: 'query',\n description: 'Find users matching search criteria.',\n parameters: {\n type: 'object',\n required: ['term'],\n properties: {\n term: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['users'],\n properties: {\n cursor: {\n type: 'string',\n },\n users: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.searchTypeahead': {\n lexicon: 1,\n id: 'app.bsky.actor.searchTypeahead',\n type: 'query',\n description: 'Find user suggestions for a search term.',\n parameters: {\n type: 'object',\n required: ['term'],\n properties: {\n term: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['users'],\n properties: {\n users: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.actor.updateProfile': {\n lexicon: 1,\n id: 'app.bsky.actor.updateProfile',\n type: 'procedure',\n description: 'Notify server that the user has seen notifications.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n maxLength: 256,\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'cid', 'record'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n record: {\n type: 'object',\n },\n },\n $defs: {},\n },\n },\n },\n 'app.bsky.feed.getAuthorFeed': {\n lexicon: 1,\n id: 'app.bsky.feed.getAuthorFeed',\n type: 'query',\n description: \"A view of a user's feed.\",\n parameters: {\n type: 'object',\n required: ['author'],\n properties: {\n author: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['feed'],\n properties: {\n cursor: {\n type: 'string',\n },\n feed: {\n type: 'array',\n items: {\n $ref: '#/$defs/feedItem',\n },\n },\n },\n $defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n },\n },\n },\n defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getPostThread': {\n lexicon: 1,\n id: 'app.bsky.feed.getPostThread',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['uri'],\n properties: {\n uri: {\n type: 'string',\n },\n depth: {\n type: 'number',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['thread'],\n properties: {\n thread: {\n $ref: '#/$defs/post',\n },\n },\n $defs: {\n post: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n parent: {\n $ref: '#/$defs/post',\n },\n replyCount: {\n type: 'number',\n },\n replies: {\n type: 'array',\n items: {\n $ref: '#/$defs/post',\n },\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n user: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n },\n },\n },\n defs: {\n post: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n parent: {\n $ref: '#/$defs/post',\n },\n replyCount: {\n type: 'number',\n },\n replies: {\n type: 'array',\n items: {\n $ref: '#/$defs/post',\n },\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n user: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/user',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getRepostedBy': {\n lexicon: 1,\n id: 'app.bsky.feed.getRepostedBy',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['uri'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'repostedBy'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n cursor: {\n type: 'string',\n },\n repostedBy: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getTimeline': {\n lexicon: 1,\n id: 'app.bsky.feed.getTimeline',\n type: 'query',\n description: \"A view of the user's home timeline.\",\n parameters: {\n type: 'object',\n properties: {\n algorithm: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['feed'],\n properties: {\n cursor: {\n type: 'string',\n },\n feed: {\n type: 'array',\n items: {\n $ref: '#/$defs/feedItem',\n },\n },\n },\n $defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n actorType: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n },\n },\n },\n defs: {\n feedItem: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'record',\n 'replyCount',\n 'repostCount',\n 'upvoteCount',\n 'downvoteCount',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n trendedBy: {\n $ref: '#/$defs/actor',\n },\n repostedBy: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n embed: {\n oneOf: [\n {\n $ref: '#/$defs/recordEmbed',\n },\n {\n $ref: '#/$defs/externalEmbed',\n },\n {\n $ref: '#/$defs/unknownEmbed',\n },\n ],\n },\n replyCount: {\n type: 'number',\n },\n repostCount: {\n type: 'number',\n },\n upvoteCount: {\n type: 'number',\n },\n downvoteCount: {\n type: 'number',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n myState: {\n type: 'object',\n properties: {\n repost: {\n type: 'string',\n },\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n actorType: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n recordEmbed: {\n type: 'object',\n required: ['type', 'author', 'record'],\n properties: {\n type: {\n const: 'record',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n record: {\n type: 'object',\n },\n },\n },\n externalEmbed: {\n type: 'object',\n required: ['type', 'uri', 'title', 'description', 'imageUri'],\n properties: {\n type: {\n const: 'external',\n },\n uri: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n imageUri: {\n type: 'string',\n },\n },\n },\n unknownEmbed: {\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n not: {\n enum: ['record', 'external'],\n },\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.getVotes': {\n lexicon: 1,\n id: 'app.bsky.feed.getVotes',\n type: 'query',\n parameters: {\n type: 'object',\n required: ['uri'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n direction: {\n type: 'string',\n enum: ['up', 'down'],\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['uri', 'votes'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n cursor: {\n type: 'string',\n },\n votes: {\n type: 'array',\n items: {\n type: 'object',\n required: ['direction', 'indexedAt', 'createdAt', 'actor'],\n properties: {\n direction: {\n type: 'string',\n enum: ['up', 'down'],\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n actor: {\n $ref: '#/$defs/actor',\n },\n },\n },\n },\n },\n $defs: {\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.feed.setVote': {\n lexicon: 1,\n id: 'app.bsky.feed.setVote',\n type: 'procedure',\n description: \"Upvote, downvote, or clear the user's vote for a post.\",\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'direction'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n direction: {\n type: 'string',\n enum: ['up', 'down', 'none'],\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n properties: {\n upvote: {\n type: 'string',\n },\n downvote: {\n type: 'string',\n },\n },\n $defs: {},\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.graph.getAssertions': {\n lexicon: 1,\n id: 'app.bsky.graph.getAssertions',\n type: 'query',\n description: 'General-purpose query for assertions.',\n parameters: {\n type: 'object',\n properties: {\n author: {\n type: 'string',\n },\n subject: {\n type: 'string',\n },\n assertion: {\n type: 'string',\n },\n confirmed: {\n type: 'boolean',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['assertions'],\n properties: {\n cursor: {\n type: 'string',\n },\n assertions: {\n type: 'array',\n items: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'assertion',\n 'author',\n 'subject',\n 'indexedAt',\n 'createdAt',\n ],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n assertion: {\n type: 'string',\n },\n confirmation: {\n $ref: '#/$defs/confirmation',\n },\n author: {\n $ref: '#/$defs/actor',\n },\n subject: {\n $ref: '#/$defs/actor',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n confirmation: {\n type: 'object',\n required: ['uri', 'cid', 'indexedAt', 'createdAt'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n confirmation: {\n type: 'object',\n required: ['uri', 'cid', 'indexedAt', 'createdAt'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n actor: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.graph.getFollowers': {\n lexicon: 1,\n id: 'app.bsky.graph.getFollowers',\n type: 'query',\n description: 'Who is following a user?',\n parameters: {\n type: 'object',\n required: ['user'],\n properties: {\n user: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'followers'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n followers: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.graph.getFollows': {\n lexicon: 1,\n id: 'app.bsky.graph.getFollows',\n type: 'query',\n description: 'Who is a user following?',\n parameters: {\n type: 'object',\n required: ['user'],\n properties: {\n user: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'follows'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n follows: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.graph.getMembers': {\n lexicon: 1,\n id: 'app.bsky.graph.getMembers',\n type: 'query',\n description: 'Who is a member of the group?',\n parameters: {\n type: 'object',\n required: ['actor'],\n properties: {\n actor: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'members'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n members: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.graph.getMemberships': {\n lexicon: 1,\n id: 'app.bsky.graph.getMemberships',\n type: 'query',\n description: 'Which groups is the actor a member of?',\n parameters: {\n type: 'object',\n required: ['actor'],\n properties: {\n actor: {\n type: 'string',\n },\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['subject', 'memberships'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n cursor: {\n type: 'string',\n },\n memberships: {\n type: 'array',\n items: {\n type: 'object',\n required: ['did', 'declaration', 'handle', 'indexedAt'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n },\n },\n $defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.notification.getCount': {\n lexicon: 1,\n id: 'app.bsky.notification.getCount',\n type: 'query',\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['count'],\n properties: {\n count: {\n type: 'number',\n },\n },\n $defs: {},\n },\n },\n },\n 'app.bsky.notification.list': {\n lexicon: 1,\n id: 'app.bsky.notification.list',\n type: 'query',\n parameters: {\n type: 'object',\n properties: {\n limit: {\n type: 'number',\n maximum: 100,\n },\n before: {\n type: 'string',\n },\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['notifications'],\n properties: {\n cursor: {\n type: 'string',\n },\n notifications: {\n type: 'array',\n items: {\n $ref: '#/$defs/notification',\n },\n },\n },\n $defs: {\n notification: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'reason',\n 'record',\n 'isRead',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n format: 'uri',\n },\n cid: {\n type: 'string',\n },\n author: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n reason: {\n type: 'string',\n $comment:\n \"Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.\",\n },\n reasonSubject: {\n type: 'string',\n },\n record: {\n type: 'object',\n },\n isRead: {\n type: 'boolean',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n },\n defs: {\n notification: {\n type: 'object',\n required: [\n 'uri',\n 'cid',\n 'author',\n 'reason',\n 'record',\n 'isRead',\n 'indexedAt',\n ],\n properties: {\n uri: {\n type: 'string',\n format: 'uri',\n },\n cid: {\n type: 'string',\n },\n author: {\n type: 'object',\n required: ['did', 'declaration', 'handle'],\n properties: {\n did: {\n type: 'string',\n },\n declaration: {\n $ref: '#/$defs/declaration',\n },\n handle: {\n type: 'string',\n },\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n },\n },\n reason: {\n type: 'string',\n $comment:\n \"Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.\",\n },\n reasonSubject: {\n type: 'string',\n },\n record: {\n type: 'object',\n },\n isRead: {\n type: 'boolean',\n },\n indexedAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n },\n declaration: {\n type: 'object',\n required: ['cid', 'actorType'],\n properties: {\n cid: {\n type: 'string',\n },\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n },\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n 'app.bsky.notification.updateSeen': {\n lexicon: 1,\n id: 'app.bsky.notification.updateSeen',\n type: 'procedure',\n description: 'Notify server that the user has seen notifications.',\n input: {\n encoding: 'application/json',\n schema: {\n type: 'object',\n required: ['seenAt'],\n properties: {\n seenAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n output: {\n encoding: 'application/json',\n schema: {\n $defs: {},\n },\n },\n },\n}\nexport const methodSchemas: MethodSchema[] = Object.values(methodSchemaDict)\nexport const ids = {\n AppBskyActorProfile: 'app.bsky.actor.profile',\n AppBskyFeedMediaEmbed: 'app.bsky.feed.mediaEmbed',\n AppBskyFeedPost: 'app.bsky.feed.post',\n AppBskyFeedRepost: 'app.bsky.feed.repost',\n AppBskyFeedTrend: 'app.bsky.feed.trend',\n AppBskyFeedVote: 'app.bsky.feed.vote',\n AppBskyGraphAssertion: 'app.bsky.graph.assertion',\n AppBskyGraphConfirmation: 'app.bsky.graph.confirmation',\n AppBskyGraphFollow: 'app.bsky.graph.follow',\n AppBskySystemDeclaration: 'app.bsky.system.declaration',\n}\nexport const recordSchemaDict: Record = {\n 'app.bsky.actor.profile': {\n lexicon: 1,\n id: 'app.bsky.actor.profile',\n type: 'record',\n key: 'literal:self',\n record: {\n type: 'object',\n required: ['displayName'],\n properties: {\n displayName: {\n type: 'string',\n maxLength: 64,\n },\n description: {\n type: 'string',\n maxLength: 256,\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.feed.mediaEmbed': {\n lexicon: 1,\n id: 'app.bsky.feed.mediaEmbed',\n type: 'record',\n description: 'A list of media embedded in a post or document.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['media'],\n properties: {\n media: {\n type: 'array',\n items: {\n $ref: '#/$defs/mediaEmbed',\n },\n },\n },\n $defs: {\n mediaEmbed: {\n type: 'object',\n required: ['original'],\n properties: {\n alt: {\n type: 'string',\n },\n thumb: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n original: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n },\n },\n mediaEmbedBlob: {\n type: 'object',\n required: ['mimeType', 'blobId'],\n properties: {\n mimeType: {\n type: 'string',\n },\n blobId: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n mediaEmbed: {\n type: 'object',\n required: ['original'],\n properties: {\n alt: {\n type: 'string',\n },\n thumb: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n original: {\n $ref: '#/$defs/mediaEmbedBlob',\n },\n },\n },\n mediaEmbedBlob: {\n type: 'object',\n required: ['mimeType', 'blobId'],\n properties: {\n mimeType: {\n type: 'string',\n },\n blobId: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.feed.post': {\n lexicon: 1,\n id: 'app.bsky.feed.post',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['text', 'createdAt'],\n properties: {\n text: {\n type: 'string',\n maxLength: 256,\n },\n entities: {\n type: 'array',\n items: {\n $ref: '#/$defs/entity',\n },\n },\n reply: {\n type: 'object',\n required: ['root', 'parent'],\n properties: {\n root: {\n $ref: '#/$defs/postRef',\n },\n parent: {\n $ref: '#/$defs/postRef',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n entity: {\n type: 'object',\n required: ['index', 'type', 'value'],\n properties: {\n index: {\n $ref: '#/$defs/textSlice',\n },\n type: {\n type: 'string',\n $comment: \"Expected values are 'mention', 'hashtag', and 'link'.\",\n },\n value: {\n type: 'string',\n },\n },\n },\n textSlice: {\n type: 'object',\n required: ['start', 'end'],\n properties: {\n start: {\n type: 'number',\n minimum: 0,\n },\n end: {\n type: 'number',\n minimum: 0,\n },\n },\n },\n postRef: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n postRef: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n entity: {\n type: 'object',\n required: ['index', 'type', 'value'],\n properties: {\n index: {\n $ref: '#/$defs/textSlice',\n },\n type: {\n type: 'string',\n $comment: \"Expected values are 'mention', 'hashtag', and 'link'.\",\n },\n value: {\n type: 'string',\n },\n },\n },\n textSlice: {\n type: 'object',\n required: ['start', 'end'],\n properties: {\n start: {\n type: 'number',\n minimum: 0,\n },\n end: {\n type: 'number',\n minimum: 0,\n },\n },\n },\n },\n },\n 'app.bsky.feed.repost': {\n lexicon: 1,\n id: 'app.bsky.feed.repost',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'createdAt'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.feed.trend': {\n lexicon: 1,\n id: 'app.bsky.feed.trend',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'createdAt'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.feed.vote': {\n lexicon: 1,\n id: 'app.bsky.feed.vote',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'direction', 'createdAt'],\n properties: {\n subject: {\n $ref: '#/$defs/subject',\n },\n direction: {\n type: 'string',\n enum: ['up', 'down'],\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n defs: {\n subject: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n },\n },\n 'app.bsky.graph.assertion': {\n lexicon: 1,\n id: 'app.bsky.graph.assertion',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['assertion', 'subject', 'createdAt'],\n properties: {\n assertion: {\n type: 'string',\n },\n subject: {\n type: 'object',\n required: ['did', 'declarationCid'],\n properties: {\n did: {\n type: 'string',\n },\n declarationCid: {\n type: 'string',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.graph.confirmation': {\n lexicon: 1,\n id: 'app.bsky.graph.confirmation',\n type: 'record',\n key: 'tid',\n record: {\n type: 'object',\n required: ['originator', 'assertion', 'createdAt'],\n properties: {\n originator: {\n type: 'object',\n required: ['did', 'declarationCid'],\n properties: {\n did: {\n type: 'string',\n },\n declarationCid: {\n type: 'string',\n },\n },\n },\n assertion: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n },\n cid: {\n type: 'string',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.graph.follow': {\n lexicon: 1,\n id: 'app.bsky.graph.follow',\n type: 'record',\n description: 'A social follow.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['subject', 'createdAt'],\n properties: {\n subject: {\n type: 'object',\n required: ['did', 'declarationCid'],\n properties: {\n did: {\n type: 'string',\n },\n declarationCid: {\n type: 'string',\n },\n },\n },\n createdAt: {\n type: 'string',\n format: 'date-time',\n },\n },\n $defs: {},\n },\n },\n 'app.bsky.system.declaration': {\n lexicon: 1,\n id: 'app.bsky.system.declaration',\n description:\n 'Context for an account that is considered intrinsic to it and alters the fundamental understanding of an account of changed. A declaration should be treated as immutable.',\n type: 'record',\n key: 'literal:self',\n record: {\n type: 'object',\n required: ['actorType'],\n properties: {\n actorType: {\n oneOf: [\n {\n $ref: '#/$defs/actorKnown',\n },\n {\n $ref: '#/$defs/actorUnknown',\n },\n ],\n },\n },\n $defs: {\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n defs: {\n actorKnown: {\n type: 'string',\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n actorUnknown: {\n type: 'string',\n not: {\n enum: ['app.bsky.system.actorUser', 'app.bsky.system.actorScene'],\n },\n },\n },\n },\n}\nexport const recordSchemas: RecordSchema[] = Object.values(recordSchemaDict)\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n email: string;\n handle: string;\n inviteCode?: string;\n password: string;\n recoveryKey?: string;\n}\n\nexport interface OutputSchema {\n accessJwt: string;\n refreshJwt: string;\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport class InvalidHandleError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class InvalidPasswordError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class InvalidInviteCodeError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n if (e.error === 'InvalidPassword') return new InvalidPasswordError(e)\n if (e.error === 'InvalidInviteCode') return new InvalidInviteCodeError(e)\n if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n useCount: number;\n}\n\nexport interface OutputSchema {\n code: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: '';\n}\n\nexport interface InputSchema {\n [k: string]: unknown;\n}\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n email: string;\n}\n\nexport interface OutputSchema {}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n token: string;\n password: string;\n}\n\nexport interface OutputSchema {}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport class ExpiredTokenError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class InvalidTokenError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'ExpiredToken') return new ExpiredTokenError(e)\n if (e.error === 'InvalidToken') return new InvalidTokenError(e)\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle to resolve. If not supplied, will resolve the host's own handle.\n */\n handle?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * Validate the records?\n */\n validate?: boolean;\n writes: (\n | {\n action: 'create',\n collection: string,\n rkey?: string,\n value: unknown,\n }\n | {\n action: 'update',\n collection: string,\n rkey: string,\n value: unknown,\n }\n | {\n action: 'delete',\n collection: string,\n rkey: string,\n }\n )[];\n}\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * The NSID of the record collection.\n */\n collection: string;\n /**\n * Validate the record?\n */\n validate?: boolean;\n /**\n * The record to create.\n */\n record: {};\n}\n\nexport interface OutputSchema {\n uri: string;\n cid: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * The NSID of the record collection.\n */\n collection: string;\n /**\n * The key of the record.\n */\n rkey: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle or DID of the repo.\n */\n user: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n handle: string;\n did: string;\n didDoc: {};\n collections: string[];\n handleIsCorrect: boolean;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle or DID of the repo.\n */\n user: string;\n /**\n * The NSID of the collection.\n */\n collection: string;\n /**\n * The key of the record.\n */\n rkey: string;\n /**\n * The CID of the version of the record. If not specified, then return the most recent version.\n */\n cid?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n uri: string;\n cid?: string;\n value: {};\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The handle or DID of the repo.\n */\n user: string;\n /**\n * The NSID of the record type.\n */\n collection: string;\n /**\n * The number of records to return. TODO-max number?\n */\n limit?: number;\n /**\n * A TID to filter the range of records returned.\n */\n before?: string;\n /**\n * A TID to filter the range of records returned.\n */\n after?: string;\n /**\n * Reverse the order of the returned records?\n */\n reverse?: boolean;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string;\n records: {\n uri: string,\n cid: string,\n value: {},\n }[];\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * The NSID of the record type.\n */\n collection: string;\n /**\n * The TID of the record.\n */\n rkey: string;\n /**\n * Validate the record?\n */\n validate?: boolean;\n /**\n * The record to create.\n */\n record: {};\n}\n\nexport interface OutputSchema {\n uri: string;\n cid: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n inviteCodeRequired?: boolean;\n availableUserDomains: string[];\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n handle: string;\n password: string;\n}\n\nexport interface OutputSchema {\n accessJwt: string;\n refreshJwt: string;\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n accessJwt: string;\n refreshJwt: string;\n handle: string;\n did: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The DID of the repo.\n */\n did: string;\n /**\n * A past commit CID.\n */\n from?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: Uint8Array;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The DID of the repo.\n */\n did: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n root: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n /**\n * The DID of the repo.\n */\n did: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/cbor';\n}\n\nexport type InputSchema = string | Uint8Array\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n handle: string;\n recoveryKey?: string;\n}\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n handle: string;\n did: string;\n declaration: Declaration;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport class InvalidHandleError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport class HandleNotAvailableError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message)\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidHandle') return new InvalidHandleError(e)\n if (e.error === 'HandleNotAvailable') return new HandleNotAvailableError(e)\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n actor: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n did: string;\n declaration: Declaration;\n handle: string;\n creator: string;\n displayName?: string;\n description?: string;\n followersCount: number;\n followsCount: number;\n membersCount: number;\n postsCount: number;\n myState?: {\n follow?: string,\n member?: string,\n };\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n limit?: number;\n cursor?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n actors: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n description?: string,\n indexedAt?: string,\n myState?: {\n follow?: string,\n },\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n term: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n users: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n description?: string,\n indexedAt?: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n term: string;\n limit?: number;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n users: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n displayName?: string;\n description?: string;\n}\n\nexport interface OutputSchema {\n uri: string;\n cid: string;\n record: {};\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n author: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n feed: FeedItem[];\n}\nexport interface FeedItem {\n uri: string;\n cid: string;\n author: Actor;\n trendedBy?: Actor;\n repostedBy?: Actor;\n record: {};\n embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n replyCount: number;\n repostCount: number;\n upvoteCount: number;\n downvoteCount: number;\n indexedAt: string;\n myState?: {\n repost?: string,\n upvote?: string,\n downvote?: string,\n };\n}\nexport interface Actor {\n did: string;\n declaration: Declaration;\n handle: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n type: 'record';\n author: Actor;\n record: {};\n}\nexport interface ExternalEmbed {\n type: 'external';\n uri: string;\n title: string;\n description: string;\n imageUri: string;\n}\nexport interface UnknownEmbed {\n type: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n uri: string;\n depth?: number;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n thread: Post;\n}\nexport interface Post {\n uri: string;\n cid: string;\n author: User;\n record: {};\n embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n parent?: Post;\n replyCount: number;\n replies?: Post[];\n repostCount: number;\n upvoteCount: number;\n downvoteCount: number;\n indexedAt: string;\n myState?: {\n repost?: string,\n upvote?: string,\n downvote?: string,\n };\n}\nexport interface User {\n did: string;\n declaration: Declaration;\n handle: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n type: 'record';\n author: User;\n record: {};\n}\nexport interface ExternalEmbed {\n type: 'external';\n uri: string;\n title: string;\n description: string;\n imageUri: string;\n}\nexport interface UnknownEmbed {\n type: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n uri: string;\n cid?: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n uri: string;\n cid?: string;\n cursor?: string;\n repostedBy: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n algorithm?: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n feed: FeedItem[];\n}\nexport interface FeedItem {\n uri: string;\n cid: string;\n author: Actor;\n trendedBy?: Actor;\n repostedBy?: Actor;\n record: {};\n embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;\n replyCount: number;\n repostCount: number;\n upvoteCount: number;\n downvoteCount: number;\n indexedAt: string;\n myState?: {\n repost?: string,\n upvote?: string,\n downvote?: string,\n };\n}\nexport interface Actor {\n did: string;\n declaration: Declaration;\n handle: string;\n actorType?: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\nexport interface RecordEmbed {\n type: 'record';\n author: Actor;\n record: {};\n}\nexport interface ExternalEmbed {\n type: 'external';\n uri: string;\n title: string;\n description: string;\n imageUri: string;\n}\nexport interface UnknownEmbed {\n type: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n uri: string;\n cid?: string;\n direction?: 'up' | 'down';\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n uri: string;\n cid?: string;\n cursor?: string;\n votes: {\n direction: 'up' | 'down',\n indexedAt: string,\n createdAt: string,\n actor: Actor,\n }[];\n}\nexport interface Actor {\n did: string;\n declaration: Declaration;\n handle: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n subject: Subject;\n direction: 'up' | 'down' | 'none';\n}\nexport interface Subject {\n uri: string;\n cid: string;\n}\n\nexport interface OutputSchema {\n upvote?: string;\n downvote?: string;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n author?: string;\n subject?: string;\n assertion?: string;\n confirmed?: boolean;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n assertions: {\n uri: string,\n cid: string,\n assertion: string,\n confirmation?: Confirmation,\n author: Actor,\n subject: Actor,\n indexedAt: string,\n createdAt: string,\n }[];\n}\nexport interface Confirmation {\n uri: string;\n cid: string;\n indexedAt: string;\n createdAt: string;\n}\nexport interface Actor {\n did: string;\n declaration: Declaration;\n handle: string;\n displayName?: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n user: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n followers: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n user: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n follows: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n actor: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n members: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n actor: string;\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n subject: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n cursor?: string;\n memberships: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n createdAt?: string,\n indexedAt: string,\n }[];\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n count: number;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {\n limit?: number;\n before?: string;\n}\n\nexport interface CallOptions {\n headers?: Headers;\n}\n\nexport type InputSchema = undefined\n\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface OutputSchema {\n cursor?: string;\n notifications: Notification[];\n}\nexport interface Notification {\n uri: string;\n cid: string;\n author: {\n did: string,\n declaration: Declaration,\n handle: string,\n displayName?: string,\n };\n reason: string;\n reasonSubject?: string;\n record: {};\n isRead: boolean;\n indexedAt: string;\n}\nexport interface Declaration {\n cid: string;\n actorType: ActorKnown | ActorUnknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport { Headers, XRPCError } from '@atproto/xrpc'\n\nexport interface QueryParams {}\n\nexport interface CallOptions {\n headers?: Headers;\n qp?: QueryParams;\n encoding: 'application/json';\n}\n\nexport interface InputSchema {\n seenAt: string;\n}\n\nexport interface OutputSchema {\n [k: string]: unknown;\n}\n\nexport interface Response {\n success: boolean;\n headers: Headers;\n data: OutputSchema;\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n }\n return e\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n displayName: string;\n description?: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n media: MediaEmbed[];\n [k: string]: unknown;\n}\nexport interface MediaEmbed {\n alt?: string;\n thumb?: MediaEmbedBlob;\n original: MediaEmbedBlob;\n [k: string]: unknown;\n}\nexport interface MediaEmbedBlob {\n mimeType: string;\n blobId: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n text: string;\n entities?: Entity[];\n reply?: {\n root: PostRef,\n parent: PostRef,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Entity {\n index: TextSlice;\n type: string;\n value: string;\n [k: string]: unknown;\n}\nexport interface TextSlice {\n start: number;\n end: number;\n [k: string]: unknown;\n}\nexport interface PostRef {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: Subject;\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Subject {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: Subject;\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Subject {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: Subject;\n direction: 'up' | 'down';\n createdAt: string;\n [k: string]: unknown;\n}\nexport interface Subject {\n uri: string;\n cid: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n assertion: string;\n subject: {\n did: string,\n declarationCid: string,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n originator: {\n did: string,\n declarationCid: string,\n [k: string]: unknown,\n };\n assertion: {\n uri: string,\n cid: string,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport interface Record {\n subject: {\n did: string,\n declarationCid: string,\n [k: string]: unknown,\n };\n createdAt: string;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nexport type ActorKnown =\n | 'app.bsky.system.actorUser'\n | 'app.bsky.system.actorScene'\nexport type ActorUnknown = string\n\nexport interface Record {\n actorType: ActorKnown | ActorUnknown;\n [k: string]: unknown;\n}\n", "/**\n* GENERATED CODE - DO NOT MODIFY\n*/\nimport {\n Client as XrpcClient,\n ServiceClient as XrpcServiceClient,\n} from '@atproto/xrpc'\nimport { methodSchemas, recordSchemas } from './schemas'\nimport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nimport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nimport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nimport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nimport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nimport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nimport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nimport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nimport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nimport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nimport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nimport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nimport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nimport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nimport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nimport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nimport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nimport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nimport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nimport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nimport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nimport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nimport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nimport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nimport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nimport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nimport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nimport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nimport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nimport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nimport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nimport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nimport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nimport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nimport * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed'\nimport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nimport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nimport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nimport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nimport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nimport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nimport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nimport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nimport * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'\nimport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nimport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nimport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nimport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nimport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nimport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nimport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nimport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport * as ComAtprotoAccountCreate from './types/com/atproto/account/create'\nexport * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode'\nexport * as ComAtprotoAccountDelete from './types/com/atproto/account/delete'\nexport * as ComAtprotoAccountGet from './types/com/atproto/account/get'\nexport * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset'\nexport * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword'\nexport * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'\nexport * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'\nexport * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'\nexport * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'\nexport * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe'\nexport * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord'\nexport * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords'\nexport * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'\nexport * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig'\nexport * as ComAtprotoSessionCreate from './types/com/atproto/session/create'\nexport * as ComAtprotoSessionDelete from './types/com/atproto/session/delete'\nexport * as ComAtprotoSessionGet from './types/com/atproto/session/get'\nexport * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh'\nexport * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'\nexport * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot'\nexport * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo'\nexport * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene'\nexport * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'\nexport * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'\nexport * as AppBskyActorProfile from './types/app/bsky/actor/profile'\nexport * as AppBskyActorSearch from './types/app/bsky/actor/search'\nexport * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead'\nexport * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile'\nexport * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'\nexport * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'\nexport * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'\nexport * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'\nexport * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes'\nexport * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed'\nexport * as AppBskyFeedPost from './types/app/bsky/feed/post'\nexport * as AppBskyFeedRepost from './types/app/bsky/feed/repost'\nexport * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote'\nexport * as AppBskyFeedTrend from './types/app/bsky/feed/trend'\nexport * as AppBskyFeedVote from './types/app/bsky/feed/vote'\nexport * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'\nexport * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'\nexport * as AppBskyGraphFollow from './types/app/bsky/graph/follow'\nexport * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'\nexport * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'\nexport * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'\nexport * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'\nexport * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships'\nexport * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount'\nexport * as AppBskyNotificationList from './types/app/bsky/notification/list'\nexport * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen'\nexport * as AppBskySystemDeclaration from './types/app/bsky/system/declaration'\n\nexport const APP_BSKY_GRAPH = {\n AssertCreator: 'app.bsky.graph.assertCreator',\n AssertMember: 'app.bsky.graph.assertMember',\n}\nexport const APP_BSKY_SYSTEM = {\n ActorScene: 'app.bsky.system.actorScene',\n ActorUser: 'app.bsky.system.actorUser',\n}\n\nexport class Client {\n xrpc: XrpcClient = new XrpcClient()\n\n constructor() {\n this.xrpc.addSchemas(methodSchemas)\n }\n\n service(serviceUri: string | URL): ServiceClient {\n return new ServiceClient(this, this.xrpc.service(serviceUri))\n }\n}\n\nconst defaultInst = new Client()\nexport default defaultInst\n\nexport class ServiceClient {\n _baseClient: Client\n xrpc: XrpcServiceClient\n com: ComNS\n app: AppNS\n\n constructor(baseClient: Client, xrpcService: XrpcServiceClient) {\n this._baseClient = baseClient\n this.xrpc = xrpcService\n this.com = new ComNS(this)\n this.app = new AppNS(this)\n }\n\n setHeader(key: string, value: string): void {\n this.xrpc.setHeader(key, value)\n }\n}\n\nexport class ComNS {\n _service: ServiceClient\n atproto: AtprotoNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.atproto = new AtprotoNS(service)\n }\n}\n\nexport class AtprotoNS {\n _service: ServiceClient\n account: AccountNS\n handle: HandleNS\n repo: RepoNS\n server: ServerNS\n session: SessionNS\n sync: SyncNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.account = new AccountNS(service)\n this.handle = new HandleNS(service)\n this.repo = new RepoNS(service)\n this.server = new ServerNS(service)\n this.session = new SessionNS(service)\n this.sync = new SyncNS(service)\n }\n}\n\nexport class AccountNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n create(\n data?: ComAtprotoAccountCreate.InputSchema,\n opts?: ComAtprotoAccountCreate.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.create', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountCreate.toKnownErr(e)\n })\n }\n\n createInviteCode(\n data?: ComAtprotoAccountCreateInviteCode.InputSchema,\n opts?: ComAtprotoAccountCreateInviteCode.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.createInviteCode', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountCreateInviteCode.toKnownErr(e)\n })\n }\n\n delete(\n data?: ComAtprotoAccountDelete.InputSchema,\n opts?: ComAtprotoAccountDelete.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.delete', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountDelete.toKnownErr(e)\n })\n }\n\n get(\n params?: ComAtprotoAccountGet.QueryParams,\n opts?: ComAtprotoAccountGet.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.get', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoAccountGet.toKnownErr(e)\n })\n }\n\n requestPasswordReset(\n data?: ComAtprotoAccountRequestPasswordReset.InputSchema,\n opts?: ComAtprotoAccountRequestPasswordReset.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.requestPasswordReset', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountRequestPasswordReset.toKnownErr(e)\n })\n }\n\n resetPassword(\n data?: ComAtprotoAccountResetPassword.InputSchema,\n opts?: ComAtprotoAccountResetPassword.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.account.resetPassword', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoAccountResetPassword.toKnownErr(e)\n })\n }\n}\n\nexport class HandleNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n resolve(\n params?: ComAtprotoHandleResolve.QueryParams,\n opts?: ComAtprotoHandleResolve.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.handle.resolve', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoHandleResolve.toKnownErr(e)\n })\n }\n}\n\nexport class RepoNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n batchWrite(\n data?: ComAtprotoRepoBatchWrite.InputSchema,\n opts?: ComAtprotoRepoBatchWrite.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.batchWrite', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoBatchWrite.toKnownErr(e)\n })\n }\n\n createRecord(\n data?: ComAtprotoRepoCreateRecord.InputSchema,\n opts?: ComAtprotoRepoCreateRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.createRecord', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoCreateRecord.toKnownErr(e)\n })\n }\n\n deleteRecord(\n data?: ComAtprotoRepoDeleteRecord.InputSchema,\n opts?: ComAtprotoRepoDeleteRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.deleteRecord', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoDeleteRecord.toKnownErr(e)\n })\n }\n\n describe(\n params?: ComAtprotoRepoDescribe.QueryParams,\n opts?: ComAtprotoRepoDescribe.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.describe', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoRepoDescribe.toKnownErr(e)\n })\n }\n\n getRecord(\n params?: ComAtprotoRepoGetRecord.QueryParams,\n opts?: ComAtprotoRepoGetRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.getRecord', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoRepoGetRecord.toKnownErr(e)\n })\n }\n\n listRecords(\n params?: ComAtprotoRepoListRecords.QueryParams,\n opts?: ComAtprotoRepoListRecords.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.listRecords', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoRepoListRecords.toKnownErr(e)\n })\n }\n\n putRecord(\n data?: ComAtprotoRepoPutRecord.InputSchema,\n opts?: ComAtprotoRepoPutRecord.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.repo.putRecord', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoRepoPutRecord.toKnownErr(e)\n })\n }\n}\n\nexport class ServerNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n getAccountsConfig(\n params?: ComAtprotoServerGetAccountsConfig.QueryParams,\n opts?: ComAtprotoServerGetAccountsConfig.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.server.getAccountsConfig', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoServerGetAccountsConfig.toKnownErr(e)\n })\n }\n}\n\nexport class SessionNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n create(\n data?: ComAtprotoSessionCreate.InputSchema,\n opts?: ComAtprotoSessionCreate.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.create', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSessionCreate.toKnownErr(e)\n })\n }\n\n delete(\n data?: ComAtprotoSessionDelete.InputSchema,\n opts?: ComAtprotoSessionDelete.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.delete', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSessionDelete.toKnownErr(e)\n })\n }\n\n get(\n params?: ComAtprotoSessionGet.QueryParams,\n opts?: ComAtprotoSessionGet.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.get', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoSessionGet.toKnownErr(e)\n })\n }\n\n refresh(\n data?: ComAtprotoSessionRefresh.InputSchema,\n opts?: ComAtprotoSessionRefresh.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.session.refresh', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSessionRefresh.toKnownErr(e)\n })\n }\n}\n\nexport class SyncNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n getRepo(\n params?: ComAtprotoSyncGetRepo.QueryParams,\n opts?: ComAtprotoSyncGetRepo.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.sync.getRepo', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoSyncGetRepo.toKnownErr(e)\n })\n }\n\n getRoot(\n params?: ComAtprotoSyncGetRoot.QueryParams,\n opts?: ComAtprotoSyncGetRoot.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.sync.getRoot', params, undefined, opts)\n .catch((e) => {\n throw ComAtprotoSyncGetRoot.toKnownErr(e)\n })\n }\n\n updateRepo(\n data?: ComAtprotoSyncUpdateRepo.InputSchema,\n opts?: ComAtprotoSyncUpdateRepo.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('com.atproto.sync.updateRepo', opts?.qp, data, opts)\n .catch((e) => {\n throw ComAtprotoSyncUpdateRepo.toKnownErr(e)\n })\n }\n}\n\nexport class AppNS {\n _service: ServiceClient\n bsky: BskyNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.bsky = new BskyNS(service)\n }\n}\n\nexport class BskyNS {\n _service: ServiceClient\n actor: ActorNS\n feed: FeedNS\n graph: GraphNS\n notification: NotificationNS\n system: SystemNS\n\n constructor(service: ServiceClient) {\n this._service = service\n this.actor = new ActorNS(service)\n this.feed = new FeedNS(service)\n this.graph = new GraphNS(service)\n this.notification = new NotificationNS(service)\n this.system = new SystemNS(service)\n }\n}\n\nexport class ActorNS {\n _service: ServiceClient\n profile: ProfileRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.profile = new ProfileRecord(service)\n }\n\n createScene(\n data?: AppBskyActorCreateScene.InputSchema,\n opts?: AppBskyActorCreateScene.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.createScene', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyActorCreateScene.toKnownErr(e)\n })\n }\n\n getProfile(\n params?: AppBskyActorGetProfile.QueryParams,\n opts?: AppBskyActorGetProfile.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.getProfile', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorGetProfile.toKnownErr(e)\n })\n }\n\n getSuggestions(\n params?: AppBskyActorGetSuggestions.QueryParams,\n opts?: AppBskyActorGetSuggestions.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.getSuggestions', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorGetSuggestions.toKnownErr(e)\n })\n }\n\n search(\n params?: AppBskyActorSearch.QueryParams,\n opts?: AppBskyActorSearch.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.search', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorSearch.toKnownErr(e)\n })\n }\n\n searchTypeahead(\n params?: AppBskyActorSearchTypeahead.QueryParams,\n opts?: AppBskyActorSearchTypeahead.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.searchTypeahead', params, undefined, opts)\n .catch((e) => {\n throw AppBskyActorSearchTypeahead.toKnownErr(e)\n })\n }\n\n updateProfile(\n data?: AppBskyActorUpdateProfile.InputSchema,\n opts?: AppBskyActorUpdateProfile.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.actor.updateProfile', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyActorUpdateProfile.toKnownErr(e)\n })\n }\n}\n\nexport class ProfileRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyActorProfile.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.actor.profile',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyActorProfile.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.actor.profile',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyActorProfile.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.actor.profile'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.actor.profile', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.actor.profile', ...params },\n { headers }\n )\n }\n}\n\nexport class FeedNS {\n _service: ServiceClient\n mediaEmbed: MediaEmbedRecord\n post: PostRecord\n repost: RepostRecord\n trend: TrendRecord\n vote: VoteRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.mediaEmbed = new MediaEmbedRecord(service)\n this.post = new PostRecord(service)\n this.repost = new RepostRecord(service)\n this.trend = new TrendRecord(service)\n this.vote = new VoteRecord(service)\n }\n\n getAuthorFeed(\n params?: AppBskyFeedGetAuthorFeed.QueryParams,\n opts?: AppBskyFeedGetAuthorFeed.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getAuthorFeed', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetAuthorFeed.toKnownErr(e)\n })\n }\n\n getPostThread(\n params?: AppBskyFeedGetPostThread.QueryParams,\n opts?: AppBskyFeedGetPostThread.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getPostThread', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetPostThread.toKnownErr(e)\n })\n }\n\n getRepostedBy(\n params?: AppBskyFeedGetRepostedBy.QueryParams,\n opts?: AppBskyFeedGetRepostedBy.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getRepostedBy', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetRepostedBy.toKnownErr(e)\n })\n }\n\n getTimeline(\n params?: AppBskyFeedGetTimeline.QueryParams,\n opts?: AppBskyFeedGetTimeline.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getTimeline', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetTimeline.toKnownErr(e)\n })\n }\n\n getVotes(\n params?: AppBskyFeedGetVotes.QueryParams,\n opts?: AppBskyFeedGetVotes.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.getVotes', params, undefined, opts)\n .catch((e) => {\n throw AppBskyFeedGetVotes.toKnownErr(e)\n })\n }\n\n setVote(\n data?: AppBskyFeedSetVote.InputSchema,\n opts?: AppBskyFeedSetVote.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.feed.setVote', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyFeedSetVote.toKnownErr(e)\n })\n }\n}\n\nexport class MediaEmbedRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedMediaEmbed.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.mediaEmbed',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskyFeedMediaEmbed.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.mediaEmbed',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedMediaEmbed.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.mediaEmbed'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.mediaEmbed', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.mediaEmbed', ...params },\n { headers }\n )\n }\n}\n\nexport class PostRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedPost.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.post',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedPost.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.post',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedPost.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.post'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.post', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.post', ...params },\n { headers }\n )\n }\n}\n\nexport class RepostRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedRepost.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.repost',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedRepost.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.repost',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedRepost.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.repost'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.repost', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.repost', ...params },\n { headers }\n )\n }\n}\n\nexport class TrendRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedTrend.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.trend',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedTrend.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.trend',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedTrend.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.trend'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.trend', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.trend', ...params },\n { headers }\n )\n }\n}\n\nexport class VoteRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyFeedVote.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.feed.vote',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyFeedVote.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.feed.vote',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyFeedVote.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.feed.vote'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.feed.vote', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.feed.vote', ...params },\n { headers }\n )\n }\n}\n\nexport class GraphNS {\n _service: ServiceClient\n assertion: AssertionRecord\n confirmation: ConfirmationRecord\n follow: FollowRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.assertion = new AssertionRecord(service)\n this.confirmation = new ConfirmationRecord(service)\n this.follow = new FollowRecord(service)\n }\n\n getAssertions(\n params?: AppBskyGraphGetAssertions.QueryParams,\n opts?: AppBskyGraphGetAssertions.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getAssertions', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetAssertions.toKnownErr(e)\n })\n }\n\n getFollowers(\n params?: AppBskyGraphGetFollowers.QueryParams,\n opts?: AppBskyGraphGetFollowers.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getFollowers', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetFollowers.toKnownErr(e)\n })\n }\n\n getFollows(\n params?: AppBskyGraphGetFollows.QueryParams,\n opts?: AppBskyGraphGetFollows.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getFollows', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetFollows.toKnownErr(e)\n })\n }\n\n getMembers(\n params?: AppBskyGraphGetMembers.QueryParams,\n opts?: AppBskyGraphGetMembers.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getMembers', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetMembers.toKnownErr(e)\n })\n }\n\n getMemberships(\n params?: AppBskyGraphGetMemberships.QueryParams,\n opts?: AppBskyGraphGetMemberships.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.graph.getMemberships', params, undefined, opts)\n .catch((e) => {\n throw AppBskyGraphGetMemberships.toKnownErr(e)\n })\n }\n}\n\nexport class AssertionRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyGraphAssertion.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.graph.assertion',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskyGraphAssertion.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.graph.assertion',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyGraphAssertion.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.graph.assertion'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.graph.assertion', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.graph.assertion', ...params },\n { headers }\n )\n }\n}\n\nexport class ConfirmationRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyGraphConfirmation.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.graph.confirmation',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskyGraphConfirmation.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.graph.confirmation',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyGraphConfirmation.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.graph.confirmation'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.graph.confirmation', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.graph.confirmation', ...params },\n { headers }\n )\n }\n}\n\nexport class FollowRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskyGraphFollow.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.graph.follow',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{ uri: string, cid: string, value: AppBskyGraphFollow.Record }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.graph.follow',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskyGraphFollow.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.graph.follow'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.graph.follow', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.graph.follow', ...params },\n { headers }\n )\n }\n}\n\nexport class NotificationNS {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n getCount(\n params?: AppBskyNotificationGetCount.QueryParams,\n opts?: AppBskyNotificationGetCount.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.notification.getCount', params, undefined, opts)\n .catch((e) => {\n throw AppBskyNotificationGetCount.toKnownErr(e)\n })\n }\n\n list(\n params?: AppBskyNotificationList.QueryParams,\n opts?: AppBskyNotificationList.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.notification.list', params, undefined, opts)\n .catch((e) => {\n throw AppBskyNotificationList.toKnownErr(e)\n })\n }\n\n updateSeen(\n data?: AppBskyNotificationUpdateSeen.InputSchema,\n opts?: AppBskyNotificationUpdateSeen.CallOptions\n ): Promise {\n return this._service.xrpc\n .call('app.bsky.notification.updateSeen', opts?.qp, data, opts)\n .catch((e) => {\n throw AppBskyNotificationUpdateSeen.toKnownErr(e)\n })\n }\n}\n\nexport class SystemNS {\n _service: ServiceClient\n declaration: DeclarationRecord\n\n constructor(service: ServiceClient) {\n this._service = service\n this.declaration = new DeclarationRecord(service)\n }\n}\n\nexport class DeclarationRecord {\n _service: ServiceClient\n\n constructor(service: ServiceClient) {\n this._service = service\n }\n\n async list(\n params: Omit\n ): Promise<{\n cursor?: string,\n records: { uri: string, value: AppBskySystemDeclaration.Record }[],\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {\n collection: 'app.bsky.system.declaration',\n ...params,\n })\n return res.data\n }\n\n async get(\n params: Omit\n ): Promise<{\n uri: string,\n cid: string,\n value: AppBskySystemDeclaration.Record,\n }> {\n const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {\n collection: 'app.bsky.system.declaration',\n ...params,\n })\n return res.data\n }\n\n async create(\n params: Omit<\n ComAtprotoRepoCreateRecord.InputSchema,\n 'collection' | 'record'\n >,\n record: AppBskySystemDeclaration.Record,\n headers?: Record\n ): Promise<{ uri: string, cid: string }> {\n record.$type = 'app.bsky.system.declaration'\n const res = await this._service.xrpc.call(\n 'com.atproto.repo.createRecord',\n undefined,\n { collection: 'app.bsky.system.declaration', ...params, record },\n { encoding: 'application/json', headers }\n )\n return res.data\n }\n\n async delete(\n params: Omit,\n headers?: Record\n ): Promise {\n await this._service.xrpc.call(\n 'com.atproto.repo.deleteRecord',\n undefined,\n { collection: 'app.bsky.system.declaration', ...params },\n { headers }\n )\n }\n}\n", "import {\n CallOptions,\n Client as XrpcClient,\n ServiceClient as XrpcServiceClient,\n QueryParams,\n ResponseType,\n XRPCError,\n XRPCResponse,\n} from '@atproto/xrpc'\nimport EventEmitter from 'events'\nimport TypedEmitter from 'typed-emitter'\nimport { Client, ServiceClient } from './client'\nimport * as CreateSession from './client/types/com/atproto/session/create'\nimport * as RefreshSession from './client/types/com/atproto/session/refresh'\nimport * as CreateAccount from './client/types/com/atproto/session/create'\n\nconst CREATE_SESSION = 'com.atproto.session.create'\nconst REFRESH_SESSION = 'com.atproto.session.refresh'\nconst DELETE_SESSION = 'com.atproto.session.delete'\nconst CREATE_ACCOUNT = 'com.atproto.account.create'\n\nexport class SessionClient extends Client {\n service(serviceUri: string | URL): SessionServiceClient {\n const xrpcService = new SessionXrpcServiceClient(this.xrpc, serviceUri)\n return new SessionServiceClient(this, xrpcService)\n }\n}\n\nconst defaultInst = new SessionClient()\nexport default defaultInst\n\nexport class SessionServiceClient extends ServiceClient {\n xrpc: SessionXrpcServiceClient\n sessionManager: SessionManager\n constructor(baseClient: Client, xrpcService: SessionXrpcServiceClient) {\n super(baseClient, xrpcService)\n this.sessionManager = this.xrpc.sessionManager\n }\n}\n\nexport class SessionXrpcServiceClient extends XrpcServiceClient {\n sessionManager = new SessionManager()\n refreshing?: Promise\n\n constructor(baseClient: XrpcClient, serviceUri: string | URL) {\n super(baseClient, serviceUri)\n this.sessionManager.on('session', () => {\n // Maintain access token headers when session changes\n const accessHeaders = this.sessionManager.accessHeaders()\n if (accessHeaders) {\n this.setHeader('authorization', accessHeaders.authorization)\n } else {\n this.unsetHeader('authorization')\n }\n })\n }\n\n async call(\n methodNsid: string,\n params?: QueryParams,\n data?: unknown,\n opts?: CallOptions,\n ) {\n const original = (overrideOpts?: CallOptions) =>\n super.call(methodNsid, params, data, overrideOpts ?? opts)\n\n // If someone is setting credentials manually, pass through as an escape hatch\n if (opts?.headers?.authorization) {\n return await original()\n }\n\n // Manage concurrent refreshes on session refresh\n if (methodNsid === REFRESH_SESSION) {\n return await this.refresh(opts)\n }\n\n // Complete any pending session refresh and then continue onto the original request with fresh credentials\n await this.refreshing\n\n // Setup session on session or account creation\n if (methodNsid === CREATE_SESSION || methodNsid === CREATE_ACCOUNT) {\n const result = await original()\n const { accessJwt, refreshJwt } =\n result.data as CreateSession.OutputSchema & CreateAccount.OutputSchema\n this.sessionManager.set({ accessJwt, refreshJwt })\n return result\n }\n\n // Clear session on session deletion\n if (methodNsid === DELETE_SESSION) {\n const result = await original({\n ...opts,\n headers: {\n ...opts?.headers,\n ...this.sessionManager.refreshHeaders(),\n },\n })\n this.sessionManager.unset()\n return result\n }\n\n // For all other requests, if failed due to an expired token, refresh and retry with fresh credentials\n try {\n return await original()\n } catch (err) {\n if (\n err instanceof XRPCError &&\n err.status === ResponseType.InvalidRequest &&\n err.error === 'ExpiredToken' &&\n this.sessionManager.active()\n ) {\n await this.refresh(opts)\n return await original()\n }\n throw err\n }\n }\n\n // Ensures a single refresh request at a time, deduping concurrent requests.\n async refresh(opts?: CallOptions) {\n this.refreshing ??= this._refresh(opts)\n try {\n return await this.refreshing\n } finally {\n this.refreshing = undefined\n }\n }\n\n private async _refresh(opts?: CallOptions) {\n try {\n const result = await super.call(REFRESH_SESSION, undefined, undefined, {\n ...opts,\n headers: {\n ...opts?.headers,\n ...this.sessionManager.refreshHeaders(),\n },\n })\n const { accessJwt, refreshJwt } =\n result.data as RefreshSession.OutputSchema\n this.sessionManager.set({ accessJwt, refreshJwt })\n return result\n } catch (err) {\n if (\n err instanceof XRPCError &&\n err.status === ResponseType.InvalidRequest &&\n (err.error === 'ExpiredToken' || err.error === 'InvalidToken')\n ) {\n this.sessionManager.unset()\n }\n throw err\n }\n }\n}\n\nexport class SessionManager extends (EventEmitter as new () => TypedEmitter) {\n session?: Session\n get() {\n return this.session\n }\n set(session: Session) {\n this.session = session\n this.emit('session', session)\n }\n unset() {\n this.session = undefined\n this.emit('session', undefined)\n }\n active() {\n return !!this.session\n }\n accessHeaders() {\n return (\n this.session && {\n authorization: `Bearer ${this.session.accessJwt}`,\n }\n )\n }\n refreshHeaders() {\n return (\n this.session && {\n authorization: `Bearer ${this.session.refreshJwt}`,\n }\n )\n }\n}\n\nexport type Session = {\n refreshJwt: string\n accessJwt: string\n}\n\ntype SessionEvents = {\n session: (session?: Session) => void\n}\n"], + "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,QAAsB,cAAtB,MAAiC;;AAAjC,YAAA,cAAA;AAOa,YAAA,aAAa;AAE1B,QAAa,OAAb,cAA0B,YAAW;MAEnC,YAAY,GAAS;AACnB,cAAK;AACL,YAAI,CAAC,QAAA,WAAW,KAAK,CAAC;AAAG,gBAAM,IAAI,MAAM,0CAA0C;AACnF,aAAK,MAAM;MACb;MAEA,WAAQ;AACN,eAAO,K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A,QACH,SAAS;AAAA,UACP,GAAG,MAAM;AAAA,UACT,GAAG,KAAK,eAAe,eAAe;AAAA,QACxC;AAAA,MACF,CAAC;AACD,YAAM,EAAE,WAAW,WAAW,IAC5B,OAAO;AACT,WAAK,eAAe,IAAI,EAAE,WAAW,WAAW,CAAC;AACjD,aAAO;AAAA,IACT,SAAS,KAAP;AACA,UACE,eAAe,aACf,IAAI,wCACH,IAAI,UAAU,kBAAkB,IAAI,UAAU,iBAC/C;AACA,aAAK,eAAe,MAAM;AAAA,MAC5B;AACA,YAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,IAAM,iBAAN,cAA8B,cAAAC,QAAuD;AAAA,EAE1F,MAAM;AACJ,WAAO,KAAK;AAAA,EACd;AAAA,EACA,IAAI,SAAkB;AACpB,SAAK,UAAU;AACf,SAAK,KAAK,WAAW,OAAO;AAAA,EAC9B;AAAA,EACA,QAAQ;AACN,SAAK,UAAU;AACf,SAAK,KAAK,WAAW,MAAS;AAAA,EAChC;AAAA,EACA,SAAS;AACP,WAAO,CAAC,CAAC,KAAK;AAAA,EAChB;AAAA,EACA,gBAAgB;AACd,WACE,KAAK,WAAW;AAAA,MACd,eAAe,UAAU,KAAK,QAAQ;AAAA,IACxC;AAAA,EAEJ;AAAA,EACA,iBAAiB;AACf,WACE,KAAK,WAAW;AAAA,MACd,eAAe,UAAU,KAAK,QAAQ;AAAA,IACxC;AAAA,EAEJ;AACF;", + "names": ["UsedValueState", "mergeValues", "Type", "DataType", "_a", "module", "module", "baseId", "ValidationError", "ValidationError", "merge", "sets", "length", "slice", "xl", "x", "join", "subexp", "str", "typeOf", "o", "undefined", "Object", "prototype", "toString", "call", "split", "pop", "shift", "toLowerCase", "toUpperCase", "toArray", "obj", "Array", "setInterval", "assign", "target", "source", "key", "buildExps", "isIRI", "ALPHA$$", "CR$", "DIGIT$$", "DQUOTE$$", "HEXDIG$$", "SP$$", "PCT_ENCODED$", "SUB_DELIMS$$", "RESERVED$$", "GEN_DELIMS$$", "UCSCHAR$$", "SCHEME$", "USERINFO$", "UNRESERVED$$", "DEC_OCTET$", "DEC_OCTET_RELAXED$", "H16$", "LS32$", "IPV4ADDRESS$", "IPV6ADDRESS1$", "IPV6ADDRESS2$", "IPV6ADDRESS3$", "IPV6ADDRESS4$", "IPV6ADDRESS5$", "IPV6ADDRESS6$", "IPV6ADDRESS7$", "IPV6ADDRESS8$", "IPV6ADDRESS9$", "ZONEID$", "IPV6ADDRESS$", "IP_LITERAL$", "IPV6ADDRZ_RELAXED$", "IPVFUTURE$", "HOST$", "REG_NAME$", "PORT$", "AUTHORITY$", "PCHAR$", "SEGMENT$", "SEGMENT_NZ$", "SEGMENT_NZ_NC$", "PATH_ABEMPTY$", "PATH_ABSOLUTE$", "PATH$", "PATH_NOSCHEME$", "PATH_ROOTLESS$", "PATH_EMPTY$", "QUERY$", "IPRIVATE$$", "FRAGMENT$", "HIER_PART$", "URI$", "RELATIVE_PART$", "RELATIVE$", "URI_REFERENCE$", "ABSOLUTE_URI$", "GENERIC_REF$", "RELATIVE_REF$", "ABSOLUTE_REF$", "SAMEDOC_REF$", "AUTHORITY_REF$", "RegExp", "maxInt", "base", "tMin", "tMax", "skew", "damp", "initialBias", "initialN", "delimiter", "regexPunycode", "regexNonASCII", "regexSeparators", "errors", "baseMinusTMin", "floor", "Math", "stringFromCharCode", "String", "fromCharCode", "error", "type", "RangeError", "map", "array", "fn", "result", "mapDomain", "string", "parts", "replace", "labels", "encoded", "ucs2decode", "output", "counter", "value", "charCodeAt", "extra", "push", "ucs2encode", "fromCodePoint", "basicToDigit", "codePoint", "digitToBasic", "digit", "flag", "adapt", "delta", "numPoints", "firstTime", "k", "decode", "input", "inputLength", "i", "n", "bias", "basic", "lastIndexOf", "j", "index", "oldi", "w", "t", "baseMinusT", "out", "splice", "encode", "currentValue", "basicLength", "handledCPCount", "m", "handledCPCountPlusOne", "q", "qMinusT", "toUnicode", "test", "toASCII", "punycode", "SCHEMES", "pctEncChar", "chr", "c", "e", "pctDecChars", "newStr", "il", "parseInt", "substr", "c2", "c3", "_normalizeComponentEncoding", "components", "protocol", "decodeUnreserved", "decStr", "match", "UNRESERVED", "scheme", "PCT_ENCODED", "NOT_SCHEME", "userinfo", "NOT_USERINFO", "host", "NOT_HOST", "path", "NOT_PATH", "NOT_PATH_NOSCHEME", "query", "NOT_QUERY", "fragment", "NOT_FRAGMENT", "_stripLeadingZeros", "_normalizeIPv4", "matches", "IPV4ADDRESS", "address", "_normalizeIPv6", "IPV6ADDRESS", "zone", "reverse", "last", "first", "firstFields", "lastFields", "isLastFieldIPv4Address", "fieldCount", "lastFieldsStart", "fields", "allZeroFields", "reduce", "acc", "field", "lastLongest", "longestZeroFields", "sort", "a", "b", "newHost", "newFirst", "newLast", "URI_PARSE", "NO_MATCH_IS_UNDEFINED", "parse", "uriString", "options", "iri", "IRI_PROTOCOL", "URI_PROTOCOL", "reference", "port", "isNaN", "indexOf", "schemeHandler", "unicodeSupport", "domainHost", "_recomposeAuthority", "uriTokens", "_", "$1", "$2", "RDS1", "RDS2", "RDS3", "RDS5", "removeDotSegments", "im", "s", "Error", "serialize", "authority", "charAt", "absolutePath", "resolveComponents", "relative", "skipNormalization", "tolerant", "resolve", "baseURI", "relativeURI", "schemelessOptions", "normalize", "uri", "equal", "uriA", "uriB", "escapeComponent", "ESCAPE", "unescapeComponent", "handler", "secure", "http", "isSecure", "wsComponents", "resourceName", "ws", "O", "ATEXT$$", "QTEXT$$", "VCHAR$$", "SOME_DELIMS$$", "NOT_LOCAL_PART", "NOT_HFNAME", "NOT_HFVALUE", "mailtoComponents", "to", "unknownHeaders", "headers", "hfields", "hfield", "toAddrs", "subject", "body", "addr", "toAddr", "atIdx", "localPart", "domain", "name", "URN_PARSE", "urnComponents", "nid", "nss", "urnScheme", "uriComponents", "UUID", "uuidComponents", "uuid", "https", "wss", "mailto", "urn", "Ajv", "DiscrError", "Ajv", "module", "ajv", "ajv", "module", "Client", "create_exports", "delete_exports", "get_exports", "ServiceClient", "util", "errorUtil", "errorMap", "ctx", "result", "objectUtil", "issues", "elements", "processed", "ZodFirstPartyTypeKind", "ResponseType", "Ajv", "ajvAddFormats", "import_ajv", "import_ajv_formats", "ajv", "Ajv", "ajvAddFormats", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "create_exports", "toKnownErr", "toKnownErr", "delete_exports", "toKnownErr", "toKnownErr", "get_exports", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "HandleNotAvailableError", "InvalidHandleError", "toKnownErr", "InvalidHandleError", "HandleNotAvailableError", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "toKnownErr", "Client", "ServiceClient", "defaultInst", "toKnownErr", "Client", "defaultInst", "ServiceClient", "EventEmitter"] } diff --git a/src/third-party/api/src/client/index.d.ts b/src/third-party/api/src/client/index.d.ts index 18e76710..411cfca6 100644 --- a/src/third-party/api/src/client/index.d.ts +++ b/src/third-party/api/src/client/index.d.ts @@ -42,6 +42,7 @@ import * as AppBskyFeedVote from './types/app/bsky/feed/vote'; import * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'; import * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'; import * as AppBskyGraphFollow from './types/app/bsky/graph/follow'; +import * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'; import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'; import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'; import * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'; @@ -93,6 +94,7 @@ export * as AppBskyFeedVote from './types/app/bsky/feed/vote'; export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion'; export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation'; export * as AppBskyGraphFollow from './types/app/bsky/graph/follow'; +export * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions'; export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'; export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'; export * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers'; @@ -357,6 +359,7 @@ export declare class GraphNS { confirmation: ConfirmationRecord; follow: FollowRecord; constructor(service: ServiceClient); + getAssertions(params?: AppBskyGraphGetAssertions.QueryParams, opts?: AppBskyGraphGetAssertions.CallOptions): Promise; getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise; getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise; getMembers(params?: AppBskyGraphGetMembers.QueryParams, opts?: AppBskyGraphGetMembers.CallOptions): Promise; diff --git a/src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts b/src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts new file mode 100644 index 00000000..f507d374 --- /dev/null +++ b/src/third-party/api/src/client/types/app/bsky/graph/getAssertions.d.ts @@ -0,0 +1,50 @@ +import { Headers } from '@atproto/xrpc'; +export interface QueryParams { + author?: string; + subject?: string; + assertion?: string; + confirmed?: boolean; + limit?: number; + before?: string; +} +export interface CallOptions { + headers?: Headers; +} +export declare type InputSchema = undefined; +export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene'; +export declare type ActorUnknown = string; +export interface OutputSchema { + cursor?: string; + assertions: { + uri: string; + cid: string; + assertion: string; + confirmation?: Confirmation; + author: Actor; + subject: Actor; + indexedAt: string; + createdAt: string; + }[]; +} +export interface Confirmation { + uri: string; + cid: string; + indexedAt: string; + createdAt: string; +} +export interface Actor { + did: string; + declaration: Declaration; + handle: string; + displayName?: string; +} +export interface Declaration { + cid: string; + actorType: ActorKnown | ActorUnknown; +} +export interface Response { + success: boolean; + headers: Headers; + data: OutputSchema; +} +export declare function toKnownErr(e: any): any; diff --git a/src/third-party/api/tsconfig.build.tsbuildinfo b/src/third-party/api/tsconfig.build.tsbuildinfo index 9d991998..6554a50a 100644 --- a/src/third-party/api/tsconfig.build.tsbuildinfo +++ b/src/third-party/api/tsconfig.build.tsbuildinfo @@ -1 +1 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/zod/lib/helpers/typealiases.d.ts","../../../node_modules/zod/lib/helpers/util.d.ts","../../../node_modules/zod/lib/zoderror.d.ts","../../../node_modules/zod/lib/locales/en.d.ts","../../../node_modules/zod/lib/errors.d.ts","../../../node_modules/zod/lib/helpers/parseutil.d.ts","../../../node_modules/zod/lib/helpers/enumutil.d.ts","../../../node_modules/zod/lib/helpers/errorutil.d.ts","../../../node_modules/zod/lib/helpers/partialutil.d.ts","../../../node_modules/zod/lib/types.d.ts","../../../node_modules/zod/lib/external.d.ts","../../../node_modules/zod/lib/index.d.ts","../../../node_modules/zod/index.d.ts","../../xrpc/src/types.ts","../../nsid/src/index.ts","../../lexicon/src/types.ts","../../../node_modules/uri-js/dist/es5/uri.all.d.ts","../../../node_modules/ajv/dist/compile/codegen/code.d.ts","../../../node_modules/ajv/dist/compile/codegen/scope.d.ts","../../../node_modules/ajv/dist/compile/codegen/index.d.ts","../../../node_modules/ajv/dist/compile/rules.d.ts","../../../node_modules/ajv/dist/compile/util.d.ts","../../../node_modules/ajv/dist/compile/validate/subschema.d.ts","../../../node_modules/ajv/dist/compile/errors.d.ts","../../../node_modules/ajv/dist/compile/validate/index.d.ts","../../../node_modules/ajv/dist/compile/validate/datatype.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/additionalitems.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/propertynames.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/additionalproperties.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/anyof.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/oneof.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/limitnumber.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/multipleof.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/uniqueitems.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../../node_modules/ajv/dist/vocabularies/format/format.d.ts","../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedproperties.d.ts","../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluateditems.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/dependentrequired.d.ts","../../../node_modules/ajv/dist/vocabularies/discriminator/types.d.ts","../../../node_modules/ajv/dist/vocabularies/discriminator/index.d.ts","../../../node_modules/ajv/dist/vocabularies/errors.d.ts","../../../node_modules/ajv/dist/types/json-schema.d.ts","../../../node_modules/ajv/dist/types/jtd-schema.d.ts","../../../node_modules/ajv/dist/runtime/validation_error.d.ts","../../../node_modules/ajv/dist/compile/ref_error.d.ts","../../../node_modules/ajv/dist/core.d.ts","../../../node_modules/ajv/dist/compile/resolve.d.ts","../../../node_modules/ajv/dist/compile/index.d.ts","../../../node_modules/ajv/dist/types/index.d.ts","../../../node_modules/ajv/dist/ajv.d.ts","../../../node_modules/ajv-formats/dist/formats.d.ts","../../../node_modules/ajv-formats/dist/limit.d.ts","../../../node_modules/ajv-formats/dist/index.d.ts","../../lexicon/src/record/schema.ts","../../lexicon/src/record/util.ts","../../lexicon/src/record/validation.ts","../../lexicon/src/record/validator.ts","../../lexicon/src/record/schemas.ts","../../lexicon/src/record/index.ts","../../lexicon/src/index.ts","../../xrpc/src/util.ts","../../xrpc/src/client.ts","../../xrpc/src/index.ts","../src/client/schemas.ts","../src/client/types/com/atproto/account/create.ts","../src/client/types/com/atproto/account/createinvitecode.ts","../src/client/types/com/atproto/account/delete.ts","../src/client/types/com/atproto/account/get.ts","../src/client/types/com/atproto/account/requestpasswordreset.ts","../src/client/types/com/atproto/account/resetpassword.ts","../src/client/types/com/atproto/handle/resolve.ts","../src/client/types/com/atproto/repo/batchwrite.ts","../src/client/types/com/atproto/repo/createrecord.ts","../src/client/types/com/atproto/repo/deleterecord.ts","../src/client/types/com/atproto/repo/describe.ts","../src/client/types/com/atproto/repo/getrecord.ts","../src/client/types/com/atproto/repo/listrecords.ts","../src/client/types/com/atproto/repo/putrecord.ts","../src/client/types/com/atproto/server/getaccountsconfig.ts","../src/client/types/com/atproto/session/create.ts","../src/client/types/com/atproto/session/delete.ts","../src/client/types/com/atproto/session/get.ts","../src/client/types/com/atproto/session/refresh.ts","../src/client/types/com/atproto/sync/getrepo.ts","../src/client/types/com/atproto/sync/getroot.ts","../src/client/types/com/atproto/sync/updaterepo.ts","../src/client/types/app/bsky/actor/createscene.ts","../src/client/types/app/bsky/actor/getprofile.ts","../src/client/types/app/bsky/actor/getsuggestions.ts","../src/client/types/app/bsky/actor/profile.ts","../src/client/types/app/bsky/actor/search.ts","../src/client/types/app/bsky/actor/searchtypeahead.ts","../src/client/types/app/bsky/actor/updateprofile.ts","../src/client/types/app/bsky/feed/getauthorfeed.ts","../src/client/types/app/bsky/feed/getpostthread.ts","../src/client/types/app/bsky/feed/getrepostedby.ts","../src/client/types/app/bsky/feed/gettimeline.ts","../src/client/types/app/bsky/feed/getvotes.ts","../src/client/types/app/bsky/feed/mediaembed.ts","../src/client/types/app/bsky/feed/post.ts","../src/client/types/app/bsky/feed/repost.ts","../src/client/types/app/bsky/feed/setvote.ts","../src/client/types/app/bsky/feed/trend.ts","../src/client/types/app/bsky/feed/vote.ts","../src/client/types/app/bsky/graph/assertion.ts","../src/client/types/app/bsky/graph/confirmation.ts","../src/client/types/app/bsky/graph/follow.ts","../src/client/types/app/bsky/graph/getfollowers.ts","../src/client/types/app/bsky/graph/getfollows.ts","../src/client/types/app/bsky/graph/getmembers.ts","../src/client/types/app/bsky/graph/getmemberships.ts","../src/client/types/app/bsky/notification/getcount.ts","../src/client/types/app/bsky/notification/list.ts","../src/client/types/app/bsky/notification/updateseen.ts","../src/client/types/app/bsky/system/declaration.ts","../src/client/index.ts","../../../node_modules/typed-emitter/index.d.ts","../src/session.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostic_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/util/types.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/ts3.6/base.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/base.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/bn.js/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/cors/index.d.ts","../../../node_modules/@types/elliptic/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/mime/mime.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/glob/node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/glob/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../node_modules/@types/nodemailer/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/pg-types/index.d.ts","../../../node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/@types/pg/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb09ec0a64fc17dbbc4a228b3b18aa5f01db3440a6b0cbb02354df58674d584","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"9afae14803f3b7343ed6d193173008715c1fa3421a353a818c805244ed737a84","bb98c05ae5cb9bd7cb7ad76fe517251a661787a6f24337b842f47faf393f79c7","a93bf95f7009c90e7d1edb092560d4052e3ebbe9b9ad2d796bcd95dc4306825c","8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","c2cb3c8ff388781258ea9ddbcd8a947f751bddd6886e1d3b3ea09ddaa895df80","f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","014b34d4c2ef27191fdf3feabb6557ec92127f813910725b6e79ed9a49e466b6","72efc3e8cee3cb13144cb63bb8aacf28f918439a2ff222de89e0e5d7ba9c7170","b61efb129c7011068cb4ccbbd86d5741ac82653476b09f46d3d06dd99b5b687e","2b7961486503fa279a4f1a52928d8c31fc6558c335b750878721467210552dd7","d1f62988c7e8e8650f7ed39520a766648155abbf75dd89f60e24f069433301d4","5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","156b9be8718e5157c84f4ca2163a48f9a8334e4477b945694c882ab89fd3382d","6acd34fce3c170380832d5bd6fb7b9fe77ea637244f7dd098cfb1a728fb430f1","d89adb0c1cf2ba75e4c7533ed81e7638c8e507d4cd0b3f53fed24b5c0e6e2b7e","9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","44a8d350600656882fd7462774e32e8d13788313ba2e36d2e8d5437ac91b98df","60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","b8870b5155d11a273c75718a4f19026da49f91c548703858cd3400d06c3bd3b8","b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","8d26ae32e5c9c080e44aee4a67e5ef02b5fda0604e6fecbb7b753c537e5282d9","05c4e792dae38912ba333725cdf8c42d242337d006c0d887f4ce5a7787871a95","cd44995ee13d5d23df17a10213fed7b483fabfd5ea08f267ab52c07ce0b6b4da","58ce1486f851942bd2d3056b399079bc9cb978ec933fe9833ea417e33eab676e","1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","d3d0d11d30c9878ada3356b9c36a2754b8c7b6204a41c86bfb1488c08ce263b0","a6493f1f479637ed89a3ebec03f6dc117e3b1851d7e938ac4c8501396b8639a8","ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","9d00e3a59eff68fa8c40e89953083eeaad1c5b2580ed7da2304424b249ecb237","1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","4430dea494b0ee77bf823d9a7c4850a539e1060d5d865316bb23fb393e4f01d7","aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","66e655f7c43558bae6703242cbd6c0551a94d0a97204bd4c4bbf7e77f24d1f85","72f7b32e023814078046c036ed4b7ad92414be0aebb63e805c682e14103ae38a","a89d8e67966d085ff971c9900cfa1abdd9732bab66d9c1914ecc15befdf8623d","7dfd0308261bb91b058eb91802690fe3f09192b263e070a19df4d629df29e265","608eb9d411ac76e93a10e05f8aae92b3a5cefc87594219b737df7c8737ba2bd7","cde493e09daad4bb29922fe633f760be9f0e8e2f39cdca999cce3b8690b5e13a","3d7f9eb12aface876f7b535cc89dcd416daf77f0b3573333f16ec0a70bcf902a","93ba4ac36f570c70a12d588e21c10dda9f351fad3e77d416952acddb27bff01d","8750f9dc1e277ffff7446c95571bae61aca0984e8f99e40fc1e8cb7161ae0642","66408d81ba8962282b1a55da34c6bd767105141f54d0ba14dca330efe0c8f552","7481b9d93ca44eb1f689e0b939545ff00dead7bdb9daba401dfb74292d83f831","821e64ddbdfa10fac5f0aed1c1d4e1f275840400caa96357ddfd15d02e5afba1","18992725cbd51b0846132ec46237bc7de4da1db440deb66a6242e2de8715dcfb","44f29187cfbc7aa4a6109204c8e5186509abc3b78874a2ee1498c51ab50f0f62","19ab78c1376c16e18c5b87dfa750813c935f0c4ce1d6ef88058ec38f9cf5ef08","c0f25c51a92ee4f072fe67057ec72ee72be2276c399a7d340ae944288a092fb6","3fc561fc6dd4088e53223a9bba7bebcf90246b2b21e54237dcce9e617c04d70f","01c8a2c0aa144ee6505d55074a1b9e6813f7b17a5d6fa82d1d915e6656b7299a","68d9a2010c776483645395ab9aa68d0546b9dcc79c37a9ebee4b6b5337c3582b","4d9a72ac7a6f2d3235ff8540ec294718801334df5b75aead03ebb52d3dc6a7ae","268018220f99e806d122d436ca95f86ae618eb75a9b646dc83141f11e35012a9","931b618b5058642415cd17e548b22e60795458fbd16d0a3eccab1d91c2ae8a80","13a99af21126377cc104fb775347be9278017935b89303890645648dcaf50cca","c27f493f12899bbba8390c628a48048b513c685102723232ede77c8701c115a7","dc8bd2d3fdede21907b93d1b962354779cdae08f83205f4507b639f0f69a29a2",{"version":"8eadc3c5be33f74df152d3f1166e6d26988732337b6d8cdfae4ecf5b8de6e73f","signature":"b7a71068726e7990b6ae91493834386b210f24773828a278e250b3f0ef9a4230"},{"version":"b79c472eb7907f24391f0ff57381e5e59f183bc229fc3dde74ad3259e8a43f49","signature":"f6d1da0c3eac8abacd2cbc4b13c20301939c0833030730272a7a7167b5fa8840"},{"version":"5abd712355b573ad1ffb76dff84e9ca25bbf0d99f8d08d9b2e3d49e240dc4268","signature":"4ab9da28d3de01deedf4c261fee8039b4b680079941d87fe4cf7d33117736e46"},{"version":"50e95f9d12fe8e17eec63b8a554172d359cf1fd81cf03978c96d53db46bdb35a","signature":"7e6dacdb09d56e0ccf69a1af3b4f4413ac044fbf3ab54258afc181ad177d1abe"},{"version":"81b8d8b9e2b1ef3036e0c43d4f9c3b1a590cdf4cd697b13006092c191a0c85ca","signature":"0cea6dd85fa33a467793b281ba1a70d02b5d27f968d5589c64d01845e0c123c0"},{"version":"eefd4f5c8123c786fbc89732aa30770eae99e8dbf1c4d3c3f01a8a1f18803eac","signature":"42249b647d343ef5dd579073f3bba0e1dca7c2e40e1d51e3c999fbae61a20220"},{"version":"b2ba179c4f14e3da5831e7311d010fb65c0602b0c6ec882d8552f0559fc7ec30","signature":"09f62d438f707eb5a2f8807c06127c497a0b779bf4954df50d0f59ff9da687c0"},{"version":"c73ec46a143f0110516093e040eea000eee0a79e3bc5c25f013fa5a52dc3888b","signature":"3a86b150fea5b41c6f44c1743aa63244a7705ccf1afdcab902f7558164d0f704"},{"version":"a69019b0a76e2f4d8d0a682231d427c005b6b5f6df031ccc094e8971f0312900","signature":"3a3cb2000ebb020c6b32147a8d250911b140dae437539a3dc251614039eea269"},{"version":"20568d1bf5f884bf9541644f2de501449e83d49b2969dcc9414388580dfa92fa","signature":"a88c0f70184f4ca5379ea9cc024192dbda3ced7b1011f9af7f266fcd3846e782"},{"version":"327226455267a368c221ab4b9bb557dc73892f58fc0d7a4521c238fdc8e443c9","signature":"f7f1a876f36691dc4807c39efcb0da08f01c5ef628259630f55585e432468ff8"},{"version":"14b11ed366c14ca1eae9393191574f4914245efe62321a842385bcfd21b452a2","signature":"5e04307a1d7c420aacd54373787d0d0c127393b3deead3759fae756ecf84e779"},{"version":"d1d4c5b5b103016d4baa33fb5800988559367dc57332398cc5fadab331fc2ad7","signature":"42ecf1fc8f0d0c59a7747acbf897db15ad1f4e75c3a4abb6bfdbe428e1819463"},{"version":"88010f88ea81e4a05b4fbcbecef58e2cbc24ae207001733c7540aeb8f5286f64","signature":"70493669bccf8d21cc5fc3b97d19f359cf184ffceb79a9870441ec7a4a0427c2"},{"version":"ad0ece2c9a80e0d738eab21c1baa8c6738053b8993e56e11f3383be1cd43f1c7","signature":"43ae376c1b529717ae6d11f86e6f46b2cfe214039ea12c1e22c656c36dc8e6af"},{"version":"7a673c77fe0ac75df51eca6826532993f1067656666b372a07617eefdc7ab529","signature":"b36519eee8c2a70b4fe0ca16fb59804d6525c9e33d3d89d1e6252404fd527de3"},{"version":"075fd0c5d7abcc9117d7fbff3a58c3d9f6977238190114d743957f61f50cf9d7","signature":"510b1c5b884d83f23add599ceedc84f4da7fe24d68b5832d83520d96fef4e7dd"},{"version":"b2ad99dad84bf265ace5d69c9f419fc03f4d184f7460077d8cfc2db772b38916","signature":"44c43360cbdd9e4ccdc046e3bcaee1a5d6a43989d26fc7e6351f138227f18ba9"},{"version":"27266928f23cad4312753ba2f413948dc4e1b214f357931c81aeb99d05f8c908","signature":"2cb450a7ae32d77b2a45c680f4e21558b2af05b04e1d6a720f3bc0773a1221fa"},{"version":"c2e8f53c059301cb5d83b60d3e9e23bc3b14cfa1f5ef3aefecf522931ab23679","signature":"3bcfa904f5c88da7bbf67d995c2f9b694fea787498ba637ef18eff4c784b112f"},{"version":"d9525a0b715c67ab9fa981a1f4a896e3138a4f986d83961599de99d5c151e329","signature":"6d91bcd052d66fe405a659005bd0ee858cfddd738e9efb5ff473274b51f96857"},{"version":"fcd957015237bf89a9be94830eb7c20076f05a4e098785c1d3f4aa053f083b95","signature":"ad486dfb188b38e1438df92768321062f13bf65ec79c59cb78dd880d288dea9e"},{"version":"9c6129cf099cdaeb93010747c0bc4bd419dde38159854e20cfb028bea7b96fef","signature":"078a4805cc7c5fb074af2ef60efe4764902e837b62103a70849650e90ce212a2"},{"version":"6693cafd2c77c806b36da4e0591d79d651a7be7d0101a7caa4e8e5e6b776e247","signature":"2eff9702bd5ac9efbb41cefbcd58ed5fb4d17953c630d0f02ac892dfa227ffe1"},{"version":"d38944b65e73a16da6dfb7b0347133a7046fb4fae4836e91897a8057d7580f67","signature":"906a910a64f0b611f30cd91b4d70dfd1ebd2de167b0e992d2dd40cb8d66a39f2"},{"version":"7a4966405b9d9d49863d3f61dc4e774513fa280f064194e9bdbbe771b3abcc13","signature":"93e350327bf9c8b267c43f117527f6a22d913bd854485265fd164ce53b23cff3"},{"version":"c09dde9afd115a446b25f3e212758a2aebd0a950012ce592a549700d05f71acf","signature":"5b4755ce01281771d7d3b4e0d4f6f502e043d7fd4909bc52993f40e609b82985"},{"version":"0618a3a3d8f23b84071bed83ecb225f9f66395097ce1d5fc7006f9c7e38afba8","signature":"9a899517d76c77e14e98f4467cbd629196b8f174153dc04cf75b9408d6cfd836"},{"version":"b2d0b975cf74717fae807b92ef4e15d1d7b517885d1848c9ec7e92fe6162e535","signature":"ef58745f3ff19b850a0495f783f6178a18e9b78c8b70bc90b1882bd6bda0fba7"},{"version":"f5016e3dd4fc93259026e4c892181f5533f6b2da1afe09dd75744d52f5fdad3b","signature":"c46265ca373cba8a32053875f6b88ec18ab3025df8aa38857d805bf7bd11761d"},{"version":"c3bb8bea07f663916ea5fcbb3760f4e2b271440ace7b000ebcb4e68a79931462","signature":"af55aeace4b153210335963d5166f7d9e59d00f803dfb353863e731b72be7636"},{"version":"0afa16cde1dd8635b612e840f205fbc5f016f0d590cf93136c4119325c5caa4f","signature":"0b185b4e75721be0a9cf3581cb8e066611e8396da43d43b639b93bc4a5eced7d"},{"version":"2f319f7c5dd6cd5ae9b57c987409ec1cdab72e2375abe87bae3944a6b0cc57a4","signature":"7a7272bc96c81b978953c7692a240e928a08b312ac26723faa2176122dc596a9"},{"version":"9427d7c9e5f605996dd970c1d5ca7faa2eb626b2ad1bc97827b4802f714b0adc","signature":"431d1adfec7e1172aa504e1f02a9ef4599fdebce52f8626efbabde422efdbfab"},{"version":"9159840d34bd3d31157ef393e46624aabcfb20d1a294ef46fb2fbb997c023ba4","signature":"4cda1d0ace41695ffbb7271325c0b6905da6aa06890f67ae55c7ba0d0f2dc8e9"},{"version":"c3c829aae891ac7ee988d0733a06e8d6b130f45ae4a3973892d93f6b97825699","signature":"22a699c4613866244d4feb310a3ee112fe1f171604ace3b1affa487e2de3d9b9"},{"version":"6fa3d27c021550becf56a55b495c5f034e61c4310f12be0ec7461ea96e668236","signature":"9a6d89de502511aab84e6d94f4e2e3c096622f2cdbc00aa50f53002a56a453ef"},{"version":"e0ee75d1f0cb5204e8f9dfeb7f1c162df90498d37888876b1cd50d28b432545b","signature":"7670420ebb619f5549e646f47086bb60ef4062f37e873a5238793650f39723ba"},{"version":"4555e8d8e773b5fe6565039eff7052d779334b17c05b88386a134b2e61ef9c70","signature":"84d598a3dbed6a74096e66b6fb5ce4e7616f1c9f6beca8b8108bcac914565be0"},{"version":"e0ee75d1f0cb5204e8f9dfeb7f1c162df90498d37888876b1cd50d28b432545b","signature":"7670420ebb619f5549e646f47086bb60ef4062f37e873a5238793650f39723ba"},{"version":"e2437530086aa214d4b3f38ed6da7f05b1d3dc1ca7086243aa40604324e1db3d","signature":"9aab3836c6a48eec5d9ff756b0d184c783e7298a65719f4c9bc03244d1ba266e"},{"version":"5d27f2c8dd6e25047a21dcb929e97bbcd8b0457ba5d6b653a8dce338bb322d58","signature":"e3271652a5f56047b2a9e7618c83346c9b98e953a4a37e70490e05a2e1a18a25"},{"version":"c15b8a0813758152b5e5109f122bc300072703c9f590c0d23f736a4b6bf52ea0","signature":"efa16ed6c573e2d2793939bc587a4e3dbd024116f3d74a6b06a5e3b5639883f1"},{"version":"9126a581dccf0c6c06186f53e305c5d17106cccd7c9fdacfc3c124f3c324d041","signature":"8eec420d090293a78898ac24ef0f5607860e8a14480844799c5b6e0f5f02a6dc"},{"version":"59261f08e94e430f9dbee1287f36c4293d30574454a7458cbe083f13f0f24690","signature":"74111ab12d504b95524b26965ed1f7faeff1dcaa014cfd1099c186c9b12491d1"},{"version":"cfbf89b7ee72920b52e8e6fe328ded6b49889cc4df4ab0c8f48f33c3bc2c8c55","signature":"7a5fb4ebc7433206b3fbd6bbb9af5b2915f8cf576d76138c587e14e7b74a32db"},{"version":"dd2603a1bfda0833f24f7e5cb75025fe409b710c65b9911ffe9be41f88db5475","signature":"d2769cadb907f74ab9cdb93a9d08672050989309f3f85ff3b2ab7aeca629aab4"},{"version":"c88c8a7bba50c17e7a48fd10430895e21244c682f559fc3dd3bc011536e482cd","signature":"9d535d1543c10a8fe61376fe859becb5acda7c42fbf8a2c8a58a8dfdb4843658"},{"version":"a11ada4ddb5747bafcb059ef34d0a025c1739a13330583635ea68fc4fe58ea90","signature":"a69bc1b06a11288177a9819e920ce332242546af0ed69e29c0c4907fa044fb71"},{"version":"a659eb440b334c12b0996b3c1e84144325a2096417d15c7ddd69d059fde4f10d","signature":"43016a863d3c9ab8df724de028e809dd7b267e377544dfa1854ef7b03188dc8c"},{"version":"34dd925e9e7bd4f5c2990d7589ac066560e7668c86ccf495c243e88bff6dfab2","signature":"0ba967758e6b03447d645dec5fa01f8454db91acb43bc28df27182692837e315"},{"version":"563a4144f1f98a8f6ec9956da80b2403f3e8cd8b2672fa5ea3653a53f14d1131","signature":"d6e8f417ab9a4b6aec8a5a3ced95259ef5133e4601c508a51308eaaac479b6ca"},{"version":"e362af5c52250439f6a0029f0d616b6ef66747552ced01a3507861c57d32cb9d","signature":"c8379622bb6b99aab57b0344e27a4ccf86bd90419f01694fa8cb66476d9ee09a"},"6c27d4b5ba01295ef334456d9af4366aca789f228eee70fcb874b903a59b0e5b",{"version":"d2917c1370f3d1859c884ba3726d63c14fa3086a0c8671d311b08810e557dd22","signature":"18f168653a953e3bf0ed315e79413969de4c6fcff7add51c8b2005eda2a07cb2"},{"version":"a0f41c123f2d733f503fa755bb2d029aa461364ba103b87f27685ff447835d34","signature":"914fc0941912b62e2f6a03a59ab61b2eae9d4c5a9d5f2728ad47a5b5021b5d6f"},"c561efdf5ba0b62619745d4761fe2d9756f23db972e039367d15922fed67fd2f","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"d1c92b66c4105659fcad4eb76a1481f7311033e117d0678a1ec545e8ddb8d4c6","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","dee93c07b4df5e26010dc9ec4cdf4d6e4076bb4474d2a8371529217c8b2740a4","ed40f2f184db052dc8df62d1f199823c8bbccc487c0a2a7c54eeea0badcf4378","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","dfc747ab8dd5f623055a4c26fd35e8cceca869fd3f1cf09701c941ca3679665a","c9f5f2920ff61d7158417b8440d5181ddc34a3dfef811a5677dd8a9fb91471e9","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"f258ba66915f0196ec344bc53afe1888240bbcc855ebd151b6cc072275533319","6194335ee3353f7226ba31f31d6301d0c6be87228419c0a08976ccd9d4f1213e","3ac12a54cfaa84683506db8d4cf779135a271d9f0ec18930cf53e61fbeea0c5d","cf3d3b087d1a8a3355eec47d206162c75e912315b9b5c1cd49fda93e948fb80a","36f316c066c4a72dd6f19fec49a074f935744fc9ccbe75c87ebc07fb2feb9062","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","ec70fd6f8a9a83f850dab2960a6789e93d5b034b354a16814cad5daabf62a360","e2236264a811ed1d09a2487a433e8f5216ae62378cf233954ae220cf886f6717","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","100b3bb9d39d2b1b5340f1bf45a52e94ef1692b45232b4ba00fac5c3cc56d331",{"version":"04fe7e7d8008887943260af1fde2bfd4877e0dc57bf634e0f0b2f3d1794dfd11","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","2597718d91e306949d89e285bf34c44192014ef541c3bd7cbb825c022749e974","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","ac4801ebc2355ba32329070123b1cd15891bf71b41dcaf9e75b4744832126a59","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","71ddd49185b68f27bfac127ef5d22cb2672c278e53e5370d9020ef50ca9c377d","b1ea7a6eaa7608e0e0529aebd323b526a79c6c05a4e519ae5c779675004dcdf1","9fcb033a6208485d8f3fadde31eb5cbcaf99149cff3e40c0dc53ebc6d0dff4e9","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","e361aecf17fc4034b4c122a1564471cdcd22ef3a51407803cb5a5fc020c04d02","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"fc0ae4a8ad3c762b96f9d2c3700cb879a373458cb0bf3175478e3b4f85f7ef2f","fabbec378e1ddd86fcf2662e716c2b8318acedb664ee3a4cba6f9e8ee8269cf1","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","efd55e8ca79171bf26c0d0e30221cb8ee1f5a31dd0c791ec4b2e886f42bab124","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","b8a427b9fe88504a6fb092e21adfe272d144394a2ced7f9e4adc3de7efa6e216","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","763e521cf114b80e0dd0e21ca49b9f8ae62e8999555a5e7bade8ce36b33001c2","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","3e6bbb0883148627ca0854a9f62d820aaf1a0f1842f5568176721fef156b8f23","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","f72f8428f3c1caa22e9c247d046603b85b442c0dae7b77a7a0bc092c18867cb7",{"version":"195f63105abc03e72b6a176e3e34dfb5ac932b55db378fdc7874b1617e24b465","affectsGlobalScope":true},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6702a1cd8818cb22ee95c85dcf2c31c117bde892e1afd2bc254bd720f4c6263c","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","4b16417aab5a4b276fd4a7db95120a8c7b4d49a6d68ddfe075e9f46dcbf22f00","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":1,"module":1,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictPropertyInitialization":false,"target":7},"fileIdsList":[[187],[265],[187,188,189,190,191],[187,189],[244],[210,244,246],[210,244],[210],[245],[207,210,244,250,251],[247,251,252,255],[207,208,244,257],[208,244],[260],[261],[267,270],[274,276,277,278,279,280,281,282,283,284,285,286],[274,275,277,278,279,280,281,282,283,284,285,286],[275,276,277,278,279,280,281,282,283,284,285,286],[274,275,276,278,279,280,281,282,283,284,285,286],[274,275,276,277,279,280,281,282,283,284,285,286],[274,275,276,277,278,280,281,282,283,284,285,286],[274,275,276,277,278,279,281,282,283,284,285,286],[274,275,276,277,278,279,280,282,283,284,285,286],[274,275,276,277,278,279,280,281,283,284,285,286],[274,275,276,277,278,279,280,281,282,284,285,286],[274,275,276,277,278,279,280,281,282,283,285,286],[274,275,276,277,278,279,280,281,282,283,284,286],[274,275,276,277,278,279,280,281,282,283,284,285],[253],[254],[242],[241,242],[196,201],[207,208,215,224],[197,207,215],[233],[201,208,216],[224,229],[204,207,215],[205],[204],[207],[207,209,224,232],[207,208,224],[215,224,232],[207,208,210,215,224,229,232],[210,224,229,232],[243],[232],[204,207,224],[217],[195],[231],[222,233,236],[207,225],[224],[227],[201,215],[193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240],[215],[221],[234],[196,201,207,209,218,224,232,236],[244,290,292,296,297,298,299,300,301],[224,244],[207,244,290,292,293,295,302],[207,215,224,232,244,289,290,291,293,294,295,302],[224,244,292,293],[224,244,292,294],[244,290,292,293,295,302],[224,244,294],[207,215,224,229,244,291,293,295],[207,244,290,292,293,294,295,302],[207,224,244,290,291,292,293,294,295,302],[207,224,244,290,292,293,295,302],[210,224,244,295],[207,224,229,244,305,306,309,310],[210,244,254],[313],[117],[117,118,119],[76,77,81,108,109,113,115,116],[74,75],[74],[76,116],[76,77,113,114,116],[116],[73,116,117],[76,77,115,116],[76,77,79,80,115,116],[76,77,78,115,116],[76,77,81,108,109,110,111,112,115,116],[73,76,77,81,113,115],[81,116],[83,84,85,86,87,88,89,90,91,92,116],[106,116],[82,93,101,102,103,104,105,107],[86,116],[94,95,96,97,98,99,100,116],[263,269],[267],[264,268],[244,306,307,308],[224,244,306],[266],[68],[59,60],[57,58,59,61,62,66],[58,59],[67],[59],[57,58,59,62,63,64,65],[57,58,68],[130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],[127],[130],[183,185],[130,147,150,183,184,207],[72,126],[121,123,124,125],[72,117,120],[72,121,124],[117,121],[117,120,121,122,123,125],[69,71],[70,127,128],[70,129],[69],[70,127],[130,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],[130,183,184]],"referencedMap":[[189,1],[266,2],[192,3],[188,1],[190,4],[191,1],[245,5],[247,6],[246,7],[248,8],[249,9],[252,10],[256,11],[258,12],[259,13],[261,14],[262,15],[271,16],[273,5],[275,17],[276,18],[274,19],[277,20],[278,21],[279,22],[280,23],[281,24],[282,25],[283,26],[284,27],[285,28],[286,29],[254,30],[253,31],[193,32],[243,33],[196,34],[197,35],[198,36],[199,37],[200,38],[201,39],[202,40],[204,41],[205,42],[206,43],[207,43],[208,44],[209,45],[210,46],[211,47],[212,48],[244,49],[213,43],[214,50],[215,51],[217,52],[218,53],[219,54],[222,43],[223,55],[224,56],[225,57],[227,43],[228,58],[229,59],[241,60],[231,61],[232,62],[233,63],[235,57],[237,64],[238,57],[302,65],[289,66],[296,67],[292,68],[290,69],[293,70],[297,71],[298,67],[295,72],[294,73],[299,74],[300,75],[301,76],[291,77],[310,78],[255,79],[314,80],[118,81],[120,82],[119,81],[117,83],[76,84],[75,85],[80,86],[115,87],[112,88],[114,89],[77,88],[78,90],[82,90],[81,91],[79,92],[113,93],[111,88],[116,94],[83,95],[88,88],[90,88],[85,88],[86,95],[92,88],[93,96],[84,88],[89,88],[91,88],[87,88],[107,97],[106,88],[108,98],[102,88],[104,88],[103,88],[99,88],[105,99],[100,88],[101,100],[94,88],[95,88],[96,88],[97,88],[98,88],[270,101],[268,102],[269,103],[309,104],[306,5],[308,105],[307,5],[267,106],[69,107],[61,108],[67,109],[62,110],[65,107],[68,111],[60,112],[66,113],[59,114],[183,115],[131,116],[154,117],[155,117],[156,117],[158,117],[159,117],[160,117],[161,117],[162,117],[163,117],[164,117],[165,117],[169,117],[175,117],[176,117],[177,117],[178,117],[179,117],[180,117],[181,117],[132,117],[133,117],[134,117],[135,117],[136,117],[137,117],[138,117],[139,117],[140,117],[141,117],[142,117],[143,117],[144,117],[145,117],[146,117],[147,117],[148,117],[149,117],[150,117],[151,117],[152,117],[153,117],[186,118],[185,119],[127,120],[126,121],[121,122],[125,123],[123,124],[124,125],[72,126],[129,127],[130,128],[70,129],[128,130]],"exportedModulesMap":[[189,1],[266,2],[192,3],[188,1],[190,4],[191,1],[245,5],[247,6],[246,7],[248,8],[249,9],[252,10],[256,11],[258,12],[259,13],[261,14],[262,15],[271,16],[273,5],[275,17],[276,18],[274,19],[277,20],[278,21],[279,22],[280,23],[281,24],[282,25],[283,26],[284,27],[285,28],[286,29],[254,30],[253,31],[193,32],[243,33],[196,34],[197,35],[198,36],[199,37],[200,38],[201,39],[202,40],[204,41],[205,42],[206,43],[207,43],[208,44],[209,45],[210,46],[211,47],[212,48],[244,49],[213,43],[214,50],[215,51],[217,52],[218,53],[219,54],[222,43],[223,55],[224,56],[225,57],[227,43],[228,58],[229,59],[241,60],[231,61],[232,62],[233,63],[235,57],[237,64],[238,57],[302,65],[289,66],[296,67],[292,68],[290,69],[293,70],[297,71],[298,67],[295,72],[294,73],[299,74],[300,75],[301,76],[291,77],[310,78],[255,79],[314,80],[118,81],[120,82],[119,81],[117,83],[76,84],[75,85],[80,86],[115,87],[112,88],[114,89],[77,88],[78,90],[82,90],[81,91],[79,92],[113,93],[111,88],[116,94],[83,95],[88,88],[90,88],[85,88],[86,95],[92,88],[93,96],[84,88],[89,88],[91,88],[87,88],[107,97],[106,88],[108,98],[102,88],[104,88],[103,88],[99,88],[105,99],[100,88],[101,100],[94,88],[95,88],[96,88],[97,88],[98,88],[270,101],[268,102],[269,103],[309,104],[306,5],[308,105],[307,5],[267,106],[69,107],[61,108],[67,109],[62,110],[65,107],[68,111],[60,112],[66,113],[59,114],[183,131],[131,116],[154,117],[155,117],[156,117],[158,117],[159,117],[160,117],[161,117],[162,117],[163,117],[164,117],[165,117],[169,117],[175,117],[176,117],[177,117],[178,117],[179,117],[180,117],[181,117],[132,117],[133,117],[134,117],[135,117],[136,117],[137,117],[138,117],[139,117],[140,117],[141,117],[142,117],[143,117],[144,117],[145,117],[146,117],[147,117],[148,117],[149,117],[150,117],[151,117],[152,117],[153,117],[186,118],[185,132],[127,120],[126,121],[121,122],[125,123],[123,124],[124,125],[72,126],[129,127],[130,128],[70,129],[128,130]],"semanticDiagnosticsPerFile":[189,187,263,266,265,192,188,190,191,245,247,246,248,249,252,256,258,257,259,260,261,262,271,272,273,275,276,274,277,278,279,280,281,282,283,284,285,286,254,253,287,288,242,193,195,243,196,197,198,199,200,201,202,203,204,205,206,207,208,209,194,239,210,211,212,244,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,241,231,232,233,234,235,236,240,237,238,302,289,296,292,290,293,297,298,295,294,299,300,301,291,303,304,310,311,251,250,255,312,313,314,118,120,119,117,74,76,75,80,115,112,114,77,78,82,81,79,113,111,116,109,110,83,88,90,85,86,92,93,84,89,91,87,107,106,108,102,104,103,99,105,100,101,94,95,96,97,98,264,270,268,269,309,306,308,307,305,267,184,11,12,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,13,73,69,61,67,63,64,62,65,57,58,68,60,66,59,183,131,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,186,185,127,126,121,125,122,123,124,72,71,129,130,70,128],"latestChangedDtsFile":"./src/client/index.d.ts"},"version":"4.8.4"} \ No newline at end of file +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/zod/lib/helpers/typealiases.d.ts","../../../node_modules/zod/lib/helpers/util.d.ts","../../../node_modules/zod/lib/zoderror.d.ts","../../../node_modules/zod/lib/locales/en.d.ts","../../../node_modules/zod/lib/errors.d.ts","../../../node_modules/zod/lib/helpers/parseutil.d.ts","../../../node_modules/zod/lib/helpers/enumutil.d.ts","../../../node_modules/zod/lib/helpers/errorutil.d.ts","../../../node_modules/zod/lib/helpers/partialutil.d.ts","../../../node_modules/zod/lib/types.d.ts","../../../node_modules/zod/lib/external.d.ts","../../../node_modules/zod/lib/index.d.ts","../../../node_modules/zod/index.d.ts","../../xrpc/src/types.ts","../../nsid/src/index.ts","../../lexicon/src/types.ts","../../../node_modules/uri-js/dist/es5/uri.all.d.ts","../../../node_modules/ajv/dist/compile/codegen/code.d.ts","../../../node_modules/ajv/dist/compile/codegen/scope.d.ts","../../../node_modules/ajv/dist/compile/codegen/index.d.ts","../../../node_modules/ajv/dist/compile/rules.d.ts","../../../node_modules/ajv/dist/compile/util.d.ts","../../../node_modules/ajv/dist/compile/validate/subschema.d.ts","../../../node_modules/ajv/dist/compile/errors.d.ts","../../../node_modules/ajv/dist/compile/validate/index.d.ts","../../../node_modules/ajv/dist/compile/validate/datatype.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/additionalitems.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/propertynames.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/additionalproperties.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/anyof.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/oneof.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../../node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/limitnumber.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/multipleof.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/uniqueitems.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../../node_modules/ajv/dist/vocabularies/format/format.d.ts","../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedproperties.d.ts","../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluateditems.d.ts","../../../node_modules/ajv/dist/vocabularies/validation/dependentrequired.d.ts","../../../node_modules/ajv/dist/vocabularies/discriminator/types.d.ts","../../../node_modules/ajv/dist/vocabularies/discriminator/index.d.ts","../../../node_modules/ajv/dist/vocabularies/errors.d.ts","../../../node_modules/ajv/dist/types/json-schema.d.ts","../../../node_modules/ajv/dist/types/jtd-schema.d.ts","../../../node_modules/ajv/dist/runtime/validation_error.d.ts","../../../node_modules/ajv/dist/compile/ref_error.d.ts","../../../node_modules/ajv/dist/core.d.ts","../../../node_modules/ajv/dist/compile/resolve.d.ts","../../../node_modules/ajv/dist/compile/index.d.ts","../../../node_modules/ajv/dist/types/index.d.ts","../../../node_modules/ajv/dist/ajv.d.ts","../../../node_modules/ajv-formats/dist/formats.d.ts","../../../node_modules/ajv-formats/dist/limit.d.ts","../../../node_modules/ajv-formats/dist/index.d.ts","../../lexicon/src/record/schema.ts","../../lexicon/src/record/util.ts","../../lexicon/src/record/validation.ts","../../lexicon/src/record/validator.ts","../../lexicon/src/record/schemas.ts","../../lexicon/src/record/index.ts","../../lexicon/src/index.ts","../../xrpc/src/util.ts","../../xrpc/src/client.ts","../../xrpc/src/index.ts","../src/client/schemas.ts","../src/client/types/com/atproto/account/create.ts","../src/client/types/com/atproto/account/createinvitecode.ts","../src/client/types/com/atproto/account/delete.ts","../src/client/types/com/atproto/account/get.ts","../src/client/types/com/atproto/account/requestpasswordreset.ts","../src/client/types/com/atproto/account/resetpassword.ts","../src/client/types/com/atproto/handle/resolve.ts","../src/client/types/com/atproto/repo/batchwrite.ts","../src/client/types/com/atproto/repo/createrecord.ts","../src/client/types/com/atproto/repo/deleterecord.ts","../src/client/types/com/atproto/repo/describe.ts","../src/client/types/com/atproto/repo/getrecord.ts","../src/client/types/com/atproto/repo/listrecords.ts","../src/client/types/com/atproto/repo/putrecord.ts","../src/client/types/com/atproto/server/getaccountsconfig.ts","../src/client/types/com/atproto/session/create.ts","../src/client/types/com/atproto/session/delete.ts","../src/client/types/com/atproto/session/get.ts","../src/client/types/com/atproto/session/refresh.ts","../src/client/types/com/atproto/sync/getrepo.ts","../src/client/types/com/atproto/sync/getroot.ts","../src/client/types/com/atproto/sync/updaterepo.ts","../src/client/types/app/bsky/actor/createscene.ts","../src/client/types/app/bsky/actor/getprofile.ts","../src/client/types/app/bsky/actor/getsuggestions.ts","../src/client/types/app/bsky/actor/profile.ts","../src/client/types/app/bsky/actor/search.ts","../src/client/types/app/bsky/actor/searchtypeahead.ts","../src/client/types/app/bsky/actor/updateprofile.ts","../src/client/types/app/bsky/feed/getauthorfeed.ts","../src/client/types/app/bsky/feed/getpostthread.ts","../src/client/types/app/bsky/feed/getrepostedby.ts","../src/client/types/app/bsky/feed/gettimeline.ts","../src/client/types/app/bsky/feed/getvotes.ts","../src/client/types/app/bsky/feed/mediaembed.ts","../src/client/types/app/bsky/feed/post.ts","../src/client/types/app/bsky/feed/repost.ts","../src/client/types/app/bsky/feed/setvote.ts","../src/client/types/app/bsky/feed/trend.ts","../src/client/types/app/bsky/feed/vote.ts","../src/client/types/app/bsky/graph/assertion.ts","../src/client/types/app/bsky/graph/confirmation.ts","../src/client/types/app/bsky/graph/follow.ts","../src/client/types/app/bsky/graph/getassertions.ts","../src/client/types/app/bsky/graph/getfollowers.ts","../src/client/types/app/bsky/graph/getfollows.ts","../src/client/types/app/bsky/graph/getmembers.ts","../src/client/types/app/bsky/graph/getmemberships.ts","../src/client/types/app/bsky/notification/getcount.ts","../src/client/types/app/bsky/notification/list.ts","../src/client/types/app/bsky/notification/updateseen.ts","../src/client/types/app/bsky/system/declaration.ts","../src/client/index.ts","../../../node_modules/typed-emitter/index.d.ts","../src/session.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostic_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/util/types.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/ts3.6/base.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/base.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/bn.js/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/cors/index.d.ts","../../../node_modules/@types/elliptic/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/mime/mime.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/glob/node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/glob/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../node_modules/@types/nodemailer/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/pg-types/index.d.ts","../../../node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/@types/pg/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb09ec0a64fc17dbbc4a228b3b18aa5f01db3440a6b0cbb02354df58674d584","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"9afae14803f3b7343ed6d193173008715c1fa3421a353a818c805244ed737a84","bb98c05ae5cb9bd7cb7ad76fe517251a661787a6f24337b842f47faf393f79c7","a93bf95f7009c90e7d1edb092560d4052e3ebbe9b9ad2d796bcd95dc4306825c","8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","c2cb3c8ff388781258ea9ddbcd8a947f751bddd6886e1d3b3ea09ddaa895df80","f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","014b34d4c2ef27191fdf3feabb6557ec92127f813910725b6e79ed9a49e466b6","72efc3e8cee3cb13144cb63bb8aacf28f918439a2ff222de89e0e5d7ba9c7170","b61efb129c7011068cb4ccbbd86d5741ac82653476b09f46d3d06dd99b5b687e","2b7961486503fa279a4f1a52928d8c31fc6558c335b750878721467210552dd7","d1f62988c7e8e8650f7ed39520a766648155abbf75dd89f60e24f069433301d4","5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","156b9be8718e5157c84f4ca2163a48f9a8334e4477b945694c882ab89fd3382d","6acd34fce3c170380832d5bd6fb7b9fe77ea637244f7dd098cfb1a728fb430f1","d89adb0c1cf2ba75e4c7533ed81e7638c8e507d4cd0b3f53fed24b5c0e6e2b7e","9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","44a8d350600656882fd7462774e32e8d13788313ba2e36d2e8d5437ac91b98df","60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","b8870b5155d11a273c75718a4f19026da49f91c548703858cd3400d06c3bd3b8","b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","8d26ae32e5c9c080e44aee4a67e5ef02b5fda0604e6fecbb7b753c537e5282d9","05c4e792dae38912ba333725cdf8c42d242337d006c0d887f4ce5a7787871a95","cd44995ee13d5d23df17a10213fed7b483fabfd5ea08f267ab52c07ce0b6b4da","58ce1486f851942bd2d3056b399079bc9cb978ec933fe9833ea417e33eab676e","1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","d3d0d11d30c9878ada3356b9c36a2754b8c7b6204a41c86bfb1488c08ce263b0","a6493f1f479637ed89a3ebec03f6dc117e3b1851d7e938ac4c8501396b8639a8","ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","9d00e3a59eff68fa8c40e89953083eeaad1c5b2580ed7da2304424b249ecb237","1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","4430dea494b0ee77bf823d9a7c4850a539e1060d5d865316bb23fb393e4f01d7","aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","66e655f7c43558bae6703242cbd6c0551a94d0a97204bd4c4bbf7e77f24d1f85","72f7b32e023814078046c036ed4b7ad92414be0aebb63e805c682e14103ae38a","a89d8e67966d085ff971c9900cfa1abdd9732bab66d9c1914ecc15befdf8623d","7dfd0308261bb91b058eb91802690fe3f09192b263e070a19df4d629df29e265","608eb9d411ac76e93a10e05f8aae92b3a5cefc87594219b737df7c8737ba2bd7","cde493e09daad4bb29922fe633f760be9f0e8e2f39cdca999cce3b8690b5e13a","3d7f9eb12aface876f7b535cc89dcd416daf77f0b3573333f16ec0a70bcf902a","93ba4ac36f570c70a12d588e21c10dda9f351fad3e77d416952acddb27bff01d","8750f9dc1e277ffff7446c95571bae61aca0984e8f99e40fc1e8cb7161ae0642","66408d81ba8962282b1a55da34c6bd767105141f54d0ba14dca330efe0c8f552","7481b9d93ca44eb1f689e0b939545ff00dead7bdb9daba401dfb74292d83f831","821e64ddbdfa10fac5f0aed1c1d4e1f275840400caa96357ddfd15d02e5afba1","18992725cbd51b0846132ec46237bc7de4da1db440deb66a6242e2de8715dcfb","44f29187cfbc7aa4a6109204c8e5186509abc3b78874a2ee1498c51ab50f0f62","19ab78c1376c16e18c5b87dfa750813c935f0c4ce1d6ef88058ec38f9cf5ef08","c0f25c51a92ee4f072fe67057ec72ee72be2276c399a7d340ae944288a092fb6","3fc561fc6dd4088e53223a9bba7bebcf90246b2b21e54237dcce9e617c04d70f","01c8a2c0aa144ee6505d55074a1b9e6813f7b17a5d6fa82d1d915e6656b7299a","68d9a2010c776483645395ab9aa68d0546b9dcc79c37a9ebee4b6b5337c3582b","4d9a72ac7a6f2d3235ff8540ec294718801334df5b75aead03ebb52d3dc6a7ae","268018220f99e806d122d436ca95f86ae618eb75a9b646dc83141f11e35012a9","931b618b5058642415cd17e548b22e60795458fbd16d0a3eccab1d91c2ae8a80","13a99af21126377cc104fb775347be9278017935b89303890645648dcaf50cca","c27f493f12899bbba8390c628a48048b513c685102723232ede77c8701c115a7","dc8bd2d3fdede21907b93d1b962354779cdae08f83205f4507b639f0f69a29a2",{"version":"8cd933d402dff7a2015ca57ab6dfbf6c9769fb2731566e15d063c0e3a319baa7","signature":"b7a71068726e7990b6ae91493834386b210f24773828a278e250b3f0ef9a4230"},{"version":"b79c472eb7907f24391f0ff57381e5e59f183bc229fc3dde74ad3259e8a43f49","signature":"f6d1da0c3eac8abacd2cbc4b13c20301939c0833030730272a7a7167b5fa8840"},{"version":"5abd712355b573ad1ffb76dff84e9ca25bbf0d99f8d08d9b2e3d49e240dc4268","signature":"4ab9da28d3de01deedf4c261fee8039b4b680079941d87fe4cf7d33117736e46"},{"version":"50e95f9d12fe8e17eec63b8a554172d359cf1fd81cf03978c96d53db46bdb35a","signature":"7e6dacdb09d56e0ccf69a1af3b4f4413ac044fbf3ab54258afc181ad177d1abe"},{"version":"81b8d8b9e2b1ef3036e0c43d4f9c3b1a590cdf4cd697b13006092c191a0c85ca","signature":"0cea6dd85fa33a467793b281ba1a70d02b5d27f968d5589c64d01845e0c123c0"},{"version":"eefd4f5c8123c786fbc89732aa30770eae99e8dbf1c4d3c3f01a8a1f18803eac","signature":"42249b647d343ef5dd579073f3bba0e1dca7c2e40e1d51e3c999fbae61a20220"},{"version":"b2ba179c4f14e3da5831e7311d010fb65c0602b0c6ec882d8552f0559fc7ec30","signature":"09f62d438f707eb5a2f8807c06127c497a0b779bf4954df50d0f59ff9da687c0"},{"version":"c73ec46a143f0110516093e040eea000eee0a79e3bc5c25f013fa5a52dc3888b","signature":"3a86b150fea5b41c6f44c1743aa63244a7705ccf1afdcab902f7558164d0f704"},{"version":"a69019b0a76e2f4d8d0a682231d427c005b6b5f6df031ccc094e8971f0312900","signature":"3a3cb2000ebb020c6b32147a8d250911b140dae437539a3dc251614039eea269"},{"version":"20568d1bf5f884bf9541644f2de501449e83d49b2969dcc9414388580dfa92fa","signature":"a88c0f70184f4ca5379ea9cc024192dbda3ced7b1011f9af7f266fcd3846e782"},{"version":"327226455267a368c221ab4b9bb557dc73892f58fc0d7a4521c238fdc8e443c9","signature":"f7f1a876f36691dc4807c39efcb0da08f01c5ef628259630f55585e432468ff8"},{"version":"14b11ed366c14ca1eae9393191574f4914245efe62321a842385bcfd21b452a2","signature":"5e04307a1d7c420aacd54373787d0d0c127393b3deead3759fae756ecf84e779"},{"version":"d1d4c5b5b103016d4baa33fb5800988559367dc57332398cc5fadab331fc2ad7","signature":"42ecf1fc8f0d0c59a7747acbf897db15ad1f4e75c3a4abb6bfdbe428e1819463"},{"version":"88010f88ea81e4a05b4fbcbecef58e2cbc24ae207001733c7540aeb8f5286f64","signature":"70493669bccf8d21cc5fc3b97d19f359cf184ffceb79a9870441ec7a4a0427c2"},{"version":"ad0ece2c9a80e0d738eab21c1baa8c6738053b8993e56e11f3383be1cd43f1c7","signature":"43ae376c1b529717ae6d11f86e6f46b2cfe214039ea12c1e22c656c36dc8e6af"},{"version":"7a673c77fe0ac75df51eca6826532993f1067656666b372a07617eefdc7ab529","signature":"b36519eee8c2a70b4fe0ca16fb59804d6525c9e33d3d89d1e6252404fd527de3"},{"version":"075fd0c5d7abcc9117d7fbff3a58c3d9f6977238190114d743957f61f50cf9d7","signature":"510b1c5b884d83f23add599ceedc84f4da7fe24d68b5832d83520d96fef4e7dd"},{"version":"b2ad99dad84bf265ace5d69c9f419fc03f4d184f7460077d8cfc2db772b38916","signature":"44c43360cbdd9e4ccdc046e3bcaee1a5d6a43989d26fc7e6351f138227f18ba9"},{"version":"27266928f23cad4312753ba2f413948dc4e1b214f357931c81aeb99d05f8c908","signature":"2cb450a7ae32d77b2a45c680f4e21558b2af05b04e1d6a720f3bc0773a1221fa"},{"version":"c2e8f53c059301cb5d83b60d3e9e23bc3b14cfa1f5ef3aefecf522931ab23679","signature":"3bcfa904f5c88da7bbf67d995c2f9b694fea787498ba637ef18eff4c784b112f"},{"version":"d9525a0b715c67ab9fa981a1f4a896e3138a4f986d83961599de99d5c151e329","signature":"6d91bcd052d66fe405a659005bd0ee858cfddd738e9efb5ff473274b51f96857"},{"version":"fcd957015237bf89a9be94830eb7c20076f05a4e098785c1d3f4aa053f083b95","signature":"ad486dfb188b38e1438df92768321062f13bf65ec79c59cb78dd880d288dea9e"},{"version":"9c6129cf099cdaeb93010747c0bc4bd419dde38159854e20cfb028bea7b96fef","signature":"078a4805cc7c5fb074af2ef60efe4764902e837b62103a70849650e90ce212a2"},{"version":"6693cafd2c77c806b36da4e0591d79d651a7be7d0101a7caa4e8e5e6b776e247","signature":"2eff9702bd5ac9efbb41cefbcd58ed5fb4d17953c630d0f02ac892dfa227ffe1"},{"version":"d38944b65e73a16da6dfb7b0347133a7046fb4fae4836e91897a8057d7580f67","signature":"906a910a64f0b611f30cd91b4d70dfd1ebd2de167b0e992d2dd40cb8d66a39f2"},{"version":"7a4966405b9d9d49863d3f61dc4e774513fa280f064194e9bdbbe771b3abcc13","signature":"93e350327bf9c8b267c43f117527f6a22d913bd854485265fd164ce53b23cff3"},{"version":"c09dde9afd115a446b25f3e212758a2aebd0a950012ce592a549700d05f71acf","signature":"5b4755ce01281771d7d3b4e0d4f6f502e043d7fd4909bc52993f40e609b82985"},{"version":"0618a3a3d8f23b84071bed83ecb225f9f66395097ce1d5fc7006f9c7e38afba8","signature":"9a899517d76c77e14e98f4467cbd629196b8f174153dc04cf75b9408d6cfd836"},{"version":"b2d0b975cf74717fae807b92ef4e15d1d7b517885d1848c9ec7e92fe6162e535","signature":"ef58745f3ff19b850a0495f783f6178a18e9b78c8b70bc90b1882bd6bda0fba7"},{"version":"f5016e3dd4fc93259026e4c892181f5533f6b2da1afe09dd75744d52f5fdad3b","signature":"c46265ca373cba8a32053875f6b88ec18ab3025df8aa38857d805bf7bd11761d"},{"version":"c3bb8bea07f663916ea5fcbb3760f4e2b271440ace7b000ebcb4e68a79931462","signature":"af55aeace4b153210335963d5166f7d9e59d00f803dfb353863e731b72be7636"},{"version":"0afa16cde1dd8635b612e840f205fbc5f016f0d590cf93136c4119325c5caa4f","signature":"0b185b4e75721be0a9cf3581cb8e066611e8396da43d43b639b93bc4a5eced7d"},{"version":"2f319f7c5dd6cd5ae9b57c987409ec1cdab72e2375abe87bae3944a6b0cc57a4","signature":"7a7272bc96c81b978953c7692a240e928a08b312ac26723faa2176122dc596a9"},{"version":"9427d7c9e5f605996dd970c1d5ca7faa2eb626b2ad1bc97827b4802f714b0adc","signature":"431d1adfec7e1172aa504e1f02a9ef4599fdebce52f8626efbabde422efdbfab"},{"version":"9159840d34bd3d31157ef393e46624aabcfb20d1a294ef46fb2fbb997c023ba4","signature":"4cda1d0ace41695ffbb7271325c0b6905da6aa06890f67ae55c7ba0d0f2dc8e9"},{"version":"c3c829aae891ac7ee988d0733a06e8d6b130f45ae4a3973892d93f6b97825699","signature":"22a699c4613866244d4feb310a3ee112fe1f171604ace3b1affa487e2de3d9b9"},{"version":"6fa3d27c021550becf56a55b495c5f034e61c4310f12be0ec7461ea96e668236","signature":"9a6d89de502511aab84e6d94f4e2e3c096622f2cdbc00aa50f53002a56a453ef"},{"version":"e0ee75d1f0cb5204e8f9dfeb7f1c162df90498d37888876b1cd50d28b432545b","signature":"7670420ebb619f5549e646f47086bb60ef4062f37e873a5238793650f39723ba"},{"version":"4555e8d8e773b5fe6565039eff7052d779334b17c05b88386a134b2e61ef9c70","signature":"84d598a3dbed6a74096e66b6fb5ce4e7616f1c9f6beca8b8108bcac914565be0"},{"version":"e0ee75d1f0cb5204e8f9dfeb7f1c162df90498d37888876b1cd50d28b432545b","signature":"7670420ebb619f5549e646f47086bb60ef4062f37e873a5238793650f39723ba"},{"version":"e2437530086aa214d4b3f38ed6da7f05b1d3dc1ca7086243aa40604324e1db3d","signature":"9aab3836c6a48eec5d9ff756b0d184c783e7298a65719f4c9bc03244d1ba266e"},{"version":"5d27f2c8dd6e25047a21dcb929e97bbcd8b0457ba5d6b653a8dce338bb322d58","signature":"e3271652a5f56047b2a9e7618c83346c9b98e953a4a37e70490e05a2e1a18a25"},{"version":"c15b8a0813758152b5e5109f122bc300072703c9f590c0d23f736a4b6bf52ea0","signature":"efa16ed6c573e2d2793939bc587a4e3dbd024116f3d74a6b06a5e3b5639883f1"},{"version":"9126a581dccf0c6c06186f53e305c5d17106cccd7c9fdacfc3c124f3c324d041","signature":"8eec420d090293a78898ac24ef0f5607860e8a14480844799c5b6e0f5f02a6dc"},{"version":"fa8891e267e2fe1f97aef8e5bef40aa65eebf3f57dcc6b7822bc1faf1dde3b7e","signature":"4757e3a1d4f8bc96bb233c9caeb23c757353d56e3546d49d7f9fd3be023bcfc7"},{"version":"59261f08e94e430f9dbee1287f36c4293d30574454a7458cbe083f13f0f24690","signature":"74111ab12d504b95524b26965ed1f7faeff1dcaa014cfd1099c186c9b12491d1"},{"version":"cfbf89b7ee72920b52e8e6fe328ded6b49889cc4df4ab0c8f48f33c3bc2c8c55","signature":"7a5fb4ebc7433206b3fbd6bbb9af5b2915f8cf576d76138c587e14e7b74a32db"},{"version":"dd2603a1bfda0833f24f7e5cb75025fe409b710c65b9911ffe9be41f88db5475","signature":"d2769cadb907f74ab9cdb93a9d08672050989309f3f85ff3b2ab7aeca629aab4"},{"version":"c88c8a7bba50c17e7a48fd10430895e21244c682f559fc3dd3bc011536e482cd","signature":"9d535d1543c10a8fe61376fe859becb5acda7c42fbf8a2c8a58a8dfdb4843658"},{"version":"a11ada4ddb5747bafcb059ef34d0a025c1739a13330583635ea68fc4fe58ea90","signature":"a69bc1b06a11288177a9819e920ce332242546af0ed69e29c0c4907fa044fb71"},{"version":"a659eb440b334c12b0996b3c1e84144325a2096417d15c7ddd69d059fde4f10d","signature":"43016a863d3c9ab8df724de028e809dd7b267e377544dfa1854ef7b03188dc8c"},{"version":"34dd925e9e7bd4f5c2990d7589ac066560e7668c86ccf495c243e88bff6dfab2","signature":"0ba967758e6b03447d645dec5fa01f8454db91acb43bc28df27182692837e315"},{"version":"563a4144f1f98a8f6ec9956da80b2403f3e8cd8b2672fa5ea3653a53f14d1131","signature":"d6e8f417ab9a4b6aec8a5a3ced95259ef5133e4601c508a51308eaaac479b6ca"},{"version":"09fd1d8d566feea53b234465f6110e973573862293f97e21087baca3e042dc54","signature":"93d6059d11c81768a8a6d03f79ac64bf1326c7cc170d599843caa2fcdda8de89"},"6c27d4b5ba01295ef334456d9af4366aca789f228eee70fcb874b903a59b0e5b",{"version":"d2917c1370f3d1859c884ba3726d63c14fa3086a0c8671d311b08810e557dd22","signature":"18f168653a953e3bf0ed315e79413969de4c6fcff7add51c8b2005eda2a07cb2"},{"version":"a0f41c123f2d733f503fa755bb2d029aa461364ba103b87f27685ff447835d34","signature":"914fc0941912b62e2f6a03a59ab61b2eae9d4c5a9d5f2728ad47a5b5021b5d6f"},"c561efdf5ba0b62619745d4761fe2d9756f23db972e039367d15922fed67fd2f","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"d1c92b66c4105659fcad4eb76a1481f7311033e117d0678a1ec545e8ddb8d4c6","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","dee93c07b4df5e26010dc9ec4cdf4d6e4076bb4474d2a8371529217c8b2740a4","ed40f2f184db052dc8df62d1f199823c8bbccc487c0a2a7c54eeea0badcf4378","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","dfc747ab8dd5f623055a4c26fd35e8cceca869fd3f1cf09701c941ca3679665a","c9f5f2920ff61d7158417b8440d5181ddc34a3dfef811a5677dd8a9fb91471e9","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"f258ba66915f0196ec344bc53afe1888240bbcc855ebd151b6cc072275533319","6194335ee3353f7226ba31f31d6301d0c6be87228419c0a08976ccd9d4f1213e","3ac12a54cfaa84683506db8d4cf779135a271d9f0ec18930cf53e61fbeea0c5d","cf3d3b087d1a8a3355eec47d206162c75e912315b9b5c1cd49fda93e948fb80a","36f316c066c4a72dd6f19fec49a074f935744fc9ccbe75c87ebc07fb2feb9062","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","ec70fd6f8a9a83f850dab2960a6789e93d5b034b354a16814cad5daabf62a360","e2236264a811ed1d09a2487a433e8f5216ae62378cf233954ae220cf886f6717","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","100b3bb9d39d2b1b5340f1bf45a52e94ef1692b45232b4ba00fac5c3cc56d331",{"version":"04fe7e7d8008887943260af1fde2bfd4877e0dc57bf634e0f0b2f3d1794dfd11","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","2597718d91e306949d89e285bf34c44192014ef541c3bd7cbb825c022749e974","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","ac4801ebc2355ba32329070123b1cd15891bf71b41dcaf9e75b4744832126a59","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","71ddd49185b68f27bfac127ef5d22cb2672c278e53e5370d9020ef50ca9c377d","b1ea7a6eaa7608e0e0529aebd323b526a79c6c05a4e519ae5c779675004dcdf1","9fcb033a6208485d8f3fadde31eb5cbcaf99149cff3e40c0dc53ebc6d0dff4e9","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","e361aecf17fc4034b4c122a1564471cdcd22ef3a51407803cb5a5fc020c04d02","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"fc0ae4a8ad3c762b96f9d2c3700cb879a373458cb0bf3175478e3b4f85f7ef2f","fabbec378e1ddd86fcf2662e716c2b8318acedb664ee3a4cba6f9e8ee8269cf1","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","efd55e8ca79171bf26c0d0e30221cb8ee1f5a31dd0c791ec4b2e886f42bab124","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","b8a427b9fe88504a6fb092e21adfe272d144394a2ced7f9e4adc3de7efa6e216","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","763e521cf114b80e0dd0e21ca49b9f8ae62e8999555a5e7bade8ce36b33001c2","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","3e6bbb0883148627ca0854a9f62d820aaf1a0f1842f5568176721fef156b8f23","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","f72f8428f3c1caa22e9c247d046603b85b442c0dae7b77a7a0bc092c18867cb7",{"version":"195f63105abc03e72b6a176e3e34dfb5ac932b55db378fdc7874b1617e24b465","affectsGlobalScope":true},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6702a1cd8818cb22ee95c85dcf2c31c117bde892e1afd2bc254bd720f4c6263c","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","4b16417aab5a4b276fd4a7db95120a8c7b4d49a6d68ddfe075e9f46dcbf22f00","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":1,"module":1,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictPropertyInitialization":false,"target":7},"fileIdsList":[[188],[266],[188,189,190,191,192],[188,190],[245],[211,245,247],[211,245],[211],[246],[208,211,245,251,252],[248,252,253,256],[208,209,245,258],[209,245],[261],[262],[268,271],[275,277,278,279,280,281,282,283,284,285,286,287],[275,276,278,279,280,281,282,283,284,285,286,287],[276,277,278,279,280,281,282,283,284,285,286,287],[275,276,277,279,280,281,282,283,284,285,286,287],[275,276,277,278,280,281,282,283,284,285,286,287],[275,276,277,278,279,281,282,283,284,285,286,287],[275,276,277,278,279,280,282,283,284,285,286,287],[275,276,277,278,279,280,281,283,284,285,286,287],[275,276,277,278,279,280,281,282,284,285,286,287],[275,276,277,278,279,280,281,282,283,285,286,287],[275,276,277,278,279,280,281,282,283,284,286,287],[275,276,277,278,279,280,281,282,283,284,285,287],[275,276,277,278,279,280,281,282,283,284,285,286],[254],[255],[243],[242,243],[197,202],[208,209,216,225],[198,208,216],[234],[202,209,217],[225,230],[205,208,216],[206],[205],[208],[208,210,225,233],[208,209,225],[216,225,233],[208,209,211,216,225,230,233],[211,225,230,233],[244],[233],[205,208,225],[218],[196],[232],[223,234,237],[208,226],[225],[228],[202,216],[194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241],[216],[222],[235],[197,202,208,210,219,225,233,237],[245,291,293,297,298,299,300,301,302],[225,245],[208,245,291,293,294,296,303],[208,216,225,233,245,290,291,292,294,295,296,303],[225,245,293,294],[225,245,293,295],[245,291,293,294,296,303],[225,245,295],[208,216,225,230,245,292,294,296],[208,245,291,293,294,295,296,303],[208,225,245,291,292,293,294,295,296,303],[208,225,245,291,293,294,296,303],[211,225,245,296],[208,225,230,245,306,307,310,311],[211,245,255],[314],[117],[117,118,119],[76,77,81,108,109,113,115,116],[74,75],[74],[76,116],[76,77,113,114,116],[116],[73,116,117],[76,77,115,116],[76,77,79,80,115,116],[76,77,78,115,116],[76,77,81,108,109,110,111,112,115,116],[73,76,77,81,113,115],[81,116],[83,84,85,86,87,88,89,90,91,92,116],[106,116],[82,93,101,102,103,104,105,107],[86,116],[94,95,96,97,98,99,100,116],[264,270],[268],[265,269],[245,307,308,309],[225,245,307],[267],[68],[59,60],[57,58,59,61,62,66],[58,59],[67],[59],[57,58,59,62,63,64,65],[57,58,68],[130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183],[127],[130],[184,186],[130,147,150,184,185,208],[72,126],[121,123,124,125],[72,117,120],[72,121,124],[117,121],[117,120,121,122,123,125],[69,71],[70,127,128],[70,129],[69],[70,127],[130,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183],[130,184,185]],"referencedMap":[[190,1],[267,2],[193,3],[189,1],[191,4],[192,1],[246,5],[248,6],[247,7],[249,8],[250,9],[253,10],[257,11],[259,12],[260,13],[262,14],[263,15],[272,16],[274,5],[276,17],[277,18],[275,19],[278,20],[279,21],[280,22],[281,23],[282,24],[283,25],[284,26],[285,27],[286,28],[287,29],[255,30],[254,31],[194,32],[244,33],[197,34],[198,35],[199,36],[200,37],[201,38],[202,39],[203,40],[205,41],[206,42],[207,43],[208,43],[209,44],[210,45],[211,46],[212,47],[213,48],[245,49],[214,43],[215,50],[216,51],[218,52],[219,53],[220,54],[223,43],[224,55],[225,56],[226,57],[228,43],[229,58],[230,59],[242,60],[232,61],[233,62],[234,63],[236,57],[238,64],[239,57],[303,65],[290,66],[297,67],[293,68],[291,69],[294,70],[298,71],[299,67],[296,72],[295,73],[300,74],[301,75],[302,76],[292,77],[311,78],[256,79],[315,80],[118,81],[120,82],[119,81],[117,83],[76,84],[75,85],[80,86],[115,87],[112,88],[114,89],[77,88],[78,90],[82,90],[81,91],[79,92],[113,93],[111,88],[116,94],[83,95],[88,88],[90,88],[85,88],[86,95],[92,88],[93,96],[84,88],[89,88],[91,88],[87,88],[107,97],[106,88],[108,98],[102,88],[104,88],[103,88],[99,88],[105,99],[100,88],[101,100],[94,88],[95,88],[96,88],[97,88],[98,88],[271,101],[269,102],[270,103],[310,104],[307,5],[309,105],[308,5],[268,106],[69,107],[61,108],[67,109],[62,110],[65,107],[68,111],[60,112],[66,113],[59,114],[184,115],[131,116],[154,117],[155,117],[156,117],[158,117],[159,117],[160,117],[161,117],[162,117],[163,117],[164,117],[165,117],[169,117],[175,117],[176,117],[177,117],[178,117],[179,117],[180,117],[181,117],[182,117],[132,117],[133,117],[134,117],[135,117],[136,117],[137,117],[138,117],[139,117],[140,117],[141,117],[142,117],[143,117],[144,117],[145,117],[146,117],[147,117],[148,117],[149,117],[150,117],[151,117],[152,117],[153,117],[187,118],[186,119],[127,120],[126,121],[121,122],[125,123],[123,124],[124,125],[72,126],[129,127],[130,128],[70,129],[128,130]],"exportedModulesMap":[[190,1],[267,2],[193,3],[189,1],[191,4],[192,1],[246,5],[248,6],[247,7],[249,8],[250,9],[253,10],[257,11],[259,12],[260,13],[262,14],[263,15],[272,16],[274,5],[276,17],[277,18],[275,19],[278,20],[279,21],[280,22],[281,23],[282,24],[283,25],[284,26],[285,27],[286,28],[287,29],[255,30],[254,31],[194,32],[244,33],[197,34],[198,35],[199,36],[200,37],[201,38],[202,39],[203,40],[205,41],[206,42],[207,43],[208,43],[209,44],[210,45],[211,46],[212,47],[213,48],[245,49],[214,43],[215,50],[216,51],[218,52],[219,53],[220,54],[223,43],[224,55],[225,56],[226,57],[228,43],[229,58],[230,59],[242,60],[232,61],[233,62],[234,63],[236,57],[238,64],[239,57],[303,65],[290,66],[297,67],[293,68],[291,69],[294,70],[298,71],[299,67],[296,72],[295,73],[300,74],[301,75],[302,76],[292,77],[311,78],[256,79],[315,80],[118,81],[120,82],[119,81],[117,83],[76,84],[75,85],[80,86],[115,87],[112,88],[114,89],[77,88],[78,90],[82,90],[81,91],[79,92],[113,93],[111,88],[116,94],[83,95],[88,88],[90,88],[85,88],[86,95],[92,88],[93,96],[84,88],[89,88],[91,88],[87,88],[107,97],[106,88],[108,98],[102,88],[104,88],[103,88],[99,88],[105,99],[100,88],[101,100],[94,88],[95,88],[96,88],[97,88],[98,88],[271,101],[269,102],[270,103],[310,104],[307,5],[309,105],[308,5],[268,106],[69,107],[61,108],[67,109],[62,110],[65,107],[68,111],[60,112],[66,113],[59,114],[184,131],[131,116],[154,117],[155,117],[156,117],[158,117],[159,117],[160,117],[161,117],[162,117],[163,117],[164,117],[165,117],[169,117],[175,117],[176,117],[177,117],[178,117],[179,117],[180,117],[181,117],[182,117],[132,117],[133,117],[134,117],[135,117],[136,117],[137,117],[138,117],[139,117],[140,117],[141,117],[142,117],[143,117],[144,117],[145,117],[146,117],[147,117],[148,117],[149,117],[150,117],[151,117],[152,117],[153,117],[187,118],[186,132],[127,120],[126,121],[121,122],[125,123],[123,124],[124,125],[72,126],[129,127],[130,128],[70,129],[128,130]],"semanticDiagnosticsPerFile":[190,188,264,267,266,193,189,191,192,246,248,247,249,250,253,257,259,258,260,261,262,263,272,273,274,276,277,275,278,279,280,281,282,283,284,285,286,287,255,254,288,289,243,194,196,244,197,198,199,200,201,202,203,204,205,206,207,208,209,210,195,240,211,212,213,245,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,242,232,233,234,235,236,237,241,238,239,303,290,297,293,291,294,298,299,296,295,300,301,302,292,304,305,311,312,252,251,256,313,314,315,118,120,119,117,74,76,75,80,115,112,114,77,78,82,81,79,113,111,116,109,110,83,88,90,85,86,92,93,84,89,91,87,107,106,108,102,104,103,99,105,100,101,94,95,96,97,98,265,271,269,270,310,307,309,308,306,268,185,11,12,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,13,73,69,61,67,63,64,62,65,57,58,68,60,66,59,184,131,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,187,186,127,126,121,125,122,123,124,72,71,129,130,70,128],"latestChangedDtsFile":"./src/client/index.d.ts"},"version":"4.8.4"} \ No newline at end of file diff --git a/src/view/com/modals/InviteToScene.tsx b/src/view/com/modals/InviteToScene.tsx index 065df635..2d4e372c 100644 --- a/src/view/com/modals/InviteToScene.tsx +++ b/src/view/com/modals/InviteToScene.tsx @@ -1,4 +1,5 @@ import React, {useState, useEffect, useMemo} from 'react' +import {observer} from 'mobx-react-lite' import Toast from '../util/Toast' import { ActivityIndicator, @@ -23,13 +24,18 @@ import {ErrorMessage} from '../util/ErrorMessage' import {useStores} from '../../../state' import * as apilib from '../../../state/lib/api' import {ProfileViewModel} from '../../../state/models/profile-view' -import {SuggestedInvites} from '../../../state/models/suggested-invites' +import {SuggestedInvitesView} from '../../../state/models/suggested-invites-view' +import {Assertion} from '../../../state/models/get-assertions-view' import {FollowItem} from '../../../state/models/user-follows-view' import {s, colors} from '../../lib/styles' export const snapPoints = ['70%'] -export function Component({profileView}: {profileView: ProfileViewModel}) { +export const Component = observer(function Component({ + profileView, +}: { + profileView: ProfileViewModel +}) { const store = useStores() const layout = useWindowDimensions() const [index, setIndex] = useState(0) @@ -40,12 +46,18 @@ export function Component({profileView}: {profileView: ProfileViewModel}) { const [hasSetup, setHasSetup] = useState(false) const [error, setError] = useState('') const suggestions = useMemo( - () => new SuggestedInvites(store, {sceneDid: profileView.did}), + () => new SuggestedInvitesView(store, {sceneDid: profileView.did}), [profileView.did], ) const [createdInvites, setCreatedInvites] = useState>( {}, ) + // TODO: it would be much better if we just used the suggestions view for the deleted pending invites + // but mobx isnt picking up on the state change in suggestions.unconfirmed and I dont have + // time to debug that right now -prf + const [deletedPendingInvites, setDeletedPendingInvites] = useState< + Record + >({}) useEffect(() => { let aborted = false @@ -95,6 +107,28 @@ export function Component({profileView}: {profileView: ProfileViewModel}) { } } + const onPressDeleteInvite = async (assertion: Assertion) => { + setError('') + const urip = new AtUri(assertion.uri) + try { + await store.api.app.bsky.graph.assertion.delete({ + did: profileView.did, + rkey: urip.rkey, + }) + setDeletedPendingInvites({ + [assertion.uri]: true, + ...deletedPendingInvites, + }) + Toast.show('Invite removed', { + duration: Toast.durations.LONG, + position: Toast.positions.TOP, + }) + } catch (e) { + setError('There was an issue with the invite. Please try again.') + console.error(e) + } + } + const renderSuggestionItem = ({item}: {item: FollowItem}) => { const createdInvite = createdInvites[item.did] return ( @@ -124,6 +158,27 @@ export function Component({profileView}: {profileView: ProfileViewModel}) { ) } + const renderPendingInviteItem = ({item}: {item: Assertion}) => { + const wasDeleted = deletedPendingInvites[item.uri] + if (wasDeleted) { + return + } + return ( + ( + <> + + Undo invite + + )} + onPressButton={() => onPressDeleteInvite(item)} + /> + ) + } + const Suggestions = () => ( {hasSetup ? ( @@ -163,11 +218,30 @@ export function Component({profileView}: {profileView: ProfileViewModel}) { ) const PendingInvites = () => ( - - - - Pending invites are still being implemented. Check back soon! - + + {suggestions.sceneAssertionsView.isLoading ? ( + + ) : undefined} + + {!suggestions.unconfirmed.length ? ( + + No pending invites. + + ) : ( + item._reactKey} + renderItem={renderPendingInviteItem} + style={s.flex1} + /> + )} ) @@ -207,7 +281,7 @@ export function Component({profileView}: {profileView: ProfileViewModel}) { /> ) -} +}) const styles = StyleSheet.create({ title: { diff --git a/todos.txt b/todos.txt index 08fdb07d..18a76c45 100644 --- a/todos.txt +++ b/todos.txt @@ -16,9 +16,7 @@ Paul's todo list - * - Invite to scene - User search - > Filter out unconfirmed invites from suggestions - Use pagination to make sure there are suggestions - - Unconfirmed invites - User profile - Scene > Trending