@powerhousedao/reactor-browser 6.2.3-dev.89 → 6.2.3-dev.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { a as LOADING } from "./global-bbfp3_1x.js";
2
2
  import { CSSProperties, ReactNode } from "react";
3
- import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, IRenown, ISSUER_TYPE, LoginStatus, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE } from "@renown/sdk";
3
+ import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, DelegationClaims, DelegationScope, IRenown, ISSUER_TYPE, LoginStatus, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE, createDelegation, decodeDelegation } from "@renown/sdk";
4
4
  import { LoginMethod, WalletAdapterDescriptor, WalletController, WalletSession, WalletTheme } from "@renown/sdk/wallet";
5
5
  //#region src/renown/use-renown-auth.d.ts
6
6
  type RenownAuthStatus = LoginStatus | "loading";
@@ -29,6 +29,16 @@ interface RenownAuthAsync extends RenownAuth {
29
29
  declare function useRenownAuthAsync(): RenownAuthAsync;
30
30
  //#endregion
31
31
  //#region src/renown/session.d.ts
32
+ /**
33
+ * What a desktop shell offers a page. Its one window cannot hold a popup, and a
34
+ * redirect away from it leaves the app; `openExternal` hands a URL to the
35
+ * system browser.
36
+ */
37
+ type DesktopShell = {
38
+ openExternal(url: string): void | Promise<void>;
39
+ };
40
+ /** The shell around this window, when it offers one. */
41
+ declare function desktopShell(): DesktopShell | undefined;
32
42
  declare function openRenown(documentId?: string): void;
33
43
  declare function login(userDid: string | undefined, renown: IRenown | undefined): Promise<User | undefined>;
34
44
  declare function logout(): Promise<void>;
@@ -266,6 +276,6 @@ declare function useRenownLoginMethods(labels?: Partial<Record<LoginMethod, stri
266
276
  /** The controller of one adapter mounted by {@link RenownWalletProvider}, by its `meta.id`, typed as that adapter's own surface — e.g. `useRenownWalletAdapter<PrivyWalletController>("privy")` for headless email OTP. Rendering it activates the wallet tree (the adapter's library loads then), so call it from the sign-in screen, not the app shell. `undefined` until the adapter is mounted, or forever when no provider offers that id. */
267
277
  declare function useRenownWalletAdapter<T extends WalletController = WalletController>(id: string): T | undefined;
268
278
  //#endregion
269
- export { useUser as $, RENOWN_RETURN_URL_STRIPPED_PARAMS as A, UserIcon as B, CREDENTIAL_SCHEMA_EIP712_TYPE as C, ISSUER_TYPE as D, DOMAIN_TYPE as E, ChevronDownIcon as F, RenownLoginButtonProps as G, RenownUserButtonMenuItem as H, CopyIcon as I, addRenownEventHandler as J, RenownAuthButton as K, DisconnectIcon as L, VERIFIABLE_CREDENTIAL_EIP712_TYPE as M, initConnectCrypto as N, RENOWN_CHAIN_ID as O, initRenownCrypto as P, useRenown as Q, RenownLogo as R, useRenownInitialUser as S, CREDENTIAL_TYPES as T, RenownUserButtonProps as U, RenownUserButton as V, RenownLoginButton as W, useDid as X, setRenown as Y, useLoginStatus as Z, RENOWN_INITIAL_UNKNOWN as _, RenownWalletProviderProps as a, RenownAuthResolution as at, RenownInitialUserProviderProps as b, Renown as c, useRenownAuthAsync as ct, useRenownInit as d, login as et, RenownSessionCookieOptions as f, RENOWN_INITIAL_ANONYMOUS as g, useRenownSessionSynced as h, RenownWalletProvider as i, RenownAuthAsync as it, RENOWN_URL as j, RENOWN_NETWORK_ID as k, RenownProps as l, useRenownSessionCookie as m, RenownLoginMethod as n, openRenown as nt, RenownProvider as o, RenownAuthStatus as ot, RenownSessionCookieState as p, RenownAuthButtonProps as q, useRenownLoginMethods as r, RenownAuth as rt, RenownProviderProps as s, useRenownAuth as st, useRenownWalletAdapter as t, logout as tt, RenownInitOptions as u, RenownInitialAuth as v, CREDENTIAL_SUBJECT_TYPE as w, useRenownInitialAuth as x, RenownInitialUserProvider as y, SpinnerIcon as z };
279
+ export { setRenown as $, DOMAIN_TYPE as A, CopyIcon as B, RenownInitialUserProvider as C, CREDENTIAL_SCHEMA_EIP712_TYPE as D, useRenownInitialUser as E, RENOWN_URL as F, RenownUserButton as G, RenownLogo as H, VERIFIABLE_CREDENTIAL_EIP712_TYPE as I, RenownLoginButton as J, RenownUserButtonMenuItem as K, initConnectCrypto as L, RENOWN_CHAIN_ID as M, RENOWN_NETWORK_ID as N, CREDENTIAL_SUBJECT_TYPE as O, RENOWN_RETURN_URL_STRIPPED_PARAMS as P, addRenownEventHandler as Q, initRenownCrypto as R, RenownInitialAuth as S, useRenownInitialAuth as T, SpinnerIcon as U, DisconnectIcon as V, UserIcon as W, RenownAuthButton as X, RenownLoginButtonProps as Y, RenownAuthButtonProps as Z, RenownSessionCookieState as _, useRenownWalletAdapter as a, desktopShell as at, RENOWN_INITIAL_ANONYMOUS as b, RenownWalletProvider as c, openRenown as ct, RenownProviderProps as d, RenownAuthResolution as dt, useDid as et, Renown as f, RenownAuthStatus as ft, RenownSessionCookieOptions as g, useRenownInit as h, decodeDelegation as i, DesktopShell as it, ISSUER_TYPE as j, CREDENTIAL_TYPES as k, RenownWalletProviderProps as l, RenownAuth as lt, RenownInitOptions as m, useRenownAuthAsync as mt, DelegationScope as n, useRenown as nt, RenownLoginMethod as o, login as ot, RenownProps as p, useRenownAuth as pt, RenownUserButtonProps as q, createDelegation as r, useUser as rt, useRenownLoginMethods as s, logout as st, DelegationClaims as t, useLoginStatus as tt, RenownProvider as u, RenownAuthAsync as ut, useRenownSessionCookie as v, RenownInitialUserProviderProps as w, RENOWN_INITIAL_UNKNOWN as x, useRenownSessionSynced as y, ChevronDownIcon as z };
270
280
  export {};
271
- //# sourceMappingURL=index-31WV0-fD.d.ts.map
281
+ //# sourceMappingURL=index-Bfr_cWdi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-Bfr_cWdi.d.ts","names":[],"sources":["../src/renown/use-renown-auth.ts","../src/renown/session.ts","../src/hooks/renown.ts","../src/renown/components/RenownAuthButton.tsx","../src/renown/components/RenownLoginButton.tsx","../src/renown/components/RenownUserButton.tsx","../src/renown/components/icons.tsx","../src/renown/crypto.ts","../src/renown/constants.ts","../src/renown/initial-user.tsx","../src/renown/use-renown-session.ts","../src/renown/use-renown-init.ts","../src/renown/renown-init.tsx","../src/renown/provider.tsx","../src/renown/wallet-provider.tsx","../src/renown/login-methods.ts","../src/renown/use-renown-wallet-adapter.ts"],"mappings":";;;;;KAoBY,mBAAmB;UAEd;EACf,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ,UAAU,eAAe,SAAS;EAC1C;EACA,OAAO;EACP,cAAc;EACd;;iBA+Bc,iBAAiB;KAuFrB;UAKK,wBAAwB;;EAEvC,OAAO;EACP;;iBAOc,sBAAsB;;;;;;;;KCnJ1B;EACV,aAAa,qBAAqB;;;iBAIpB,gBAAgB;iBA0BhB,WAAW;iBAkIL,MACpB,6BACA,QAAQ,sBACP,QAAQ;iBAgCW,UAAM;;;;cC/Mf;;cAIA,iBAAiB,UAAU;;cAI3B,YAAY,OAAO,UAAU;;iBAI1B;;iBA2CA,WAAW;;iBA2CX,kBAAkB;;;UCvGjB;EACf;EACA;EACA,eAAe;EACf,cAAc;EACd,iBAAiB;EACjB,YAAY,MAAM,eAAe;;iBAGnB,mBACd,WACA,UACA,cACA,aACA,gBACA,YACC,oDAAqB,IAAA;;;UCfP;EACf;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;;iBAsCG,oBACd,SAAS,aACT,OACA,WACA,SACA,YACC,qDAAsB,IAAA;;;UCzCR;EACf;EACA,OAAO;EACP;EACA,QAAQ;;UAGO;EACf;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;EACX,YAAY;;iBAiKE,mBACd,SAAS,aACT,UAAU,cACV,WAAW,eACX,QAAQ,YACR,cAAc,kBACd,OACA,WACA,SACA,UACA,aACC,oDAAqB,IAAA;;;UC1Md;EACR;EACA;EACA;EACA;EACA,QAAQ;EACR;;UAGQ,wBAAwB;EAChC;;iBAGc,aACd,OACA,QACA,SACA,OACA,aACC,8CAAe,IAAA;iBAwBF,WACd,MACA,SACC,wCAAS,IAAA;iBA2BI,iBACd,MACA,SACC,wCAAS,IAAA;iBAkCI,cAAc,MAAW,SAA0B,wCAAS,IAAA;iBAiE5D,kBACd,MACA,OACA,SACC,wCAAS,IAAA;iBAqBI,WAAW,MAAW,SAAqB,wCAAS,IAAA;;;;;;;;;iBClM9C,qBAAiB,8BAAA;;;;;iBAQjB,oBAAgB,8BAAA;;;cChBzB;cACA;cACA;cAUA;;;;KCJD;EACN;EAAwB,MAAM;;EAC9B;;EACA;;cAEO,wBAAwB;cACxB,0BAA0B;UAUtB;;EAEf,cAAc;;EAEd,cAAc;EACd,UAAU;;iBAGI,4BACd,aACA,aACA,YACC,6DAA8B,IAAA;;iBAejB,wBAAwB;iBAIxB,wBAAwB;;;UC7CvB;;EAEf;;EAEA;;EAEA;;UAGe;;EAEf;;iBAKc,uBACd,UAAS,6BACR;iBA4Ea;;;UCjGC;EACf;;EAEA;EACA;EACA;;EAEA;;EAEA;;;;;;;;;;;;;;;iBA4Cc,gBACd,SACA,WACA,KACA,gBACA,YACA,WACC,oBAAoB,QAAQ;;;UCjEd,oBAAoB;EACnC,WAAW;;;;;;;;;;;;;;;;;;iBAmBG,SAAS,YAAY,eAAe;;;UCJnC;EACf;;EAEA;EACA;EACA;;EAEA,WAAW;EACX,QAAQ;;EAER;;EAEA;;EAEA;IAAY,OAAO;;;EAEnB;EACA,WAAW;EACX,UAAU;;iBA0BI,iBACd,SACA,WACA,KACA,gBACA,UACA,OACA,YACA,SACA,SACA,iBACA,SACA,YACC,kDAAmB,IAAA;;;UCsBL;;EAEf,UAAU;;EAEV,QAAQ;EACR,UAAU;;;iBAII,uBACd,UAAU,gBACV,OACA,YACC,wDAAyB,IAAA;;;UCtGX;EACf,IAAI;EACJ;;;iBAWc,sBACd,SAAS,QAAQ,OAAO,wBACvB;;;;iBCXa,uBACd,UAAU,mBAAmB,kBAC7B,aAAa"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as isAuthRefusalClose, $t as GetDocumentQueryResult, A as addDocumentCacheEventHandler, An as isOperationCache, At as SubgraphSdkFactory, B as DEFAULT_REQUEST_TIMEOUT_MS, Bt as withRequestDeadline, C as useModelRegistry, Cn as DocumentCache, Ct as GraphQLReactorReadClient, D as useReactorHalves, Dn as IDocumentCacheReader, Dt as isGraphQLReactorClient, E as useReactorClientModule, En as IDLE_OPERATIONS_ENTRY, Et as findIsServableOverGraphQL, F as useDocuments, Ft as GraphQLFetch, G as createSwitchboardBackend, Gt as JobFailedError, H as SwitchboardBackendDescriptor, Ht as BatchJobFailedError, I as useGetDocument, It as globalFetch, J as DocumentChangesSubscriptionOptions, Jt as DriveNodeQueries, K as ConnectionParams, Kt as queriesUnknownArgument, L as useGetDocumentAsync, Lt as isDeadlineError, M as useDocument, Mn as IDLE_REFETCH_STATE, Mt as TypedGraphQLDocument, N as useDocumentCache, Nn as dispatchActions, Nt as describeGraphQLDocument, O as useSync, On as addPromiseState, Ot as viewFilterInputFromViewFilter, P as useDocumentSafe, Pt as subgraphUrlFromGraphqlUrl, Q as createJobChangesSocket, Qt as GetDocumentQueryFields, R as useGetDocuments, Rt as isNodeFetch, S as useDatabase, Sn as TrackedAction, St as GraphQLReactorClientOptions, T as useReactorClient, Tn as IDLE_DOCUMENTS_OF_TYPE_ENTRY, Tt as createGraphQLDriveNodeSource, U as SwitchboardBreaker, Ut as GraphQLOperationNotSupportedError, V as SwitchboardBackend, Vt as withStreamedBodies, W as SwitchboardUnreachableError, Wt as GraphQLWrongBackendError, X as JobChangesEventPayload, Xt as GraphQLDriveReadClient, Y as IJobChangesSocket, Yt as GraphQLDriveNodeSource, Z as JobChangesSocketOptions, Zt as toLegacyNode, _ as addReactorHalvesEventHandler, _n as RemoteDocumentChangeEvent, _t as GraphQLReactorProviderProps, a as DocumentOperationsState, an as ConflictInfo, at as resolveDocumentModelModule, b as setReactorClient, bn as RemoteOperationResultPage, bt as DriveIdCall, c as useDocumentModelModuleById, cn as GetDocumentResult, ct as stampAction, d as UseDispatchResult, dn as IRemoteClient, dt as GetDocumentAtConsistencyVariables, en as RevisionsListSelection, et as makeAuthConnectionParams, f as createDispatch, fn as IRemoteController, ft as MutateDocumentWithOperationsDocument, g as addReactorClientModuleEventHandler, gn as RemoteControllerOptions, gt as GraphQLReactorProvider, h as addReactorClientEventHandler, hn as RemoteControllerGraphQLClient, ht as ReactorOperationFieldsFragmentDoc, i as DocumentOperationsResult, in as revisionMapFromRevisionsList, it as packageFromDocumentModels, j as setDocumentCache, jn as readPromiseState, jt as SubgraphSdkRegistry, k as useSyncList, kn as isDocumentTypeCache, kt as GraphQLRequestOptions, l as useDocumentModelModules, ln as GetDocumentWithOperationsResult, lt as GetDocumentAtConsistencyDocument, m as addFullReactorClientEventHandler, mn as PushResult, mt as MutateDocumentWithOperationsVariables, n as setAttachmentService, nn as phDocumentFromGetDocument, nt as subscriptionsUrlFromGraphqlUrl, o as UseDocumentOperationsOptions, on as ConflictStrategy, ot as prepareSignedActions, p as useDispatch, pn as MergeHandler, pt as MutateDocumentWithOperationsResult, q as DocumentChangesEventPayload, qt as queriesUnknownField, r as useAttachmentService, rn as phDocumentFromMutation, rt as StaticPackageManager, s as useDocumentOperations, sn as DocumentChangeListener, st as signStampedAction, t as addAttachmentServiceEventHandler, tn as isoStringFromDateTime, tt as startDocumentChangesSubscription, u as DispatchFn, un as GetOperationsResult, ut as GetDocumentAtConsistencyResult, v as getFullReactorClient, vn as RemoteDocumentData, vt as ensurePHEventHandlers, w as usePGlite, wn as GET_MANY_CHUNK_SIZE, wt as ambientRenownSigner, x as setReactorClientModule, xn as SyncStatus, xt as GraphQLReactorClient, y as setFullReactorClient, yn as RemoteOperation, yt as useSwitchboardClient, z as DEFAULT_BREAKER, zt as switchboardFetch } from "./attachment-service-BZVL5UJ1.js";
1
+ import { $ as createJobChangesSocket, $t as GetDocumentQueryFields, A as addDocumentCacheEventHandler, An as isDocumentTypeCache, At as GraphQLRequestOptions, B as DEFAULT_BREAKER, Bt as switchboardFetch, C as useModelRegistry, Cn as TrackedAction, Ct as GraphQLReactorClientOptions, D as useReactorHalves, Dn as IDLE_OPERATIONS_ENTRY, Dt as findIsServableOverGraphQL, E as useReactorClientModule, En as IDLE_DOCUMENTS_OF_TYPE_ENTRY, Et as createGraphQLDriveNodeSource, F as useDocuments, Ft as subgraphUrlFromGraphqlUrl, G as SwitchboardUnreachableError, Gt as GraphQLWrongBackendError, H as SwitchboardBackend, Ht as withStreamedBodies, I as useGetDocument, It as GraphQLFetch, J as DocumentChangesEventPayload, Jt as queriesUnknownField, K as createSwitchboardBackend, Kt as JobFailedError, L as useGetDocumentAsync, Lt as globalFetch, M as useDocument, Mn as readPromiseState, Mt as SubgraphSdkRegistry, N as useDocumentCache, Nn as IDLE_REFETCH_STATE, Nt as TypedGraphQLDocument, O as useSync, On as IDocumentCacheReader, Ot as isGraphQLReactorClient, P as useDocumentSafe, Pn as dispatchActions, Pt as describeGraphQLDocument, Q as JobChangesSocketOptions, Qt as toLegacyNode, R as useGetDocuments, Rt as isDeadlineError, S as useDatabase, Sn as SyncStatus, St as GraphQLReactorClient, T as useReactorClient, Tn as GET_MANY_CHUNK_SIZE, Tt as ambientRenownSigner, U as SwitchboardBackendDescriptor, Ut as BatchJobFailedError, V as DEFAULT_REQUEST_TIMEOUT_MS, Vt as withRequestDeadline, W as SwitchboardBreaker, Wt as GraphQLOperationNotSupportedError, X as IJobChangesSocket, Xt as GraphQLDriveNodeSource, Y as DocumentChangesSubscriptionOptions, Yt as DriveNodeQueries, Z as JobChangesEventPayload, Zt as GraphQLDriveReadClient, _ as addReactorHalvesEventHandler, _n as RemoteControllerOptions, _t as GraphQLReactorProvider, a as DocumentOperationsState, an as revisionMapFromRevisionsList, at as packageFromDocumentModels, b as setReactorClient, bn as RemoteOperation, bt as useSwitchboardClient, c as useDocumentModelModuleById, cn as DocumentChangeListener, ct as signStampedAction, d as UseDispatchResult, dn as GetOperationsResult, dt as GetDocumentAtConsistencyResult, en as GetDocumentQueryResult, et as isAuthRefusalClose, f as createDispatch, fn as IRemoteClient, ft as GetDocumentAtConsistencyVariables, g as addReactorClientModuleEventHandler, gn as RemoteControllerGraphQLClient, gt as ReactorOperationFieldsFragmentDoc, h as addReactorClientEventHandler, hn as PushResult, ht as MutateDocumentWithOperationsVariables, i as DocumentOperationsResult, in as phDocumentFromMutation, it as StaticPackageManager, j as setDocumentCache, jn as isOperationCache, jt as SubgraphSdkFactory, k as useSyncList, kn as addPromiseState, kt as viewFilterInputFromViewFilter, l as useDocumentModelModules, ln as GetDocumentResult, lt as stampAction, m as addFullReactorClientEventHandler, mn as MergeHandler, mt as MutateDocumentWithOperationsResult, n as setAttachmentService, nn as isoStringFromDateTime, nt as startDocumentChangesSubscription, o as UseDocumentOperationsOptions, on as ConflictInfo, ot as resolveDocumentModelModule, p as useDispatch, pn as IRemoteController, pt as MutateDocumentWithOperationsDocument, q as ConnectionParams, qt as queriesUnknownArgument, r as useAttachmentService, rn as phDocumentFromGetDocument, rt as subscriptionsUrlFromGraphqlUrl, s as useDocumentOperations, sn as ConflictStrategy, st as prepareSignedActions, t as addAttachmentServiceEventHandler, tn as RevisionsListSelection, tt as makeAuthConnectionParams, u as DispatchFn, un as GetDocumentWithOperationsResult, ut as GetDocumentAtConsistencyDocument, v as getFullReactorClient, vn as RemoteDocumentChangeEvent, vt as GraphQLReactorProviderProps, w as usePGlite, wn as DocumentCache, wt as GraphQLReactorReadClient, x as setReactorClientModule, xn as RemoteOperationResultPage, xt as DriveIdCall, y as setFullReactorClient, yn as RemoteDocumentData, yt as ensurePHEventHandlers, z as DEFAULT_BATCH_REQUEST_TIMEOUT_MS, zt as isNodeFetch } from "./attachment-service-10Qn5nIw.js";
2
2
  import { d as MutateDocumentMutation, h as PropagationMode, i as DeleteDocumentsMutation, l as GetDocumentWithOperationsQuery, n as CreateDocumentMutation, o as FindDocumentsQuery, r as DeleteDocumentMutation, t as ActionInput, v as SdkFunctionWrapper } from "./schema-Bn6L3QR1.js";
3
3
  import { n as ambientRenownTokenProvider, r as makeAuthMiddleware, t as BearerTokenProvider } from "./auth-DzIYxeEJ.js";
4
4
  import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-520nWrB3.js";
@@ -8,7 +8,7 @@ import { t as PGlite } from "./pglite-CntadC_p-DTkdF8sr.js";
8
8
  import { r as PGliteWithLive } from "./index-rtDmzViP.js";
9
9
  import { a as GraphQLDocumentEvents, c as ReactorGraphQLClient, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, h as graphqlEventsToSyncDrive, i as GraphQLDocumentEventOperationName, l as RunDocumentOptions, m as graphqlDocumentsEvents, n as GraphQLClientDocumentsEvent, o as GraphQLDocumentEventsOperationName, p as graphqlDocumentEvents, r as GraphQLClientWindowEvents, s as GraphQLDocumentsEvents, t as GraphQLClientDocumentEvent, u as TStateSchemaZodObject } from "./types-CT44EMmw.js";
10
10
  import { t as createClient } from "./client-C-NgSjoc.js";
11
- import { $ as useUser, A as RENOWN_RETURN_URL_STRIPPED_PARAMS, B as UserIcon, C as CREDENTIAL_SCHEMA_EIP712_TYPE, D as ISSUER_TYPE, E as DOMAIN_TYPE, F as ChevronDownIcon, G as RenownLoginButtonProps, H as RenownUserButtonMenuItem, I as CopyIcon, J as addRenownEventHandler, K as RenownAuthButton, L as DisconnectIcon, M as VERIFIABLE_CREDENTIAL_EIP712_TYPE, N as initConnectCrypto, O as RENOWN_CHAIN_ID, P as initRenownCrypto, Q as useRenown, R as RenownLogo, S as useRenownInitialUser, T as CREDENTIAL_TYPES, U as RenownUserButtonProps, V as RenownUserButton, W as RenownLoginButton, X as useDid, Y as setRenown, Z as useLoginStatus, _ as RENOWN_INITIAL_UNKNOWN, a as RenownWalletProviderProps, at as RenownAuthResolution, b as RenownInitialUserProviderProps, c as Renown, ct as useRenownAuthAsync, d as useRenownInit, et as login, f as RenownSessionCookieOptions, g as RENOWN_INITIAL_ANONYMOUS, h as useRenownSessionSynced, i as RenownWalletProvider, it as RenownAuthAsync, j as RENOWN_URL, k as RENOWN_NETWORK_ID, l as RenownProps, m as useRenownSessionCookie, n as RenownLoginMethod, nt as openRenown, o as RenownProvider, ot as RenownAuthStatus, p as RenownSessionCookieState, q as RenownAuthButtonProps, r as useRenownLoginMethods, rt as RenownAuth, s as RenownProviderProps, st as useRenownAuth, t as useRenownWalletAdapter, tt as logout, u as RenownInitOptions, v as RenownInitialAuth, w as CREDENTIAL_SUBJECT_TYPE, x as useRenownInitialAuth, y as RenownInitialUserProvider, z as SpinnerIcon } from "./index-31WV0-fD.js";
11
+ import { $ as setRenown, A as DOMAIN_TYPE, B as CopyIcon, C as RenownInitialUserProvider, D as CREDENTIAL_SCHEMA_EIP712_TYPE, E as useRenownInitialUser, F as RENOWN_URL, G as RenownUserButton, H as RenownLogo, I as VERIFIABLE_CREDENTIAL_EIP712_TYPE, J as RenownLoginButton, K as RenownUserButtonMenuItem, L as initConnectCrypto, M as RENOWN_CHAIN_ID, N as RENOWN_NETWORK_ID, O as CREDENTIAL_SUBJECT_TYPE, P as RENOWN_RETURN_URL_STRIPPED_PARAMS, Q as addRenownEventHandler, R as initRenownCrypto, S as RenownInitialAuth, T as useRenownInitialAuth, U as SpinnerIcon, V as DisconnectIcon, W as UserIcon, X as RenownAuthButton, Y as RenownLoginButtonProps, Z as RenownAuthButtonProps, _ as RenownSessionCookieState, a as useRenownWalletAdapter, at as desktopShell, b as RENOWN_INITIAL_ANONYMOUS, c as RenownWalletProvider, ct as openRenown, d as RenownProviderProps, dt as RenownAuthResolution, et as useDid, f as Renown, ft as RenownAuthStatus, g as RenownSessionCookieOptions, h as useRenownInit, i as decodeDelegation, it as DesktopShell, j as ISSUER_TYPE, k as CREDENTIAL_TYPES, l as RenownWalletProviderProps, lt as RenownAuth, m as RenownInitOptions, mt as useRenownAuthAsync, n as DelegationScope, nt as useRenown, o as RenownLoginMethod, ot as login, p as RenownProps, pt as useRenownAuth, q as RenownUserButtonProps, r as createDelegation, rt as useUser, s as useRenownLoginMethods, st as logout, t as DelegationClaims, tt as useLoginStatus, u as RenownProvider, ut as RenownAuthAsync, v as useRenownSessionCookie, w as RenownInitialUserProviderProps, x as RENOWN_INITIAL_UNKNOWN, y as useRenownSessionSynced, z as ChevronDownIcon } from "./index-Bfr_cWdi.js";
12
12
  import { QueryCallbackReturnType, RelationalDbOptions, RelationalDbWithLive, createProcessorQuery, useRelationalDb, useRelationalQuery, useRelationalQueryOptions } from "./src/relational/index.js";
13
13
  import { DragEventHandler, MouseEvent, ReactNode } from "react";
14
14
  import { DocumentModelLib, DocumentModelModule, EditorModule, PHDocument, PHDocumentController } from "document-model";
@@ -1891,6 +1891,6 @@ export declare function getUserPermissions(): {
1891
1891
  //#region src/utils/validate-document.d.ts
1892
1892
  export declare const validateDocument: (document: PHDocument$1) => ValidationError[];
1893
1893
  //#endregion
1894
- export { type AddPHGlobalEventHandler, type BackendAuthState, BatchJobFailedError, BearerTokenProvider, type BrowserReactorClientModule, type BrowserReactorModule, type BulkImportJob, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, type ConflictInfo, type ConflictResolution, type ConflictStrategy, ConnectionParams, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_BREAKER, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, DocumentOperationsState, type DocumentRefetchState, type DocumentTypeIcon, type DocumentsOfTypeEntry, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, DriveNodeQueries, DriveNodesCache, DriveNodesEntry, DriveNodesOptions, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GET_MANY_CHUNK_SIZE, GetDocumentAtConsistencyDocument, GetDocumentAtConsistencyResult, GetDocumentAtConsistencyVariables, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLFetch, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLReactorReadClient, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, IDocumentCacheReader, type IDocumentModelLoader, type IDocumentTypeCache, IJobChangesSocket, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorBrowserReadClient, type IReactorBrowserWriteClient, type IReactorClient, type IReactorProcessorHostModule, type IReactorReadClient, type IReactorWriteClient, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, JobChangesEventPayload, JobChangesSocketOptions, JobFailedError, type JwtHandler, type KeyframeValidationIssue, type LOADING, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAnalyticsGlobalConfig, type PHAppConfig, type PHAppConfigHooks, type PHAppConfigKey, type PHAppConfigSetters, type PHCommonGlobalConfig, type PHDocumentEditorConfig, type PHDocumentEditorConfigHooks, type PHDocumentEditorConfigKey, type PHDocumentEditorConfigSetters, type PHDriveTarget, type PHDrivesGlobalConfig, type PHGlobal, type PHGlobalConfig, type PHGlobalConfigHooks, type PHGlobalConfigHooksForKey, type PHGlobalConfigKey, type PHGlobalConfigSetters, type PHGlobalConfigSettersForKey, type PHGlobalEventHandlerAdders, type PHGlobalKey, type PHGlobalValue, type PHModal, type PHNavigateOptions, type PHNavigation, type PHNavigationTarget, type PHProcessorsGlobalConfig, type PHRelationalProcessorsGlobalConfig, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSentryGlobalConfig, type PHSettingsTarget, PHStore, PHStoreProvider, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type ParsedDriveUrl, type PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type PromiseState, type PromiseWithState, PropagationMode, type PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, type ReactorBrowserHalves, ReactorBuilder, ReactorClientBuilder, type ReactorFeatureFlags, type ReactorGraphQLClient, ReactorOperationFieldsFragmentDoc, type RebuildResult, type RejectedPromise, RelationalDbOptions, RelationalDbProcessor, RelationalDbWithLive, type Remote, type RemoteControllerGraphQLClient, type RemoteControllerOptions, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, type RemotePeer, Renown, RenownAuth, RenownAuthAsync, RenownAuthButton, type RenownAuthButtonProps, RenownAuthResolution, RenownAuthStatus, type RenownInitOptions, type RenownInitialAuth, RenownInitialUserProvider, type RenownInitialUserProviderProps, RenownLoginButton, type RenownLoginButtonProps, type RenownLoginMethod, RenownLogo, type RenownProps, RenownProvider, type RenownProviderProps, type RenownSessionCookieOptions, type RenownSessionCookieState, RenownUserButton, type RenownUserButtonMenuItem, type RenownUserButtonProps, RenownWalletProvider, type RenownWalletProviderProps, RevisionsListSelection, type RunDocumentOptions, type SdkFunctionWrapper, type SearchParamsUpdate, type SetEvent, type SetPHGlobalValue, type SetSearchParams, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, SwitchboardBackend, SwitchboardBackendDescriptor, SwitchboardBreaker, SwitchboardUnreachableError, type SyncHold, type SyncOperation, SyncOperationStatus, type SyncStatus, type TStateSchemaZodObject, type TimelineBarItem, type TimelineDividerItem, type TimelineItem, type TrackedAction, TypedGraphQLDocument, UseDispatchResult, UseDocumentOperationsOptions, type UseOnDropFile, type UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, type WorkerReactorClientModule, type WorkerReactorModule, type WriteHandle, type WriteReceipt, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDriveNodesEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRenownEventHandler, ambientRenownSigner, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, createAnalyticsStore, createClient, createDispatch, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, describeGraphQLDocument, dispatchActions, driveIdFromUrl, dropDriveNode, ensurePHEventHandlers, ensurePHStore, findIsServableOverGraphQL, getActivePHStore, getAnalyticsStore, getDriveNode, getFullReactorClient, getPHStore, getPHStoreSubscribe, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initConnectCrypto, initRenownCrypto, invalidateDriveNodes, isAuthRefusalClose, isDeadlineError, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isNodeFetch, isOperationCache, isoStringFromDateTime, loadDriveNodes, login, logout, makeAuthConnectionParams, makeAuthMiddleware, markLocalDriveWrite, notifyPHStore, openRenown, packageFromDocumentModels, parseDriveUrl, peekDriveNode, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, readPromiseState, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscriptionsUrlFromGraphqlUrl, switchboardFetch, takeLocalDriveWrite, toLegacyNode, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDriveNode, useDriveNodes, useDriveNodesCache, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, usePHStore, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter, withRequestDeadline, withStreamedBodies };
1894
+ export { type AddPHGlobalEventHandler, type BackendAuthState, BatchJobFailedError, BearerTokenProvider, type BrowserReactorClientModule, type BrowserReactorModule, type BulkImportJob, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, type ConflictInfo, type ConflictResolution, type ConflictStrategy, ConnectionParams, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_BATCH_REQUEST_TIMEOUT_MS, DEFAULT_BREAKER, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, type DelegationClaims, type DelegationScope, type DesktopShell, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, DocumentOperationsState, type DocumentRefetchState, type DocumentTypeIcon, type DocumentsOfTypeEntry, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, DriveNodeQueries, DriveNodesCache, DriveNodesEntry, DriveNodesOptions, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GET_MANY_CHUNK_SIZE, GetDocumentAtConsistencyDocument, GetDocumentAtConsistencyResult, GetDocumentAtConsistencyVariables, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLFetch, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLReactorReadClient, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, IDocumentCacheReader, type IDocumentModelLoader, type IDocumentTypeCache, IJobChangesSocket, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorBrowserReadClient, type IReactorBrowserWriteClient, type IReactorClient, type IReactorProcessorHostModule, type IReactorReadClient, type IReactorWriteClient, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, JobChangesEventPayload, JobChangesSocketOptions, JobFailedError, type JwtHandler, type KeyframeValidationIssue, type LOADING, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAnalyticsGlobalConfig, type PHAppConfig, type PHAppConfigHooks, type PHAppConfigKey, type PHAppConfigSetters, type PHCommonGlobalConfig, type PHDocumentEditorConfig, type PHDocumentEditorConfigHooks, type PHDocumentEditorConfigKey, type PHDocumentEditorConfigSetters, type PHDriveTarget, type PHDrivesGlobalConfig, type PHGlobal, type PHGlobalConfig, type PHGlobalConfigHooks, type PHGlobalConfigHooksForKey, type PHGlobalConfigKey, type PHGlobalConfigSetters, type PHGlobalConfigSettersForKey, type PHGlobalEventHandlerAdders, type PHGlobalKey, type PHGlobalValue, type PHModal, type PHNavigateOptions, type PHNavigation, type PHNavigationTarget, type PHProcessorsGlobalConfig, type PHRelationalProcessorsGlobalConfig, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSentryGlobalConfig, type PHSettingsTarget, PHStore, PHStoreProvider, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type ParsedDriveUrl, type PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type PromiseState, type PromiseWithState, PropagationMode, type PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, type ReactorBrowserHalves, ReactorBuilder, ReactorClientBuilder, type ReactorFeatureFlags, type ReactorGraphQLClient, ReactorOperationFieldsFragmentDoc, type RebuildResult, type RejectedPromise, RelationalDbOptions, RelationalDbProcessor, RelationalDbWithLive, type Remote, type RemoteControllerGraphQLClient, type RemoteControllerOptions, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, type RemotePeer, Renown, RenownAuth, RenownAuthAsync, RenownAuthButton, type RenownAuthButtonProps, RenownAuthResolution, RenownAuthStatus, type RenownInitOptions, type RenownInitialAuth, RenownInitialUserProvider, type RenownInitialUserProviderProps, RenownLoginButton, type RenownLoginButtonProps, type RenownLoginMethod, RenownLogo, type RenownProps, RenownProvider, type RenownProviderProps, type RenownSessionCookieOptions, type RenownSessionCookieState, RenownUserButton, type RenownUserButtonMenuItem, type RenownUserButtonProps, RenownWalletProvider, type RenownWalletProviderProps, RevisionsListSelection, type RunDocumentOptions, type SdkFunctionWrapper, type SearchParamsUpdate, type SetEvent, type SetPHGlobalValue, type SetSearchParams, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, SwitchboardBackend, SwitchboardBackendDescriptor, SwitchboardBreaker, SwitchboardUnreachableError, type SyncHold, type SyncOperation, SyncOperationStatus, type SyncStatus, type TStateSchemaZodObject, type TimelineBarItem, type TimelineDividerItem, type TimelineItem, type TrackedAction, TypedGraphQLDocument, UseDispatchResult, UseDocumentOperationsOptions, type UseOnDropFile, type UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, type WorkerReactorClientModule, type WorkerReactorModule, type WriteHandle, type WriteReceipt, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDriveNodesEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRenownEventHandler, ambientRenownSigner, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, createAnalyticsStore, createClient, createDelegation, createDispatch, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, decodeDelegation, describeGraphQLDocument, desktopShell, dispatchActions, driveIdFromUrl, dropDriveNode, ensurePHEventHandlers, ensurePHStore, findIsServableOverGraphQL, getActivePHStore, getAnalyticsStore, getDriveNode, getFullReactorClient, getPHStore, getPHStoreSubscribe, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initConnectCrypto, initRenownCrypto, invalidateDriveNodes, isAuthRefusalClose, isDeadlineError, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isNodeFetch, isOperationCache, isoStringFromDateTime, loadDriveNodes, login, logout, makeAuthConnectionParams, makeAuthMiddleware, markLocalDriveWrite, notifyPHStore, openRenown, packageFromDocumentModels, parseDriveUrl, peekDriveNode, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, readPromiseState, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscriptionsUrlFromGraphqlUrl, switchboardFetch, takeLocalDriveWrite, toLegacyNode, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDriveNode, useDriveNodes, useDriveNodesCache, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, usePHStore, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter, withRequestDeadline, withStreamedBodies };
1895
1895
  export {};
1896
1896
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -2,12 +2,12 @@ import { a as createPHStore, c as getPHStore, d as subscribePHStore, f as usePHS
2
2
  import { A as DocumentModelNotFoundError, E as dispatchActions, M as NoSelectedDocumentError, N as OperationRejectedError, P as UnsupportedDocumentTypeError, T as IDLE_REFETCH_STATE, _ as isDocumentTypeCache, a as useDocument, b as DOCUMENT_CHANGE_TYPE, c as useDocuments, d as useGetDocuments, f as DocumentCache, g as addPromiseState, h as IDLE_OPERATIONS_ENTRY, i as setDocumentCache, j as DocumentTypeMismatchError, l as useGetDocument, m as IDLE_DOCUMENTS_OF_TYPE_ENTRY, n as useDispatch, o as useDocumentCache, p as GET_MANY_CHUNK_SIZE, r as addDocumentCacheEventHandler, s as useDocumentSafe, t as createDispatch, u as useGetDocumentAsync, v as isOperationCache, w as DocumentRefetcher, y as readPromiseState } from "./dispatch-Cylwl2Dk.js";
3
3
  import { $ as makeAuthMiddleware, A as addDrivesEventHandler, B as invalidateDriveNodes, C as setSelectedNode, D as usePreloadNode, E as useOpenNode, F as isInitialSyncInFlight, G as useDriveNode, H as markLocalDriveWrite, I as listSyncRemotes, J as isFileNodeKind, K as useDriveNodes, L as addDriveNodesEventHandler, M as useDrives, N as DriveProvider, P as useDriveContext, Q as ambientRenownTokenProvider, R as dropDriveNode, S as selectNode, T as useNodeTarget, U as peekDriveNode, V as loadDriveNodes, W as takeLocalDriveWrite, X as listAllDriveNodes, Y as isFolderNodeKind, Z as sortNodesByName, _ as useSetSelectedDrive, a as setVetraPackageManager, b as getNodeTarget, c as addSelectedDriveIdEventHandler, d as setSelectedDrive, f as setSelectedDriveId, g as useSelectedDriveSafe, h as useSelectedDriveId, i as onVetraPackageManager, j as setDrives, k as useSetSelectedNode, l as preloadDrive, m as useSelectedDrive, n as useDocumentModelModules, o as useVetraPackageManager, p as usePreloadDrive, q as useDriveNodesCache, r as addVetraPackageManagerEventHandler, s as useVetraPackages, t as useDocumentModelModuleById, u as selectDrive, v as addResetSelectedNodeEventHandler, w as setSelectedNodeId, x as preloadNode, y as addSelectedNodeIdEventHandler, z as getDriveNode } from "./document-model-modules-ChmfyIxT.js";
4
4
  import { $ as makeNodeSlug, A as openTargetWith, B as createUrlWithPreservedParams, C as getCurrentPathname, D as isGlobalSearchParam, E as hasHostNavigation, F as searchParamsToString, G as extractNodeIdFromSlug, H as extractDriveIdFromSlug, I as searchToRecord, J as findDriveBySlug, K as extractNodeSlugFromPath, L as setBrowserOpenSync, M as preloadTarget, N as recordToSearch, O as isSettingsTarget, P as resolveSearchUpdate, Q as makeDriveUrlComponent, R as setSearchParams, S as browserNavigation, T as getTargetHref, U as extractDriveSlugFromPath, V as extractDriveIdFromPath, W as extractNodeIdFromPath, X as getPathWithoutBase, Y as findUuid, Z as makeDriveSlug, _ as GLOBAL_SEARCH_PARAMS, a as useRenown, b as SETTINGS_PATH, c as RENOWN_INITIAL_UNKNOWN, d as useRenownInitialUser, et as resolveUrlPathname, f as addLoadingEventHandler, g as FEATURE_FLAG_PARAM_PREFIX, h as useLoading, i as useLoginStatus, j as openedFromIndex, k as openTarget, l as RenownInitialUserProvider, m as setLoading, n as setRenown, o as useUser, p as loading, q as findDerivedId, r as useDid, s as RENOWN_INITIAL_ANONYMOUS, t as addRenownEventHandler, u as useRenownInitialAuth, v as OPENED_FROM_STATE_KEY, w as getPHNavigation, x as applySearchUpdate, y as PH_LOCATION_CHANGE_EVENT, z as targetPathname } from "./renown-CBoTdGrg.js";
5
- import { $ as addIsAddLocalDrivesEnabledEventHandler, $i as deleteNode, $n as useIsDeletePublicDrivesEnabled, $r as viewFilterInputFromViewFilter, $t as setIsAnalyticsEnabled, A as useGraphQLReactorClient, Aa as closePHModal, Ai as phDocumentFromMutation, An as setVersion, Ar as addIsExternalControlsEnabledEventHandler, At as addSentryReleaseEventHandler, B as useAttachmentService, Ba as usePHModal, Bi as COMMON_PACKAGE_ID, Bn as useEnabledEditors, Br as useIsDragAndDropEnabled, Bt as setBasePath, C as addSyncSelectionOnPopStateEventHandler, Ca as useReactorClient, Ci as withRequestDeadline, Cn as setRequiresHardRefresh, Cr as useStudioMode, Ct as addRenownChainIdEventHandler, D as usePackageDiscoveryService, Da as useSyncList, Di as toLegacyNode, Dn as setSentryRelease, Dr as useWarnOutdatedApp, Dt as addRouterBasenameEventHandler, E as setPackageDiscoveryService, Ea as useSync, Ei as GraphQLDriveReadClient, En as setSentryEnv, Er as useVersionCheckInterval, Et as addRequiresHardRefreshEventHandler, F as addFeaturesEventHandler, Fa as setPHModal, Fi as extractRevisionMap, Fn as useBasePath, Fr as phDocumentEditorConfigSetters, Ft as addWarnOutdatedAppEventHandler, G as addDefaultDrivesUrlEventHandler, Ga as useSearchParams, Gi as GraphQLWrongBackendError, Gn as useIsAddLocalDrivesEnabled, Gr as recordBackendAuthError, Gt as setEnabledEditors, H as addAnalyticsDatabaseNameEventHandler, Ha as isPlainClick, Hi as DRIVE_DOCUMENT_TYPES, Hn as useGaTrackingId, Hr as addBackendAuthEventHandler, Ht as setDefaultDrivesUrl, I as setFeatures, Ia as showCreateDocumentModal, Ii as hasRevisionConflict, In as useCliVersion, Ir as setAllowedDocumentTypes, It as phGlobalConfigHooks, J as addEnabledEditorsEventHandler, Ji as queriesUnknownField, Jn as useIsAnalyticsEnabled, Jr as GraphQLReactorClient, Jt as setIsAddCloudDrivesEnabled, K as addDisabledEditorsEventHandler, Ka as useSetSearchParams, Ki as JobFailedError, Kn as useIsAddPublicDrivesEnabled, Kr as setBackendAuth, Kt as setFileUploadOperationsChunkSize, L as useFeatures, La as showDeleteNodeModal, Li as screamingSnakeToCamel, Ln as useDefaultDrivesUrl, Lr as setIsDragAndDropEnabled, Lt as phGlobalConfigSetters, M as useDragNode, Ma as modalFromSearch, Mi as ConflictError, Mn as setWarnOutdatedApp, Mr as phAppConfigHooks, Mt as addSwitchboardUrlEventHandler, N as useDropNode, Na as modalHref, Ni as buildPulledDocument, Nn as useAllowList, Nr as phAppConfigSetters, Nt as addVersionCheckIntervalEventHandler, O as addGraphQLReactorClientEventHandler, Oa as MODAL_SEARCH_PARAM, Oi as isoStringFromDateTime, On as setStudioMode, Or as addAllowedDocumentTypesEventHandler, Ot as addSentryDsnEventHandler, P as useDropTarget, Pa as modalSearch, Pi as convertRemoteOperations, Pn as useAnalyticsDatabaseName, Pr as phDocumentEditorConfigHooks, Pt as addVersionEventHandler, Q as addIsAddDriveEnabledEventHandler, Qi as copyNode$1, Qn as useIsDeleteLocalDrivesEnabled, Qr as isGraphQLReactorClient, Qt as setIsAnalyticsDatabaseWorkerEnabled, R as addAttachmentServiceEventHandler, Ra as showPHModal, Ri as uncreatedDocument, Rn as useDisabledEditors, Rr as setIsExternalControlsEnabled, Rt as setAllowList, S as addSetSelectedNodeOnPopStateEventHandler, Sa as usePGlite, Si as switchboardFetch, Sn as setRenownUrl, Sr as useSentryRelease, St as addRenownAdaptersEventHandler, T as addPackageDiscoveryServiceEventHandler, Ta as useReactorHalves, Ti as GraphQLDriveNodeSource, Tn as setSentryDsn, Tr as useVersion, Tt as addRenownUrlEventHandler, U as addBasePathEventHandler, Ua as useLinkProps, Ui as BatchJobFailedError, Un as useIsAddCloudDrivesEnabled, Ur as backendAuthStatusOf, Ut as setDisabledEditors, V as addAllowListEventHandler, Va as withoutModalSearch, Vi as DEFAULT_DRIVE_EDITOR_ID, Vn as useFileUploadOperationsChunkSize, Vr as useIsExternalControlsEnabled, Vt as setCliVersion, W as addCliVersionEventHandler, Wa as usePHNavigation, Wi as GraphQLOperationNotSupportedError, Wn as useIsAddDriveEnabled, Wr as isBackendAuthError, Wt as setDrivesPreserveStrategy, X as addGaTrackingIdEventHandler, Xi as addFileWithProgress, Xn as useIsCloudDrivesEnabled, Xr as createGraphQLDriveNodeSource, Xt as setIsAddLocalDrivesEnabled, Y as addFileUploadOperationsChunkSizeEventHandler, Yi as addDocument, Yn as useIsAnalyticsExternalProcessorsEnabled, Yr as ambientRenownSigner, Yt as setIsAddDriveEnabled, Z as addIsAddCloudDrivesEnabledEventHandler, Zi as addFolder, Zn as useIsDeleteCloudDrivesEnabled, Zr as findIsServableOverGraphQL, Zt as setIsAddPublicDrivesEnabled, _ as useSelectedTimelineRevision, _a as setFullReactorClient, _i as readCreateProtocolVersions, _n as setLocalDrivesEnabled, _r as useRenownUrl, _t as addIsPublicDrivesEnabledEventHandler, a as createSwitchboardBackend, aa as moveNode$1, ai as SubgraphSdkRegistry, an as setIsDiffAnalyticsEnabled, ar as useIsExternalPackagesEnabled, at as addIsDeleteCloudDrivesEnabledEventHandler, b as useSelectedTimelineItem, ba as useDatabase, bi as isDeadlineError, bn as setRenownChainId, br as useSentryDsn, bt as addLocalDrivesEnabledEventHandler, c as useSwitchboardClient, ca as setPreferredEditorOnNode, ci as StaticPackageManager, cn as setIsEditorDebugModeEnabled, cr as useIsLocalDrivesEnabled, ct as addIsDiffAnalyticsEnabledEventHandler, d as commonGlobalEventHandlerFunctions, da as isDocumentTypeSupported, di as prepareSignedActions, dn as setIsExternalProcessorsEnabled, dr as useIsSentryTracingEnabled, dt as addIsEditorDebugModeEnabledEventHandler, ea as exportFile, ei as createJobChangesSocket, en as setIsAnalyticsExternalProcessorsEnabled, er as useIsDiffAnalyticsEnabled, et as addIsAddPublicDrivesEnabledEventHandler, f as addToastEventHandler, fa as addFullReactorClientEventHandler, fi as signStampedAction, fn as setIsExternalRelationalProcessorsEnabled, fr as useLocalDrivesEnabled, ft as addIsEditorReadModeEnabledEventHandler, g as setSelectedTimelineRevision, ga as getFullReactorClient, gi as ReactorOperationFieldsFragmentDoc, gn as setIsSentryTracingEnabled, gr as useRenownNetworkId, gt as addIsLocalDrivesEnabledEventHandler, h as addSelectedTimelineRevisionEventHandler, ha as addReactorHalvesEventHandler, hi as MutateDocumentWithOperationsDocument, hn as setIsRelationalProcessorsEnabled, hr as useRenownChainId, ht as addIsExternalRelationalProcessorsEnabledEventHandler, i as SwitchboardUnreachableError, ia as loadFile, ii as subscriptionsUrlFromGraphqlUrl, in as setIsDeletePublicDrivesEnabled, ir as useIsEditorReadModeEnabled, it as addIsCloudDrivesEnabledEventHandler, j as addDraggingNodeEventHandler, ja as isRoutedModal, ji as revisionMapFromRevisionsList, jn as setVersionCheckInterval, jr as isExternalControlsEnabledEventFunctions, jt as addStudioModeEventHandler, k as setGraphQLReactorClient, ka as addModalEventHandler, ki as phDocumentFromGetDocument, kn as setSwitchboardUrl, kr as addIsDragAndDropEnabledEventHandler, kt as addSentryEnvEventHandler, l as addPHEventHandlers, la as upgradeDocument, li as packageFromDocumentModels, ln as setIsEditorReadModeEnabled, lr as useIsPublicDrivesEnabled, lt as addIsDocumentModelSelectionSettingsEnabledEventHandler, m as usePHToast, ma as addReactorClientModuleEventHandler, mi as GetDocumentAtConsistencyDocument, mn as setIsPublicDrivesEnabled, mr as useRenownAdapters, mt as addIsExternalProcessorsEnabledEventHandler, n as DEFAULT_BREAKER, na as fetchDocumentOperations, ni as makeAuthConnectionParams, nn as setIsDeleteCloudDrivesEnabled, nr as useIsDriveAnalyticsEnabled, nt as addIsAnalyticsEnabledEventHandler, o as GraphQLReactorProvider, oa as renameDriveNode, oi as describeGraphQLDocument, on as setIsDocumentModelSelectionSettingsEnabled, or as useIsExternalProcessorsEnabled, ot as addIsDeleteLocalDrivesEnabledEventHandler, p as setPHToast, pa as addReactorClientEventHandler, pi as stampAction, pn as setIsLocalDrivesEnabled, pr as useLogLevel, pt as addIsExternalPackagesEnabledEventHandler, q as addDrivesPreserveStrategyEventHandler, qi as queriesUnknownArgument, qn as useIsAnalyticsDatabaseWorkerEnabled, qr as useBackendAuth, qt as setGaTrackingId, r as DEFAULT_REQUEST_TIMEOUT_MS, ra as getDocumentExtension, ri as startDocumentChangesSubscription, rn as setIsDeleteLocalDrivesEnabled, rr as useIsEditorDebugModeEnabled, rt as addIsAnalyticsExternalProcessorsEnabledEventHandler, s as ensurePHEventHandlers, sa as renameNode, si as subgraphUrlFromGraphqlUrl, sn as setIsDriveAnalyticsEnabled, sr as useIsExternalRelationalProcessorsEnabled, st as addIsDeletePublicDrivesEnabledEventHandler, t as useDocumentOperations, ta as extractInitialState, ti as isAuthRefusalClose, tn as setIsCloudDrivesEnabled, tr as useIsDocumentModelSelectionSettingsEnabled, tt as addIsAnalyticsDatabaseWorkerEnabledEventHandler, u as callEventHandlerRegisterFunctions, ua as getUserPermissions, ui as resolveDocumentModelModule, un as setIsExternalPackagesEnabled, ur as useIsRelationalProcessorsEnabled, ut as addIsDriveAnalyticsEnabledEventHandler, v as addSelectedTimelineItemEventHandler, va as setReactorClient, vi as readCreateSignaturePolicy, vn as setLogLevel, vr as useRequiresHardRefresh, vt as addIsRelationalProcessorsEnabledEventHandler, w as syncSelectionFromPath, wa as useReactorClientModule, wi as withStreamedBodies, wn as setRouterBasename, wr as useSwitchboardUrl, wt as addRenownNetworkIdEventHandler, x as addSetSelectedDriveOnPopStateEventHandler, xa as useModelRegistry, xi as isNodeFetch, xn as setRenownNetworkId, xr as useSentryEnv, xt as addLogLevelEventHandler, y as setSelectedTimelineItem, ya as setReactorClientModule, yi as globalFetch, yn as setRenownAdapters, yr as useRouterBasename, yt as addIsSentryTracingEnabledEventHandler, z as setAttachmentService, za as useModalLinkProps, zi as underSignaturePolicy, zn as useDrivesPreserveStrategy, zr as useAllowedDocumentTypes, zt as setAnalyticsDatabaseName } from "./document-operations-DCwmgcLe.js";
5
+ import { $ as addIsAddDriveEnabledEventHandler, $i as copyNode$1, $n as useIsDeleteLocalDrivesEnabled, $r as isGraphQLReactorClient, $t as setIsAnalyticsDatabaseWorkerEnabled, A as setGraphQLReactorClient, Aa as addModalEventHandler, Ai as phDocumentFromGetDocument, An as setSwitchboardUrl, Ar as addIsDragAndDropEnabledEventHandler, At as addSentryEnvEventHandler, B as setAttachmentService, Ba as useModalLinkProps, Bi as underSignaturePolicy, Bn as useDrivesPreserveStrategy, Br as useAllowedDocumentTypes, Bt as setAnalyticsDatabaseName, C as addSetSelectedNodeOnPopStateEventHandler, Ca as usePGlite, Ci as switchboardFetch, Cn as setRenownUrl, Cr as useSentryRelease, Ct as addRenownAdaptersEventHandler, D as setPackageDiscoveryService, Da as useSync, Di as GraphQLDriveReadClient, Dn as setSentryEnv, Dr as useVersionCheckInterval, Dt as addRequiresHardRefreshEventHandler, E as addPackageDiscoveryServiceEventHandler, Ea as useReactorHalves, Ei as GraphQLDriveNodeSource, En as setSentryDsn, Er as useVersion, Et as addRenownUrlEventHandler, F as useDropTarget, Fa as modalSearch, Fi as convertRemoteOperations, Fn as useAnalyticsDatabaseName, Fr as phDocumentEditorConfigHooks, Ft as addVersionEventHandler, G as addCliVersionEventHandler, Ga as usePHNavigation, Gi as GraphQLOperationNotSupportedError, Gn as useIsAddDriveEnabled, Gr as isBackendAuthError, Gt as setDrivesPreserveStrategy, H as addAllowListEventHandler, Ha as withoutModalSearch, Hi as DEFAULT_DRIVE_EDITOR_ID, Hn as useFileUploadOperationsChunkSize, Hr as useIsExternalControlsEnabled, Ht as setCliVersion, I as addFeaturesEventHandler, Ia as setPHModal, Ii as extractRevisionMap, In as useBasePath, Ir as phDocumentEditorConfigSetters, It as addWarnOutdatedAppEventHandler, J as addDrivesPreserveStrategyEventHandler, Ji as queriesUnknownArgument, Jn as useIsAnalyticsDatabaseWorkerEnabled, Jr as useBackendAuth, Jt as setGaTrackingId, K as addDefaultDrivesUrlEventHandler, Ka as useSearchParams, Ki as GraphQLWrongBackendError, Kn as useIsAddLocalDrivesEnabled, Kr as recordBackendAuthError, Kt as setEnabledEditors, L as setFeatures, La as showCreateDocumentModal, Li as hasRevisionConflict, Ln as useCliVersion, Lr as setAllowedDocumentTypes, Lt as phGlobalConfigHooks, M as addDraggingNodeEventHandler, Ma as isRoutedModal, Mi as revisionMapFromRevisionsList, Mn as setVersionCheckInterval, Mr as isExternalControlsEnabledEventFunctions, Mt as addStudioModeEventHandler, N as useDragNode, Na as modalFromSearch, Ni as ConflictError, Nn as setWarnOutdatedApp, Nr as phAppConfigHooks, Nt as addSwitchboardUrlEventHandler, O as usePackageDiscoveryService, Oa as useSyncList, Oi as toLegacyNode, On as setSentryRelease, Or as useWarnOutdatedApp, Ot as addRouterBasenameEventHandler, P as useDropNode, Pa as modalHref, Pi as buildPulledDocument, Pn as useAllowList, Pr as phAppConfigSetters, Pt as addVersionCheckIntervalEventHandler, Q as addIsAddCloudDrivesEnabledEventHandler, Qi as addFolder, Qn as useIsDeleteCloudDrivesEnabled, Qr as findIsServableOverGraphQL, Qt as setIsAddPublicDrivesEnabled, R as useFeatures, Ra as showDeleteNodeModal, Ri as screamingSnakeToCamel, Rn as useDefaultDrivesUrl, Rr as setIsDragAndDropEnabled, Rt as phGlobalConfigSetters, S as addSetSelectedDriveOnPopStateEventHandler, Sa as useModelRegistry, Si as isNodeFetch, Sn as setRenownNetworkId, Sr as useSentryEnv, St as addLogLevelEventHandler, T as syncSelectionFromPath, Ta as useReactorClientModule, Ti as withStreamedBodies, Tn as setRouterBasename, Tr as useSwitchboardUrl, Tt as addRenownNetworkIdEventHandler, U as addAnalyticsDatabaseNameEventHandler, Ua as isPlainClick, Ui as DRIVE_DOCUMENT_TYPES, Un as useGaTrackingId, Ur as addBackendAuthEventHandler, Ut as setDefaultDrivesUrl, V as useAttachmentService, Va as usePHModal, Vi as COMMON_PACKAGE_ID, Vn as useEnabledEditors, Vr as useIsDragAndDropEnabled, Vt as setBasePath, W as addBasePathEventHandler, Wa as useLinkProps, Wi as BatchJobFailedError, Wn as useIsAddCloudDrivesEnabled, Wr as backendAuthStatusOf, Wt as setDisabledEditors, X as addFileUploadOperationsChunkSizeEventHandler, Xi as addDocument, Xn as useIsAnalyticsExternalProcessorsEnabled, Xr as ambientRenownSigner, Xt as setIsAddDriveEnabled, Y as addEnabledEditorsEventHandler, Yi as queriesUnknownField, Yn as useIsAnalyticsEnabled, Yr as GraphQLReactorClient, Yt as setIsAddCloudDrivesEnabled, Z as addGaTrackingIdEventHandler, Zi as addFileWithProgress, Zn as useIsCloudDrivesEnabled, Zr as createGraphQLDriveNodeSource, Zt as setIsAddLocalDrivesEnabled, _ as setSelectedTimelineRevision, _a as getFullReactorClient, _i as ReactorOperationFieldsFragmentDoc, _n as setIsSentryTracingEnabled, _r as useRenownNetworkId, _t as addIsLocalDrivesEnabledEventHandler, a as SwitchboardUnreachableError, aa as loadFile, ai as subscriptionsUrlFromGraphqlUrl, an as setIsDeletePublicDrivesEnabled, ar as useIsEditorReadModeEnabled, at as addIsCloudDrivesEnabledEventHandler, b as setSelectedTimelineItem, ba as setReactorClientModule, bi as globalFetch, bn as setRenownAdapters, br as useRouterBasename, bt as addIsSentryTracingEnabledEventHandler, c as ensurePHEventHandlers, ca as renameNode, ci as subgraphUrlFromGraphqlUrl, cn as setIsDriveAnalyticsEnabled, cr as useIsExternalRelationalProcessorsEnabled, ct as addIsDeletePublicDrivesEnabledEventHandler, d as callEventHandlerRegisterFunctions, da as getUserPermissions, di as resolveDocumentModelModule, dn as setIsExternalPackagesEnabled, dr as useIsRelationalProcessorsEnabled, dt as addIsDriveAnalyticsEnabledEventHandler, ea as deleteNode, ei as viewFilterInputFromViewFilter, en as setIsAnalyticsEnabled, er as useIsDeletePublicDrivesEnabled, et as addIsAddLocalDrivesEnabledEventHandler, f as commonGlobalEventHandlerFunctions, fa as isDocumentTypeSupported, fi as prepareSignedActions, fn as setIsExternalProcessorsEnabled, fr as useIsSentryTracingEnabled, ft as addIsEditorDebugModeEnabledEventHandler, g as addSelectedTimelineRevisionEventHandler, ga as addReactorHalvesEventHandler, gi as MutateDocumentWithOperationsDocument, gn as setIsRelationalProcessorsEnabled, gr as useRenownChainId, gt as addIsExternalRelationalProcessorsEnabledEventHandler, h as usePHToast, ha as addReactorClientModuleEventHandler, hi as GetDocumentAtConsistencyDocument, hn as setIsPublicDrivesEnabled, hr as useRenownAdapters, ht as addIsExternalProcessorsEnabledEventHandler, i as DEFAULT_REQUEST_TIMEOUT_MS, ia as getDocumentExtension, ii as startDocumentChangesSubscription, in as setIsDeleteLocalDrivesEnabled, ir as useIsEditorDebugModeEnabled, it as addIsAnalyticsExternalProcessorsEnabledEventHandler, j as useGraphQLReactorClient, ja as closePHModal, ji as phDocumentFromMutation, jn as setVersion, jr as addIsExternalControlsEnabledEventHandler, jt as addSentryReleaseEventHandler, k as addGraphQLReactorClientEventHandler, ka as MODAL_SEARCH_PARAM, ki as isoStringFromDateTime, kn as setStudioMode, kr as addAllowedDocumentTypesEventHandler, kt as addSentryDsnEventHandler, l as useSwitchboardClient, la as setPreferredEditorOnNode, li as StaticPackageManager, ln as setIsEditorDebugModeEnabled, lr as useIsLocalDrivesEnabled, lt as addIsDiffAnalyticsEnabledEventHandler, m as setPHToast, ma as addReactorClientEventHandler, mi as stampAction, mn as setIsLocalDrivesEnabled, mr as useLogLevel, mt as addIsExternalPackagesEnabledEventHandler, n as DEFAULT_BATCH_REQUEST_TIMEOUT_MS, na as extractInitialState, ni as isAuthRefusalClose, nn as setIsCloudDrivesEnabled, nr as useIsDocumentModelSelectionSettingsEnabled, nt as addIsAnalyticsDatabaseWorkerEnabledEventHandler, o as createSwitchboardBackend, oa as moveNode$1, oi as SubgraphSdkRegistry, on as setIsDiffAnalyticsEnabled, or as useIsExternalPackagesEnabled, ot as addIsDeleteCloudDrivesEnabledEventHandler, p as addToastEventHandler, pa as addFullReactorClientEventHandler, pi as signStampedAction, pn as setIsExternalRelationalProcessorsEnabled, pr as useLocalDrivesEnabled, pt as addIsEditorReadModeEnabledEventHandler, q as addDisabledEditorsEventHandler, qa as useSetSearchParams, qi as JobFailedError, qn as useIsAddPublicDrivesEnabled, qr as setBackendAuth, qt as setFileUploadOperationsChunkSize, r as DEFAULT_BREAKER, ra as fetchDocumentOperations, ri as makeAuthConnectionParams, rn as setIsDeleteCloudDrivesEnabled, rr as useIsDriveAnalyticsEnabled, rt as addIsAnalyticsEnabledEventHandler, s as GraphQLReactorProvider, sa as renameDriveNode, si as describeGraphQLDocument, sn as setIsDocumentModelSelectionSettingsEnabled, sr as useIsExternalProcessorsEnabled, st as addIsDeleteLocalDrivesEnabledEventHandler, t as useDocumentOperations, ta as exportFile, ti as createJobChangesSocket, tn as setIsAnalyticsExternalProcessorsEnabled, tr as useIsDiffAnalyticsEnabled, tt as addIsAddPublicDrivesEnabledEventHandler, u as addPHEventHandlers, ua as upgradeDocument, ui as packageFromDocumentModels, un as setIsEditorReadModeEnabled, ur as useIsPublicDrivesEnabled, ut as addIsDocumentModelSelectionSettingsEnabledEventHandler, v as useSelectedTimelineRevision, va as setFullReactorClient, vi as readCreateProtocolVersions, vn as setLocalDrivesEnabled, vr as useRenownUrl, vt as addIsPublicDrivesEnabledEventHandler, w as addSyncSelectionOnPopStateEventHandler, wa as useReactorClient, wi as withRequestDeadline, wn as setRequiresHardRefresh, wr as useStudioMode, wt as addRenownChainIdEventHandler, x as useSelectedTimelineItem, xa as useDatabase, xi as isDeadlineError, xn as setRenownChainId, xr as useSentryDsn, xt as addLocalDrivesEnabledEventHandler, y as addSelectedTimelineItemEventHandler, ya as setReactorClient, yi as readCreateSignaturePolicy, yn as setLogLevel, yr as useRequiresHardRefresh, yt as addIsRelationalProcessorsEnabledEventHandler, z as addAttachmentServiceEventHandler, za as showPHModal, zi as uncreatedDocument, zn as useDisabledEditors, zr as setIsExternalControlsEnabled, zt as setAllowList } from "./document-operations-o9cfLoeV.js";
6
6
  import { a as setGlobal, i as getGlobal, n as getAnalyticsStore, r as clearGlobal, t as createAnalyticsStore } from "./store-DInXcjal.js";
7
7
  import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.js";
8
8
  import { o as PropagationMode, r as GetDocumentWithOperationsDocument, t as createClient } from "./client-BNMyQ_Z2.js";
9
9
  import { c as useSelectedDocument, d as useSelectedDocumentSafe, f as EditorDocumentProvider, g as useNodeById, h as useSelectedNode, l as useSelectedDocumentId, m as useDocumentOfType, p as useEditorDocumentContext, t as GQL_CHANNEL_SUFFIX, u as useSelectedDocumentOfType } from "./switchboard-B640iT1L.js";
10
- import { A as RENOWN_CHAIN_ID, C as logout, D as CREDENTIAL_TYPES, E as CREDENTIAL_SUBJECT_TYPE, M as RENOWN_RETURN_URL_STRIPPED_PARAMS, N as RENOWN_URL, O as DOMAIN_TYPE, P as VERIFIABLE_CREDENTIAL_EIP712_TYPE, S as login, T as CREDENTIAL_SCHEMA_EIP712_TYPE, _ as RenownLogo, a as Renown, b as useRenownAuth, c as useRenownSessionSynced, d as RenownAuthButton, f as RenownUserButton, g as DisconnectIcon, h as CopyIcon, i as RenownWalletProvider, j as RENOWN_NETWORK_ID, k as ISSUER_TYPE, l as initConnectCrypto, m as ChevronDownIcon, n as useRenownLoginMethods, o as useRenownInit, p as RenownLoginButton, r as RenownProvider, s as useRenownSessionCookie, t as useRenownWalletAdapter, u as initRenownCrypto, v as SpinnerIcon, w as openRenown, x as useRenownAuthAsync, y as UserIcon } from "./renown-a_8pPr10.js";
10
+ import { A as CREDENTIAL_TYPES, C as useRenownAuthAsync, D as openRenown, E as logout, F as RENOWN_RETURN_URL_STRIPPED_PARAMS, I as RENOWN_URL, L as VERIFIABLE_CREDENTIAL_EIP712_TYPE, M as ISSUER_TYPE, N as RENOWN_CHAIN_ID, O as CREDENTIAL_SCHEMA_EIP712_TYPE, P as RENOWN_NETWORK_ID, S as useRenownAuth, T as login, _ as CopyIcon, a as RenownProvider, b as SpinnerIcon, c as useRenownInit, d as initConnectCrypto, f as initRenownCrypto, g as ChevronDownIcon, h as RenownLoginButton, i as useRenownLoginMethods, j as DOMAIN_TYPE, k as CREDENTIAL_SUBJECT_TYPE, l as useRenownSessionCookie, m as RenownUserButton, n as decodeDelegation, o as RenownWalletProvider, p as RenownAuthButton, r as useRenownWalletAdapter, s as Renown, t as createDelegation, u as useRenownSessionSynced, v as DisconnectIcon, w as desktopShell, x as UserIcon, y as RenownLogo } from "./renown-B3MUaiq7.js";
11
11
  import { n as useDocumentsByIds, t as useDocumentById } from "./document-by-id-DdvqanGR.js";
12
12
  import { i as setPGliteDB, n as useRelationalQuery, r as useRelationalDb, t as createProcessorQuery } from "./relational-DZuyKp2y.js";
13
13
  import { a as getPackagesByDocumentType, c as trimTrailingSlash, i as getPackages, l as SYNC_REMOTES_CHANGED_EVENT, n as getPackageInfo, o as getPackagesForDocumentType, r as getPackagePage, s as searchPackages, t as RegistryClient } from "./client-BFnMV-EO.js";
@@ -3858,6 +3858,6 @@ var BrowserLocalStorage = class extends BaseStorage {
3858
3858
  }
3859
3859
  };
3860
3860
  //#endregion
3861
- export { ActionTracker, BaseStorage, BatchJobFailedError, BrowserLocalStorage, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, CopyIcon, DEFAULT_BREAKER, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DRIVE_ARRIVAL_MAX_WAIT_MS, DRIVE_DOCUMENT_TYPES, DisconnectIcon, DocumentCache, DocumentChangeType, DocumentIntegrityService, DocumentModelNotFoundError, DocumentTypeMismatchError, DriveCollectionId, DriveProvider, EDITOR_FILE_DROP_OPT_OUT_ATTR, EditorDocumentProvider, FEATURE_FLAG_PARAM_PREFIX, GET_MANY_CHUNK_SIZE, GLOBAL_SEARCH_PARAMS, GetDocumentAtConsistencyDocument, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorProvider, GraphQLWrongBackendError, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, JobFailedError, MODAL_SEARCH_PARAM, MutateDocumentWithOperationsDocument, NoSelectedDocumentError, OPENED_FROM_STATE_KEY, OperationRejectedError, PHStoreProvider, PH_LOCATION_CHANGE_EVENT, PREFETCH_WAIT_MS, PollBehavior, PropagationMode, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, REVISION_HISTORY_PAGE_PARAM, REVISION_HISTORY_PARAM, ReactorBuilder, ReactorClientBuilder, ReactorOperationFieldsFragmentDoc, RegistryClient, RelationalDbProcessor, RemoteClient, RemoteDocumentController, Renown, RenownAuthButton, RenownInitialUserProvider, RenownLoginButton, RenownLogo, RenownProvider, RenownUserButton, RenownWalletProvider, SETTINGS_PATH, SpinnerIcon, StaticPackageManager, SubgraphSdkRegistry, SwitchboardUnreachableError, SyncOperationStatus, UnsupportedDocumentTypeError, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAnalyticsDatabaseNameEventHandler, addAttachmentServiceEventHandler, addBackendAuthEventHandler, addBasePathEventHandler, addCliVersionEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDriveNodesEventHandler, addDrivesEventHandler, addDrivesPreserveStrategyEventHandler, addEnabledEditorsEventHandler, addFeaturesEventHandler, addFileUploadOperationsChunkSizeEventHandler, addFileWithProgress, addFolder, addFullReactorClientEventHandler, addGaTrackingIdEventHandler, addGraphQLReactorClientEventHandler, addIsAddCloudDrivesEnabledEventHandler, addIsAddDriveEnabledEventHandler, addIsAddLocalDrivesEnabledEventHandler, addIsAddPublicDrivesEnabledEventHandler, addIsAnalyticsDatabaseWorkerEnabledEventHandler, addIsAnalyticsEnabledEventHandler, addIsAnalyticsExternalProcessorsEnabledEventHandler, addIsCloudDrivesEnabledEventHandler, addIsDeleteCloudDrivesEnabledEventHandler, addIsDeleteLocalDrivesEnabledEventHandler, addIsDeletePublicDrivesEnabledEventHandler, addIsDiffAnalyticsEnabledEventHandler, addIsDocumentModelSelectionSettingsEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsDriveAnalyticsEnabledEventHandler, addIsEditorDebugModeEnabledEventHandler, addIsEditorReadModeEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addIsExternalPackagesEnabledEventHandler, addIsExternalProcessorsEnabledEventHandler, addIsExternalRelationalProcessorsEnabledEventHandler, addIsLocalDrivesEnabledEventHandler, addIsPublicDrivesEnabledEventHandler, addIsRelationalProcessorsEnabledEventHandler, addIsSentryTracingEnabledEventHandler, addLoadingEventHandler, addLocalDrivesEnabledEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRemoteDrive, addRenownAdaptersEventHandler, addRenownChainIdEventHandler, addRenownEventHandler, addRenownNetworkIdEventHandler, addRenownUrlEventHandler, addRequiresHardRefreshEventHandler, addResetSelectedNodeEventHandler, addRevisionHistoryVisibleEventHandler, addRouterBasenameEventHandler, addSelectedDriveIdEventHandler, addSelectedNodeIdEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addSentryDsnEventHandler, addSentryEnvEventHandler, addSentryReleaseEventHandler, addSetSelectedDriveOnPopStateEventHandler, addSetSelectedNodeOnPopStateEventHandler, addStudioModeEventHandler, addSwitchboardUrlEventHandler, addSyncSelectionOnPopStateEventHandler, addToastEventHandler, addVersionCheckIntervalEventHandler, addVersionEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, ambientRenownSigner, ambientRenownTokenProvider, applySearchUpdate, backendAuthStatusOf, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, browserNavigation, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, buildFolderZip, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createClient, createDispatch, createDriveArrivals, createDriveChangeHandler, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, createUrlWithPreservedParams, deleteDrive, deleteNode, deriveSystemUrl, describeGraphQLDocument, diffStateShapes, dispatchActions, downloadDocument, downloadFolderZip, driveIdFromUrl, dropAllReactorStorage, dropDriveNode, ensurePHEventHandlers, ensurePHStore, expandBulkArchive, exportFile, extractDriveIdFromPath, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, fetchDrive, fetchDriveInfo, findDerivedId, findDriveBySlug, findDriveBySlugOrId, findIsServableOverGraphQL, findUuid, getActivePHStore, getAnalyticsStore, getAttachmentClient, getCurrentPathname, getDocumentExtension, getDocumentGraphqlQuery, getDocumentStateSelection, getDocumentUpgradePreview, getDocumentVersionStatus, getDrive, getDriveIdBySlug, getDriveName, getDriveNode, getDrives, getFullReactorClient, getGlobal, getNodeTarget, getPHNavigation, getPHStore, getPHStoreSubscribe, getPackageInfo, getPackagePage, getPackages, getPackagesByDocumentType, getPackagesForDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardBaseFromChannelUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getTargetHref, getUserPermissions, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hasHostNavigation, hasPreloadBandwidth, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initConnectCrypto, initRenownCrypto, initTheme, invalidateDriveNodes, isAuthRefusalClose, isBackendAuthError, isDeadlineError, isDocumentTypeCache, isDocumentTypeSupported, isDriveAuthError, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, isGlobalSearchParam, isGraphQLReactorClient, isNodeFetch, isOperationCache, isPlainClick, isRoutedModal, isSettingsTarget, isoStringFromDateTime, listAllDriveNodes, listDriveIds, loadDocumentsOfType, loadDriveNodes, loadFile, loading, login, logout, makeAuthConnectionParams, makeAuthMiddleware, makeDriveSlug, makeDriveUrlComponent, makeNodeSlug, makePHEventFunctions, markLocalDriveWrite, modalFromSearch, modalHref, modalSearch, notifyPHStore, onVetraPackageManager, openRenown, openTarget, openTargetWith, openedFromIndex, packageFromDocumentModels, parseDriveUrl, parseRevisionHistoryPage, peekDriveNode, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromGetDocument, phDocumentFromMutation, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, prefetchDocument, preloadDrive, preloadDriveApp, preloadEditorModule, preloadNode, preloadTarget, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, recordBackendAuthError, recordToSearch, refreshDrive, refreshDriveMembership, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, resolveDocumentModelModule, resolveDriveRoute, resolveSearchUpdate, resolveUrlPathname, revisionMapFromRevisionsList, searchPackages, searchParamsToString, searchToRecord, setAllowList, setAllowedDocumentTypes, setAnalyticsDatabaseName, setAttachmentService, setBackendAuth, setBasePath, setBrowserOpenSync, setCliVersion, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveMetadata, setDriveSharingType, setDrives, setDrivesPreserveStrategy, setEnabledEditors, setFeatures, setFileUploadOperationsChunkSize, setFullReactorClient, setGaTrackingId, setGlobal, setGraphQLReactorClient, setIsAddCloudDrivesEnabled, setIsAddDriveEnabled, setIsAddLocalDrivesEnabled, setIsAddPublicDrivesEnabled, setIsAnalyticsDatabaseWorkerEnabled, setIsAnalyticsEnabled, setIsAnalyticsExternalProcessorsEnabled, setIsCloudDrivesEnabled, setIsDeleteCloudDrivesEnabled, setIsDeleteLocalDrivesEnabled, setIsDeletePublicDrivesEnabled, setIsDiffAnalyticsEnabled, setIsDocumentModelSelectionSettingsEnabled, setIsDragAndDropEnabled, setIsDriveAnalyticsEnabled, setIsEditorDebugModeEnabled, setIsEditorReadModeEnabled, setIsExternalControlsEnabled, setIsExternalPackagesEnabled, setIsExternalProcessorsEnabled, setIsExternalRelationalProcessorsEnabled, setIsLocalDrivesEnabled, setIsPublicDrivesEnabled, setIsRelationalProcessorsEnabled, setIsSentryTracingEnabled, setLoading, setLocalDrivesEnabled, setLogLevel, setPGliteDB, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setPreferredEditorOnNode, setReactorClient, setReactorClientModule, setRenown, setRenownAdapters, setRenownChainId, setRenownNetworkId, setRenownUrl, setRequiresHardRefresh, setRevisionHistoryPage, setRevisionHistoryVisible, setRouterBasename, setSearchParams, setSelectedDrive, setSelectedDriveId, setSelectedNode, setSelectedNodeId, setSelectedTimelineItem, setSelectedTimelineRevision, setSentryDsn, setSentryEnv, setSentryRelease, setStudioMode, setSwitchboardUrl, setVersion, setVersionCheckInterval, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, signStampedAction, sortNodesByName, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscribeToPHValue, subscriptionsUrlFromGraphqlUrl, switchboardFetch, syncSelectionFromPath, takeLocalDriveWrite, targetPathname, toLegacyNode, trackDriveArrival, trimTrailingSlash, truncateAllTables, untilDriveListed, upgradeDocument, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAnalyticsDatabaseName, useAppModuleById, useAppModules, useAttachmentPreview, useAttachmentService, useAttachmentUpload, useAttachments, useBackendAuth, useBasePath, useCanExecute, useCliVersion, useCloseNode, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentLinkProps, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTarget, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocumentVersionStatus, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDocumentsOfType, useDownloadDocument, useDownloadFolder, useDragNode, useDriveById, useDriveContext, useDriveNode, useDriveNodes, useDriveNodesCache, useDriveSystemInfo, useDrives, useDrivesPreserveStrategy, useDropFile, useDropNode, useEditorDocumentContext, useEditorFileDrop, useEditorModuleById, useEditorModuleFor, useEditorModules, useEditorModulesForDocumentType, useEditorPreloader, useEnabledEditors, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFileUploadOperationsChunkSize, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGaTrackingId, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddCloudDrivesEnabled, useIsAddDriveEnabled, useIsAddLocalDrivesEnabled, useIsAddPublicDrivesEnabled, useIsAnalyticsDatabaseWorkerEnabled, useIsAnalyticsEnabled, useIsAnalyticsExternalProcessorsEnabled, useIsCloudDrivesEnabled, useIsDeleteCloudDrivesEnabled, useIsDeleteLocalDrivesEnabled, useIsDeletePublicDrivesEnabled, useIsDiffAnalyticsEnabled, useIsDocumentModelSelectionSettingsEnabled, useIsDragAndDropEnabled, useIsDriveAnalyticsEnabled, useIsEditorDebugModeEnabled, useIsEditorReadModeEnabled, useIsExternalControlsEnabled, useIsExternalPackagesEnabled, useIsExternalProcessorsEnabled, useIsExternalRelationalProcessorsEnabled, useIsLocalDrivesEnabled, useIsPublicDrivesEnabled, useIsRelationalProcessorsEnabled, useIsSentryTracingEnabled, useLinkProps, useLoading, useLocalDrivesEnabled, useLogLevel, useLoginStatus, useModalLinkProps, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodeTarget, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, useOpenNode, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHNavigation, usePHStore, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, usePreloadDrive, usePreloadNode, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRenown, useRenownAdapters, useRenownAuth, useRenownAuthAsync, useRenownChainId, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownNetworkId, useRenownSessionCookie, useRenownSessionSynced, useRenownUrl, useRenownWalletAdapter, useRequiresHardRefresh, useResetPHGlobalConfig, useRevisionHistoryPage, useRevisionHistoryVisible, useRouterBasename, useSearchParams, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSentryDsn, useSentryEnv, useSentryRelease, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useSetSearchParams, useSetSelectedDrive, useSetSelectedNode, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSwitchboardClient, useSwitchboardUrl, useSync, useSyncList, useTheme, useUser, useUserPermissions, useVersion, useVersionCheckInterval, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument, viewFilterInputFromViewFilter, waitForArrival, waitForDocumentReady, withRequestDeadline, withStreamedBodies, withoutModalSearch };
3861
+ export { ActionTracker, BaseStorage, BatchJobFailedError, BrowserLocalStorage, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, CopyIcon, DEFAULT_BATCH_REQUEST_TIMEOUT_MS, DEFAULT_BREAKER, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DRIVE_ARRIVAL_MAX_WAIT_MS, DRIVE_DOCUMENT_TYPES, DisconnectIcon, DocumentCache, DocumentChangeType, DocumentIntegrityService, DocumentModelNotFoundError, DocumentTypeMismatchError, DriveCollectionId, DriveProvider, EDITOR_FILE_DROP_OPT_OUT_ATTR, EditorDocumentProvider, FEATURE_FLAG_PARAM_PREFIX, GET_MANY_CHUNK_SIZE, GLOBAL_SEARCH_PARAMS, GetDocumentAtConsistencyDocument, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorProvider, GraphQLWrongBackendError, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, JobFailedError, MODAL_SEARCH_PARAM, MutateDocumentWithOperationsDocument, NoSelectedDocumentError, OPENED_FROM_STATE_KEY, OperationRejectedError, PHStoreProvider, PH_LOCATION_CHANGE_EVENT, PREFETCH_WAIT_MS, PollBehavior, PropagationMode, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, REVISION_HISTORY_PAGE_PARAM, REVISION_HISTORY_PARAM, ReactorBuilder, ReactorClientBuilder, ReactorOperationFieldsFragmentDoc, RegistryClient, RelationalDbProcessor, RemoteClient, RemoteDocumentController, Renown, RenownAuthButton, RenownInitialUserProvider, RenownLoginButton, RenownLogo, RenownProvider, RenownUserButton, RenownWalletProvider, SETTINGS_PATH, SpinnerIcon, StaticPackageManager, SubgraphSdkRegistry, SwitchboardUnreachableError, SyncOperationStatus, UnsupportedDocumentTypeError, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAnalyticsDatabaseNameEventHandler, addAttachmentServiceEventHandler, addBackendAuthEventHandler, addBasePathEventHandler, addCliVersionEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDriveNodesEventHandler, addDrivesEventHandler, addDrivesPreserveStrategyEventHandler, addEnabledEditorsEventHandler, addFeaturesEventHandler, addFileUploadOperationsChunkSizeEventHandler, addFileWithProgress, addFolder, addFullReactorClientEventHandler, addGaTrackingIdEventHandler, addGraphQLReactorClientEventHandler, addIsAddCloudDrivesEnabledEventHandler, addIsAddDriveEnabledEventHandler, addIsAddLocalDrivesEnabledEventHandler, addIsAddPublicDrivesEnabledEventHandler, addIsAnalyticsDatabaseWorkerEnabledEventHandler, addIsAnalyticsEnabledEventHandler, addIsAnalyticsExternalProcessorsEnabledEventHandler, addIsCloudDrivesEnabledEventHandler, addIsDeleteCloudDrivesEnabledEventHandler, addIsDeleteLocalDrivesEnabledEventHandler, addIsDeletePublicDrivesEnabledEventHandler, addIsDiffAnalyticsEnabledEventHandler, addIsDocumentModelSelectionSettingsEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsDriveAnalyticsEnabledEventHandler, addIsEditorDebugModeEnabledEventHandler, addIsEditorReadModeEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addIsExternalPackagesEnabledEventHandler, addIsExternalProcessorsEnabledEventHandler, addIsExternalRelationalProcessorsEnabledEventHandler, addIsLocalDrivesEnabledEventHandler, addIsPublicDrivesEnabledEventHandler, addIsRelationalProcessorsEnabledEventHandler, addIsSentryTracingEnabledEventHandler, addLoadingEventHandler, addLocalDrivesEnabledEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRemoteDrive, addRenownAdaptersEventHandler, addRenownChainIdEventHandler, addRenownEventHandler, addRenownNetworkIdEventHandler, addRenownUrlEventHandler, addRequiresHardRefreshEventHandler, addResetSelectedNodeEventHandler, addRevisionHistoryVisibleEventHandler, addRouterBasenameEventHandler, addSelectedDriveIdEventHandler, addSelectedNodeIdEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addSentryDsnEventHandler, addSentryEnvEventHandler, addSentryReleaseEventHandler, addSetSelectedDriveOnPopStateEventHandler, addSetSelectedNodeOnPopStateEventHandler, addStudioModeEventHandler, addSwitchboardUrlEventHandler, addSyncSelectionOnPopStateEventHandler, addToastEventHandler, addVersionCheckIntervalEventHandler, addVersionEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, ambientRenownSigner, ambientRenownTokenProvider, applySearchUpdate, backendAuthStatusOf, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, browserNavigation, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, buildFolderZip, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createClient, createDelegation, createDispatch, createDriveArrivals, createDriveChangeHandler, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, createUrlWithPreservedParams, decodeDelegation, deleteDrive, deleteNode, deriveSystemUrl, describeGraphQLDocument, desktopShell, diffStateShapes, dispatchActions, downloadDocument, downloadFolderZip, driveIdFromUrl, dropAllReactorStorage, dropDriveNode, ensurePHEventHandlers, ensurePHStore, expandBulkArchive, exportFile, extractDriveIdFromPath, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, fetchDrive, fetchDriveInfo, findDerivedId, findDriveBySlug, findDriveBySlugOrId, findIsServableOverGraphQL, findUuid, getActivePHStore, getAnalyticsStore, getAttachmentClient, getCurrentPathname, getDocumentExtension, getDocumentGraphqlQuery, getDocumentStateSelection, getDocumentUpgradePreview, getDocumentVersionStatus, getDrive, getDriveIdBySlug, getDriveName, getDriveNode, getDrives, getFullReactorClient, getGlobal, getNodeTarget, getPHNavigation, getPHStore, getPHStoreSubscribe, getPackageInfo, getPackagePage, getPackages, getPackagesByDocumentType, getPackagesForDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardBaseFromChannelUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getTargetHref, getUserPermissions, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hasHostNavigation, hasPreloadBandwidth, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initConnectCrypto, initRenownCrypto, initTheme, invalidateDriveNodes, isAuthRefusalClose, isBackendAuthError, isDeadlineError, isDocumentTypeCache, isDocumentTypeSupported, isDriveAuthError, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, isGlobalSearchParam, isGraphQLReactorClient, isNodeFetch, isOperationCache, isPlainClick, isRoutedModal, isSettingsTarget, isoStringFromDateTime, listAllDriveNodes, listDriveIds, loadDocumentsOfType, loadDriveNodes, loadFile, loading, login, logout, makeAuthConnectionParams, makeAuthMiddleware, makeDriveSlug, makeDriveUrlComponent, makeNodeSlug, makePHEventFunctions, markLocalDriveWrite, modalFromSearch, modalHref, modalSearch, notifyPHStore, onVetraPackageManager, openRenown, openTarget, openTargetWith, openedFromIndex, packageFromDocumentModels, parseDriveUrl, parseRevisionHistoryPage, peekDriveNode, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromGetDocument, phDocumentFromMutation, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, prefetchDocument, preloadDrive, preloadDriveApp, preloadEditorModule, preloadNode, preloadTarget, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, recordBackendAuthError, recordToSearch, refreshDrive, refreshDriveMembership, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, resolveDocumentModelModule, resolveDriveRoute, resolveSearchUpdate, resolveUrlPathname, revisionMapFromRevisionsList, searchPackages, searchParamsToString, searchToRecord, setAllowList, setAllowedDocumentTypes, setAnalyticsDatabaseName, setAttachmentService, setBackendAuth, setBasePath, setBrowserOpenSync, setCliVersion, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveMetadata, setDriveSharingType, setDrives, setDrivesPreserveStrategy, setEnabledEditors, setFeatures, setFileUploadOperationsChunkSize, setFullReactorClient, setGaTrackingId, setGlobal, setGraphQLReactorClient, setIsAddCloudDrivesEnabled, setIsAddDriveEnabled, setIsAddLocalDrivesEnabled, setIsAddPublicDrivesEnabled, setIsAnalyticsDatabaseWorkerEnabled, setIsAnalyticsEnabled, setIsAnalyticsExternalProcessorsEnabled, setIsCloudDrivesEnabled, setIsDeleteCloudDrivesEnabled, setIsDeleteLocalDrivesEnabled, setIsDeletePublicDrivesEnabled, setIsDiffAnalyticsEnabled, setIsDocumentModelSelectionSettingsEnabled, setIsDragAndDropEnabled, setIsDriveAnalyticsEnabled, setIsEditorDebugModeEnabled, setIsEditorReadModeEnabled, setIsExternalControlsEnabled, setIsExternalPackagesEnabled, setIsExternalProcessorsEnabled, setIsExternalRelationalProcessorsEnabled, setIsLocalDrivesEnabled, setIsPublicDrivesEnabled, setIsRelationalProcessorsEnabled, setIsSentryTracingEnabled, setLoading, setLocalDrivesEnabled, setLogLevel, setPGliteDB, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setPreferredEditorOnNode, setReactorClient, setReactorClientModule, setRenown, setRenownAdapters, setRenownChainId, setRenownNetworkId, setRenownUrl, setRequiresHardRefresh, setRevisionHistoryPage, setRevisionHistoryVisible, setRouterBasename, setSearchParams, setSelectedDrive, setSelectedDriveId, setSelectedNode, setSelectedNodeId, setSelectedTimelineItem, setSelectedTimelineRevision, setSentryDsn, setSentryEnv, setSentryRelease, setStudioMode, setSwitchboardUrl, setVersion, setVersionCheckInterval, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, signStampedAction, sortNodesByName, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscribeToPHValue, subscriptionsUrlFromGraphqlUrl, switchboardFetch, syncSelectionFromPath, takeLocalDriveWrite, targetPathname, toLegacyNode, trackDriveArrival, trimTrailingSlash, truncateAllTables, untilDriveListed, upgradeDocument, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAnalyticsDatabaseName, useAppModuleById, useAppModules, useAttachmentPreview, useAttachmentService, useAttachmentUpload, useAttachments, useBackendAuth, useBasePath, useCanExecute, useCliVersion, useCloseNode, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentLinkProps, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTarget, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocumentVersionStatus, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDocumentsOfType, useDownloadDocument, useDownloadFolder, useDragNode, useDriveById, useDriveContext, useDriveNode, useDriveNodes, useDriveNodesCache, useDriveSystemInfo, useDrives, useDrivesPreserveStrategy, useDropFile, useDropNode, useEditorDocumentContext, useEditorFileDrop, useEditorModuleById, useEditorModuleFor, useEditorModules, useEditorModulesForDocumentType, useEditorPreloader, useEnabledEditors, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFileUploadOperationsChunkSize, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGaTrackingId, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddCloudDrivesEnabled, useIsAddDriveEnabled, useIsAddLocalDrivesEnabled, useIsAddPublicDrivesEnabled, useIsAnalyticsDatabaseWorkerEnabled, useIsAnalyticsEnabled, useIsAnalyticsExternalProcessorsEnabled, useIsCloudDrivesEnabled, useIsDeleteCloudDrivesEnabled, useIsDeleteLocalDrivesEnabled, useIsDeletePublicDrivesEnabled, useIsDiffAnalyticsEnabled, useIsDocumentModelSelectionSettingsEnabled, useIsDragAndDropEnabled, useIsDriveAnalyticsEnabled, useIsEditorDebugModeEnabled, useIsEditorReadModeEnabled, useIsExternalControlsEnabled, useIsExternalPackagesEnabled, useIsExternalProcessorsEnabled, useIsExternalRelationalProcessorsEnabled, useIsLocalDrivesEnabled, useIsPublicDrivesEnabled, useIsRelationalProcessorsEnabled, useIsSentryTracingEnabled, useLinkProps, useLoading, useLocalDrivesEnabled, useLogLevel, useLoginStatus, useModalLinkProps, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodeTarget, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, useOpenNode, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHNavigation, usePHStore, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, usePreloadDrive, usePreloadNode, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRenown, useRenownAdapters, useRenownAuth, useRenownAuthAsync, useRenownChainId, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownNetworkId, useRenownSessionCookie, useRenownSessionSynced, useRenownUrl, useRenownWalletAdapter, useRequiresHardRefresh, useResetPHGlobalConfig, useRevisionHistoryPage, useRevisionHistoryVisible, useRouterBasename, useSearchParams, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSentryDsn, useSentryEnv, useSentryRelease, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useSetSearchParams, useSetSelectedDrive, useSetSelectedNode, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSwitchboardClient, useSwitchboardUrl, useSync, useSyncList, useTheme, useUser, useUserPermissions, useVersion, useVersionCheckInterval, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument, viewFilterInputFromViewFilter, waitForArrival, waitForDocumentReady, withRequestDeadline, withStreamedBodies, withoutModalSearch };
3862
3862
 
3863
3863
  //# sourceMappingURL=index.js.map
@@ -3,7 +3,7 @@ import { R as setSearchParams, a as useRenown, c as RENOWN_INITIAL_UNKNOWN, i as
3
3
  import { Children, cloneElement, createContext, forwardRef, isValidElement, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { logger } from "document-model";
6
- import { BrowserKeyStorage, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, ISSUER_TYPE, MissingSwitchboardError, RenownBuilder, RenownCryptoBuilder, VERIFIABLE_CREDENTIAL_EIP712_TYPE, readPersistedUser } from "@renown/sdk";
6
+ import { BrowserKeyStorage, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, ISSUER_TYPE, MissingSwitchboardError, RenownBuilder, RenownCryptoBuilder, VERIFIABLE_CREDENTIAL_EIP712_TYPE, consoleLogin, createDelegation, decodeDelegation, readPersistedUser } from "@renown/sdk";
7
7
  import { LoginMethod, isWalletRedirectReturn, resolveAdapters } from "@renown/sdk/wallet";
8
8
  //#region src/renown/wallet-registry.ts
9
9
  let activeWalletController;
@@ -114,6 +114,25 @@ const RENOWN_RETURN_URL_STRIPPED_PARAMS = [
114
114
  ];
115
115
  //#endregion
116
116
  //#region src/renown/session.ts
117
+ /** The shell around this window, when it offers one. */
118
+ function desktopShell() {
119
+ if (typeof window === "undefined") return void 0;
120
+ return window.phDesktop;
121
+ }
122
+ async function signInThroughShell(renown, renownUrl, shell) {
123
+ try {
124
+ await consoleLogin(renown, {
125
+ renownUrl,
126
+ open: (url) => shell.openExternal(url),
127
+ onOpenFailed: (url) => {
128
+ logger.error("Could not open the sign-in page: @url", url);
129
+ }
130
+ });
131
+ notifyReactorClientCredentialsChanged();
132
+ } catch (error) {
133
+ logger.error(error instanceof Error ? error.message : String(error));
134
+ }
135
+ }
117
136
  function openRenown(documentId) {
118
137
  const renown = getPHStore()?.renown;
119
138
  let renownUrl = renown?.baseUrl;
@@ -121,8 +140,15 @@ function openRenown(documentId) {
121
140
  logger.warn("Renown instance not found, falling back to: @url", RENOWN_URL);
122
141
  renownUrl = RENOWN_URL;
123
142
  }
143
+ const shell = desktopShell();
124
144
  if (documentId) {
125
- window.open(`${renownUrl}/profile/${documentId}`, "_blank")?.focus();
145
+ const profile = `${renownUrl}/profile/${documentId}`;
146
+ if (shell) shell.openExternal(profile);
147
+ else window.open(profile, "_blank")?.focus();
148
+ return;
149
+ }
150
+ if (shell && renown) {
151
+ signInThroughShell(renown, renownUrl, shell);
126
152
  return;
127
153
  }
128
154
  const url = new URL(renownUrl);
@@ -1393,6 +1419,6 @@ function useRenownWalletAdapter(id) {
1393
1419
  return controller;
1394
1420
  }
1395
1421
  //#endregion
1396
- export { RENOWN_CHAIN_ID as A, logout as C, CREDENTIAL_TYPES as D, CREDENTIAL_SUBJECT_TYPE as E, RENOWN_RETURN_URL_STRIPPED_PARAMS as M, RENOWN_URL as N, DOMAIN_TYPE as O, VERIFIABLE_CREDENTIAL_EIP712_TYPE as P, login as S, CREDENTIAL_SCHEMA_EIP712_TYPE as T, RenownLogo as _, Renown as a, useRenownAuth as b, useRenownSessionSynced as c, RenownAuthButton as d, RenownUserButton as f, DisconnectIcon as g, CopyIcon as h, RenownWalletProvider as i, RENOWN_NETWORK_ID as j, ISSUER_TYPE as k, initConnectCrypto as l, ChevronDownIcon as m, useRenownLoginMethods as n, useRenownInit as o, RenownLoginButton as p, RenownProvider as r, useRenownSessionCookie as s, useRenownWalletAdapter as t, initRenownCrypto as u, SpinnerIcon as v, openRenown as w, useRenownAuthAsync as x, UserIcon as y };
1422
+ export { CREDENTIAL_TYPES as A, useRenownAuthAsync as C, openRenown as D, logout as E, RENOWN_RETURN_URL_STRIPPED_PARAMS as F, RENOWN_URL as I, VERIFIABLE_CREDENTIAL_EIP712_TYPE as L, ISSUER_TYPE as M, RENOWN_CHAIN_ID as N, CREDENTIAL_SCHEMA_EIP712_TYPE as O, RENOWN_NETWORK_ID as P, useRenownAuth as S, login as T, CopyIcon as _, RenownProvider as a, SpinnerIcon as b, useRenownInit as c, initConnectCrypto as d, initRenownCrypto as f, ChevronDownIcon as g, RenownLoginButton as h, useRenownLoginMethods as i, DOMAIN_TYPE as j, CREDENTIAL_SUBJECT_TYPE as k, useRenownSessionCookie as l, RenownUserButton as m, decodeDelegation as n, RenownWalletProvider as o, RenownAuthButton as p, useRenownWalletAdapter as r, Renown as s, createDelegation as t, useRenownSessionSynced as u, DisconnectIcon as v, desktopShell as w, UserIcon as x, RenownLogo as y };
1397
1423
 
1398
- //# sourceMappingURL=renown-a_8pPr10.js.map
1424
+ //# sourceMappingURL=renown-B3MUaiq7.js.map