@burdenoff/microfe-vibecontrols 2026.522.2 → 2026.522.4
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/node_modules/@apollo/client/errors/ServerError.js +17 -0
- package/dist/node_modules/@apollo/client/errors/ServerError.js.map +1 -0
- package/dist/node_modules/@apollo/client/errors/ServerParseError.js +17 -0
- package/dist/node_modules/@apollo/client/errors/ServerParseError.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/batch/batchLink.js +28 -0
- package/dist/node_modules/@apollo/client/link/batch/batchLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/batch/batching.js +70 -0
- package/dist/node_modules/@apollo/client/link/batch/batching.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js +74 -0
- package/dist/node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/batch-http/batchHttpLink.js +17 -0
- package/dist/node_modules/@apollo/client/link/batch-http/batchHttpLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js +32 -0
- package/dist/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +52 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/http/checkFetcher.js +9 -0
- package/dist/node_modules/@apollo/client/link/http/checkFetcher.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +45 -0
- package/dist/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js +60 -0
- package/dist/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/http/selectURI.js +6 -0
- package/dist/node_modules/@apollo/client/link/http/selectURI.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +34 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/filterOperationVariables.js +14 -0
- package/dist/node_modules/@apollo/client/link/utils/filterOperationVariables.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +6 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +16 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js +19 -0
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +21 -0
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/compact.js +14 -0
- package/dist/node_modules/@apollo/client/utilities/internal/compact.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +23 -0
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js +57 -0
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/version.js +6 -0
- package/dist/node_modules/@apollo/client/version.js.map +1 -0
- package/dist/node_modules/@wry/caches/lib/weak.js +67 -0
- package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
- package/dist/node_modules/@wry/trie/lib/index.js +53 -0
- package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +21 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +78 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +117 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +93 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js +12 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +9 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/throwError.js +17 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/throwError.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +16 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +13 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +11 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +22 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +13 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +14 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +52 -0
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/pages/AgentsPage.js +242 -239
- package/dist/pages/AgentsPage.js.map +1 -1
- package/dist/pages/CatalogPage.js +146 -98
- package/dist/pages/CatalogPage.js.map +1 -1
- package/dist/pages/ComponentsPage.js +163 -117
- package/dist/pages/ComponentsPage.js.map +1 -1
- package/dist/pages/TemplatesPage.js +74 -26
- package/dist/pages/TemplatesPage.js.map +1 -1
- package/dist/providers/VibeControlsProvider.js +35 -30
- package/dist/providers/VibeControlsProvider.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { getOperationName as e } from "../../utilities/internal/getOperationName.js";
|
|
2
|
+
import { getOperationDefinition as t } from "../../utilities/internal/getOperationDefinition.js";
|
|
3
|
+
//#region node_modules/@apollo/client/link/utils/createOperation.js
|
|
4
|
+
function n(n, { client: r }) {
|
|
5
|
+
let i = {
|
|
6
|
+
query: n.query,
|
|
7
|
+
variables: n.variables || {},
|
|
8
|
+
extensions: n.extensions || {},
|
|
9
|
+
operationName: e(n.query),
|
|
10
|
+
operationType: t(n.query).operation
|
|
11
|
+
}, a = { ...n.context }, o = (e) => {
|
|
12
|
+
a = typeof e == "function" ? {
|
|
13
|
+
...a,
|
|
14
|
+
...e(s())
|
|
15
|
+
} : {
|
|
16
|
+
...a,
|
|
17
|
+
...e
|
|
18
|
+
};
|
|
19
|
+
}, s = () => Object.freeze({ ...a });
|
|
20
|
+
return Object.defineProperty(i, "setContext", {
|
|
21
|
+
enumerable: !1,
|
|
22
|
+
value: o
|
|
23
|
+
}), Object.defineProperty(i, "getContext", {
|
|
24
|
+
enumerable: !1,
|
|
25
|
+
value: s
|
|
26
|
+
}), Object.defineProperty(i, "client", {
|
|
27
|
+
enumerable: !1,
|
|
28
|
+
value: r
|
|
29
|
+
}), i;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { n as createOperation };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=createOperation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createOperation.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/utils/createOperation.js"],"sourcesContent":["import { getOperationDefinition, getOperationName, } from \"@apollo/client/utilities/internal\";\nexport function createOperation(request, { client }) {\n const operation = {\n query: request.query,\n variables: request.variables || {},\n extensions: request.extensions || {},\n operationName: getOperationName(request.query),\n operationType: getOperationDefinition(request.query).operation,\n };\n let context = { ...request.context };\n const setContext = (next) => {\n if (typeof next === \"function\") {\n context = { ...context, ...next(getContext()) };\n }\n else {\n context = { ...context, ...next };\n }\n };\n const getContext = () => Object.freeze({ ...context });\n Object.defineProperty(operation, \"setContext\", {\n enumerable: false,\n value: setContext,\n });\n Object.defineProperty(operation, \"getContext\", {\n enumerable: false,\n value: getContext,\n });\n Object.defineProperty(operation, \"client\", {\n enumerable: false,\n value: client,\n });\n return operation;\n}\n//# sourceMappingURL=createOperation.js.map"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAgB,EAAgB,GAAS,EAAE,aAAU;CACjD,IAAM,IAAY;EACd,OAAO,EAAQ;EACf,WAAW,EAAQ,aAAa,EAAE;EAClC,YAAY,EAAQ,cAAc,EAAE;EACpC,eAAe,EAAiB,EAAQ,MAAM;EAC9C,eAAe,EAAuB,EAAQ,MAAM,CAAC;EACxD,EACG,IAAU,EAAE,GAAG,EAAQ,SAAS,EAC9B,KAAc,MAAS;AACzB,EAII,IAJA,OAAO,KAAS,aACN;GAAE,GAAG;GAAS,GAAG,EAAK,GAAY,CAAC;GAAE,GAGrC;GAAE,GAAG;GAAS,GAAG;GAAM;IAGnC,UAAmB,OAAO,OAAO,EAAE,GAAG,GAAS,CAAC;AAatD,QAZA,OAAO,eAAe,GAAW,cAAc;EAC3C,YAAY;EACZ,OAAO;EACV,CAAC,EACF,OAAO,eAAe,GAAW,cAAc;EAC3C,YAAY;EACZ,OAAO;EACV,CAAC,EACF,OAAO,eAAe,GAAW,UAAU;EACvC,YAAY;EACZ,OAAO;EACV,CAAC,EACK"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { visit as e } from "graphql";
|
|
2
|
+
//#region node_modules/@apollo/client/link/utils/filterOperationVariables.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
let r = { ...t }, i = new Set(Object.keys(t));
|
|
5
|
+
return e(n, { Variable(e, t, n) {
|
|
6
|
+
n && n.kind !== "VariableDefinition" && i.delete(e.name.value);
|
|
7
|
+
} }), i.forEach((e) => {
|
|
8
|
+
delete r[e];
|
|
9
|
+
}), r;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as filterOperationVariables };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=filterOperationVariables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filterOperationVariables.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/utils/filterOperationVariables.js"],"sourcesContent":["import { visit } from \"graphql\";\nexport function filterOperationVariables(variables, query) {\n const result = { ...variables };\n const unusedNames = new Set(Object.keys(variables));\n visit(query, {\n Variable(node, _key, parent) {\n // A variable type definition at the top level of a query is not\n // enough to silence server-side errors about the variable being\n // unused, so variable definitions do not count as usage.\n // https://spec.graphql.org/draft/#sec-All-Variables-Used\n if (parent &&\n parent.kind !== \"VariableDefinition\") {\n unusedNames.delete(node.name.value);\n }\n },\n });\n unusedNames.forEach((name) => {\n delete result[name];\n });\n return result;\n}\n//# sourceMappingURL=filterOperationVariables.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAgB,EAAyB,GAAW,GAAO;CACvD,IAAM,IAAS,EAAE,GAAG,GAAW,EACzB,IAAc,IAAI,IAAI,OAAO,KAAK,EAAU,CAAC;AAgBnD,QAfA,EAAM,GAAO,EACT,SAAS,GAAM,GAAM,GAAQ;AAKzB,EAAI,KACA,EAAO,SAAS,wBAChB,EAAY,OAAO,EAAK,KAAK,MAAM;IAG9C,CAAC,EACF,EAAY,SAAS,MAAS;AAC1B,SAAO,EAAO;GAChB,EACK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sizes.js","names":["global"],"sources":["../../../../../../node_modules/@apollo/client/utilities/caching/sizes.js"],"sourcesContent":["import { global } from \"@apollo/client/utilities/internal/globals\";\nconst cacheSizeSymbol = Symbol.for(\"apollo.cacheSize\");\n/**\n * The global cache size configuration for Apollo Client.\n *\n * @remarks\n *\n * You can directly modify this object, but any modification will\n * only have an effect on caches that are created after the modification.\n *\n * So for global caches, such as `canonicalStringify` and `print`,\n * you might need to call `.reset` on them, which will essentially re-create them.\n *\n * Alternatively, you can set `globalThis[Symbol.for(\"apollo.cacheSize\")]` before\n * you load the Apollo Client package:\n *\n * @example\n *\n * ```ts\n * globalThis[Symbol.for(\"apollo.cacheSize\")] = {\n * print: 100,\n * } satisfies Partial<CacheSizes>; // the `satisfies` is optional if using TypeScript\n * ```\n */\nexport const cacheSizes = { ...global[cacheSizeSymbol] };\n//# sourceMappingURL=sizes.js.map"],"x_google_ignoreList":[0],"mappings":";AAwBA,IAAa,IAAa,EAAE,GAAGA,EAvBP,OAAO,IAAI,mBAAmB,GAuBE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { cacheSizes as e } from "../caching/sizes.js";
|
|
2
|
+
import { AutoCleanedWeakCache as t } from "../internal/caches.js";
|
|
3
|
+
import "../internal/getMemoryInternals.js";
|
|
4
|
+
import { print as n } from "graphql";
|
|
5
|
+
//#region node_modules/@apollo/client/utilities/graphql/print.js
|
|
6
|
+
var r, i = Object.assign((e) => {
|
|
7
|
+
let t = r.get(e);
|
|
8
|
+
return t || (t = n(e), r.set(e, t)), t;
|
|
9
|
+
}, { reset() {
|
|
10
|
+
r = new t(e.print || 2e3);
|
|
11
|
+
} });
|
|
12
|
+
i.reset();
|
|
13
|
+
//#endregion
|
|
14
|
+
export { i as print };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=print.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print.js","names":["print","origPrint"],"sources":["../../../../../../node_modules/@apollo/client/utilities/graphql/print.js"],"sourcesContent":["import { print as origPrint } from \"graphql\";\nimport { __DEV__ } from \"@apollo/client/utilities/environment\";\nimport { AutoCleanedWeakCache, registerGlobalCache, } from \"@apollo/client/utilities/internal\";\nimport { cacheSizes } from \"../caching/index.js\";\nlet printCache;\n/**\n * Converts an AST into a string, using one set of reasonable\n * formatting rules.\n *\n * @remarks This is the same function as the GraphQL.js `print` function but\n * with an added cache to avoid recomputation when encountering the same\n * `ASTNode` more than once.\n */\nexport const print = Object.assign((ast) => {\n let result = printCache.get(ast);\n if (!result) {\n result = origPrint(ast);\n printCache.set(ast, result);\n }\n return result;\n}, {\n reset() {\n printCache = new AutoCleanedWeakCache(cacheSizes.print || 2000 /* defaultCacheSizes.print */);\n },\n});\nprint.reset();\nif (__DEV__) {\n registerGlobalCache(\"print\", () => (printCache ? printCache.size : 0));\n}\n//# sourceMappingURL=print.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;AAIA,IAAI,GASSA,IAAQ,OAAO,QAAQ,MAAQ;CACxC,IAAI,IAAS,EAAW,IAAI,EAAI;AAKhC,QAJK,MACD,IAASC,EAAU,EAAI,EACvB,EAAW,IAAI,GAAK,EAAO,GAExB;GACR,EACC,QAAQ;AACJ,KAAa,IAAI,EAAqB,EAAW,SAAS,IAAmC;GAEpG,CAAC;AACFD,EAAM,OAAO"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WeakCache as e } from "../../../../@wry/caches/lib/weak.js";
|
|
2
|
+
//#region node_modules/@apollo/client/utilities/internal/caches.js
|
|
3
|
+
var t = /* @__PURE__ */ new WeakSet();
|
|
4
|
+
function n(e) {
|
|
5
|
+
e.size <= (e.max || -1) || t.has(e) || (t.add(e), setTimeout(() => {
|
|
6
|
+
e.clean(), t.delete(e);
|
|
7
|
+
}, 100));
|
|
8
|
+
}
|
|
9
|
+
var r = function(t, r) {
|
|
10
|
+
let i = new e(t, r);
|
|
11
|
+
return i.set = function(t, r) {
|
|
12
|
+
let i = e.prototype.set.call(this, t, r);
|
|
13
|
+
return n(this), i;
|
|
14
|
+
}, i;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { r as AutoCleanedWeakCache };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=caches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caches.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/caches.js"],"sourcesContent":["import { StrongCache, WeakCache } from \"@wry/caches\";\nconst scheduledCleanup = new WeakSet();\nfunction schedule(cache) {\n if (cache.size <= (cache.max || -1)) {\n return;\n }\n if (!scheduledCleanup.has(cache)) {\n scheduledCleanup.add(cache);\n setTimeout(() => {\n cache.clean();\n scheduledCleanup.delete(cache);\n }, 100);\n }\n}\n/**\n* @internal\n* A version of WeakCache that will auto-schedule a cleanup of the cache when\n* a new item is added and the cache reached maximum size.\n* Throttled to once per 100ms.\n*\n* @privateRemarks\n* Should be used throughout the rest of the codebase instead of WeakCache,\n* with the notable exception of usage in `wrap` from `optimism` - that one\n* already handles cleanup and should remain a `WeakCache`.\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport const AutoCleanedWeakCache = function (max, dispose) {\n /*\n Some builds of `WeakCache` are function prototypes, some are classes.\n This library still builds with an ES5 target, so we can't extend the\n real classes.\n Instead, we have to use this workaround until we switch to a newer build\n target.\n */\n const cache = new WeakCache(max, dispose);\n cache.set = function (key, value) {\n const ret = WeakCache.prototype.set.call(this, key, value);\n schedule(this);\n return ret;\n };\n return cache;\n};\n/**\n* @internal\n* A version of StrongCache that will auto-schedule a cleanup of the cache when\n* a new item is added and the cache reached maximum size.\n* Throttled to once per 100ms.\n*\n* @privateRemarks\n* Should be used throughout the rest of the codebase instead of StrongCache,\n* with the notable exception of usage in `wrap` from `optimism` - that one\n* already handles cleanup and should remain a `StrongCache`.\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport const AutoCleanedStrongCache = function (max, dispose) {\n /*\n Some builds of `StrongCache` are function prototypes, some are classes.\n This library still builds with an ES5 target, so we can't extend the\n real classes.\n Instead, we have to use this workaround until we switch to a newer build\n target.\n */\n const cache = new StrongCache(max, dispose);\n cache.set = function (key, value) {\n const ret = StrongCache.prototype.set.call(this, key, value);\n schedule(this);\n return ret;\n };\n return cache;\n};\n//# sourceMappingURL=caches.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAM,oBAAmB,IAAI,SAAS;AACtC,SAAS,EAAS,GAAO;AACjB,GAAM,SAAS,EAAM,OAAO,OAG3B,EAAiB,IAAI,EAAM,KAC5B,EAAiB,IAAI,EAAM,EAC3B,iBAAiB;AAEb,EADA,EAAM,OAAO,EACb,EAAiB,OAAO,EAAM;IAC/B,IAAI;;AAgBf,IAAa,IAAuB,SAAU,GAAK,GAAS;CAQxD,IAAM,IAAQ,IAAI,EAAU,GAAK,EAAQ;AAMzC,QALA,EAAM,MAAM,SAAU,GAAK,GAAO;EAC9B,IAAM,IAAM,EAAU,UAAU,IAAI,KAAK,MAAM,GAAK,EAAM;AAE1D,SADA,EAAS,KAAK,EACP;IAEJ"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { invariant as e, newInvariantError as t } from "../invariant/index.js";
|
|
2
|
+
import { cacheSizes as n } from "../caching/sizes.js";
|
|
3
|
+
import { getOperationName as r } from "./getOperationName.js";
|
|
4
|
+
import { memoize as i } from "./memoize.js";
|
|
5
|
+
import { Kind as a, visit as o } from "graphql";
|
|
6
|
+
//#region node_modules/@apollo/client/utilities/internal/checkDocument.js
|
|
7
|
+
var s = i((n, i) => {
|
|
8
|
+
e(n && n.kind === "Document", 1);
|
|
9
|
+
let s = n.definitions.filter((e) => e.kind === "OperationDefinition");
|
|
10
|
+
i && e(s.length == 1 && s[0].operation === i, 4, i, i, s[0].operation), o(n, { Field(e, i, o, c) {
|
|
11
|
+
if (e.alias && (e.alias.value === "__typename" || e.alias.value.startsWith("__ac_")) && e.alias.value !== e.name.value) {
|
|
12
|
+
let i = n, o = [];
|
|
13
|
+
for (let e of c) i = i[e], i.kind === a.FIELD && o.push(i.alias?.value || i.name.value);
|
|
14
|
+
throw o.splice(-1, 1, e.name.value), t(5, e.alias.value, o.join("."), s[0].operation, r(n, "(anonymous)"));
|
|
15
|
+
}
|
|
16
|
+
} });
|
|
17
|
+
}, { max: n.checkDocument || 2e3 });
|
|
18
|
+
//#endregion
|
|
19
|
+
export { s as checkDocument };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=checkDocument.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkDocument.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/checkDocument.js"],"sourcesContent":["// Checks the document for errors and throws an exception if there is an error.\nimport { Kind, visit } from \"graphql\";\nimport { __DEV__ } from \"@apollo/client/utilities/environment\";\nimport { invariant, newInvariantError, } from \"@apollo/client/utilities/invariant\";\nimport { cacheSizes } from \"../caching/sizes.js\";\nimport { getOperationName } from \"./getOperationName.js\";\nimport { memoize } from \"./memoize.js\";\n/**\n* Checks the document for errors and throws an exception if there is an error.\n*\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport const checkDocument = memoize((doc, expectedType) => {\n invariant(doc && doc.kind === \"Document\", 1);\n const operations = doc.definitions.filter((d) => d.kind === \"OperationDefinition\");\n if (__DEV__) {\n doc.definitions.forEach((definition) => {\n if (definition.kind !== \"OperationDefinition\" &&\n definition.kind !== \"FragmentDefinition\") {\n throw newInvariantError(2, definition.kind);\n }\n });\n invariant(operations.length <= 1, 3, operations.length);\n }\n if (expectedType) {\n invariant(\n operations.length == 1 && operations[0].operation === expectedType,\n 4,\n expectedType,\n expectedType,\n operations[0].operation\n );\n }\n visit(doc, {\n Field(field, _, __, path) {\n if (field.alias &&\n (field.alias.value === \"__typename\" ||\n field.alias.value.startsWith(\"__ac_\")) &&\n field.alias.value !== field.name.value) {\n // not using `invariant` so path calculation only happens in error case\n let current = doc, fieldPath = [];\n for (const key of path) {\n current = current[key];\n if (current.kind === Kind.FIELD) {\n fieldPath.push(current.alias?.value || current.name.value);\n }\n }\n fieldPath.splice(-1, 1, field.name.value);\n throw newInvariantError(\n 5,\n field.alias.value,\n fieldPath.join(\".\"),\n operations[0].operation,\n getOperationName(doc, \"(anonymous)\")\n );\n }\n },\n });\n}, {\n max: cacheSizes[\"checkDocument\"] || 2000 /* defaultCacheSizes[\"checkDocument\"] */,\n});\n//# sourceMappingURL=checkDocument.js.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAcA,IAAa,IAAgB,GAAS,GAAK,MAAiB;AACxD,GAAU,KAAO,EAAI,SAAS,YAAY,EAAE;CAC5C,IAAM,IAAa,EAAI,YAAY,QAAQ,MAAM,EAAE,SAAS,sBAAsB;AAmBlF,CATI,KACA,EACI,EAAW,UAAU,KAAK,EAAW,GAAG,cAAc,GACtD,GACA,GACA,GACA,EAAW,GAAG,UACjB,EAEL,EAAM,GAAK,EACP,MAAM,GAAO,GAAG,GAAI,GAAM;AACtB,MAAI,EAAM,UACL,EAAM,MAAM,UAAU,gBACnB,EAAM,MAAM,MAAM,WAAW,QAAQ,KACzC,EAAM,MAAM,UAAU,EAAM,KAAK,OAAO;GAExC,IAAI,IAAU,GAAK,IAAY,EAAE;AACjC,QAAK,IAAM,KAAO,EAEd,CADA,IAAU,EAAQ,IACd,EAAQ,SAAS,EAAK,SACtB,EAAU,KAAK,EAAQ,OAAO,SAAS,EAAQ,KAAK,MAAM;AAIlE,SADA,EAAU,OAAO,IAAI,GAAG,EAAM,KAAK,MAAM,EACnC,EACF,GACA,EAAM,MAAM,OACZ,EAAU,KAAK,IAAI,EACnB,EAAW,GAAG,WACd,EAAiB,GAAK,cAAc,CACvC;;IAGZ,CAAC;GACH,EACC,KAAK,EAAW,iBAAoB,KACvC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region node_modules/@apollo/client/utilities/internal/compact.js
|
|
2
|
+
function e(...e) {
|
|
3
|
+
let t = {};
|
|
4
|
+
return e.forEach((e) => {
|
|
5
|
+
e && Reflect.ownKeys(e).forEach((n) => {
|
|
6
|
+
let r = e[n];
|
|
7
|
+
r !== void 0 && (t[n] = r);
|
|
8
|
+
});
|
|
9
|
+
}), t;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as compact };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=compact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compact.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/compact.js"],"sourcesContent":["/**\n* Merges the provided objects shallowly and removes\n* all properties with an `undefined` value\n*\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport function compact(...objects) {\n const result = {};\n objects.forEach((obj) => {\n if (!obj)\n return;\n Reflect.ownKeys(obj).forEach((key) => {\n const value = obj[key];\n if (value !== void 0) {\n result[key] = value;\n }\n });\n });\n return result;\n}\n//# sourceMappingURL=compact.js.map\n"],"x_google_ignoreList":[0],"mappings":";AAQA,SAAgB,EAAQ,GAAG,GAAS;CAChC,IAAM,IAAS,EAAE;AAWjB,QAVA,EAAQ,SAAS,MAAQ;AAChB,OAEL,QAAQ,QAAQ,EAAI,CAAC,SAAS,MAAQ;GAClC,IAAM,IAAQ,EAAI;AAClB,GAAI,MAAU,KAAK,MACf,EAAO,KAAO;IAEpB;GACJ,EACK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMemoryInternals.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/getMemoryInternals.js"],"sourcesContent":["import { __DEV__ } from \"@apollo/client/utilities/environment\";\nimport { cacheSizes } from \"../caching/sizes.js\";\nconst globalCaches = {};\nexport function registerGlobalCache(name, getSize) {\n globalCaches[name] = getSize;\n}\n/**\n* For internal purposes only - please call `ApolloClient.getMemoryInternals` instead\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport const getApolloClientMemoryInternals = __DEV__ ?\n _getApolloClientMemoryInternals\n : undefined;\n/**\n* For internal purposes only - please call `ApolloClient.getMemoryInternals` instead\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport const getInMemoryCacheMemoryInternals = __DEV__ ?\n _getInMemoryCacheMemoryInternals\n : undefined;\n/**\n* For internal purposes only - please call `ApolloClient.getMemoryInternals` instead\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport const getApolloCacheMemoryInternals = __DEV__ ?\n _getApolloCacheMemoryInternals\n : undefined;\nfunction getCurrentCacheSizes() {\n // `defaultCacheSizes` is a `const enum` that will be inlined during build, so we have to reconstruct it's shape here\n const defaults = {\n canonicalStringify: 1000 /* defaultCacheSizes[\"canonicalStringify\"] */,\n checkDocument: 2000 /* defaultCacheSizes[\"checkDocument\"] */,\n print: 2000 /* defaultCacheSizes[\"print\"] */,\n \"documentTransform.cache\": 2000 /* defaultCacheSizes[\"documentTransform.cache\"] */,\n \"queryManager.getDocumentInfo\": 2000 /* defaultCacheSizes[\"queryManager.getDocumentInfo\"] */,\n \"PersistedQueryLink.persistedQueryHashes\": 2000 /* defaultCacheSizes[\"PersistedQueryLink.persistedQueryHashes\"] */,\n \"fragmentRegistry.transform\": 2000 /* defaultCacheSizes[\"fragmentRegistry.transform\"] */,\n \"fragmentRegistry.lookup\": 1000 /* defaultCacheSizes[\"fragmentRegistry.lookup\"] */,\n \"fragmentRegistry.findFragmentSpreads\": 4000 /* defaultCacheSizes[\"fragmentRegistry.findFragmentSpreads\"] */,\n \"cache.fragmentQueryDocuments\": 1000 /* defaultCacheSizes[\"cache.fragmentQueryDocuments\"] */,\n \"removeTypenameFromVariables.getVariableDefinitions\": 2000 /* defaultCacheSizes[\"removeTypenameFromVariables.getVariableDefinitions\"] */,\n \"inMemoryCache.maybeBroadcastWatch\": 5000 /* defaultCacheSizes[\"inMemoryCache.maybeBroadcastWatch\"] */,\n \"inMemoryCache.executeSelectionSet\": 50000 /* defaultCacheSizes[\"inMemoryCache.executeSelectionSet\"] */,\n \"inMemoryCache.executeSubSelectedArray\": 10000 /* defaultCacheSizes[\"inMemoryCache.executeSubSelectedArray\"] */,\n };\n return Object.fromEntries(Object.entries(defaults).map(([k, v]) => [\n k,\n cacheSizes[k] || v,\n ]));\n}\nfunction _getApolloClientMemoryInternals() {\n if (!__DEV__)\n throw new Error(\"only supported in development mode\");\n return {\n limits: getCurrentCacheSizes(),\n sizes: {\n print: globalCaches.print?.(),\n canonicalStringify: globalCaches.canonicalStringify?.(),\n links: linkInfo(this.link),\n queryManager: {\n getDocumentInfo: this[\"queryManager\"][\"transformCache\"].size,\n documentTransforms: transformInfo(this[\"queryManager\"].documentTransform),\n },\n ...this.cache.getMemoryInternals?.(),\n },\n };\n}\nfunction _getApolloCacheMemoryInternals() {\n return {\n cache: {\n fragmentQueryDocuments: getWrapperInformation(this[\"getFragmentDoc\"]),\n },\n };\n}\nfunction _getInMemoryCacheMemoryInternals() {\n const fragments = this.config.fragments;\n return {\n ..._getApolloCacheMemoryInternals.apply(this),\n addTypenameDocumentTransform: transformInfo(this[\"addTypenameTransform\"]),\n inMemoryCache: {\n executeSelectionSet: getWrapperInformation(this[\"storeReader\"][\"executeSelectionSet\"]),\n executeSubSelectedArray: getWrapperInformation(this[\"storeReader\"][\"executeSubSelectedArray\"]),\n maybeBroadcastWatch: getWrapperInformation(this[\"maybeBroadcastWatch\"]),\n },\n fragmentRegistry: {\n findFragmentSpreads: getWrapperInformation(fragments?.findFragmentSpreads),\n lookup: getWrapperInformation(fragments?.lookup),\n transform: getWrapperInformation(fragments?.transform),\n },\n };\n}\nfunction isWrapper(f) {\n return !!f && \"dirtyKey\" in f;\n}\nfunction getWrapperInformation(f) {\n return isWrapper(f) ? f.size : undefined;\n}\nfunction isDefined(value) {\n return value != null;\n}\nfunction transformInfo(transform) {\n return recurseTransformInfo(transform).map((cache) => ({ cache }));\n}\nfunction recurseTransformInfo(transform) {\n return transform ?\n [\n getWrapperInformation(transform?.[\"performWork\"]),\n ...recurseTransformInfo(transform?.[\"left\"]),\n ...recurseTransformInfo(transform?.[\"right\"]),\n ].filter(isDefined)\n : [];\n}\nfunction linkInfo(link) {\n return link ?\n [\n link?.getMemoryInternals?.(),\n ...linkInfo(link?.left),\n ...linkInfo(link?.right),\n ].filter(isDefined)\n : [];\n}\n//# sourceMappingURL=getMemoryInternals.js.map\n"],"x_google_ignoreList":[0],"mappings":";AAEA,IAAM,IAAe,EAAE;AACvB,SAAgB,EAAoB,GAAM,GAAS;AAC/C,GAAa,KAAQ"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { checkDocument as e } from "./checkDocument.js";
|
|
2
|
+
//#region node_modules/@apollo/client/utilities/internal/getOperationDefinition.js
|
|
3
|
+
function t(t) {
|
|
4
|
+
return e(t), t.definitions.filter((e) => e.kind === "OperationDefinition")[0];
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as getOperationDefinition };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=getOperationDefinition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOperationDefinition.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/getOperationDefinition.js"],"sourcesContent":["import { checkDocument } from \"./checkDocument.js\";\n/**\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport function getOperationDefinition(doc) {\n checkDocument(doc);\n return doc.definitions.filter((definition) => definition.kind === \"OperationDefinition\")[0];\n}\n//# sourceMappingURL=getOperationDefinition.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAMA,SAAgB,EAAuB,GAAK;AAExC,QADA,EAAc,EAAI,EACX,EAAI,YAAY,QAAQ,MAAe,EAAW,SAAS,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region node_modules/@apollo/client/utilities/internal/getOperationName.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
return e.definitions.find((e) => e.kind === "OperationDefinition" && !!e.name)?.name.value ?? t;
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as getOperationName };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=getOperationName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOperationName.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/getOperationName.js"],"sourcesContent":["/**\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport function getOperationName(doc, fallback) {\n return (doc.definitions.find((definition) => definition.kind === \"OperationDefinition\" && !!definition.name)?.name.value ?? fallback);\n}\n//# sourceMappingURL=getOperationName.js.map\n"],"x_google_ignoreList":[0],"mappings":";AAKA,SAAgB,EAAiB,GAAK,GAAU;AAC5C,QAAQ,EAAI,YAAY,MAAM,MAAe,EAAW,SAAS,yBAAyB,CAAC,CAAC,EAAW,KAAK,EAAE,KAAK,SAAS"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { maybe as e } from "./maybe.js";
|
|
2
|
+
//#region node_modules/@apollo/client/utilities/internal/globals/global.js
|
|
3
|
+
var t = e(() => globalThis) || e(() => window) || e(() => self) || e(() => global) || e(function() {
|
|
4
|
+
return e.constructor("return this")();
|
|
5
|
+
});
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as default };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=global.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global.js","names":[],"sources":["../../../../../../../node_modules/@apollo/client/utilities/internal/globals/global.js"],"sourcesContent":["import { maybe } from \"./maybe.js\";\nexport default (// We don't expect the Function constructor ever to be invoked at runtime, as\n// long as at least one of globalThis, window, self, or global is defined, so\n// we are under no obligation to make it easy for static analysis tools to\n// detect syntactic usage of the Function constructor. If you think you can\nmaybe(() => globalThis) ||\n maybe(() => window) ||\n maybe(() => self) ||\n maybe(() => global) || // improve your static analysis to detect this obfuscation, think again. This\n// is an arms race you cannot win, at least not in JavaScript.\nmaybe(function () {\n return maybe.constructor(\"return this\")();\n}));\n//# sourceMappingURL=global.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAA,IAIA,QAAY,WAAW,IACnB,QAAY,OAAO,IACnB,QAAY,KAAK,IACjB,QAAY,OAAO,IAEvB,EAAM,WAAY;AACd,QAAO,EAAM,YAAY,cAAc,EAAE;EAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maybe.js","names":[],"sources":["../../../../../../../node_modules/@apollo/client/utilities/internal/globals/maybe.js"],"sourcesContent":["export function maybe(thunk) {\n try {\n return thunk();\n }\n catch { }\n}\n//# sourceMappingURL=maybe.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAM,GAAO;AACzB,KAAI;AACA,SAAO,GAAO;SAEZ"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region node_modules/@apollo/client/utilities/internal/makeUniqueId.js
|
|
2
|
+
var e = /* @__PURE__ */ new Map();
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = e.get(t) || 1;
|
|
5
|
+
return e.set(t, n + 1), `${t}:${n}:${Math.random().toString(36).slice(2)}`;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as makeUniqueId };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=makeUniqueId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"makeUniqueId.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/makeUniqueId.js"],"sourcesContent":["const prefixCounts = new Map();\n/**\n* These IDs won't be globally unique, but they will be unique within this\n* process, thanks to the counter, and unguessable thanks to the random suffix.\n*\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport function makeUniqueId(prefix) {\n const count = prefixCounts.get(prefix) || 1;\n prefixCounts.set(prefix, count + 1);\n return `${prefix}:${count}:${Math.random().toString(36).slice(2)}`;\n}\n//# sourceMappingURL=makeUniqueId.js.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,oBAAe,IAAI,KAAK;AAS9B,SAAgB,EAAa,GAAQ;CACjC,IAAM,IAAQ,EAAa,IAAI,EAAO,IAAI;AAE1C,QADA,EAAa,IAAI,GAAQ,IAAQ,EAAE,EAC5B,GAAG,EAAO,GAAG,EAAM,GAAG,KAAK,QAAQ,CAAC,SAAS,GAAG,CAAC,MAAM,EAAE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Trie as e } from "../../../../@wry/trie/lib/index.js";
|
|
2
|
+
import { AutoCleanedWeakCache as t } from "./caches.js";
|
|
3
|
+
//#region node_modules/@apollo/client/utilities/internal/memoize.js
|
|
4
|
+
function n(n, { max: r, makeCacheKey: i = (e) => e }) {
|
|
5
|
+
let a = new e(!0), o = new t(r);
|
|
6
|
+
return (...e) => {
|
|
7
|
+
let t = a.lookupArray(i(e)), r = o.get(t);
|
|
8
|
+
if (r) {
|
|
9
|
+
if (r.error) throw r.error;
|
|
10
|
+
return r.result;
|
|
11
|
+
}
|
|
12
|
+
let s = o.set(t, {});
|
|
13
|
+
try {
|
|
14
|
+
return s.result = n(...e);
|
|
15
|
+
} catch (e) {
|
|
16
|
+
throw s.error = e, e;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { n as memoize };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=memoize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memoize.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/memoize.js"],"sourcesContent":["import { Trie } from \"@wry/trie\";\nimport { AutoCleanedWeakCache } from \"./caches.js\";\n/**\n * Naive alternative to `wrap` without any dependency tracking, potentially avoiding resulting memory leaks.\n */\nexport function memoize(fn, { max, makeCacheKey = (args) => args, }) {\n const keys = new Trie(true);\n const cache = new AutoCleanedWeakCache(max);\n return (...args) => {\n const cacheKey = keys.lookupArray(makeCacheKey(args));\n const cached = cache.get(cacheKey);\n if (cached) {\n if (cached.error) {\n throw cached.error;\n }\n return cached.result;\n }\n const entry = cache.set(cacheKey, {});\n try {\n return (entry.result = fn(...args));\n }\n catch (error) {\n entry.error = error;\n throw error;\n }\n };\n}\n//# sourceMappingURL=memoize.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAKA,SAAgB,EAAQ,GAAI,EAAE,QAAK,mBAAgB,MAAS,KAAS;CACjE,IAAM,IAAO,IAAI,EAAK,GAAK,EACrB,IAAQ,IAAI,EAAqB,EAAI;AAC3C,SAAQ,GAAG,MAAS;EAChB,IAAM,IAAW,EAAK,YAAY,EAAa,EAAK,CAAC,EAC/C,IAAS,EAAM,IAAI,EAAS;AAClC,MAAI,GAAQ;AACR,OAAI,EAAO,MACP,OAAM,EAAO;AAEjB,UAAO,EAAO;;EAElB,IAAM,IAAQ,EAAM,IAAI,GAAU,EAAE,CAAC;AACrC,MAAI;AACA,UAAQ,EAAM,SAAS,EAAG,GAAG,EAAK;WAE/B,GAAO;AAEV,SADA,EAAM,QAAQ,GACR"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { makeUniqueId as e } from "./makeUniqueId.js";
|
|
2
|
+
//#region node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js
|
|
3
|
+
function t(t, n = 0) {
|
|
4
|
+
let r = e("stringifyForDisplay");
|
|
5
|
+
return JSON.stringify(t, (e, t) => t === void 0 ? r : t, n).split(JSON.stringify(r)).join("<undefined>");
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as stringifyForDisplay };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=stringifyForDisplay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stringifyForDisplay.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js"],"sourcesContent":["import { makeUniqueId } from \"./makeUniqueId.js\";\n/**\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport function stringifyForDisplay(value, space = 0) {\n const undefId = makeUniqueId(\"stringifyForDisplay\");\n return JSON.stringify(value, (_, value) => {\n return value === void 0 ? undefId : value;\n }, space)\n .split(JSON.stringify(undefId))\n .join(\"<undefined>\");\n}\n//# sourceMappingURL=stringifyForDisplay.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAMA,SAAgB,EAAoB,GAAO,IAAQ,GAAG;CAClD,IAAM,IAAU,EAAa,sBAAsB;AACnD,QAAO,KAAK,UAAU,IAAQ,GAAG,MACtB,MAAU,KAAK,IAAI,IAAU,GACrC,EAAM,CACJ,MAAM,KAAK,UAAU,EAAQ,CAAC,CAC9B,KAAK,cAAc"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import e from "../internal/globals/global.js";
|
|
2
|
+
import { version as t } from "../../version.js";
|
|
3
|
+
import { stringifyForDisplay as n } from "../internal/stringifyForDisplay.js";
|
|
4
|
+
//#region node_modules/@apollo/client/utilities/invariant/index.js
|
|
5
|
+
var r = "Invariant Violation", i = class e extends Error {
|
|
6
|
+
constructor(t = r) {
|
|
7
|
+
super(t), this.name = r, Object.setPrototypeOf(this, e.prototype);
|
|
8
|
+
}
|
|
9
|
+
}, a = [
|
|
10
|
+
"debug",
|
|
11
|
+
"log",
|
|
12
|
+
"warn",
|
|
13
|
+
"error",
|
|
14
|
+
"silent"
|
|
15
|
+
], o = a.indexOf("silent");
|
|
16
|
+
function s(e, ...t) {
|
|
17
|
+
if (!e) throw l(...t);
|
|
18
|
+
}
|
|
19
|
+
function c(e) {
|
|
20
|
+
return function(t, ...n) {
|
|
21
|
+
if (a.indexOf(e) >= o) {
|
|
22
|
+
let r = console[e] || console.log;
|
|
23
|
+
if (typeof t == "number") {
|
|
24
|
+
let e = t;
|
|
25
|
+
t = f(e), t || (t = p(e, n), n = []);
|
|
26
|
+
}
|
|
27
|
+
r(t, ...n);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
s.debug = c("debug"), s.log = c("log"), s.warn = c("warn"), s.error = c("error");
|
|
32
|
+
function l(e, ...t) {
|
|
33
|
+
return new i(f(e, t) || p(e, t));
|
|
34
|
+
}
|
|
35
|
+
var u = Symbol.for("ApolloErrorMessageHandler_" + t);
|
|
36
|
+
function d(e) {
|
|
37
|
+
if (typeof e == "string") return e;
|
|
38
|
+
try {
|
|
39
|
+
return n(e, 2).slice(0, 1e3);
|
|
40
|
+
} catch {
|
|
41
|
+
return "<non-serializable>";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function f(t, n = []) {
|
|
45
|
+
if (t) return e[u] && e[u](t, n.map(d));
|
|
46
|
+
}
|
|
47
|
+
function p(e, n = []) {
|
|
48
|
+
if (e) return typeof e == "string" ? n.reduce((e, t) => e.replace(/%[sdfo]/, d(t)), e) : `An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({
|
|
49
|
+
version: t,
|
|
50
|
+
message: e,
|
|
51
|
+
args: n.map(d)
|
|
52
|
+
}))}`;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { s as invariant, l as newInvariantError };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["global"],"sources":["../../../../../../node_modules/@apollo/client/utilities/invariant/index.js"],"sourcesContent":["import { __DEV__ } from \"@apollo/client/utilities/environment\";\nimport { global } from \"@apollo/client/utilities/internal/globals\";\nimport { version } from \"../../version.js\";\n// eslint-disable-next-line local-rules/import-from-inside-other-export\nimport { stringifyForDisplay } from \"../internal/stringifyForDisplay.js\";\nconst genericMessage = \"Invariant Violation\";\nexport class InvariantError extends Error {\n constructor(message = genericMessage) {\n super(message);\n this.name = genericMessage;\n Object.setPrototypeOf(this, InvariantError.prototype);\n }\n}\nconst verbosityLevels = [\"debug\", \"log\", \"warn\", \"error\", \"silent\"];\nlet verbosityLevel = verbosityLevels.indexOf(__DEV__ ? \"log\" : \"silent\");\nexport function invariant(condition, ...args) {\n if (!condition) {\n throw newInvariantError(...args);\n }\n}\nfunction wrapConsoleMethod(name) {\n return function (message, ...args) {\n if (verbosityLevels.indexOf(name) >= verbosityLevel) {\n // Default to console.log if this host environment happens not to provide\n // all the console.* methods we need.\n const method = console[name] || console.log;\n if (typeof message === \"number\") {\n const arg0 = message;\n message = getHandledErrorMsg(arg0);\n if (!message) {\n message = getFallbackErrorMsg(arg0, args);\n args = [];\n }\n }\n method(message, ...args);\n }\n };\n}\ninvariant.debug = wrapConsoleMethod(\"debug\");\ninvariant.log = wrapConsoleMethod(\"log\");\ninvariant.warn = wrapConsoleMethod(\"warn\");\ninvariant.error = wrapConsoleMethod(\"error\");\nexport function setVerbosity(level) {\n const old = verbosityLevels[verbosityLevel];\n verbosityLevel = Math.max(0, verbosityLevels.indexOf(level));\n return old;\n}\n/**\n * Returns an InvariantError.\n *\n * `message` can only be a string, a concatenation of strings, or a ternary statement\n * that results in a string. This will be enforced on build, where the message will\n * be replaced with a message number.\n * String substitutions with %s are supported and will also return\n * pretty-stringified objects.\n * Excess `optionalParams` will be swallowed.\n */\nexport function newInvariantError(message, ...optionalParams) {\n return new InvariantError(getHandledErrorMsg(message, optionalParams) ||\n getFallbackErrorMsg(message, optionalParams));\n}\n// This is duplicated between `@apollo/client/dev` and `@apollo/client/utilities/invariant` to prevent circular references.\nexport const ApolloErrorMessageHandler = Symbol.for(\"ApolloErrorMessageHandler_\" + version);\nfunction stringify(arg) {\n if (typeof arg == \"string\") {\n return arg;\n }\n try {\n return stringifyForDisplay(arg, 2).slice(0, 1000);\n }\n catch {\n return \"<non-serializable>\";\n }\n}\nfunction getHandledErrorMsg(message, messageArgs = []) {\n if (!message)\n return;\n return (global[ApolloErrorMessageHandler] &&\n global[ApolloErrorMessageHandler](message, messageArgs.map(stringify)));\n}\nfunction getFallbackErrorMsg(message, messageArgs = []) {\n if (!message)\n return;\n if (typeof message === \"string\") {\n return messageArgs.reduce((msg, arg) => msg.replace(/%[sdfo]/, stringify(arg)), message);\n }\n return `An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({\n version,\n message,\n args: messageArgs.map(stringify),\n }))}`;\n}\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AAKA,IAAM,IAAiB,uBACV,IAAb,MAAa,UAAuB,MAAM;CACtC,YAAY,IAAU,GAAgB;AAGlC,EAFA,MAAM,EAAQ,EACd,KAAK,OAAO,GACZ,OAAO,eAAe,MAAM,EAAe,UAAU;;GAGvD,IAAkB;CAAC;CAAS;CAAO;CAAQ;CAAS;CAAS,EAC/D,IAAiB,EAAgB,QAA0B,SAAS;AACxE,SAAgB,EAAU,GAAW,GAAG,GAAM;AAC1C,KAAI,CAAC,EACD,OAAM,EAAkB,GAAG,EAAK;;AAGxC,SAAS,EAAkB,GAAM;AAC7B,QAAO,SAAU,GAAS,GAAG,GAAM;AAC/B,MAAI,EAAgB,QAAQ,EAAK,IAAI,GAAgB;GAGjD,IAAM,IAAS,QAAQ,MAAS,QAAQ;AACxC,OAAI,OAAO,KAAY,UAAU;IAC7B,IAAM,IAAO;AAEb,IADA,IAAU,EAAmB,EAAK,EAC7B,MACD,IAAU,EAAoB,GAAM,EAAK,EACzC,IAAO,EAAE;;AAGjB,KAAO,GAAS,GAAG,EAAK;;;;AAIpC,EAAU,QAAQ,EAAkB,QAAQ,EAC5C,EAAU,MAAM,EAAkB,MAAM,EACxC,EAAU,OAAO,EAAkB,OAAO,EAC1C,EAAU,QAAQ,EAAkB,QAAQ;AAgB5C,SAAgB,EAAkB,GAAS,GAAG,GAAgB;AAC1D,QAAO,IAAI,EAAe,EAAmB,GAAS,EAAe,IACjE,EAAoB,GAAS,EAAe,CAAC;;AAGrD,IAAa,IAA4B,OAAO,IAAI,+BAA+B,EAAQ;AAC3F,SAAS,EAAU,GAAK;AACpB,KAAI,OAAO,KAAO,SACd,QAAO;AAEX,KAAI;AACA,SAAO,EAAoB,GAAK,EAAE,CAAC,MAAM,GAAG,IAAK;SAE/C;AACF,SAAO;;;AAGf,SAAS,EAAmB,GAAS,IAAc,EAAE,EAAE;AAC9C,OAEL,QAAQA,EAAO,MACXA,EAAO,GAA2B,GAAS,EAAY,IAAI,EAAU,CAAC;;AAE9E,SAAS,EAAoB,GAAS,IAAc,EAAE,EAAE;AAC/C,OAKL,QAHI,OAAO,KAAY,WACZ,EAAY,QAAQ,GAAK,MAAQ,EAAI,QAAQ,WAAW,EAAU,EAAI,CAAC,EAAE,EAAQ,GAErF,+FAA+F,mBAAmB,KAAK,UAAU;EACpI;EACA;EACA,MAAM,EAAY,IAAI,EAAU;EACnC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","names":[],"sources":["../../../../node_modules/@apollo/client/version.js"],"sourcesContent":["export const version = \"4.1.9\";\nexport const build = \"esm\";\n//# sourceMappingURL=version.js.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,IAAU"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
//#region node_modules/@wry/caches/lib/weak.js
|
|
2
|
+
function e() {}
|
|
3
|
+
var t = e, n = typeof WeakRef < "u" ? WeakRef : function(e) {
|
|
4
|
+
return { deref: () => e };
|
|
5
|
+
}, r = typeof WeakMap < "u" ? WeakMap : Map, i = typeof FinalizationRegistry < "u" ? FinalizationRegistry : function() {
|
|
6
|
+
return {
|
|
7
|
+
register: e,
|
|
8
|
+
unregister: e
|
|
9
|
+
};
|
|
10
|
+
}, a = 10024, o = class {
|
|
11
|
+
constructor(e = Infinity, o = t) {
|
|
12
|
+
this.max = e, this.dispose = o, this.map = new r(), this.newest = null, this.oldest = null, this.unfinalizedNodes = /* @__PURE__ */ new Set(), this.finalizationScheduled = !1, this.size = 0, this.finalize = () => {
|
|
13
|
+
let e = this.unfinalizedNodes.values();
|
|
14
|
+
for (let t = 0; t < a; t++) {
|
|
15
|
+
let t = e.next().value;
|
|
16
|
+
if (!t) break;
|
|
17
|
+
this.unfinalizedNodes.delete(t);
|
|
18
|
+
let r = t.key;
|
|
19
|
+
delete t.key, t.keyRef = new n(r), this.registry.register(r, t, t);
|
|
20
|
+
}
|
|
21
|
+
this.unfinalizedNodes.size > 0 ? queueMicrotask(this.finalize) : this.finalizationScheduled = !1;
|
|
22
|
+
}, this.registry = new i(this.deleteNode.bind(this));
|
|
23
|
+
}
|
|
24
|
+
has(e) {
|
|
25
|
+
return this.map.has(e);
|
|
26
|
+
}
|
|
27
|
+
get(e) {
|
|
28
|
+
let t = this.getNode(e);
|
|
29
|
+
return t && t.value;
|
|
30
|
+
}
|
|
31
|
+
getNode(e) {
|
|
32
|
+
let t = this.map.get(e);
|
|
33
|
+
if (t && t !== this.newest) {
|
|
34
|
+
let { older: e, newer: n } = t;
|
|
35
|
+
n && (n.older = e), e && (e.newer = n), t.older = this.newest, t.older.newer = t, t.newer = null, this.newest = t, t === this.oldest && (this.oldest = n);
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
}
|
|
39
|
+
set(e, t) {
|
|
40
|
+
let n = this.getNode(e);
|
|
41
|
+
return n ? n.value = t : (n = {
|
|
42
|
+
key: e,
|
|
43
|
+
value: t,
|
|
44
|
+
newer: null,
|
|
45
|
+
older: this.newest
|
|
46
|
+
}, this.newest && (this.newest.newer = n), this.newest = n, this.oldest = this.oldest || n, this.scheduleFinalization(n), this.map.set(e, n), this.size++, n.value);
|
|
47
|
+
}
|
|
48
|
+
clean() {
|
|
49
|
+
for (; this.oldest && this.size > this.max;) this.deleteNode(this.oldest);
|
|
50
|
+
}
|
|
51
|
+
deleteNode(e) {
|
|
52
|
+
e === this.newest && (this.newest = e.older), e === this.oldest && (this.oldest = e.newer), e.newer && (e.newer.older = e.older), e.older && (e.older.newer = e.newer), this.size--;
|
|
53
|
+
let t = e.key || e.keyRef && e.keyRef.deref();
|
|
54
|
+
this.dispose(e.value, t), e.keyRef ? this.registry.unregister(e) : this.unfinalizedNodes.delete(e), t && this.map.delete(t);
|
|
55
|
+
}
|
|
56
|
+
delete(e) {
|
|
57
|
+
let t = this.map.get(e);
|
|
58
|
+
return t ? (this.deleteNode(t), !0) : !1;
|
|
59
|
+
}
|
|
60
|
+
scheduleFinalization(e) {
|
|
61
|
+
this.unfinalizedNodes.add(e), this.finalizationScheduled || (this.finalizationScheduled = !0, queueMicrotask(this.finalize));
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
//#endregion
|
|
65
|
+
export { o as WeakCache };
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=weak.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weak.js","names":[],"sources":["../../../../../node_modules/@wry/caches/lib/weak.js"],"sourcesContent":["function noop() { }\nconst defaultDispose = noop;\nconst _WeakRef = typeof WeakRef !== \"undefined\"\n ? WeakRef\n : function (value) {\n return { deref: () => value };\n };\nconst _WeakMap = typeof WeakMap !== \"undefined\" ? WeakMap : Map;\nconst _FinalizationRegistry = typeof FinalizationRegistry !== \"undefined\"\n ? FinalizationRegistry\n : function () {\n return {\n register: noop,\n unregister: noop,\n };\n };\nconst finalizationBatchSize = 10024;\nexport class WeakCache {\n constructor(max = Infinity, dispose = defaultDispose) {\n this.max = max;\n this.dispose = dispose;\n this.map = new _WeakMap();\n this.newest = null;\n this.oldest = null;\n this.unfinalizedNodes = new Set();\n this.finalizationScheduled = false;\n this.size = 0;\n this.finalize = () => {\n const iterator = this.unfinalizedNodes.values();\n for (let i = 0; i < finalizationBatchSize; i++) {\n const node = iterator.next().value;\n if (!node)\n break;\n this.unfinalizedNodes.delete(node);\n const key = node.key;\n delete node.key;\n node.keyRef = new _WeakRef(key);\n this.registry.register(key, node, node);\n }\n if (this.unfinalizedNodes.size > 0) {\n queueMicrotask(this.finalize);\n }\n else {\n this.finalizationScheduled = false;\n }\n };\n this.registry = new _FinalizationRegistry(this.deleteNode.bind(this));\n }\n has(key) {\n return this.map.has(key);\n }\n get(key) {\n const node = this.getNode(key);\n return node && node.value;\n }\n getNode(key) {\n const node = this.map.get(key);\n if (node && node !== this.newest) {\n const { older, newer } = node;\n if (newer) {\n newer.older = older;\n }\n if (older) {\n older.newer = newer;\n }\n node.older = this.newest;\n node.older.newer = node;\n node.newer = null;\n this.newest = node;\n if (node === this.oldest) {\n this.oldest = newer;\n }\n }\n return node;\n }\n set(key, value) {\n let node = this.getNode(key);\n if (node) {\n return (node.value = value);\n }\n node = {\n key,\n value,\n newer: null,\n older: this.newest,\n };\n if (this.newest) {\n this.newest.newer = node;\n }\n this.newest = node;\n this.oldest = this.oldest || node;\n this.scheduleFinalization(node);\n this.map.set(key, node);\n this.size++;\n return node.value;\n }\n clean() {\n while (this.oldest && this.size > this.max) {\n this.deleteNode(this.oldest);\n }\n }\n deleteNode(node) {\n if (node === this.newest) {\n this.newest = node.older;\n }\n if (node === this.oldest) {\n this.oldest = node.newer;\n }\n if (node.newer) {\n node.newer.older = node.older;\n }\n if (node.older) {\n node.older.newer = node.newer;\n }\n this.size--;\n const key = node.key || (node.keyRef && node.keyRef.deref());\n this.dispose(node.value, key);\n if (!node.keyRef) {\n this.unfinalizedNodes.delete(node);\n }\n else {\n this.registry.unregister(node);\n }\n if (key)\n this.map.delete(key);\n }\n delete(key) {\n const node = this.map.get(key);\n if (node) {\n this.deleteNode(node);\n return true;\n }\n return false;\n }\n scheduleFinalization(node) {\n this.unfinalizedNodes.add(node);\n if (!this.finalizationScheduled) {\n this.finalizationScheduled = true;\n queueMicrotask(this.finalize);\n }\n }\n}\n//# sourceMappingURL=weak.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,IAAO;AAChB,IAAM,IAAiB,GACjB,IAAW,OAAO,UAAY,MAC9B,UACA,SAAU,GAAO;AACf,QAAO,EAAE,aAAa,GAAO;GAE/B,IAAW,OAAO,UAAY,MAAc,UAAU,KACtD,IAAwB,OAAO,uBAAyB,MACxD,uBACA,WAAY;AACV,QAAO;EACH,UAAU;EACV,YAAY;EACf;GAEH,IAAwB,OACjB,IAAb,MAAuB;CACnB,YAAY,IAAM,UAAU,IAAU,GAAgB;AA4BlD,EA3BA,KAAK,MAAM,GACX,KAAK,UAAU,GACf,KAAK,MAAM,IAAI,GAAU,EACzB,KAAK,SAAS,MACd,KAAK,SAAS,MACd,KAAK,mCAAmB,IAAI,KAAK,EACjC,KAAK,wBAAwB,IAC7B,KAAK,OAAO,GACZ,KAAK,iBAAiB;GAClB,IAAM,IAAW,KAAK,iBAAiB,QAAQ;AAC/C,QAAK,IAAI,IAAI,GAAG,IAAI,GAAuB,KAAK;IAC5C,IAAM,IAAO,EAAS,MAAM,CAAC;AAC7B,QAAI,CAAC,EACD;AACJ,SAAK,iBAAiB,OAAO,EAAK;IAClC,IAAM,IAAM,EAAK;AAGjB,IAFA,OAAO,EAAK,KACZ,EAAK,SAAS,IAAI,EAAS,EAAI,EAC/B,KAAK,SAAS,SAAS,GAAK,GAAM,EAAK;;AAE3C,GAAI,KAAK,iBAAiB,OAAO,IAC7B,eAAe,KAAK,SAAS,GAG7B,KAAK,wBAAwB;KAGrC,KAAK,WAAW,IAAI,EAAsB,KAAK,WAAW,KAAK,KAAK,CAAC;;CAEzE,IAAI,GAAK;AACL,SAAO,KAAK,IAAI,IAAI,EAAI;;CAE5B,IAAI,GAAK;EACL,IAAM,IAAO,KAAK,QAAQ,EAAI;AAC9B,SAAO,KAAQ,EAAK;;CAExB,QAAQ,GAAK;EACT,IAAM,IAAO,KAAK,IAAI,IAAI,EAAI;AAC9B,MAAI,KAAQ,MAAS,KAAK,QAAQ;GAC9B,IAAM,EAAE,UAAO,aAAU;AAWzB,GAVI,MACA,EAAM,QAAQ,IAEd,MACA,EAAM,QAAQ,IAElB,EAAK,QAAQ,KAAK,QAClB,EAAK,MAAM,QAAQ,GACnB,EAAK,QAAQ,MACb,KAAK,SAAS,GACV,MAAS,KAAK,WACd,KAAK,SAAS;;AAGtB,SAAO;;CAEX,IAAI,GAAK,GAAO;EACZ,IAAI,IAAO,KAAK,QAAQ,EAAI;AAkB5B,SAjBI,IACQ,EAAK,QAAQ,KAEzB,IAAO;GACH;GACA;GACA,OAAO;GACP,OAAO,KAAK;GACf,EACG,KAAK,WACL,KAAK,OAAO,QAAQ,IAExB,KAAK,SAAS,GACd,KAAK,SAAS,KAAK,UAAU,GAC7B,KAAK,qBAAqB,EAAK,EAC/B,KAAK,IAAI,IAAI,GAAK,EAAK,EACvB,KAAK,QACE,EAAK;;CAEhB,QAAQ;AACJ,SAAO,KAAK,UAAU,KAAK,OAAO,KAAK,KACnC,MAAK,WAAW,KAAK,OAAO;;CAGpC,WAAW,GAAM;AAab,EAZI,MAAS,KAAK,WACd,KAAK,SAAS,EAAK,QAEnB,MAAS,KAAK,WACd,KAAK,SAAS,EAAK,QAEnB,EAAK,UACL,EAAK,MAAM,QAAQ,EAAK,QAExB,EAAK,UACL,EAAK,MAAM,QAAQ,EAAK,QAE5B,KAAK;EACL,IAAM,IAAM,EAAK,OAAQ,EAAK,UAAU,EAAK,OAAO,OAAO;AAQ3D,EAPA,KAAK,QAAQ,EAAK,OAAO,EAAI,EACxB,EAAK,SAIN,KAAK,SAAS,WAAW,EAAK,GAH9B,KAAK,iBAAiB,OAAO,EAAK,EAKlC,KACA,KAAK,IAAI,OAAO,EAAI;;CAE5B,OAAO,GAAK;EACR,IAAM,IAAO,KAAK,IAAI,IAAI,EAAI;AAK9B,SAJI,KACA,KAAK,WAAW,EAAK,EACd,MAEJ;;CAEX,qBAAqB,GAAM;AAEvB,EADA,KAAK,iBAAiB,IAAI,EAAK,EAC1B,KAAK,0BACN,KAAK,wBAAwB,IAC7B,eAAe,KAAK,SAAS"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
//#region node_modules/@wry/trie/lib/index.js
|
|
2
|
+
var e = () => Object.create(null), { forEach: t, slice: n } = Array.prototype, { hasOwnProperty: r } = Object.prototype, i = class i {
|
|
3
|
+
constructor(t = !0, n = e) {
|
|
4
|
+
this.weakness = t, this.makeData = n;
|
|
5
|
+
}
|
|
6
|
+
lookup() {
|
|
7
|
+
return this.lookupArray(arguments);
|
|
8
|
+
}
|
|
9
|
+
lookupArray(e) {
|
|
10
|
+
let i = this;
|
|
11
|
+
return t.call(e, (e) => i = i.getChildTrie(e)), r.call(i, "data") ? i.data : i.data = this.makeData(n.call(e));
|
|
12
|
+
}
|
|
13
|
+
peek() {
|
|
14
|
+
return this.peekArray(arguments);
|
|
15
|
+
}
|
|
16
|
+
peekArray(e) {
|
|
17
|
+
let t = this;
|
|
18
|
+
for (let n = 0, r = e.length; t && n < r; ++n) {
|
|
19
|
+
let r = t.mapFor(e[n], !1);
|
|
20
|
+
t = r && r.get(e[n]);
|
|
21
|
+
}
|
|
22
|
+
return t && t.data;
|
|
23
|
+
}
|
|
24
|
+
remove() {
|
|
25
|
+
return this.removeArray(arguments);
|
|
26
|
+
}
|
|
27
|
+
removeArray(e) {
|
|
28
|
+
let t;
|
|
29
|
+
if (e.length) {
|
|
30
|
+
let r = e[0], i = this.mapFor(r, !1), a = i && i.get(r);
|
|
31
|
+
a && (t = a.removeArray(n.call(e, 1)), !a.data && !a.weak && !(a.strong && a.strong.size) && i.delete(r));
|
|
32
|
+
} else t = this.data, delete this.data;
|
|
33
|
+
return t;
|
|
34
|
+
}
|
|
35
|
+
getChildTrie(e) {
|
|
36
|
+
let t = this.mapFor(e, !0), n = t.get(e);
|
|
37
|
+
return n || t.set(e, n = new i(this.weakness, this.makeData)), n;
|
|
38
|
+
}
|
|
39
|
+
mapFor(e, t) {
|
|
40
|
+
return this.weakness && a(e) ? this.weak || (t ? this.weak = /* @__PURE__ */ new WeakMap() : void 0) : this.strong || (t ? this.strong = /* @__PURE__ */ new Map() : void 0);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
function a(e) {
|
|
44
|
+
switch (typeof e) {
|
|
45
|
+
case "object": if (e === null) break;
|
|
46
|
+
case "function": return !0;
|
|
47
|
+
}
|
|
48
|
+
return !1;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { i as Trie };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../node_modules/@wry/trie/lib/index.js"],"sourcesContent":["// A [trie](https://en.wikipedia.org/wiki/Trie) data structure that holds\n// object keys weakly, yet can also hold non-object keys, unlike the\n// native `WeakMap`.\n// If no makeData function is supplied, the looked-up data will be an empty,\n// null-prototype Object.\nconst defaultMakeData = () => Object.create(null);\n// Useful for processing arguments objects as well as arrays.\nconst { forEach, slice } = Array.prototype;\nconst { hasOwnProperty } = Object.prototype;\nexport class Trie {\n constructor(weakness = true, makeData = defaultMakeData) {\n this.weakness = weakness;\n this.makeData = makeData;\n }\n lookup() {\n return this.lookupArray(arguments);\n }\n lookupArray(array) {\n let node = this;\n forEach.call(array, key => node = node.getChildTrie(key));\n return hasOwnProperty.call(node, \"data\")\n ? node.data\n : node.data = this.makeData(slice.call(array));\n }\n peek() {\n return this.peekArray(arguments);\n }\n peekArray(array) {\n let node = this;\n for (let i = 0, len = array.length; node && i < len; ++i) {\n const map = node.mapFor(array[i], false);\n node = map && map.get(array[i]);\n }\n return node && node.data;\n }\n remove() {\n return this.removeArray(arguments);\n }\n removeArray(array) {\n let data;\n if (array.length) {\n const head = array[0];\n const map = this.mapFor(head, false);\n const child = map && map.get(head);\n if (child) {\n data = child.removeArray(slice.call(array, 1));\n if (!child.data && !child.weak && !(child.strong && child.strong.size)) {\n map.delete(head);\n }\n }\n }\n else {\n data = this.data;\n delete this.data;\n }\n return data;\n }\n getChildTrie(key) {\n const map = this.mapFor(key, true);\n let child = map.get(key);\n if (!child)\n map.set(key, child = new Trie(this.weakness, this.makeData));\n return child;\n }\n mapFor(key, create) {\n return this.weakness && isObjRef(key)\n ? this.weak || (create ? this.weak = new WeakMap : void 0)\n : this.strong || (create ? this.strong = new Map : void 0);\n }\n}\nfunction isObjRef(value) {\n switch (typeof value) {\n case \"object\":\n if (value === null)\n break;\n // Fall through to return true...\n case \"function\":\n return true;\n }\n return false;\n}\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";AAKA,IAAM,UAAwB,OAAO,OAAO,KAAK,EAE3C,EAAE,YAAS,aAAU,MAAM,WAC3B,EAAE,sBAAmB,OAAO,WACrB,IAAb,MAAa,EAAK;CACd,YAAY,IAAW,IAAM,IAAW,GAAiB;AAErD,EADA,KAAK,WAAW,GAChB,KAAK,WAAW;;CAEpB,SAAS;AACL,SAAO,KAAK,YAAY,UAAU;;CAEtC,YAAY,GAAO;EACf,IAAI,IAAO;AAEX,SADA,EAAQ,KAAK,IAAO,MAAO,IAAO,EAAK,aAAa,EAAI,CAAC,EAClD,EAAe,KAAK,GAAM,OAAO,GAClC,EAAK,OACL,EAAK,OAAO,KAAK,SAAS,EAAM,KAAK,EAAM,CAAC;;CAEtD,OAAO;AACH,SAAO,KAAK,UAAU,UAAU;;CAEpC,UAAU,GAAO;EACb,IAAI,IAAO;AACX,OAAK,IAAI,IAAI,GAAG,IAAM,EAAM,QAAQ,KAAQ,IAAI,GAAK,EAAE,GAAG;GACtD,IAAM,IAAM,EAAK,OAAO,EAAM,IAAI,GAAM;AACxC,OAAO,KAAO,EAAI,IAAI,EAAM,GAAG;;AAEnC,SAAO,KAAQ,EAAK;;CAExB,SAAS;AACL,SAAO,KAAK,YAAY,UAAU;;CAEtC,YAAY,GAAO;EACf,IAAI;AACJ,MAAI,EAAM,QAAQ;GACd,IAAM,IAAO,EAAM,IACb,IAAM,KAAK,OAAO,GAAM,GAAM,EAC9B,IAAQ,KAAO,EAAI,IAAI,EAAK;AAClC,GAAI,MACA,IAAO,EAAM,YAAY,EAAM,KAAK,GAAO,EAAE,CAAC,EAC1C,CAAC,EAAM,QAAQ,CAAC,EAAM,QAAQ,EAAE,EAAM,UAAU,EAAM,OAAO,SAC7D,EAAI,OAAO,EAAK;QAMxB,CADA,IAAO,KAAK,MACZ,OAAO,KAAK;AAEhB,SAAO;;CAEX,aAAa,GAAK;EACd,IAAM,IAAM,KAAK,OAAO,GAAK,GAAK,EAC9B,IAAQ,EAAI,IAAI,EAAI;AAGxB,SAFK,KACD,EAAI,IAAI,GAAK,IAAQ,IAAI,EAAK,KAAK,UAAU,KAAK,SAAS,CAAC,EACzD;;CAEX,OAAO,GAAK,GAAQ;AAChB,SAAO,KAAK,YAAY,EAAS,EAAI,GAC/B,KAAK,SAAS,IAAS,KAAK,uBAAO,IAAI,SAAO,GAAG,KAAK,KACtD,KAAK,WAAW,IAAS,KAAK,yBAAS,IAAI,KAAG,GAAG,KAAK;;;AAGpE,SAAS,EAAS,GAAO;AACrB,SAAQ,OAAO,GAAf;EACI,KAAK,SACD,KAAI,MAAU,KACV;EAER,KAAK,WACD,QAAO;;AAEf,QAAO"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
2
|
+
var e = (function() {
|
|
3
|
+
return r("C", void 0, void 0);
|
|
4
|
+
})();
|
|
5
|
+
function t(e) {
|
|
6
|
+
return r("E", void 0, e);
|
|
7
|
+
}
|
|
8
|
+
function n(e) {
|
|
9
|
+
return r("N", e, void 0);
|
|
10
|
+
}
|
|
11
|
+
function r(e, t, n) {
|
|
12
|
+
return {
|
|
13
|
+
kind: e,
|
|
14
|
+
value: t,
|
|
15
|
+
error: n
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as COMPLETE_NOTIFICATION, t as errorNotification, n as nextNotification };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=NotificationFactories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationFactories.js","names":[],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/NotificationFactories.js"],"sourcesContent":["export var COMPLETE_NOTIFICATION = (function () { return createNotification('C', undefined, undefined); })();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind: kind,\n value: value,\n error: error,\n };\n}\n//# sourceMappingURL=NotificationFactories.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,KAAyB,WAAY;AAAE,QAAO,EAAmB,KAAK,KAAA,GAAW,KAAA,EAAU;IAAM;AAC5G,SAAgB,EAAkB,GAAO;AACrC,QAAO,EAAmB,KAAK,KAAA,GAAW,EAAM;;AAEpD,SAAgB,EAAiB,GAAO;AACpC,QAAO,EAAmB,KAAK,GAAO,KAAA,EAAU;;AAEpD,SAAgB,EAAmB,GAAM,GAAO,GAAO;AACnD,QAAO;EACG;EACC;EACA;EACV"}
|