@burdenoff/microfe-export 2026.1107.1 → 2026.1108.1

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 (211) hide show
  1. package/dist/dev/main.d.ts +0 -2
  2. package/dist/export/ExportRoot.d.ts +0 -2
  3. package/dist/export/ExportRoot.js +9 -6
  4. package/dist/export/ExportRoot.js.map +1 -1
  5. package/dist/export/ExportRoutes.d.ts +1 -2
  6. package/dist/export/ExportRoutes.js +1 -2
  7. package/dist/export/ExportRoutes.js.map +1 -1
  8. package/dist/export/components/ExportProgressBar.d.ts +1 -2
  9. package/dist/export/components/ExportProgressBar.js +1 -2
  10. package/dist/export/components/ExportProgressBar.js.map +1 -1
  11. package/dist/export/components/ExportStatusBadge.d.ts +1 -3
  12. package/dist/export/components/ExportStatusBadge.js +7 -8
  13. package/dist/export/components/ExportStatusBadge.js.map +1 -1
  14. package/dist/export/components/PageLayout.d.ts +3 -5
  15. package/dist/export/components/PageLayout.js +1 -2
  16. package/dist/export/components/PageLayout.js.map +1 -1
  17. package/dist/export/constants/enums.d.ts +0 -2
  18. package/dist/export/constants/enums.js +1 -2
  19. package/dist/export/constants/enums.js.map +1 -1
  20. package/dist/export/constants/index.d.ts +0 -1
  21. package/dist/export/hooks/useExportQueries.d.ts +16 -33
  22. package/dist/export/hooks/useExportQueries.js +223 -225
  23. package/dist/export/hooks/useExportQueries.js.map +1 -1
  24. package/dist/export/hooks/useTr.d.ts +0 -2
  25. package/dist/export/hooks/useTr.js +1 -2
  26. package/dist/export/hooks/useTr.js.map +1 -1
  27. package/dist/export/index.d.ts +0 -1
  28. package/dist/export/index.js +5 -4
  29. package/dist/export/pages/CreateExportPage.d.ts +1 -2
  30. package/dist/export/pages/CreateExportPage.js +228 -229
  31. package/dist/export/pages/CreateExportPage.js.map +1 -1
  32. package/dist/export/pages/ExportDashboardPage.d.ts +1 -2
  33. package/dist/export/pages/ExportDashboardPage.js +17 -18
  34. package/dist/export/pages/ExportDashboardPage.js.map +1 -1
  35. package/dist/export/pages/ExportDetailPage.d.ts +1 -2
  36. package/dist/export/pages/ExportDetailPage.js +39 -40
  37. package/dist/export/pages/ExportDetailPage.js.map +1 -1
  38. package/dist/export/pages/ExportHistoryPage.d.ts +1 -2
  39. package/dist/export/pages/ExportHistoryPage.js +21 -20
  40. package/dist/export/pages/ExportHistoryPage.js.map +1 -1
  41. package/dist/export/pages/ExportLandingPage.d.ts +1 -2
  42. package/dist/export/pages/ExportLandingPage.js +1 -2
  43. package/dist/export/pages/ExportLandingPage.js.map +1 -1
  44. package/dist/export/pages/ExportTemplatesPage.d.ts +1 -2
  45. package/dist/export/pages/ExportTemplatesPage.js +25 -30
  46. package/dist/export/pages/ExportTemplatesPage.js.map +1 -1
  47. package/dist/export/pages/TemplateDetailPage.d.ts +1 -2
  48. package/dist/export/pages/TemplateDetailPage.js +11 -12
  49. package/dist/export/pages/TemplateDetailPage.js.map +1 -1
  50. package/dist/export/providers/ExportProvider.d.ts +0 -2
  51. package/dist/export/providers/ExportProvider.js +12 -16
  52. package/dist/export/providers/ExportProvider.js.map +1 -1
  53. package/dist/export/store/exportStore.d.ts +0 -2
  54. package/dist/export/store/exportStore.js +1 -2
  55. package/dist/export/store/exportStore.js.map +1 -1
  56. package/dist/export/types/index.d.ts +0 -1
  57. package/dist/export/utils/cn.d.ts +0 -2
  58. package/dist/export/utils/cn.js +2 -3
  59. package/dist/export/utils/cn.js.map +1 -1
  60. package/dist/export/utils/disabledModules.d.ts +0 -1
  61. package/dist/export/utils/disabledModules.js +3 -4
  62. package/dist/export/utils/disabledModules.js.map +1 -1
  63. package/dist/export/utils/events.d.ts +0 -2
  64. package/dist/export/utils/events.js +1 -2
  65. package/dist/export/utils/events.js.map +1 -1
  66. package/dist/export/utils/exportAuthority.d.ts +1 -6
  67. package/dist/export/utils/exportAuthority.js +5 -30
  68. package/dist/export/utils/exportAuthority.js.map +1 -1
  69. package/dist/export/utils/i18n.d.ts +0 -2
  70. package/dist/export/utils/i18n.js +1 -2
  71. package/dist/export/utils/i18n.js.map +1 -1
  72. package/dist/generated/global-operations.d.ts +4 -2
  73. package/dist/generated/global-types.d.ts +2 -22
  74. package/dist/generated/wspace-operations.d.ts +226 -181
  75. package/dist/generated/wspace-operations.js +1 -2
  76. package/dist/generated/wspace-operations.js.map +1 -1
  77. package/dist/generated/wspace-types.d.ts +4 -24
  78. package/dist/generated/wspace-types.js +1 -2
  79. package/dist/generated/wspace-types.js.map +1 -1
  80. package/dist/index.d.ts +0 -1
  81. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
  82. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -1
  83. package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
  84. package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -1
  85. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +7 -8
  86. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -1
  87. package/dist/node_modules/@apollo/client/link/subscriptions/index.js +15 -16
  88. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -1
  89. package/dist/node_modules/@apollo/client/link/utils/createOperation.js +5 -6
  90. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -1
  91. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -1
  92. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -1
  93. package/dist/node_modules/@apollo/client/utilities/graphql/print.js +4 -5
  94. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -1
  95. package/dist/node_modules/@apollo/client/utilities/internal/caches.js +1 -2
  96. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -1
  97. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +1 -2
  98. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -1
  99. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +2 -3
  100. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -1
  101. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +1 -2
  102. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -1
  103. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +1 -2
  104. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -1
  105. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +1 -2
  106. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -1
  107. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
  108. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -1
  109. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
  110. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -1
  111. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +1 -2
  112. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -1
  113. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
  114. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -1
  115. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +1 -2
  116. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -1
  117. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
  118. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -1
  119. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
  120. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -1
  121. package/dist/node_modules/@apollo/client/version.js +2 -3
  122. package/dist/node_modules/@apollo/client/version.js.map +1 -1
  123. package/dist/node_modules/@wry/caches/lib/weak.js +1 -2
  124. package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -1
  125. package/dist/node_modules/@wry/trie/lib/index.js +2 -3
  126. package/dist/node_modules/@wry/trie/lib/index.js.map +1 -1
  127. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  128. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  129. package/dist/node_modules/graphql-ws/dist/client.js +76 -69
  130. package/dist/node_modules/graphql-ws/dist/client.js.map +1 -1
  131. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +2 -3
  132. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -1
  133. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
  134. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -1
  135. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +41 -42
  136. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -1
  137. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +14 -15
  138. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
  139. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +21 -18
  140. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
  141. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
  142. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -1
  143. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +1 -2
  144. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -1
  145. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +2 -3
  146. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -1
  147. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +1 -2
  148. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -1
  149. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
  150. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -1
  151. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
  152. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -1
  153. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
  154. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -1
  155. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +1 -2
  156. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -1
  157. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +1 -2
  158. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -1
  159. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
  160. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -1
  161. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
  162. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -1
  163. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +1 -2
  164. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -1
  165. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
  166. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -1
  167. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +229 -167
  168. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  169. package/dist/node_modules/{rxjs/node_modules/tslib → tslib}/tslib.es6.js +1 -2
  170. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  171. package/dist/test/happydom.d.ts +1 -0
  172. package/dist/translations/en.d.ts +0 -1
  173. package/dist/translations/en.js +1 -2
  174. package/dist/translations/en.js.map +1 -1
  175. package/dist/utils/nativeBridge.d.ts +0 -1
  176. package/dist/utils/nativeBridge.js +1 -2
  177. package/package.json +62 -46
  178. package/dist/dev/main.d.ts.map +0 -1
  179. package/dist/export/ExportRoot.d.ts.map +0 -1
  180. package/dist/export/ExportRoutes.d.ts.map +0 -1
  181. package/dist/export/components/ExportProgressBar.d.ts.map +0 -1
  182. package/dist/export/components/ExportStatusBadge.d.ts.map +0 -1
  183. package/dist/export/components/PageLayout.d.ts.map +0 -1
  184. package/dist/export/constants/enums.d.ts.map +0 -1
  185. package/dist/export/constants/index.d.ts.map +0 -1
  186. package/dist/export/hooks/useExportQueries.d.ts.map +0 -1
  187. package/dist/export/hooks/useTr.d.ts.map +0 -1
  188. package/dist/export/index.d.ts.map +0 -1
  189. package/dist/export/pages/CreateExportPage.d.ts.map +0 -1
  190. package/dist/export/pages/ExportDashboardPage.d.ts.map +0 -1
  191. package/dist/export/pages/ExportDetailPage.d.ts.map +0 -1
  192. package/dist/export/pages/ExportHistoryPage.d.ts.map +0 -1
  193. package/dist/export/pages/ExportLandingPage.d.ts.map +0 -1
  194. package/dist/export/pages/ExportTemplatesPage.d.ts.map +0 -1
  195. package/dist/export/pages/TemplateDetailPage.d.ts.map +0 -1
  196. package/dist/export/providers/ExportProvider.d.ts.map +0 -1
  197. package/dist/export/store/exportStore.d.ts.map +0 -1
  198. package/dist/export/types/index.d.ts.map +0 -1
  199. package/dist/export/utils/cn.d.ts.map +0 -1
  200. package/dist/export/utils/disabledModules.d.ts.map +0 -1
  201. package/dist/export/utils/events.d.ts.map +0 -1
  202. package/dist/export/utils/exportAuthority.d.ts.map +0 -1
  203. package/dist/export/utils/i18n.d.ts.map +0 -1
  204. package/dist/generated/global-operations.d.ts.map +0 -1
  205. package/dist/generated/global-types.d.ts.map +0 -1
  206. package/dist/generated/wspace-operations.d.ts.map +0 -1
  207. package/dist/generated/wspace-types.d.ts.map +0 -1
  208. package/dist/index.d.ts.map +0 -1
  209. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
  210. package/dist/translations/en.d.ts.map +0 -1
  211. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1 +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"}
1
+ {"version":3,"file":"maybe.js","names":["maybe","thunk"],"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"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,EAAM,GAAO;CACzB,IAAI;EACA,OAAOC,EAAM;CACjB,QACM,CAAE;AACZ"}
@@ -1,8 +1,7 @@
1
- //#region node_modules/@apollo/client/utilities/internal/isNonNullObject.js
1
+ // node_modules/@apollo/client/utilities/internal/isNonNullObject.js
2
2
  function e(e) {
3
3
  return typeof e == "object" && !!e;
4
4
  }
5
- //#endregion
6
5
  export { e as isNonNullObject };
7
6
 
8
7
  //# sourceMappingURL=isNonNullObject.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"isNonNullObject.js","names":[],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/isNonNullObject.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 isNonNullObject(obj) {\n return obj !== null && typeof obj === \"object\";\n}\n//# sourceMappingURL=isNonNullObject.js.map\n"],"x_google_ignoreList":[0],"mappings":";AAKA,SAAgB,EAAgB,GAAK;AACjC,QAAuB,OAAO,KAAQ,cAA/B"}
1
+ {"version":3,"file":"isNonNullObject.js","names":["isNonNullObject","obj"],"sources":["../../../../../../node_modules/@apollo/client/utilities/internal/isNonNullObject.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 isNonNullObject(obj) {\n return obj !== null && typeof obj === \"object\";\n}\n//# sourceMappingURL=isNonNullObject.js.map\n"],"ignoreList":[0],"mappings":";AAKA,SAAgBA,EAAgB,GAAK;CACjC,OAAuB,OAAOC,KAAQ,cAA/BA;AACX"}
@@ -1,10 +1,9 @@
1
- //#region node_modules/@apollo/client/utilities/internal/makeUniqueId.js
1
+ // node_modules/@apollo/client/utilities/internal/makeUniqueId.js
2
2
  var e = /* @__PURE__ */ new Map();
3
3
  function t(t) {
4
4
  let n = e.get(t) || 1;
5
5
  return e.set(t, n + 1), `${t}:${n}:${Math.random().toString(36).slice(2)}`;
6
6
  }
7
- //#endregion
8
7
  export { t as makeUniqueId };
9
8
 
10
9
  //# sourceMappingURL=makeUniqueId.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"makeUniqueId.js","names":["prefixCounts","makeUniqueId","count","prefix"],"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"],"ignoreList":[0],"mappings":";AAAA,IAAMA,oBAAe,IAAI,IAAI;AAS7B,SAAgBC,EAAa,GAAQ;CACjC,IAAMC,IAAQF,EAAa,IAAIG,CAAM,KAAK;CAE1C,OADAH,EAAa,IAAIG,GAAQD,IAAQ,CAAC,GAC3B,GAAGC,EAAO,GAAGD,EAAM,GAAG,KAAK,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;AACnE"}
@@ -1,6 +1,6 @@
1
1
  import { Trie as e } from "../../../../@wry/trie/lib/index.js";
2
2
  import { AutoCleanedWeakCache as t } from "./caches.js";
3
- //#region node_modules/@apollo/client/utilities/internal/memoize.js
3
+ // node_modules/@apollo/client/utilities/internal/memoize.js
4
4
  function n(n, { max: r, makeCacheKey: i = (e) => e }) {
5
5
  let a = new e(!0), o = new t(r);
6
6
  return (...e) => {
@@ -17,7 +17,6 @@ function n(n, { max: r, makeCacheKey: i = (e) => e }) {
17
17
  }
18
18
  };
19
19
  }
20
- //#endregion
21
20
  export { n as memoize };
22
21
 
23
22
  //# sourceMappingURL=memoize.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"memoize.js","names":["memoize","args","keys","Trie","cache","AutoCleanedWeakCache","max","cacheKey","makeCacheKey","cached","entry","fn","error"],"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"],"ignoreList":[0],"mappings":";;;AAKA,SAAgBA,EAAQ,GAAI,EAAE,QAAK,mBAAgB,MAASC,KAAS;CACjE,IAAMC,IAAO,IAAIC,EAAK,EAAI,GACpBC,IAAQ,IAAIC,EAAqBC,CAAG;CAC1C,QAAQ,GAAGL,MAAS;EAChB,IAAMM,IAAWL,EAAK,YAAYM,EAAaP,CAAI,CAAC,GAC9CQ,IAASL,EAAM,IAAIG,CAAQ;EACjC,IAAIE,GAAQ;GACR,IAAIA,EAAO,OACP,MAAMA,EAAO;GAEjB,OAAOA,EAAO;EAClB;EACA,IAAMC,IAAQN,EAAM,IAAIG,GAAU,CAAC,CAAC;EACpC,IAAI;GACA,OAAQ,EAAM,SAASI,EAAG,GAAGV,CAAI;EACrC,SACOW,GAAO;GAEV,MADA,EAAM,QAAQA,GACRA;EACV;CACJ;AACJ"}
@@ -1,10 +1,9 @@
1
1
  import { makeUniqueId as e } from "./makeUniqueId.js";
2
- //#region node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js
2
+ // node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js
3
3
  function t(t, n = 0) {
4
4
  let r = e("stringifyForDisplay");
5
5
  return JSON.stringify(t, (e, t) => t === void 0 ? r : t, n).split(JSON.stringify(r)).join("<undefined>");
6
6
  }
7
- //#endregion
8
7
  export { t as stringifyForDisplay };
9
8
 
10
9
  //# sourceMappingURL=stringifyForDisplay.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"stringifyForDisplay.js","names":["stringifyForDisplay","undefId","makeUniqueId","value","space"],"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"],"ignoreList":[0],"mappings":";;AAMA,SAAgBA,EAAoB,GAAO,IAAQ,GAAG;CAClD,IAAMC,IAAUC,EAAa,qBAAqB;CAClD,OAAO,KAAK,UAAUC,IAAQ,GAAG,MACtBA,MAAU,KAAK,IAAIF,IAAUE,GACrCC,CAAK,CAAC,CACJ,MAAM,KAAK,UAAUH,CAAO,CAAC,CAAC,CAC9B,KAAK,aAAa;AAC3B"}
@@ -1,7 +1,7 @@
1
1
  import e from "../internal/globals/global.js";
2
2
  import { version as t } from "../../version.js";
3
3
  import { stringifyForDisplay as n } from "../internal/stringifyForDisplay.js";
4
- //#region node_modules/@apollo/client/utilities/invariant/index.js
4
+ // node_modules/@apollo/client/utilities/invariant/index.js
5
5
  var r = "Invariant Violation", i = class e extends Error {
6
6
  constructor(t = r) {
7
7
  super(t), this.name = r, Object.setPrototypeOf(this, e.prototype);
@@ -51,7 +51,6 @@ function p(e, n = []) {
51
51
  args: n.map(d)
52
52
  }))}`;
53
53
  }
54
- //#endregion
55
- export { s as invariant, l as newInvariantError };
54
+ export { u as ApolloErrorMessageHandler, i as InvariantError, s as invariant, l as newInvariantError };
56
55
 
57
56
  //# sourceMappingURL=index.js.map
@@ -1 +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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global","global_default","genericMessage","InvariantError","message","verbosityLevels","verbosityLevel","invariant","args","condition","newInvariantError","wrapConsoleMethod","name","method","arg0","getHandledErrorMsg","getFallbackErrorMsg","optionalParams","ApolloErrorMessageHandler","version","stringify","arg","stringifyForDisplay","messageArgs","msg"],"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"],"ignoreList":[0],"mappings":";;;;AAKA,IAAME,IAAiB,uBACVC,IAAb,MAAaA,UAAuB,MAAM;CACtC,YAAY,IAAUD,GAAgB;EAGlC,AAFA,MAAME,CAAO,GACb,KAAK,OAAOF,GACZ,OAAO,eAAe,MAAMC,EAAe,SAAS;CACxD;AACJ,GACME,IAAkB;CAAC;CAAS;CAAO;CAAQ;CAAS;AAAQ,GAC9DC,IAAiBD,EAAgB,QAA0B,QAAQ;AACvE,SAAgBE,EAAU,GAAW,GAAGC,GAAM;CAC1C,IAAI,CAACC,GACD,MAAMC,EAAkB,GAAGF,CAAI;AAEvC;AACA,SAASG,EAAkB,GAAM;CAC7B,OAAO,SAAU,GAAS,GAAGH,GAAM;EAC/B,IAAIH,EAAg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4.2.3";
3
- //#endregion
1
+ // node_modules/@apollo/client/version.js
2
+ var e = "4.3.7";
4
3
  export { e as version };
5
4
 
6
5
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":[],"sources":["../../../../node_modules/@apollo/client/version.js"],"sourcesContent":["export const version = \"4.2.3\";\nexport const build = \"esm\";\n//# sourceMappingURL=version.js.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,IAAU"}
1
+ {"version":3,"file":"version.js","names":["version"],"sources":["../../../../node_modules/@apollo/client/version.js"],"sourcesContent":["export const version = \"4.3.7\";\nexport const build = \"esm\";\n//# sourceMappingURL=version.js.map\n"],"ignoreList":[0],"mappings":";AAAA,IAAaA,IAAU"}
@@ -1,4 +1,4 @@
1
- //#region node_modules/@wry/caches/lib/weak.js
1
+ // node_modules/@wry/caches/lib/weak.js
2
2
  function e() {}
3
3
  var t = e, n = typeof WeakRef < "u" ? WeakRef : function(e) {
4
4
  return { deref: () => e };
@@ -61,7 +61,6 @@ var t = e, n = typeof WeakRef < "u" ? WeakRef : function(e) {
61
61
  this.unfinalizedNodes.add(e), this.finalizationScheduled || (this.finalizationScheduled = !0, queueMicrotask(this.finalize));
62
62
  }
63
63
  };
64
- //#endregion
65
64
  export { o as WeakCache };
66
65
 
67
66
  //# sourceMappingURL=weak.js.map
@@ -1 +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,I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,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"}
1
+ {"version":3,"file":"weak.js","names":["noop","defaultDispose","_WeakRef","value","_WeakMap","_FinalizationRegistry","finalizationBatchSize","WeakCache","max","dispose","iterator","i","node","key","newer","older"],"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"],"ignoreList":[0],"mappings":";AAAA,SAASA,IAAO,CAAE;AAClB,IAAMC,IAAiBD,GACjBE,IAAW,OAAO,UAAY,MAC9B,UACA,SAAU,GAAO;CACf,OAAO,EAAE,aAAaC,EAAM;AAChC,GACEC,IAAW,OAAO,UAAY,MAAc,UAAU,KACtDC,IAAwB,OAAO,uBAAyB,MACxD,uBACA,WAAY;CACV,OAAO;EACH,UAAUL;EACV,YAAYA;CAChB;AACJ,GACEM,IAAwB,OACjBC,IAAb,MA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AAI,GAAK,GAAO;EACZ,IAAIA,IAAO,KAAK,QAAQC,CAAG;EAkB3B,OAjBID,IACQ,EAAK,QAAQT,KAEzB,IAAO;GACH;GACA;GACA,OAAO;GACP,OAAO,KAAK;EAChB,GACI,KAAK,WACL,KAAK,OAAO,QAAQS,IAExB,KAAK,SAASA,GACd,KAAK,SAAS,KAAK,UAAUA,GAC7B,KAAK,qBAAqBA,CAAI,GAC9B,KAAK,IAAI,IAAIC,GAAKD,CAAI,GACtB,KAAK,QACEA,EAAK;CAChB;CACA,QAAQ;EACJ,OAAO,KAAK,UAAU,KAAK,OAAO,KAAK,MACnC,KAAK,WAAW,KAAK,MAAM;CAEnC;CACA,WAAW,GAAM;EAab,AAZIA,MAAS,KAAK,WACd,KAAK,SAASA,EAAK,QAEnBA,MAAS,KAAK,WACd,KAAK,SAASA,EAAK,QAEnBA,EAAK,UACL,EAAK,MAAM,QAAQA,EAAK,QAExBA,EAAK,UACL,EAAK,MAAM,QAAQA,EAAK,QAE5B,KAAK;EACL,IAAMC,IAAMD,EAAK,OAAQA,EAAK,UAAUA,EAAK,OAAO,MAAM;EAQ1D,AAPA,KAAK,QAAQA,EAAK,OAAOC,CAAG,GACvBD,EAAK,SAIN,KAAK,SAAS,WAAWA,CAAI,IAH7B,KAAK,iBAAiB,OAAOA,CAAI,GAKjCC,KACA,KAAK,IAAI,OAAOA,CAAG;CAC3B;CACA,OAAO,GAAK;EACR,IAAMD,IAAO,KAAK,IAAI,IAAIC,CAAG;EAK7B,OAJID,KACA,KAAK,WAAWA,CAAI,GACb,MAEJ;CACX;CACA,qBAAqB,GAAM;EAEvB,AADA,KAAK,iBAAiB,IAAIA,CAAI,GACzB,KAAK,0BACN,KAAK,wBAAwB,IAC7B,eAAe,KAAK,QAAQ;CAEpC;AACJ"}
@@ -1,4 +1,4 @@
1
- //#region node_modules/@wry/trie/lib/index.js
1
+ // node_modules/@wry/trie/lib/index.js
2
2
  var e = () => Object.create(null), { forEach: t, slice: n } = Array.prototype, { hasOwnProperty: r } = Object.prototype, i = class i {
3
3
  constructor(t = !0, n = e) {
4
4
  this.weakness = t, this.makeData = n;
@@ -28,7 +28,7 @@ var e = () => Object.create(null), { forEach: t, slice: n } = Array.prototype, {
28
28
  let t;
29
29
  if (e.length) {
30
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));
31
+ a && (t = a.removeArray(n.call(e, 1)), a.data || a.weak || a.strong && a.strong.size || i.delete(r));
32
32
  } else t = this.data, delete this.data;
33
33
  return t;
34
34
  }
@@ -47,7 +47,6 @@ function a(e) {
47
47
  }
48
48
  return !1;
49
49
  }
50
- //#endregion
51
50
  export { i as Trie };
52
51
 
53
52
  //# sourceMappingURL=index.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.js","names":["defaultMakeData","Trie","weakness","makeData","node","forEach","array","key","hasOwnProperty","slice","i","len","map","data","head","child","isObjRef","create","value"],"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"],"ignoreList":[0],"mappings":";AAKA,IAAMA,UAAwB,OAAO,OAAO,IAAI,GAE1C,EAAE,YAAS,aAAU,MAAM,WAC3B,EAAE,sBAAmB,OAAO,WACrBC,IAAb,MAAaA,EAAK;CACd,YAAY,IAAW,IAAM,IAAWD,GAAiB;EAErD,AADA,KAAK,WAAWE,GAChB,KAAK,WAAWC;CACpB;CACA,SAAS;EAC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AG,IAC9B,KAAK,SAASU,IAAS,KAAK,uBAAO,IAAI,QAAM,IAAI,KAAK,KACtD,KAAK,WAAWA,IAAS,KAAK,yBAAS,IAAI,IAAE,IAAI,KAAK;CAChE;AACJ;AACA,SAASD,EAAS,GAAO;CACrB,QAAQ,OAAOE,GAAf;EACI,KAAK,UACD,IAAIA,MAAU,MACV;EAER,KAAK,YACD,OAAO;CACf;CACA,OAAO;AACX"}
@@ -1,18 +1,19 @@
1
- //#region node_modules/clsx/dist/clsx.mjs
1
+ // node_modules/clsx/dist/clsx.mjs
2
2
  function e(t) {
3
3
  var n, r, i = "";
4
4
  if (typeof t == "string" || typeof t == "number") i += t;
5
- else if (typeof t == "object") if (Array.isArray(t)) {
6
- var a = t.length;
7
- for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
8
- } else for (r in t) t[r] && (i && (i += " "), i += r);
5
+ else if (typeof t == "object") {
6
+ if (Array.isArray(t)) {
7
+ var a = t.length;
8
+ for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
9
+ } else for (r in t) t[r] && (i && (i += " "), i += r);
10
+ }
9
11
  return i;
10
12
  }
11
13
  function t() {
12
14
  for (var t, n, r = 0, i = "", a = arguments.length; r < a; r++) (t = arguments[r]) && (n = e(t)) && (i && (i += " "), i += n);
13
15
  return i;
14
16
  }
15
- //#endregion
16
- export { t as default };
17
+ export { t as clsx, t as default };
17
18
 
18
19
  //# sourceMappingURL=clsx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"clsx.js","names":[],"sources":["../../../../node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAE,GAAE;CAAC,IAAI,GAAE,GAAE,IAAE;AAAG,KAAa,OAAO,KAAjB,YAA8B,OAAO,KAAjB,SAAmB,MAAG;UAAoB,OAAO,KAAjB,SAAmB,KAAG,MAAM,QAAQ,EAAE,EAAC;EAAC,IAAI,IAAE,EAAE;AAAO,OAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,OAAK,IAAE,EAAE,EAAE,GAAG,MAAI,MAAI,KAAG,MAAK,KAAG;OAAQ,MAAI,KAAK,EAAE,GAAE,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,QAAO;;AAAE,SAAgB,IAAM;AAAC,MAAI,IAAI,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,QAAM,IAAE,EAAE,EAAE,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,QAAO"}
1
+ {"version":3,"file":"clsx.js","names":["r","t","f","n","e","o","clsx"],"sources":["../../../../node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"ignoreList":[0],"mappings":";AAAA,SAASA,EAAE,GAAE;CAAC,IAAIC,GAAEC,GAAEC,IAAE;CAAG,IAAa,OAAOC,KAAjB,YAA8B,OAAOA,KAAjB,UAAmB,KAAGA;MAAO,IAAa,OAAOA,KAAjB,UAAmB;MAAG,MAAM,QAAQA,CAAC,GAAE;GAAC,IAAIC,IAAED,EAAE;GAAO,KAAI,IAAE,GAAEH,IAAEI,GAAE,KAAI,EAAEJ,OAAK,IAAED,EAAEI,EAAEH,EAAE,OAAKE,MAAI,KAAG,MAAK,KAAGD;EAAE,OAAM,KAAIA,KAAKE,GAAE,EAAEF,OAAKC,MAAI,KAAG,MAAK,KAAGD;CAAA;CAAG,OAAOC;AAAC;AAAC,SAAgBG,IAAM;CAAC,KAAI,IAAIF,GAAEH,GAAEC,IAAE,GAAEC,IAAE,IAAGE,IAAE,UAAU,QAAOH,IAAEG,GAAE,KAAI,CAAC,IAAE,UAAUH,QAAM,IAAEF,EAAEI,CAAC,OAAKD,MAAI,KAAG,MAAK,KAAGF;CAAG,OAAOE;AAAC"}
@@ -1,17 +1,17 @@
1
- import { CloseCode as e, MessageType as t, isObject as n, limitCloseReason as r, parseMessage as i, stringifyMessage as a } from "./common-CGW11Fyb.js";
2
- //#region node_modules/graphql-ws/dist/client.js
3
- function o(n) {
4
- let { url: o, connectionParams: d, lazy: f = !0, onNonLazyError: p = console.error, lazyCloseTimeout: m = 0, keepAlive: h = 0, disablePong: g, connectionAckWaitTimeout: _ = 0, retryAttempts: v = 5, retryWait: y = async function(e) {
1
+ import { C as e, G as t, M as n, i as r, l as i, p as a, s as o } from "./common-CGW11Fyb.js";
2
+ // node_modules/graphql-ws/dist/client.js
3
+ function s(t) {
4
+ let { url: r, connectionParams: s, lazy: f = !0, onNonLazyError: p = console.error, lazyCloseTimeout: m = 0, keepAlive: h = 0, disablePong: g, connectionAckWaitTimeout: _ = 0, retryAttempts: v = 5, retryWait: y = async function(e) {
5
5
  let t = 2 ** e;
6
6
  await new Promise((e) => setTimeout(e, t * 1e3 + Math.floor(Math.random() * 2700 + 300)));
7
- }, shouldRetry: b = c, on: x, webSocketImpl: S, generateID: C = function() {
7
+ }, shouldRetry: b = l, on: x, webSocketImpl: S, generateID: C = function() {
8
8
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
9
9
  let t = Math.random() * 16 | 0;
10
10
  return (e == "x" ? t : t & 3 | 8).toString(16);
11
11
  });
12
- }, jsonMessageReplacer: w, jsonMessageReviver: T } = n, E;
12
+ }, jsonMessageReplacer: w, jsonMessageReviver: T } = t, E;
13
13
  if (S) {
14
- if (!u(S)) throw Error("Invalid WebSocket implementation provided");
14
+ if (!d(S)) throw Error("Invalid WebSocket implementation provided");
15
15
  E = S;
16
16
  } else typeof WebSocket < "u" ? E = WebSocket : typeof global < "u" ? E = global.WebSocket || global.MozWebSocket : typeof window < "u" && (E = window.WebSocket || window.MozWebSocket);
17
17
  if (!E) throw Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");
@@ -43,7 +43,8 @@ function o(n) {
43
43
  on(e, n) {
44
44
  let r = t[e];
45
45
  return r.push(n), () => {
46
- r.splice(r.indexOf(n), 1);
46
+ let e = r.indexOf(n);
47
+ e > -1 && r.splice(e, 1);
47
48
  };
48
49
  },
49
50
  emit(e, ...n) {
@@ -57,78 +58,85 @@ function o(n) {
57
58
  }), O.on("closed", (n) => {
58
59
  t.forEach((e) => e()), e(n);
59
60
  })];
61
+ return () => t.forEach((e) => e());
60
62
  }
61
63
  let A, j = 0, M, N = !1, P = 0, F = !1;
62
64
  async function I() {
63
65
  clearTimeout(M);
64
- let [n, c] = await (A ??= new Promise((n, c) => (async () => {
66
+ let [t, l] = await (A ??= new Promise((t, l) => (async () => {
65
67
  if (N) {
66
- if (await y(P), !j) return A = void 0, c({
68
+ if (await y(P), !j) return A = void 0, l({
67
69
  code: 1e3,
68
70
  reason: "All Subscriptions Gone"
69
71
  });
70
72
  P++;
71
73
  }
72
74
  O.emit("connecting", N);
73
- let l = new D(typeof o == "function" ? await o() : o, "graphql-transport-ws"), u, f;
75
+ let u = new D(typeof r == "function" ? await r() : r, "graphql-transport-ws"), d, f;
74
76
  function p() {
75
77
  isFinite(h) && h > 0 && (clearTimeout(f), f = setTimeout(() => {
76
- l.readyState === D.OPEN && (l.send(a({ type: t.Ping })), O.emit("ping", !1, void 0));
78
+ u.readyState === D.OPEN && (u.send(o({ type: n.Ping })), O.emit("ping", !1, void 0));
77
79
  }, h));
78
80
  }
79
81
  k((e) => {
80
- A = void 0, clearTimeout(u), clearTimeout(f), c(e), e instanceof s && (l.close(4499, "Terminated"), l.onerror = null, l.onclose = null);
81
- }), l.onerror = (e) => O.emit("error", e), l.onclose = (e) => O.emit("closed", e), l.onopen = async () => {
82
+ A = void 0, clearTimeout(d), clearTimeout(f), l(e), e instanceof c && (u.close(4499, "Terminated"), u.onerror = null, u.onclose = null);
83
+ }), u.onerror = (e) => O.emit("error", e), u.onclose = (e) => O.emit("closed", e), u.onopen = async () => {
82
84
  try {
83
- O.emit("opened", l);
84
- let n = typeof d == "function" ? await d() : d;
85
- if (l.readyState !== D.OPEN) return;
86
- l.send(a(n ? {
87
- type: t.ConnectionInit,
88
- payload: n
89
- } : { type: t.ConnectionInit }, w)), isFinite(_) && _ > 0 && (u = setTimeout(() => {
90
- l.close(e.ConnectionAcknowledgementTimeout, "Connection acknowledgement timeout");
85
+ O.emit("opened", u);
86
+ let t = typeof s == "function" ? await s() : s;
87
+ if (u.readyState !== D.OPEN) return;
88
+ u.send(o(t ? {
89
+ type: n.ConnectionInit,
90
+ payload: t
91
+ } : { type: n.ConnectionInit }, w)), isFinite(_) && _ > 0 && (d = setTimeout(() => {
92
+ u.close(e.ConnectionAcknowledgementTimeout, "Connection acknowledgement timeout");
91
93
  }, _)), p();
92
94
  } catch (t) {
93
- O.emit("error", t), l.close(e.InternalClientError, r(t instanceof Error ? t.message : String(t), "Internal client error"));
95
+ O.emit("error", t), u.close(e.InternalClientError, i(t instanceof Error ? t.message : String(t), "Internal client error"));
94
96
  }
95
97
  };
96
98
  let m = !1;
97
- l.onmessage = ({ data: o }) => {
99
+ u.onmessage = ({ data: r }) => {
98
100
  try {
99
- let e = i(o, T);
101
+ let e = a(r, T);
100
102
  if (O.emit("message", e), e.type === "ping" || e.type === "pong") {
101
- O.emit(e.type, !0, e.payload), e.type === "pong" ? p() : g || (l.send(a(e.payload ? {
102
- type: t.Pong,
103
+ O.emit(e.type, !0, e.payload), e.type === "pong" ? p() : g || (u.send(o(e.payload ? {
104
+ type: n.Pong,
103
105
  payload: e.payload
104
- } : { type: t.Pong })), O.emit("pong", !1, e.payload));
106
+ } : { type: n.Pong }, w)), O.emit("pong", !1, e.payload));
105
107
  return;
106
108
  }
107
109
  if (m) return;
108
- if (e.type !== t.ConnectionAck) throw Error(`First message cannot be of type ${e.type}`);
109
- clearTimeout(u), m = !0, O.emit("connected", l, e.payload, N), N = !1, P = 0, n([l, new Promise((e, t) => k(t))]);
110
+ if (e.type !== n.ConnectionAck) throw Error(`First message cannot be of type ${e.type}`);
111
+ clearTimeout(d), m = !0, O.emit("connected", u, e.payload, N), N = !1, P = 0;
112
+ let i = new Promise((e, t) => k(t));
113
+ i.catch(() => {}), t([u, i]);
110
114
  } catch (t) {
111
- l.onmessage = null, O.emit("error", t), l.close(e.BadResponse, r(t instanceof Error ? t.message : String(t), "Bad response"));
115
+ u.onmessage = null, O.emit("error", t), u.close(e.BadResponse, i(t instanceof Error ? t.message : String(t), "Bad response"));
112
116
  }
113
117
  };
114
118
  })()));
115
- n.readyState === D.CLOSING && await c;
116
- let l = () => {}, u = new Promise((e) => l = e);
119
+ t.readyState === D.CLOSING && await l;
120
+ let u = () => {}, d = new Promise((e) => u = e);
117
121
  return [
118
- n,
119
- l,
120
- Promise.race([u.then(() => {
121
- if (!j) {
122
- let e = () => n.close(1e3, "Normal Closure");
123
- isFinite(m) && m > 0 ? M = setTimeout(() => {
124
- n.readyState === D.OPEN && e();
125
- }, m) : e();
126
- }
127
- }), c])
122
+ t,
123
+ u,
124
+ new Promise((e, n) => {
125
+ let r = k(n);
126
+ t.readyState !== D.OPEN && l.catch(n), d.then(() => {
127
+ if (r(), !j) {
128
+ let e = () => t.close(1e3, "Normal Closure");
129
+ isFinite(m) && m > 0 ? (clearTimeout(M), M = setTimeout(() => {
130
+ !j && t.readyState === D.OPEN && e();
131
+ }, m)) : e();
132
+ }
133
+ e();
134
+ });
135
+ })
128
136
  ];
129
137
  }
130
138
  function L(t) {
131
- if (c(t) && (l(t.code) || [
139
+ if (l(t) && (u(t.code) || [
132
140
  e.InternalServerError,
133
141
  e.InternalClientError,
134
142
  e.BadRequest,
@@ -139,7 +147,7 @@ function o(n) {
139
147
  e.TooManyInitialisationRequests
140
148
  ].includes(t.code))) throw t;
141
149
  if (F) return !1;
142
- if (c(t) && t.code === 1e3) return j > 0;
150
+ if (l(t) && t.code === 1e3) return j > 0;
143
151
  if (!v || P >= v || !b(t)) throw t;
144
152
  return N = !0;
145
153
  }
@@ -155,35 +163,35 @@ function o(n) {
155
163
  }
156
164
  }
157
165
  })();
158
- function R(e, n) {
159
- let r = C(e), i = !1, o = !1, s = () => {
166
+ function R(e, t) {
167
+ let r = C(e), i = !1, a = !1, s = () => {
160
168
  j--, i = !0;
161
169
  };
162
170
  return (async () => {
163
171
  for (j++;;) try {
164
172
  let [c, l, u] = await I();
165
- if (i) return l();
173
+ if (i) return u.catch(() => {}), l();
166
174
  let d = O.onMessage(r, (e) => {
167
175
  switch (e.type) {
168
- case t.Next:
169
- n.next(e.payload);
176
+ case n.Next:
177
+ t.next(e.payload);
170
178
  return;
171
- case t.Error:
172
- o = !0, i = !0, n.error(e.payload), s();
179
+ case n.Error:
180
+ a = !0, i = !0, t.error(e.payload), s();
173
181
  return;
174
- case t.Complete:
182
+ case n.Complete:
175
183
  i = !0, s();
176
184
  return;
177
185
  }
178
186
  });
179
- c.send(a({
187
+ c.send(o({
180
188
  id: r,
181
- type: t.Subscribe,
189
+ type: n.Subscribe,
182
190
  payload: e
183
191
  }, w)), s = () => {
184
- !i && c.readyState === D.OPEN && c.send(a({
192
+ !i && c.readyState === D.OPEN && c.send(o({
185
193
  id: r,
186
- type: t.Complete
194
+ type: n.Complete
187
195
  }, w)), j--, i = !0, l();
188
196
  }, await u.finally(d);
189
197
  return;
@@ -191,9 +199,9 @@ function o(n) {
191
199
  if (!L(e)) return;
192
200
  }
193
201
  })().then(() => {
194
- o || n.complete();
202
+ a || t.complete();
195
203
  }).catch((e) => {
196
- n.error(e);
204
+ t.error(e);
197
205
  }), () => {
198
206
  i || s();
199
207
  };
@@ -238,22 +246,22 @@ function o(n) {
238
246
  }
239
247
  },
240
248
  terminate() {
241
- A && O.emit("closed", new s());
249
+ A && O.emit("closed", new c());
242
250
  }
243
251
  };
244
252
  }
245
- var s = class extends Error {
253
+ var c = class extends Error {
246
254
  name = "TerminatedCloseEvent";
247
255
  message = "4499: Terminated";
248
256
  code = 4499;
249
257
  reason = "Terminated";
250
258
  wasClean = !1;
251
259
  };
252
- function c(e) {
253
- return n(e) && "code" in e && "reason" in e;
254
- }
255
260
  function l(e) {
256
- return [
261
+ return r(e) && "code" in e && "reason" in e;
262
+ }
263
+ function u(e) {
264
+ return ![
257
265
  1e3,
258
266
  1001,
259
267
  1006,
@@ -261,12 +269,11 @@ function l(e) {
261
269
  1012,
262
270
  1013,
263
271
  1014
264
- ].includes(e) ? !1 : e >= 1e3 && e <= 1999;
272
+ ].includes(e) && e >= 1e3 && e <= 1999;
265
273
  }
266
- function u(e) {
274
+ function d(e) {
267
275
  return typeof e == "function" && "constructor" in e && "CLOSED" in e && "CLOSING" in e && "CONNECTING" in e && "OPEN" in e;
268
276
  }
269
- //#endregion
270
- export { o as createClient };
277
+ export { e as CloseCode, t as GRAPHQL_TRANSPORT_WS_PROTOCOL, n as MessageType, c as TerminatedCloseEvent, s as createClient, a as parseMessage, o as stringifyMessage };
271
278
 
272
279
  //# sourceMappingURL=client.js.map