@burdenoff/microfe-vibecontrols 2026.522.3 → 2026.522.5

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.
Files changed (117) hide show
  1. package/dist/components/vibe/VibeAgentEmptyState.js +126 -18
  2. package/dist/components/vibe/VibeAgentEmptyState.js.map +1 -1
  3. package/dist/node_modules/@apollo/client/errors/ServerError.js +17 -0
  4. package/dist/node_modules/@apollo/client/errors/ServerError.js.map +1 -0
  5. package/dist/node_modules/@apollo/client/errors/ServerParseError.js +17 -0
  6. package/dist/node_modules/@apollo/client/errors/ServerParseError.js.map +1 -0
  7. package/dist/node_modules/@apollo/client/link/batch/batchLink.js +28 -0
  8. package/dist/node_modules/@apollo/client/link/batch/batchLink.js.map +1 -0
  9. package/dist/node_modules/@apollo/client/link/batch/batching.js +70 -0
  10. package/dist/node_modules/@apollo/client/link/batch/batching.js.map +1 -0
  11. package/dist/node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js +74 -0
  12. package/dist/node_modules/@apollo/client/link/batch-http/BaseBatchHttpLink.js.map +1 -0
  13. package/dist/node_modules/@apollo/client/link/batch-http/batchHttpLink.js +17 -0
  14. package/dist/node_modules/@apollo/client/link/batch-http/batchHttpLink.js.map +1 -0
  15. package/dist/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js +32 -0
  16. package/dist/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js.map +1 -0
  17. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +52 -0
  18. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
  19. package/dist/node_modules/@apollo/client/link/http/checkFetcher.js +9 -0
  20. package/dist/node_modules/@apollo/client/link/http/checkFetcher.js.map +1 -0
  21. package/dist/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +45 -0
  22. package/dist/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js.map +1 -0
  23. package/dist/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js +60 -0
  24. package/dist/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js.map +1 -0
  25. package/dist/node_modules/@apollo/client/link/http/selectURI.js +6 -0
  26. package/dist/node_modules/@apollo/client/link/http/selectURI.js.map +1 -0
  27. package/dist/node_modules/@apollo/client/link/utils/createOperation.js +34 -0
  28. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
  29. package/dist/node_modules/@apollo/client/link/utils/filterOperationVariables.js +14 -0
  30. package/dist/node_modules/@apollo/client/link/utils/filterOperationVariables.js.map +1 -0
  31. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +6 -0
  32. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
  33. package/dist/node_modules/@apollo/client/utilities/graphql/print.js +16 -0
  34. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
  35. package/dist/node_modules/@apollo/client/utilities/internal/caches.js +19 -0
  36. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
  37. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +21 -0
  38. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
  39. package/dist/node_modules/@apollo/client/utilities/internal/compact.js +14 -0
  40. package/dist/node_modules/@apollo/client/utilities/internal/compact.js.map +1 -0
  41. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
  42. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
  43. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +9 -0
  44. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
  45. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
  46. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
  47. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +9 -0
  48. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
  49. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
  50. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
  51. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +10 -0
  52. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
  53. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +23 -0
  54. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
  55. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +10 -0
  56. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
  57. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +57 -0
  58. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
  59. package/dist/node_modules/@apollo/client/version.js +6 -0
  60. package/dist/node_modules/@apollo/client/version.js.map +1 -0
  61. package/dist/node_modules/@wry/caches/lib/weak.js +67 -0
  62. package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
  63. package/dist/node_modules/@wry/trie/lib/index.js +53 -0
  64. package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
  65. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +21 -0
  66. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
  67. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +78 -0
  68. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
  69. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +117 -0
  70. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
  71. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +93 -0
  72. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
  73. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +12 -0
  74. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
  75. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +9 -0
  76. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
  77. package/dist/node_modules/rxjs/dist/esm5/internal/observable/throwError.js +17 -0
  78. package/dist/node_modules/rxjs/dist/esm5/internal/observable/throwError.js.map +1 -0
  79. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +16 -0
  80. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
  81. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +8 -0
  82. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
  83. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +13 -0
  84. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
  85. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
  86. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
  87. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +11 -0
  88. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
  89. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +22 -0
  90. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
  91. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
  92. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
  93. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
  94. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
  95. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
  96. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
  97. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +13 -0
  98. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
  99. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +14 -0
  100. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
  101. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +52 -0
  102. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
  103. package/dist/pages/AgentsPage.js +242 -239
  104. package/dist/pages/AgentsPage.js.map +1 -1
  105. package/dist/pages/CatalogPage.js +146 -98
  106. package/dist/pages/CatalogPage.js.map +1 -1
  107. package/dist/pages/ComponentsPage.js +163 -117
  108. package/dist/pages/ComponentsPage.js.map +1 -1
  109. package/dist/pages/TemplatesPage.js +74 -26
  110. package/dist/pages/TemplatesPage.js.map +1 -1
  111. package/dist/pages/VibeDetailsPage.js +449 -396
  112. package/dist/pages/VibeDetailsPage.js.map +1 -1
  113. package/dist/pages/tunnels/TunnelDetailsPage.js +1 -1
  114. package/dist/pages/tunnels/TunnelDetailsPage.js.map +1 -1
  115. package/dist/providers/VibeControlsProvider.js +35 -30
  116. package/dist/providers/VibeControlsProvider.js.map +1 -1
  117. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import { invariant as e } from "../../utilities/invariant/index.js";
2
+ //#region node_modules/@apollo/client/link/http/checkFetcher.js
3
+ var t = (t) => {
4
+ e(t || typeof fetch < "u", 61);
5
+ };
6
+ //#endregion
7
+ export { t as checkFetcher };
8
+
9
+ //# sourceMappingURL=checkFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkFetcher.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/http/checkFetcher.js"],"sourcesContent":["import { invariant } from \"@apollo/client/utilities/invariant\";\nexport const checkFetcher = (fetcher) => {\n invariant(fetcher || typeof fetch !== \"undefined\", 61);\n};\n//# sourceMappingURL=checkFetcher.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,KAAgB,MAAY;AACrC,GAAU,KAAW,OAAO,QAAU,KAAa,GAAG"}
@@ -0,0 +1,45 @@
1
+ import { ServerError as e } from "../../errors/ServerError.js";
2
+ import { ServerParseError as t } from "../../errors/ServerParseError.js";
3
+ //#region node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js
4
+ var { hasOwnProperty: n } = Object.prototype;
5
+ function r(n, r) {
6
+ if (n.status >= 300) throw new e(`Response not successful: Received status code ${n.status}`, {
7
+ response: n,
8
+ bodyText: r
9
+ });
10
+ try {
11
+ return JSON.parse(r);
12
+ } catch (e) {
13
+ throw new t(e, {
14
+ response: n,
15
+ bodyText: r
16
+ });
17
+ }
18
+ }
19
+ function i(e, n) {
20
+ try {
21
+ return JSON.parse(n);
22
+ } catch (r) {
23
+ throw new t(r, {
24
+ response: e,
25
+ bodyText: n
26
+ });
27
+ }
28
+ }
29
+ function a(e, t) {
30
+ return e.headers.get("content-type")?.includes("application/graphql-response+json") ? i(e, t) : r(e, t);
31
+ }
32
+ function o(t) {
33
+ return (r) => r.text().then((i) => {
34
+ let o = a(r, i);
35
+ if (!Array.isArray(o) && !n.call(o, "data") && !n.call(o, "errors")) throw new e(`Server response was malformed for query '${Array.isArray(t) ? t.map((e) => e.operationName) : t.operationName}'.`, {
36
+ response: r,
37
+ bodyText: i
38
+ });
39
+ return o;
40
+ });
41
+ }
42
+ //#endregion
43
+ export { o as parseAndCheckHttpResponse };
44
+
45
+ //# sourceMappingURL=parseAndCheckHttpResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseAndCheckHttpResponse.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js"],"sourcesContent":["import { CombinedProtocolErrors, PROTOCOL_ERRORS_SYMBOL, ServerError, ServerParseError, } from \"@apollo/client/errors\";\nimport { isNonNullObject } from \"@apollo/client/utilities/internal\";\nimport { invariant } from \"@apollo/client/utilities/invariant\";\nconst { hasOwnProperty } = Object.prototype;\n/**\n * This function detects an Apollo payload result before it is transformed\n * into a FetchResult via HttpLink; it cannot detect an ApolloPayloadResult\n * once it leaves the link chain.\n */\nfunction isApolloPayloadResult(value) {\n return isNonNullObject(value) && \"payload\" in value;\n}\nasync function* consumeMultipartBody(response) {\n const decoder = new TextDecoder(\"utf-8\");\n const contentType = response.headers?.get(\"content-type\");\n // parse boundary value and ignore any subsequent name/value pairs after ;\n // https://www.rfc-editor.org/rfc/rfc9110.html#name-parameters\n // e.g. multipart/mixed;boundary=\"graphql\";deferSpec=20220824\n // if no boundary is specified, default to -\n const match = contentType?.match(\n /*\n ;\\s*boundary= # Match the boundary parameter\n (?: # either\n '([^']*)' # a string starting with ' doesn't contain ', ends with '\n | # or\n \"([^\"]*)\" # a string starting with \" doesn't contain \", ends with \"\n | # or\n ([^\"'].*?) # a string that doesn't start with ' or \", parsed non-greedily\n ) # end of the group\n \\s* # optional whitespace\n (?:;|$) # match a semicolon or end of string\n */\n /;\\s*boundary=(?:'([^']+)'|\"([^\"]+)\"|([^\"'].+?))\\s*(?:;|$)/i);\n const boundary = \"\\r\\n--\" + (match ? match[1] ?? match[2] ?? match[3] ?? \"-\" : \"-\");\n let buffer = \"\";\n invariant(response.body && typeof response.body.getReader === \"function\", 62);\n const stream = response.body;\n const reader = stream.getReader();\n let done = false;\n let encounteredBoundary = false;\n let value;\n // check to see if we received the final boundary, which is a normal boundary followed by \"--\"\n // as described in https://www.rfc-editor.org/rfc/rfc2046#section-5.1.1\n const passedFinalBoundary = () => encounteredBoundary && buffer[0] == \"-\" && buffer[1] == \"-\";\n try {\n while (!done) {\n ({ value, done } = await reader.read());\n const chunk = typeof value === \"string\" ? value : decoder.decode(value);\n const searchFrom = buffer.length - boundary.length + 1;\n buffer += chunk;\n let bi = buffer.indexOf(boundary, searchFrom);\n while (bi > -1 && !passedFinalBoundary()) {\n encounteredBoundary = true;\n let message;\n [message, buffer] = [\n buffer.slice(0, bi),\n buffer.slice(bi + boundary.length),\n ];\n const i = message.indexOf(\"\\r\\n\\r\\n\");\n const headers = parseHeaders(message.slice(0, i));\n const contentType = headers[\"content-type\"];\n if (contentType &&\n contentType.toLowerCase().indexOf(\"application/json\") === -1) {\n throw new Error(\"Unsupported patch content type: application/json is required.\");\n }\n // nb: Technically you'd want to slice off the beginning \"\\r\\n\" but since\n // this is going to be `JSON.parse`d there is no need.\n const body = message.slice(i);\n if (body) {\n yield body;\n }\n bi = buffer.indexOf(boundary);\n }\n if (passedFinalBoundary()) {\n return;\n }\n }\n throw new Error(\"premature end of multipart body\");\n }\n finally {\n reader.cancel();\n }\n}\nexport async function readMultipartBody(response, nextValue) {\n for await (const body of consumeMultipartBody(response)) {\n const result = parseJsonEncoding(response, body);\n if (Object.keys(result).length == 0)\n continue;\n if (isApolloPayloadResult(result)) {\n if (Object.keys(result).length === 1 && result.payload === null) {\n return;\n }\n let next = { ...result.payload };\n if (\"errors\" in result) {\n next.extensions = {\n ...next.extensions,\n [PROTOCOL_ERRORS_SYMBOL]: new CombinedProtocolErrors(result.errors ?? []),\n };\n }\n nextValue(next);\n }\n else {\n nextValue(result);\n }\n }\n}\nfunction parseHeaders(headerText) {\n const headersInit = {};\n headerText.split(\"\\n\").forEach((line) => {\n const i = line.indexOf(\":\");\n if (i > -1) {\n // normalize headers to lowercase\n const name = line.slice(0, i).trim().toLowerCase();\n const value = line.slice(i + 1).trim();\n headersInit[name] = value;\n }\n });\n return headersInit;\n}\nfunction parseJsonEncoding(response, bodyText) {\n if (response.status >= 300) {\n throw new ServerError(`Response not successful: Received status code ${response.status}`, { response, bodyText });\n }\n try {\n return JSON.parse(bodyText);\n }\n catch (err) {\n throw new ServerParseError(err, { response, bodyText });\n }\n}\nfunction parseGraphQLResponseJsonEncoding(response, bodyText) {\n try {\n return JSON.parse(bodyText);\n }\n catch (err) {\n throw new ServerParseError(err, { response, bodyText });\n }\n}\nfunction parseResponse(response, bodyText) {\n const contentType = response.headers.get(\"content-type\");\n if (contentType?.includes(\"application/graphql-response+json\")) {\n return parseGraphQLResponseJsonEncoding(response, bodyText);\n }\n return parseJsonEncoding(response, bodyText);\n}\nexport function parseAndCheckHttpResponse(operations) {\n return (response) => response.text().then((bodyText) => {\n const result = parseResponse(response, bodyText);\n if (!Array.isArray(result) &&\n !hasOwnProperty.call(result, \"data\") &&\n !hasOwnProperty.call(result, \"errors\")) {\n throw new ServerError(`Server response was malformed for query '${Array.isArray(operations) ?\n operations.map((op) => op.operationName)\n : operations.operationName}'.`, { response, bodyText });\n }\n return result;\n });\n}\n//# sourceMappingURL=parseAndCheckHttpResponse.js.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,EAAE,sBAAmB,OAAO;AAoHlC,SAAS,EAAkB,GAAU,GAAU;AAC3C,KAAI,EAAS,UAAU,IACnB,OAAM,IAAI,EAAY,iDAAiD,EAAS,UAAU;EAAE;EAAU;EAAU,CAAC;AAErH,KAAI;AACA,SAAO,KAAK,MAAM,EAAS;UAExB,GAAK;AACR,QAAM,IAAI,EAAiB,GAAK;GAAE;GAAU;GAAU,CAAC;;;AAG/D,SAAS,EAAiC,GAAU,GAAU;AAC1D,KAAI;AACA,SAAO,KAAK,MAAM,EAAS;UAExB,GAAK;AACR,QAAM,IAAI,EAAiB,GAAK;GAAE;GAAU;GAAU,CAAC;;;AAG/D,SAAS,EAAc,GAAU,GAAU;AAKvC,QAJoB,EAAS,QAAQ,IAAI,eAAe,EACvC,SAAS,oCAAoC,GACnD,EAAiC,GAAU,EAAS,GAExD,EAAkB,GAAU,EAAS;;AAEhD,SAAgB,EAA0B,GAAY;AAClD,SAAQ,MAAa,EAAS,MAAM,CAAC,MAAM,MAAa;EACpD,IAAM,IAAS,EAAc,GAAU,EAAS;AAChD,MAAI,CAAC,MAAM,QAAQ,EAAO,IACtB,CAAC,EAAe,KAAK,GAAQ,OAAO,IACpC,CAAC,EAAe,KAAK,GAAQ,SAAS,CACtC,OAAM,IAAI,EAAY,4CAA4C,MAAM,QAAQ,EAAW,GACvF,EAAW,KAAK,MAAO,EAAG,cAAc,GACtC,EAAW,cAAc,KAAK;GAAE;GAAU;GAAU,CAAC;AAE/D,SAAO;GACT"}
@@ -0,0 +1,60 @@
1
+ import { print as e } from "../../utilities/graphql/print.js";
2
+ var t = {
3
+ http: {
4
+ includeQuery: !0,
5
+ includeExtensions: !0,
6
+ preserveHeaderCase: !1
7
+ },
8
+ headers: {
9
+ accept: "application/graphql-response+json,application/json;q=0.9",
10
+ "content-type": "application/json"
11
+ },
12
+ options: { method: "POST" }
13
+ }, n = (e, t) => t(e);
14
+ function r(t, n, ...r) {
15
+ let a = {}, o = {};
16
+ r.forEach((e) => {
17
+ a = {
18
+ ...a,
19
+ ...e.options,
20
+ headers: {
21
+ ...a.headers,
22
+ ...e.headers
23
+ }
24
+ }, e.credentials && (a.credentials = e.credentials), a.headers.accept = (e.http?.accept || []).concat(a.headers.accept).join(","), o = {
25
+ ...o,
26
+ ...e.http
27
+ };
28
+ }), a.headers = i(a.headers, o.preserveHeaderCase);
29
+ let { operationName: s, extensions: c, variables: l, query: u } = t, d = {
30
+ operationName: s,
31
+ variables: l
32
+ };
33
+ return o.includeExtensions && Object.keys(c || {}).length && (d.extensions = c), o.includeQuery && (d.query = n(u, e)), {
34
+ options: a,
35
+ body: d
36
+ };
37
+ }
38
+ function i(e, t) {
39
+ if (!t) {
40
+ let t = {};
41
+ return Object.keys(Object(e)).forEach((n) => {
42
+ t[n.toLowerCase()] = e[n];
43
+ }), t;
44
+ }
45
+ let n = {};
46
+ Object.keys(Object(e)).forEach((t) => {
47
+ n[t.toLowerCase()] = {
48
+ originalName: t,
49
+ value: e[t]
50
+ };
51
+ });
52
+ let r = {};
53
+ return Object.keys(n).forEach((e) => {
54
+ r[n[e].originalName] = n[e].value;
55
+ }), r;
56
+ }
57
+ //#endregion
58
+ export { n as defaultPrinter, t as fallbackHttpConfig, r as selectHttpOptionsAndBodyInternal };
59
+
60
+ //# sourceMappingURL=selectHttpOptionsAndBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectHttpOptionsAndBody.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js"],"sourcesContent":["import { print } from \"@apollo/client/utilities\";\nconst defaultHttpOptions = {\n includeQuery: true,\n includeExtensions: true,\n preserveHeaderCase: false,\n};\nconst defaultHeaders = {\n // headers are case insensitive (https://stackoverflow.com/a/5259004)\n accept: \"application/graphql-response+json,application/json;q=0.9\",\n // The content-type header describes the type of the body of the request, and\n // so it typically only is sent with requests that actually have bodies. One\n // could imagine that Apollo Client would remove this header when constructing\n // a GET request (which has no body), but we historically have not done that.\n // This means that browsers will preflight all Apollo Client requests (even\n // GET requests). Apollo Server's CSRF prevention feature (introduced in\n // AS3.7) takes advantage of this fact and does not block requests with this\n // header. If you want to drop this header from GET requests, then you should\n // probably replace it with a `apollo-require-preflight` header, or servers\n // with CSRF prevention enabled might block your GET request. See\n // https://www.apollographql.com/docs/apollo-server/security/cors/#preventing-cross-site-request-forgery-csrf\n // for more details.\n \"content-type\": \"application/json\",\n};\nconst defaultOptions = {\n method: \"POST\",\n};\nexport const fallbackHttpConfig = {\n http: defaultHttpOptions,\n headers: defaultHeaders,\n options: defaultOptions,\n};\nexport const defaultPrinter = (ast, printer) => printer(ast);\nexport function selectHttpOptionsAndBody(operation, fallbackConfig, ...configs) {\n configs.unshift(fallbackConfig);\n return selectHttpOptionsAndBodyInternal(operation, defaultPrinter, ...configs);\n}\nexport function selectHttpOptionsAndBodyInternal(operation, printer, ...configs) {\n let options = {};\n let http = {};\n configs.forEach((config) => {\n options = {\n ...options,\n ...config.options,\n headers: {\n ...options.headers,\n ...config.headers,\n },\n };\n if (config.credentials) {\n options.credentials = config.credentials;\n }\n options.headers.accept = (config.http?.accept || [])\n .concat(options.headers.accept)\n .join(\",\");\n http = {\n ...http,\n ...config.http,\n };\n });\n options.headers = removeDuplicateHeaders(options.headers, http.preserveHeaderCase);\n //The body depends on the http options\n const { operationName, extensions, variables, query } = operation;\n const body = { operationName, variables };\n if (http.includeExtensions && Object.keys(extensions || {}).length)\n body.extensions = extensions;\n // not sending the query (i.e persisted queries)\n if (http.includeQuery)\n body.query = printer(query, print);\n return {\n options,\n body,\n };\n}\n// Remove potential duplicate header names, preserving last (by insertion order).\n// This is done to prevent unintentionally duplicating a header instead of\n// overwriting it (See #8447 and #8449).\nfunction removeDuplicateHeaders(headers, preserveHeaderCase) {\n // If we're not preserving the case, just remove duplicates w/ normalization.\n if (!preserveHeaderCase) {\n const normalizedHeaders = {};\n Object.keys(Object(headers)).forEach((name) => {\n normalizedHeaders[name.toLowerCase()] = headers[name];\n });\n return normalizedHeaders;\n }\n // If we are preserving the case, remove duplicates w/ normalization,\n // preserving the original name.\n // This allows for non-http-spec-compliant servers that expect intentionally\n // capitalized header names (See #6741).\n const headerData = {};\n Object.keys(Object(headers)).forEach((name) => {\n headerData[name.toLowerCase()] = {\n originalName: name,\n value: headers[name],\n };\n });\n const normalizedHeaders = {};\n Object.keys(headerData).forEach((name) => {\n normalizedHeaders[headerData[name].originalName] = headerData[name].value;\n });\n return normalizedHeaders;\n}\n//# sourceMappingURL=selectHttpOptionsAndBody.js.map"],"x_google_ignoreList":[0],"mappings":";AA0BA,IAAa,IAAqB;CAC9B,MA1BuB;EACvB,cAAc;EACd,mBAAmB;EACnB,oBAAoB;EACvB;CAuBG,SAtBmB;EAEnB,QAAQ;EAaR,gBAAgB;EACnB;CAOG,SANmB,EACnB,QAAQ,QACX;CAKA,EACY,KAAkB,GAAK,MAAY,EAAQ,EAAI;AAK5D,SAAgB,EAAiC,GAAW,GAAS,GAAG,GAAS;CAC7E,IAAI,IAAU,EAAE,EACZ,IAAO,EAAE;AAqBb,CApBA,EAAQ,SAAS,MAAW;AAexB,EAdA,IAAU;GACN,GAAG;GACH,GAAG,EAAO;GACV,SAAS;IACL,GAAG,EAAQ;IACX,GAAG,EAAO;IACb;GACJ,EACG,EAAO,gBACP,EAAQ,cAAc,EAAO,cAEjC,EAAQ,QAAQ,UAAU,EAAO,MAAM,UAAU,EAAE,EAC9C,OAAO,EAAQ,QAAQ,OAAO,CAC9B,KAAK,IAAI,EACd,IAAO;GACH,GAAG;GACH,GAAG,EAAO;GACb;GACH,EACF,EAAQ,UAAU,EAAuB,EAAQ,SAAS,EAAK,mBAAmB;CAElF,IAAM,EAAE,kBAAe,eAAY,cAAW,aAAU,GAClD,IAAO;EAAE;EAAe;EAAW;AAMzC,QALI,EAAK,qBAAqB,OAAO,KAAK,KAAc,EAAE,CAAC,CAAC,WACxD,EAAK,aAAa,IAElB,EAAK,iBACL,EAAK,QAAQ,EAAQ,GAAO,EAAM,GAC/B;EACH;EACA;EACH;;AAKL,SAAS,EAAuB,GAAS,GAAoB;AAEzD,KAAI,CAAC,GAAoB;EACrB,IAAM,IAAoB,EAAE;AAI5B,SAHA,OAAO,KAAK,OAAO,EAAQ,CAAC,CAAC,SAAS,MAAS;AAC3C,KAAkB,EAAK,aAAa,IAAI,EAAQ;IAClD,EACK;;CAMX,IAAM,IAAa,EAAE;AACrB,QAAO,KAAK,OAAO,EAAQ,CAAC,CAAC,SAAS,MAAS;AAC3C,IAAW,EAAK,aAAa,IAAI;GAC7B,cAAc;GACd,OAAO,EAAQ;GAClB;GACH;CACF,IAAM,IAAoB,EAAE;AAI5B,QAHA,OAAO,KAAK,EAAW,CAAC,SAAS,MAAS;AACtC,IAAkB,EAAW,GAAM,gBAAgB,EAAW,GAAM;GACtE,EACK"}
@@ -0,0 +1,6 @@
1
+ //#region node_modules/@apollo/client/link/http/selectURI.js
2
+ var e = (e, t) => e.getContext().uri || (typeof t == "function" ? t(e) : t || "/graphql");
3
+ //#endregion
4
+ export { e as selectURI };
5
+
6
+ //# sourceMappingURL=selectURI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectURI.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/link/http/selectURI.js"],"sourcesContent":["export const selectURI = (operation, fallbackURI) => {\n const context = operation.getContext();\n const contextURI = context.uri;\n if (contextURI) {\n return contextURI;\n }\n else if (typeof fallbackURI === \"function\") {\n return fallbackURI(operation);\n }\n else {\n return fallbackURI || \"/graphql\";\n }\n};\n//# sourceMappingURL=selectURI.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,KAAa,GAAW,MACjB,EAAU,YAAY,CACX,QAIlB,OAAO,KAAgB,aACrB,EAAY,EAAU,GAGtB,KAAe"}
@@ -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,6 @@
1
+ import e from "../internal/globals/global.js";
2
+ var t = { ...e[Symbol.for("apollo.cacheSize")] };
3
+ //#endregion
4
+ export { t as cacheSizes };
5
+
6
+ //# sourceMappingURL=sizes.js.map
@@ -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,9 @@
1
+ //#region node_modules/@apollo/client/utilities/internal/getMemoryInternals.js
2
+ var e = {};
3
+ function t(t, n) {
4
+ e[t] = n;
5
+ }
6
+ //#endregion
7
+ export { t as registerGlobalCache };
8
+
9
+ //# sourceMappingURL=getMemoryInternals.js.map
@@ -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,10 @@
1
+ //#region node_modules/@apollo/client/utilities/internal/globals/maybe.js
2
+ function e(e) {
3
+ try {
4
+ return e();
5
+ } catch {}
6
+ }
7
+ //#endregion
8
+ export { e as maybe };
9
+
10
+ //# sourceMappingURL=maybe.js.map
@@ -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,6 @@
1
+ //#region node_modules/@apollo/client/version.js
2
+ var e = "4.1.9";
3
+ //#endregion
4
+ export { e as version };
5
+
6
+ //# sourceMappingURL=version.js.map
@@ -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"}