@powerhousedao/connect 1.0.0-dev.224 → 1.0.0-dev.225
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{app-Cln9uYMI.css → app-ClxoJuGw.css} +1 -1
- package/dist/assets/{app-CH-KhVaM.js → app-DS1CKnZX.js} +312 -89
- package/dist/assets/{app-loader-BY0bGSIq.css → app-loader-C6FgR-r9.css} +4 -12
- package/dist/assets/{app-loader-Ca6u8xsq.js → app-loader-CQk_i65y.js} +10 -6
- package/dist/assets/{ccip-aMuO0u6_.js → ccip-h0SFswcH.js} +3 -3
- package/dist/assets/{content-BUG93V5L.js → content-dCYtAq_j.js} +35 -12
- package/dist/assets/{index-DVpn6_8o.js → index-BP3HovgJ.js} +3 -3
- package/dist/assets/{index-CMO0jmij.js → index-BaJByDnQ.js} +4 -4
- package/dist/assets/{index-CWLJWRjB.js → index-BgGO2KiQ.js} +3 -3
- package/dist/assets/{main.BenWGw4J.js → main.BTNubzb3.js} +1 -1
- package/dist/assets/{style-CQ-MDl3w.css → style-DFCtruT_.css} +1 -1
- package/dist/index.html +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-DZDC5PJZ.js → chunk-45DCPCA7.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-YBWJLG4N.js → chunk-4C7V2GAN.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-KDBDV2ML.js → chunk-55TZMPQQ.js} +4 -0
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-IFKFX4E7.js → chunk-726EFDQ6.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-R3DNAUCO.js → chunk-F3RCGUF6.js} +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-2457SE2E.js → chunk-FW7N6EJH.js} +55 -65
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-MHTRZST7.js → chunk-G6LMXRY5.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-OS3WZ4EZ.js → chunk-GAG4Z4JD.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-2ZNMEO7F.js → chunk-M2UUQ5LH.js} +4 -4
- package/dist/modules/@powerhousedao/reactor-browser/chunk-QXHTR6KF.js +0 -0
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-AF3TNTAG.js → chunk-X3GCDCJN.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/context/index.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +10 -10
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useAddDebouncedOperations.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useConnectCrypto.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentDrives.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentEditor.js +7 -7
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/index.js +14 -13
- package/dist/modules/@powerhousedao/reactor-browser/reactor.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/renown/types.js +1 -0
- package/dist/vite-envs.sh +1 -1
- package/package.json +10 -13
- /package/dist/modules/@powerhousedao/reactor-browser/{chunk-DI2LBUDE.js → chunk-LH2T6NLN.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-h0SFswcH.js","assets/main.BTNubzb3.js","assets/app-loader-CQk_i65y.js","assets/app-loader-C6FgR-r9.css","assets/index-BgGO2KiQ.js","assets/style-DFCtruT_.css","assets/index-BaJByDnQ.js","assets/content-dCYtAq_j.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -19,9 +19,9 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, dispatch_fn, _d, _queries, _e, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client2, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
22
|
+
import { _ as __vitePreload } from "./main.BTNubzb3.js";
|
|
23
23
|
import { jsxs, jsx as jsx$1, Fragment } from "react/jsx-runtime";
|
|
24
|
-
import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as addTrigger, aJ as ReadDriveNotFoundError, aK as openUrl, aL as getNodeOptions, aM as DRIVE, aN as FOLDER, aO as requestPublicDrive, aP as serviceWorkerManager, aQ as packageJson, aR as t$1, aS as gql, aT as request } from "./app-loader-
|
|
24
|
+
import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as addTrigger, aJ as ReadDriveNotFoundError, aK as openUrl, aL as getNodeOptions, aM as DRIVE, aN as FOLDER, aO as requestPublicDrive, aP as serviceWorkerManager, aQ as packageJson, aR as t$1, aS as gql, aT as request } from "./app-loader-CQk_i65y.js";
|
|
25
25
|
import * as React from "react";
|
|
26
26
|
import React__default, { forwardRef, useLayoutEffect, useEffect, useState, useRef, useCallback, useContext, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useSyncExternalStore, useId as useId$1, isValidElement, cloneElement, Children, useReducer, useDebugValue, Suspense } from "react";
|
|
27
27
|
import "@powerhousedao/reactor-browser";
|
|
@@ -14751,7 +14751,7 @@ function ConnectDropdownMenu(props) {
|
|
|
14751
14751
|
return jsxs(DropdownMenu, { onOpenChange, open, children: [jsx$1(DropdownMenuTrigger, { asChild: true, className: "outline-none", children }), jsx$1(DropdownMenuContent, { className: "modal-shadow cursor-pointer rounded-2xl bg-white text-sm font-medium text-slate-200", children: items.map(({ id, label, icon, className }) => jsxs(DropdownMenuItem, { className: twMerge("flex items-center px-5 py-2 outline-none first-of-type:rounded-t-2xl first-of-type:pt-3 last-of-type:rounded-b-2xl last-of-type:pb-3 hover:bg-slate-50", className), onClick: (e2) => e2.stopPropagation(), onSelect: () => onItemClick(id), children: [icon ? jsx$1("span", { className: "mr-2 inline-block", children: icon }) : null, label] }, id)) })] });
|
|
14752
14752
|
}
|
|
14753
14753
|
const ImgPowerhouse = "/assets/powerhouse-rounded-CeKGGUG4.png";
|
|
14754
|
-
const version$4 = "2.23.
|
|
14754
|
+
const version$4 = "2.23.10";
|
|
14755
14755
|
let errorConfig = {
|
|
14756
14756
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath2 = "", docsSlug }) => docsPath2 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath2}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
14757
14757
|
version: `viem@${version$4}`
|
|
@@ -20239,7 +20239,7 @@ async function call(client2, args) {
|
|
|
20239
20239
|
} catch (err) {
|
|
20240
20240
|
const data2 = getRevertErrorData(err);
|
|
20241
20241
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
20242
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
20242
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-h0SFswcH.js");
|
|
20243
20243
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
20244
20244
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
20245
20245
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -28623,7 +28623,7 @@ function WagmiProvider(parameters) {
|
|
|
28623
28623
|
const props = { value: config };
|
|
28624
28624
|
return createElement(Hydrate, parameters, createElement(WagmiContext$1.Provider, props, children));
|
|
28625
28625
|
}
|
|
28626
|
-
const version = "2.14.
|
|
28626
|
+
const version = "2.14.13";
|
|
28627
28627
|
const getVersion = () => `wagmi@${version}`;
|
|
28628
28628
|
class BaseError5 extends BaseError$1 {
|
|
28629
28629
|
constructor() {
|
|
@@ -39456,6 +39456,56 @@ const edgewareTestnet = /* @__PURE__ */ defineChain({
|
|
|
39456
39456
|
}
|
|
39457
39457
|
}
|
|
39458
39458
|
});
|
|
39459
|
+
const eduChain = /* @__PURE__ */ defineChain({
|
|
39460
|
+
id: 41923,
|
|
39461
|
+
name: "EDU Chain",
|
|
39462
|
+
nativeCurrency: {
|
|
39463
|
+
decimals: 18,
|
|
39464
|
+
name: "EDU",
|
|
39465
|
+
symbol: "EDU"
|
|
39466
|
+
},
|
|
39467
|
+
rpcUrls: {
|
|
39468
|
+
default: {
|
|
39469
|
+
http: ["https://rpc.edu-chain.raas.gelato.cloud"]
|
|
39470
|
+
}
|
|
39471
|
+
},
|
|
39472
|
+
blockExplorers: {
|
|
39473
|
+
default: {
|
|
39474
|
+
name: "EDU Chain Explorer",
|
|
39475
|
+
url: "https://educhain.blockscout.com/"
|
|
39476
|
+
}
|
|
39477
|
+
},
|
|
39478
|
+
testnet: false
|
|
39479
|
+
});
|
|
39480
|
+
const eduChainTestnet = /* @__PURE__ */ defineChain({
|
|
39481
|
+
id: 656476,
|
|
39482
|
+
name: "EDU Chain Testnet",
|
|
39483
|
+
nativeCurrency: {
|
|
39484
|
+
decimals: 18,
|
|
39485
|
+
name: "EDU",
|
|
39486
|
+
symbol: "EDU"
|
|
39487
|
+
},
|
|
39488
|
+
rpcUrls: {
|
|
39489
|
+
default: {
|
|
39490
|
+
http: ["https://rpc.open-campus-codex.gelato.digital/"],
|
|
39491
|
+
webSocket: ["wss://ws.open-campus-codex.gelato.digital"]
|
|
39492
|
+
}
|
|
39493
|
+
},
|
|
39494
|
+
blockExplorers: {
|
|
39495
|
+
default: {
|
|
39496
|
+
name: "EDU Chain Testnet Explorer",
|
|
39497
|
+
url: "https://opencampus-codex.blockscout.com",
|
|
39498
|
+
apiUrl: "https://opencampus-codex.blockscout.com/api"
|
|
39499
|
+
}
|
|
39500
|
+
},
|
|
39501
|
+
contracts: {
|
|
39502
|
+
multicall3: {
|
|
39503
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
39504
|
+
blockCreated: 15514133
|
|
39505
|
+
}
|
|
39506
|
+
},
|
|
39507
|
+
testnet: true
|
|
39508
|
+
});
|
|
39459
39509
|
const ekta = /* @__PURE__ */ defineChain({
|
|
39460
39510
|
id: 1994,
|
|
39461
39511
|
name: "Ekta",
|
|
@@ -41011,7 +41061,10 @@ const guruNetwork = /* @__PURE__ */ defineChain({
|
|
|
41011
41061
|
},
|
|
41012
41062
|
rpcUrls: {
|
|
41013
41063
|
default: {
|
|
41014
|
-
http: [
|
|
41064
|
+
http: [
|
|
41065
|
+
"https://rpc-main.gurunetwork.ai",
|
|
41066
|
+
"https://rpc.gurunetwork.ai/archive/260"
|
|
41067
|
+
]
|
|
41015
41068
|
}
|
|
41016
41069
|
},
|
|
41017
41070
|
blockExplorers: {
|
|
@@ -41038,7 +41091,10 @@ const guruTestnet = /* @__PURE__ */ defineChain({
|
|
|
41038
41091
|
},
|
|
41039
41092
|
rpcUrls: {
|
|
41040
41093
|
default: {
|
|
41041
|
-
http: [
|
|
41094
|
+
http: [
|
|
41095
|
+
"https://rpc-test.gurunetwork.ai",
|
|
41096
|
+
"https://rpc.gurunetwork.ai/archive/261"
|
|
41097
|
+
]
|
|
41042
41098
|
}
|
|
41043
41099
|
},
|
|
41044
41100
|
blockExplorers: {
|
|
@@ -41956,6 +42012,25 @@ const jbcTestnet = /* @__PURE__ */ defineChain({
|
|
|
41956
42012
|
},
|
|
41957
42013
|
testnet: true
|
|
41958
42014
|
});
|
|
42015
|
+
const juneo = /* @__PURE__ */ defineChain({
|
|
42016
|
+
id: 45003,
|
|
42017
|
+
name: "JUNE-Chain",
|
|
42018
|
+
nativeCurrency: {
|
|
42019
|
+
decimals: 18,
|
|
42020
|
+
name: "JUNE-Chain",
|
|
42021
|
+
symbol: "JUNE"
|
|
42022
|
+
},
|
|
42023
|
+
rpcUrls: {
|
|
42024
|
+
default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/JUNE/rpc"] }
|
|
42025
|
+
},
|
|
42026
|
+
blockExplorers: {
|
|
42027
|
+
default: {
|
|
42028
|
+
name: "Juneo Scan",
|
|
42029
|
+
url: "https://juneoscan.io/chain/2",
|
|
42030
|
+
apiUrl: "https://juneoscan.io/chain/2/api"
|
|
42031
|
+
}
|
|
42032
|
+
}
|
|
42033
|
+
});
|
|
41959
42034
|
const karura = /* @__PURE__ */ defineChain({
|
|
41960
42035
|
id: 686,
|
|
41961
42036
|
name: "Karura",
|
|
@@ -43233,6 +43308,28 @@ const mchVerse = /* @__PURE__ */ defineChain({
|
|
|
43233
43308
|
},
|
|
43234
43309
|
testnet: false
|
|
43235
43310
|
});
|
|
43311
|
+
const megaethTestnet = /* @__PURE__ */ defineChain({
|
|
43312
|
+
id: 6342,
|
|
43313
|
+
name: "MegaETH Testnet",
|
|
43314
|
+
nativeCurrency: {
|
|
43315
|
+
name: "MegaETH Testnet Ether",
|
|
43316
|
+
symbol: "ETH",
|
|
43317
|
+
decimals: 18
|
|
43318
|
+
},
|
|
43319
|
+
rpcUrls: {
|
|
43320
|
+
default: {
|
|
43321
|
+
http: ["https://carrot.megaeth.com/rpc"],
|
|
43322
|
+
webSocket: ["wss://carrot.megaeth.com/ws"]
|
|
43323
|
+
}
|
|
43324
|
+
},
|
|
43325
|
+
blockExplorers: {
|
|
43326
|
+
default: {
|
|
43327
|
+
name: "MegaETH Testnet Explorer",
|
|
43328
|
+
url: "https://www.megaexplorer.xyz/"
|
|
43329
|
+
}
|
|
43330
|
+
},
|
|
43331
|
+
testnet: true
|
|
43332
|
+
});
|
|
43236
43333
|
const mekong = /* @__PURE__ */ defineChain({
|
|
43237
43334
|
id: 7078815900,
|
|
43238
43335
|
name: "Mekong Pectra Devnet",
|
|
@@ -44779,7 +44876,13 @@ const planq = /* @__PURE__ */ defineChain({
|
|
|
44779
44876
|
symbol: "PLQ"
|
|
44780
44877
|
},
|
|
44781
44878
|
rpcUrls: {
|
|
44782
|
-
default: {
|
|
44879
|
+
default: {
|
|
44880
|
+
http: [
|
|
44881
|
+
"https://planq-rpc.nodies.app",
|
|
44882
|
+
"https://evm-rpc.planq.network",
|
|
44883
|
+
"https://jsonrpc.planq.nodestake.top"
|
|
44884
|
+
]
|
|
44885
|
+
}
|
|
44783
44886
|
},
|
|
44784
44887
|
blockExplorers: {
|
|
44785
44888
|
default: {
|
|
@@ -44787,6 +44890,12 @@ const planq = /* @__PURE__ */ defineChain({
|
|
|
44787
44890
|
url: "https://evm.planq.network"
|
|
44788
44891
|
}
|
|
44789
44892
|
},
|
|
44893
|
+
contracts: {
|
|
44894
|
+
multicall3: {
|
|
44895
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
44896
|
+
blockCreated: 8470015
|
|
44897
|
+
}
|
|
44898
|
+
},
|
|
44790
44899
|
testnet: false
|
|
44791
44900
|
});
|
|
44792
44901
|
const playfiAlbireo = /* @__PURE__ */ defineChain({
|
|
@@ -46020,6 +46129,23 @@ const seiDevnet = /* @__PURE__ */ defineChain({
|
|
|
46020
46129
|
},
|
|
46021
46130
|
testnet: true
|
|
46022
46131
|
});
|
|
46132
|
+
const seismicDevnet = /* @__PURE__ */ defineChain({
|
|
46133
|
+
id: 5124,
|
|
46134
|
+
name: "Seismic Devnet",
|
|
46135
|
+
nativeCurrency: { name: "Seismic Ether", symbol: "ETH", decimals: 18 },
|
|
46136
|
+
rpcUrls: {
|
|
46137
|
+
default: {
|
|
46138
|
+
http: ["https://node-2.seismicdev.net/rpc"]
|
|
46139
|
+
}
|
|
46140
|
+
},
|
|
46141
|
+
blockExplorers: {
|
|
46142
|
+
default: {
|
|
46143
|
+
name: "Seismic Devnet Explorer",
|
|
46144
|
+
url: "https://explorer-2.seismicdev.net"
|
|
46145
|
+
}
|
|
46146
|
+
},
|
|
46147
|
+
testnet: true
|
|
46148
|
+
});
|
|
46023
46149
|
const seiTestnet = /* @__PURE__ */ defineChain({
|
|
46024
46150
|
id: 1328,
|
|
46025
46151
|
name: "Sei Testnet",
|
|
@@ -47066,6 +47192,35 @@ const spicy = /* @__PURE__ */ defineChain({
|
|
|
47066
47192
|
},
|
|
47067
47193
|
testnet: true
|
|
47068
47194
|
});
|
|
47195
|
+
const statusSepolia = /* @__PURE__ */ defineChain({
|
|
47196
|
+
...chainConfig,
|
|
47197
|
+
id: 1660990954,
|
|
47198
|
+
name: "Status Network Sepolia",
|
|
47199
|
+
nativeCurrency: {
|
|
47200
|
+
decimals: 18,
|
|
47201
|
+
name: "Ether",
|
|
47202
|
+
symbol: "ETH"
|
|
47203
|
+
},
|
|
47204
|
+
rpcUrls: {
|
|
47205
|
+
default: {
|
|
47206
|
+
http: ["https://public.sepolia.rpc.status.network"],
|
|
47207
|
+
webSocket: ["wss://public.sepolia.rpc.status.network/ws"]
|
|
47208
|
+
}
|
|
47209
|
+
},
|
|
47210
|
+
blockExplorers: {
|
|
47211
|
+
default: {
|
|
47212
|
+
name: "Blockscout",
|
|
47213
|
+
url: "https://sepoliascan.status.network"
|
|
47214
|
+
}
|
|
47215
|
+
},
|
|
47216
|
+
contracts: {
|
|
47217
|
+
multicall3: {
|
|
47218
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
47219
|
+
blockCreated: 1578364
|
|
47220
|
+
}
|
|
47221
|
+
},
|
|
47222
|
+
testnet: true
|
|
47223
|
+
});
|
|
47069
47224
|
const step = /* @__PURE__ */ defineChain({
|
|
47070
47225
|
id: 1234,
|
|
47071
47226
|
name: "Step Network",
|
|
@@ -47091,6 +47246,20 @@ const story = /* @__PURE__ */ defineChain({
|
|
|
47091
47246
|
name: "IP Token",
|
|
47092
47247
|
symbol: "IP"
|
|
47093
47248
|
},
|
|
47249
|
+
contracts: {
|
|
47250
|
+
multicall3: {
|
|
47251
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
47252
|
+
blockCreated: 340998
|
|
47253
|
+
},
|
|
47254
|
+
ensRegistry: {
|
|
47255
|
+
address: "0x5dc881dda4e4a8d312be3544ad13118d1a04cb17",
|
|
47256
|
+
blockCreated: 648924
|
|
47257
|
+
},
|
|
47258
|
+
ensUniversalResolver: {
|
|
47259
|
+
address: "0xddfb18888a9466688235887dec2a10c4f5effee9",
|
|
47260
|
+
blockCreated: 649114
|
|
47261
|
+
}
|
|
47262
|
+
},
|
|
47094
47263
|
rpcUrls: {
|
|
47095
47264
|
default: { http: ["https://mainnet.storyrpc.io"] }
|
|
47096
47265
|
},
|
|
@@ -47112,19 +47281,28 @@ const storyAeneid = /* @__PURE__ */ defineChain({
|
|
|
47112
47281
|
name: "IP",
|
|
47113
47282
|
symbol: "IP"
|
|
47114
47283
|
},
|
|
47284
|
+
contracts: {
|
|
47285
|
+
multicall3: {
|
|
47286
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
47287
|
+
blockCreated: 1792
|
|
47288
|
+
},
|
|
47289
|
+
ensRegistry: {
|
|
47290
|
+
address: "0x5dC881dDA4e4a8d312be3544AD13118D1a04Cb17",
|
|
47291
|
+
blockCreated: 1322033
|
|
47292
|
+
},
|
|
47293
|
+
ensUniversalResolver: {
|
|
47294
|
+
address: "0x6D3B3F99177FB2A5de7F9E928a9BD807bF7b5BAD",
|
|
47295
|
+
blockCreated: 1322097
|
|
47296
|
+
}
|
|
47297
|
+
},
|
|
47115
47298
|
rpcUrls: {
|
|
47116
47299
|
default: { http: ["https://aeneid.storyrpc.io"] }
|
|
47117
47300
|
},
|
|
47118
47301
|
blockExplorers: {
|
|
47119
47302
|
default: {
|
|
47120
47303
|
name: "Story Aeneid Explorer",
|
|
47121
|
-
url: "https://aeneid.storyscan.xyz"
|
|
47122
|
-
|
|
47123
|
-
},
|
|
47124
|
-
contracts: {
|
|
47125
|
-
multicall3: {
|
|
47126
|
-
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
47127
|
-
blockCreated: 1792
|
|
47304
|
+
url: "https://aeneid.storyscan.xyz",
|
|
47305
|
+
apiUrl: "https://aeneid.storyscan.xyz/api/v2"
|
|
47128
47306
|
}
|
|
47129
47307
|
},
|
|
47130
47308
|
testnet: true
|
|
@@ -48420,6 +48598,54 @@ const wemixTestnet = /* @__PURE__ */ defineChain({
|
|
|
48420
48598
|
},
|
|
48421
48599
|
testnet: true
|
|
48422
48600
|
});
|
|
48601
|
+
const whitechain = /* @__PURE__ */ defineChain({
|
|
48602
|
+
testnet: false,
|
|
48603
|
+
name: "Whitechain",
|
|
48604
|
+
blockExplorers: {
|
|
48605
|
+
default: {
|
|
48606
|
+
name: "Whitechain Explorer",
|
|
48607
|
+
url: "https://explorer.whitechain.io"
|
|
48608
|
+
}
|
|
48609
|
+
},
|
|
48610
|
+
id: 1875,
|
|
48611
|
+
rpcUrls: {
|
|
48612
|
+
default: {
|
|
48613
|
+
http: ["https://rpc.whitechain.io"]
|
|
48614
|
+
}
|
|
48615
|
+
},
|
|
48616
|
+
nativeCurrency: {
|
|
48617
|
+
decimals: 18,
|
|
48618
|
+
name: "WhiteBIT Coin",
|
|
48619
|
+
symbol: "WBT"
|
|
48620
|
+
},
|
|
48621
|
+
contracts: {
|
|
48622
|
+
multicall3: {
|
|
48623
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
48624
|
+
blockCreated: 25212237
|
|
48625
|
+
}
|
|
48626
|
+
}
|
|
48627
|
+
});
|
|
48628
|
+
const whitechainTestnet = /* @__PURE__ */ defineChain({
|
|
48629
|
+
testnet: true,
|
|
48630
|
+
name: "Whitechain Testnet",
|
|
48631
|
+
blockExplorers: {
|
|
48632
|
+
default: {
|
|
48633
|
+
name: "Whitechain Explorer",
|
|
48634
|
+
url: "https://testnet.whitechain.io"
|
|
48635
|
+
}
|
|
48636
|
+
},
|
|
48637
|
+
id: 2625,
|
|
48638
|
+
rpcUrls: {
|
|
48639
|
+
default: {
|
|
48640
|
+
http: ["https://rpc-testnet.whitechain.io"]
|
|
48641
|
+
}
|
|
48642
|
+
},
|
|
48643
|
+
nativeCurrency: {
|
|
48644
|
+
decimals: 18,
|
|
48645
|
+
name: "WhiteBIT Coin",
|
|
48646
|
+
symbol: "WBT"
|
|
48647
|
+
}
|
|
48648
|
+
});
|
|
48423
48649
|
const wmcTestnet = /* @__PURE__ */ defineChain({
|
|
48424
48650
|
id: 42070,
|
|
48425
48651
|
name: "WMC Testnet",
|
|
@@ -49564,6 +49790,8 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
49564
49790
|
edgelessTestnet,
|
|
49565
49791
|
edgeware,
|
|
49566
49792
|
edgewareTestnet,
|
|
49793
|
+
eduChain,
|
|
49794
|
+
eduChainTestnet,
|
|
49567
49795
|
ekta,
|
|
49568
49796
|
ektaTestnet,
|
|
49569
49797
|
elastos,
|
|
@@ -49669,6 +49897,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
49669
49897
|
iotexTestnet,
|
|
49670
49898
|
jbc,
|
|
49671
49899
|
jbcTestnet,
|
|
49900
|
+
juneo,
|
|
49672
49901
|
kaia,
|
|
49673
49902
|
kairos,
|
|
49674
49903
|
kakarotSepolia,
|
|
@@ -49718,6 +49947,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
49718
49947
|
matchain,
|
|
49719
49948
|
matchainTestnet,
|
|
49720
49949
|
mchVerse,
|
|
49950
|
+
megaethTestnet,
|
|
49721
49951
|
mekong,
|
|
49722
49952
|
meld,
|
|
49723
49953
|
merlin,
|
|
@@ -49831,6 +50061,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
49831
50061
|
sei,
|
|
49832
50062
|
seiDevnet,
|
|
49833
50063
|
seiTestnet,
|
|
50064
|
+
seismicDevnet,
|
|
49834
50065
|
sepolia,
|
|
49835
50066
|
shape,
|
|
49836
50067
|
shapeSepolia,
|
|
@@ -49871,6 +50102,8 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
49871
50102
|
sophon,
|
|
49872
50103
|
sophonTestnet,
|
|
49873
50104
|
spicy,
|
|
50105
|
+
statusNetworkSepolia: statusSepolia,
|
|
50106
|
+
statusSepolia,
|
|
49874
50107
|
step,
|
|
49875
50108
|
story,
|
|
49876
50109
|
storyAeneid,
|
|
@@ -49934,6 +50167,8 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
49934
50167
|
weaveVMAlphanet,
|
|
49935
50168
|
wemix,
|
|
49936
50169
|
wemixTestnet,
|
|
50170
|
+
whitechain,
|
|
50171
|
+
whitechainTestnet,
|
|
49937
50172
|
wmcTestnet,
|
|
49938
50173
|
worldLand,
|
|
49939
50174
|
worldchain,
|
|
@@ -50828,34 +51063,29 @@ const returnAtomValue = (atomState) => {
|
|
|
50828
51063
|
}
|
|
50829
51064
|
return atomState.v;
|
|
50830
51065
|
};
|
|
50831
|
-
const
|
|
50832
|
-
const getPromiseState = (promise) => promise[PROMISE_STATE];
|
|
51066
|
+
const promiseStateMap = /* @__PURE__ */ new WeakMap();
|
|
50833
51067
|
const isPendingPromise = (value) => {
|
|
50834
51068
|
var _a2;
|
|
50835
|
-
return isPromiseLike$2(value) &&
|
|
51069
|
+
return isPromiseLike$2(value) && !!((_a2 = promiseStateMap.get(value)) == null ? void 0 : _a2[0]);
|
|
50836
51070
|
};
|
|
50837
|
-
const
|
|
50838
|
-
const promiseState =
|
|
50839
|
-
if (promiseState) {
|
|
50840
|
-
promiseState[
|
|
50841
|
-
promiseState[
|
|
50842
|
-
} else if ((__vite_import_meta_env__$3 ? "production" : void 0) !== "production") {
|
|
50843
|
-
throw new Error("[Bug] cancelable promise not found");
|
|
51071
|
+
const abortPromise = (promise) => {
|
|
51072
|
+
const promiseState = promiseStateMap.get(promise);
|
|
51073
|
+
if (promiseState == null ? void 0 : promiseState[0]) {
|
|
51074
|
+
promiseState[0] = false;
|
|
51075
|
+
promiseState[1].forEach((fn) => fn());
|
|
50844
51076
|
}
|
|
50845
51077
|
};
|
|
50846
|
-
const
|
|
50847
|
-
|
|
50848
|
-
|
|
51078
|
+
const registerAbortHandler = (promise, abortHandler) => {
|
|
51079
|
+
let promiseState = promiseStateMap.get(promise);
|
|
51080
|
+
if (!promiseState) {
|
|
51081
|
+
promiseState = [true, /* @__PURE__ */ new Set()];
|
|
51082
|
+
promiseStateMap.set(promise, promiseState);
|
|
51083
|
+
const settle = () => {
|
|
51084
|
+
promiseState[0] = false;
|
|
51085
|
+
};
|
|
51086
|
+
promise.then(settle, settle);
|
|
50849
51087
|
}
|
|
50850
|
-
|
|
50851
|
-
promise[PROMISE_STATE] = promiseState;
|
|
50852
|
-
const settle = () => {
|
|
50853
|
-
promiseState[1] = true;
|
|
50854
|
-
};
|
|
50855
|
-
promise.then(settle, settle);
|
|
50856
|
-
promise.onCancel = (fn) => {
|
|
50857
|
-
promiseState[0].add(fn);
|
|
50858
|
-
};
|
|
51088
|
+
promiseState[1].add(abortHandler);
|
|
50859
51089
|
};
|
|
50860
51090
|
const isPromiseLike$2 = (p2) => typeof (p2 == null ? void 0 : p2.then) === "function";
|
|
50861
51091
|
const addPendingPromiseToDependency = (atom2, promise, dependencyAtomState) => {
|
|
@@ -50875,9 +51105,7 @@ const setAtomStateValueOrPromise = (atom2, valueOrPromise, ensureAtomState) => {
|
|
|
50875
51105
|
const atomState = ensureAtomState(atom2);
|
|
50876
51106
|
const hasPrevValue = "v" in atomState;
|
|
50877
51107
|
const prevValue = atomState.v;
|
|
50878
|
-
const pendingPromise = isPendingPromise(atomState.v) ? atomState.v : null;
|
|
50879
51108
|
if (isPromiseLike$2(valueOrPromise)) {
|
|
50880
|
-
patchPromiseForCancelability(valueOrPromise);
|
|
50881
51109
|
for (const a2 of atomState.d.keys()) {
|
|
50882
51110
|
addPendingPromiseToDependency(atom2, valueOrPromise, ensureAtomState(a2));
|
|
50883
51111
|
}
|
|
@@ -50886,8 +51114,8 @@ const setAtomStateValueOrPromise = (atom2, valueOrPromise, ensureAtomState) => {
|
|
|
50886
51114
|
delete atomState.e;
|
|
50887
51115
|
if (!hasPrevValue || !Object.is(prevValue, atomState.v)) {
|
|
50888
51116
|
++atomState.n;
|
|
50889
|
-
if (
|
|
50890
|
-
|
|
51117
|
+
if (isPromiseLike$2(prevValue)) {
|
|
51118
|
+
abortPromise(prevValue);
|
|
50891
51119
|
}
|
|
50892
51120
|
}
|
|
50893
51121
|
};
|
|
@@ -50966,16 +51194,12 @@ const buildStore = (atomStateMap = /* @__PURE__ */ new WeakMap(), mountedMap = /
|
|
|
50966
51194
|
return atomState;
|
|
50967
51195
|
});
|
|
50968
51196
|
const flushCallbacks = buildingBlockFunctions[1] || (() => {
|
|
50969
|
-
|
|
50970
|
-
let error;
|
|
51197
|
+
const errors = [];
|
|
50971
51198
|
const call2 = (fn) => {
|
|
50972
51199
|
try {
|
|
50973
51200
|
fn();
|
|
50974
51201
|
} catch (e2) {
|
|
50975
|
-
|
|
50976
|
-
hasError = true;
|
|
50977
|
-
error = e2;
|
|
50978
|
-
}
|
|
51202
|
+
errors.push(e2);
|
|
50979
51203
|
}
|
|
50980
51204
|
};
|
|
50981
51205
|
do {
|
|
@@ -50998,8 +51222,8 @@ const buildStore = (atomStateMap = /* @__PURE__ */ new WeakMap(), mountedMap = /
|
|
|
50998
51222
|
recomputeInvalidatedAtoms();
|
|
50999
51223
|
}
|
|
51000
51224
|
} while (changedAtoms.size || unmountCallbacks.size || mountCallbacks.size);
|
|
51001
|
-
if (
|
|
51002
|
-
throw
|
|
51225
|
+
if (errors.length) {
|
|
51226
|
+
throw new AggregateError(errors);
|
|
51003
51227
|
}
|
|
51004
51228
|
});
|
|
51005
51229
|
const recomputeInvalidatedAtoms = buildingBlockFunctions[2] || (() => {
|
|
@@ -51048,7 +51272,7 @@ const buildStore = (atomStateMap = /* @__PURE__ */ new WeakMap(), mountedMap = /
|
|
|
51048
51272
|
}
|
|
51049
51273
|
});
|
|
51050
51274
|
const readAtomState = buildingBlockFunctions[3] || ((atom2) => {
|
|
51051
|
-
var _a2
|
|
51275
|
+
var _a2;
|
|
51052
51276
|
const atomState = ensureAtomState(atom2);
|
|
51053
51277
|
if (isAtomStateInitialized(atomState)) {
|
|
51054
51278
|
if (mountedMap.has(atom2) && invalidatedAtoms.get(atom2) !== atomState.n) {
|
|
@@ -51136,7 +51360,7 @@ const buildStore = (atomStateMap = /* @__PURE__ */ new WeakMap(), mountedMap = /
|
|
|
51136
51360
|
const valueOrPromise = atomRead(atom2, getter, options2);
|
|
51137
51361
|
setAtomStateValueOrPromise(atom2, valueOrPromise, ensureAtomState);
|
|
51138
51362
|
if (isPromiseLike$2(valueOrPromise)) {
|
|
51139
|
-
(
|
|
51363
|
+
registerAbortHandler(valueOrPromise, () => controller == null ? void 0 : controller.abort());
|
|
51140
51364
|
valueOrPromise.then(
|
|
51141
51365
|
mountDependenciesIfAsync,
|
|
51142
51366
|
mountDependenciesIfAsync
|
|
@@ -51153,7 +51377,7 @@ const buildStore = (atomStateMap = /* @__PURE__ */ new WeakMap(), mountedMap = /
|
|
|
51153
51377
|
if (prevEpochNumber !== atomState.n && invalidatedAtoms.get(atom2) === prevEpochNumber) {
|
|
51154
51378
|
invalidatedAtoms.set(atom2, atomState.n);
|
|
51155
51379
|
changedAtoms.add(atom2);
|
|
51156
|
-
(
|
|
51380
|
+
(_a2 = storeHooks.c) == null ? void 0 : _a2.call(storeHooks, atom2);
|
|
51157
51381
|
}
|
|
51158
51382
|
}
|
|
51159
51383
|
});
|
|
@@ -51358,6 +51582,7 @@ const buildStore = (atomStateMap = /* @__PURE__ */ new WeakMap(), mountedMap = /
|
|
|
51358
51582
|
};
|
|
51359
51583
|
const INTERNAL_buildStoreRev1 = buildStore;
|
|
51360
51584
|
const INTERNAL_initializeStoreHooks = initializeStoreHooks;
|
|
51585
|
+
const INTERNAL_registerAbortHandler = registerAbortHandler;
|
|
51361
51586
|
const __vite_import_meta_env__$2 = {};
|
|
51362
51587
|
let keyCount = 0;
|
|
51363
51588
|
function atom(read, write) {
|
|
@@ -51445,15 +51670,15 @@ const createDevStoreRev4 = () => {
|
|
|
51445
51670
|
};
|
|
51446
51671
|
return Object.assign(store, devStore);
|
|
51447
51672
|
};
|
|
51448
|
-
|
|
51673
|
+
function createStore() {
|
|
51449
51674
|
if ((__vite_import_meta_env__$2 ? "production" : void 0) !== "production") {
|
|
51450
51675
|
return createDevStoreRev4();
|
|
51451
51676
|
}
|
|
51452
51677
|
const store = INTERNAL_buildStoreRev1();
|
|
51453
51678
|
return store;
|
|
51454
|
-
}
|
|
51679
|
+
}
|
|
51455
51680
|
let defaultStore;
|
|
51456
|
-
|
|
51681
|
+
function getDefaultStore() {
|
|
51457
51682
|
if (!defaultStore) {
|
|
51458
51683
|
defaultStore = createStore();
|
|
51459
51684
|
if ((__vite_import_meta_env__$2 ? "production" : void 0) !== "production") {
|
|
@@ -51466,19 +51691,19 @@ const getDefaultStore = () => {
|
|
|
51466
51691
|
}
|
|
51467
51692
|
}
|
|
51468
51693
|
return defaultStore;
|
|
51469
|
-
}
|
|
51694
|
+
}
|
|
51470
51695
|
const __vite_import_meta_env__$1 = {};
|
|
51471
51696
|
const StoreContext = createContext(
|
|
51472
51697
|
void 0
|
|
51473
51698
|
);
|
|
51474
|
-
|
|
51699
|
+
function useStore(options2) {
|
|
51475
51700
|
const store = useContext(StoreContext);
|
|
51476
51701
|
return store || getDefaultStore();
|
|
51477
|
-
}
|
|
51478
|
-
|
|
51702
|
+
}
|
|
51703
|
+
function Provider({
|
|
51479
51704
|
children,
|
|
51480
51705
|
store
|
|
51481
|
-
})
|
|
51706
|
+
}) {
|
|
51482
51707
|
const storeRef = useRef(void 0);
|
|
51483
51708
|
if (!store && !storeRef.current) {
|
|
51484
51709
|
storeRef.current = createStore();
|
|
@@ -51490,7 +51715,7 @@ const Provider = ({
|
|
|
51490
51715
|
},
|
|
51491
51716
|
children
|
|
51492
51717
|
);
|
|
51493
|
-
}
|
|
51718
|
+
}
|
|
51494
51719
|
const isPromiseLike$1 = (x2) => typeof (x2 == null ? void 0 : x2.then) === "function";
|
|
51495
51720
|
const attachPromiseMeta = (promise) => {
|
|
51496
51721
|
promise.status = "pending";
|
|
@@ -51518,7 +51743,7 @@ const use = React__default.use || ((promise) => {
|
|
|
51518
51743
|
}
|
|
51519
51744
|
});
|
|
51520
51745
|
const continuablePromiseMap = /* @__PURE__ */ new WeakMap();
|
|
51521
|
-
const createContinuablePromise = (promise) => {
|
|
51746
|
+
const createContinuablePromise = (promise, getValue) => {
|
|
51522
51747
|
let continuablePromise = continuablePromiseMap.get(promise);
|
|
51523
51748
|
if (!continuablePromise) {
|
|
51524
51749
|
continuablePromise = new Promise((resolve, reject) => {
|
|
@@ -51533,25 +51758,23 @@ const createContinuablePromise = (promise) => {
|
|
|
51533
51758
|
reject(e2);
|
|
51534
51759
|
}
|
|
51535
51760
|
};
|
|
51536
|
-
const
|
|
51537
|
-
|
|
51538
|
-
|
|
51539
|
-
|
|
51540
|
-
|
|
51541
|
-
|
|
51542
|
-
|
|
51543
|
-
|
|
51544
|
-
|
|
51545
|
-
|
|
51546
|
-
|
|
51547
|
-
|
|
51548
|
-
|
|
51549
|
-
}
|
|
51550
|
-
});
|
|
51761
|
+
const onAbort = () => {
|
|
51762
|
+
try {
|
|
51763
|
+
const nextValue = getValue();
|
|
51764
|
+
if (isPromiseLike$1(nextValue)) {
|
|
51765
|
+
continuablePromiseMap.set(nextValue, continuablePromise);
|
|
51766
|
+
curr = nextValue;
|
|
51767
|
+
nextValue.then(onFulfilled(nextValue), onRejected(nextValue));
|
|
51768
|
+
INTERNAL_registerAbortHandler(nextValue, onAbort);
|
|
51769
|
+
} else {
|
|
51770
|
+
resolve(nextValue);
|
|
51771
|
+
}
|
|
51772
|
+
} catch (e2) {
|
|
51773
|
+
reject(e2);
|
|
51551
51774
|
}
|
|
51552
51775
|
};
|
|
51553
51776
|
promise.then(onFulfilled(promise), onRejected(promise));
|
|
51554
|
-
|
|
51777
|
+
INTERNAL_registerAbortHandler(promise, onAbort);
|
|
51555
51778
|
});
|
|
51556
51779
|
continuablePromiseMap.set(promise, continuablePromise);
|
|
51557
51780
|
}
|
|
@@ -51585,7 +51808,7 @@ function useAtomValue(atom2, options2) {
|
|
|
51585
51808
|
}, [store, atom2, delay]);
|
|
51586
51809
|
useDebugValue(value);
|
|
51587
51810
|
if (isPromiseLike$1(value)) {
|
|
51588
|
-
const promise = createContinuablePromise(value);
|
|
51811
|
+
const promise = createContinuablePromise(value, () => store.get(atom2));
|
|
51589
51812
|
return use(promise);
|
|
51590
51813
|
}
|
|
51591
51814
|
return value;
|
|
@@ -51642,11 +51865,11 @@ function atomFamily(initializeAtom, areEqual) {
|
|
|
51642
51865
|
notifyListeners("CREATE", param, newAtom);
|
|
51643
51866
|
return newAtom;
|
|
51644
51867
|
};
|
|
51645
|
-
|
|
51868
|
+
const notifyListeners = (type, param, atom2) => {
|
|
51646
51869
|
for (const listener of listeners) {
|
|
51647
51870
|
listener({ type, param, atom: atom2 });
|
|
51648
51871
|
}
|
|
51649
|
-
}
|
|
51872
|
+
};
|
|
51650
51873
|
createAtom.unstable_listen = (callback) => {
|
|
51651
51874
|
listeners.add(callback);
|
|
51652
51875
|
return () => {
|
|
@@ -70150,7 +70373,7 @@ const useFilteredDocumentModels = () => {
|
|
|
70150
70373
|
};
|
|
70151
70374
|
const LOCAL_DOCUMENT_EDITORS = window.__VITE_ENVS.LOCAL_DOCUMENT_EDITORS;
|
|
70152
70375
|
async function loadBaseEditors() {
|
|
70153
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
70376
|
+
const documentModelEditor = await __vitePreload(() => import("./index-BgGO2KiQ.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
70154
70377
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
|
|
70155
70378
|
const module = documentModelEditor.documentModelEditorModule;
|
|
70156
70379
|
return [module];
|
|
@@ -70316,11 +70539,11 @@ const connectCrypto = (async () => {
|
|
|
70316
70539
|
return window.connectCrypto;
|
|
70317
70540
|
}
|
|
70318
70541
|
const { ConnectCrypto } = await __vitePreload(async () => {
|
|
70319
|
-
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-
|
|
70542
|
+
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-BaJByDnQ.js");
|
|
70320
70543
|
return { ConnectCrypto: ConnectCrypto2 };
|
|
70321
70544
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
70322
70545
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
70323
|
-
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-
|
|
70546
|
+
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-BaJByDnQ.js");
|
|
70324
70547
|
return { BrowserKeyStorage: BrowserKeyStorage2 };
|
|
70325
70548
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
70326
70549
|
const connectCrypto2 = new ConnectCrypto(new BrowserKeyStorage());
|
|
@@ -70369,7 +70592,7 @@ function useRenown() {
|
|
|
70369
70592
|
return;
|
|
70370
70593
|
}
|
|
70371
70594
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
70372
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
70595
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-BaJByDnQ.js");
|
|
70373
70596
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
70374
70597
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
70375
70598
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -74955,7 +75178,7 @@ async function callLoaderOrAction(type, request2, match2, loadRoutePromise, hand
|
|
|
74955
75178
|
let onReject;
|
|
74956
75179
|
let runHandler = (handler) => {
|
|
74957
75180
|
let reject;
|
|
74958
|
-
let
|
|
75181
|
+
let abortPromise2 = new Promise((_2, r2) => reject = r2);
|
|
74959
75182
|
onReject = () => reject();
|
|
74960
75183
|
request2.signal.addEventListener("abort", onReject);
|
|
74961
75184
|
let actualHandler = (ctx) => {
|
|
@@ -74982,7 +75205,7 @@ async function callLoaderOrAction(type, request2, match2, loadRoutePromise, hand
|
|
|
74982
75205
|
};
|
|
74983
75206
|
}
|
|
74984
75207
|
})();
|
|
74985
|
-
return Promise.race([handlerPromise,
|
|
75208
|
+
return Promise.race([handlerPromise, abortPromise2]);
|
|
74986
75209
|
};
|
|
74987
75210
|
try {
|
|
74988
75211
|
let handler = match2.route[type];
|
|
@@ -78650,7 +78873,7 @@ function Home() {
|
|
|
78650
78873
|
/* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
|
|
78651
78874
|
] });
|
|
78652
78875
|
}
|
|
78653
|
-
const Content = React__default.lazy(() => __vitePreload(() => import("./content-
|
|
78876
|
+
const Content = React__default.lazy(() => __vitePreload(() => import("./content-dCYtAq_j.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
|
|
78654
78877
|
async function createRouter(routes) {
|
|
78655
78878
|
var _a2;
|
|
78656
78879
|
const isPackaged = await ((_a2 = window.electronAPI) == null ? void 0 : _a2.isPackaged());
|