@burdenoff/microfe-notification 2026.1125.1 → 2026.1129.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.
- package/dist/NotificationRoutes.d.ts +10 -0
- package/dist/NotificationRoutes.js +76 -71
- package/dist/NotificationRoutes.js.map +1 -1
- package/dist/components/NotificationPanel.js +0 -1
- package/dist/components/NotificationPanel.js.map +1 -1
- package/dist/generated/global-operations.d.ts +58 -3
- package/dist/generated/global-operations.js +31 -23
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +10933 -581
- package/dist/graphql/global-client.js +34 -34
- package/dist/hooks/useNotificationAnalytics.d.ts +1 -1
- package/dist/hooks/useNotificationAnalytics.js.map +1 -1
- package/dist/hooks/useNotifications.d.ts +7 -0
- package/dist/hooks/useNotifications.js +1 -1
- package/dist/hooks/useNotifications.js.map +1 -1
- package/dist/index.js +9 -11
- package/dist/navigation-v2/NotificationArchivedV2.js +7 -8
- package/dist/navigation-v2/NotificationArchivedV2.js.map +1 -1
- package/dist/navigation-v2/NotificationInboxV2.js +8 -9
- package/dist/navigation-v2/NotificationInboxV2.js.map +1 -1
- package/dist/navigation-v2/NotificationSettingsV2.js +0 -1
- package/dist/navigation-v2/NotificationSettingsV2.js.map +1 -1
- package/dist/pages/NotificationCenterPage.js +5 -6
- package/dist/pages/NotificationCenterPage.js.map +1 -1
- package/dist/pages/NotificationHistoryAdminPage.js +9 -10
- package/dist/pages/NotificationHistoryAdminPage.js.map +1 -1
- package/dist/pages/NotificationHistoryPage.js +5 -6
- package/dist/pages/NotificationHistoryPage.js.map +1 -1
- package/dist/pages/NotificationPreferencesPage.js +0 -1
- package/dist/pages/NotificationPreferencesPage.js.map +1 -1
- package/dist/pages/NotificationTopicsPage.js +0 -1
- package/dist/pages/NotificationTopicsPage.js.map +1 -1
- package/dist/translations/en.d.ts +80 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/v2/ArchivedRedirect.d.ts +1 -0
- package/dist/v2/ArchivedRedirect.js +14 -0
- package/dist/v2/ArchivedRedirect.js.map +1 -0
- package/dist/v2/InboxPage.d.ts +1 -0
- package/dist/v2/InboxPage.js +191 -0
- package/dist/v2/InboxPage.js.map +1 -0
- package/dist/v2/InboxRows.d.ts +10 -0
- package/dist/v2/InboxRows.js +101 -0
- package/dist/v2/InboxRows.js.map +1 -0
- package/dist/v2/KindIcon.d.ts +4 -0
- package/dist/v2/KindIcon.js +33 -0
- package/dist/v2/KindIcon.js.map +1 -0
- package/dist/v2/NotificationDetailPanel.d.ts +7 -0
- package/dist/v2/NotificationDetailPanel.js +200 -0
- package/dist/v2/NotificationDetailPanel.js.map +1 -0
- package/dist/v2/PreferencesPage.d.ts +1 -0
- package/dist/v2/PreferencesPage.js +139 -0
- package/dist/v2/PreferencesPage.js.map +1 -0
- package/dist/v2/__tests__/routeShapes.d.ts +13 -0
- package/dist/v2/model/days.d.ts +9 -0
- package/dist/v2/model/days.js +25 -0
- package/dist/v2/model/days.js.map +1 -0
- package/dist/v2/model/events.d.ts +17 -0
- package/dist/v2/model/events.js +72 -0
- package/dist/v2/model/events.js.map +1 -0
- package/dist/v2/model/icons.d.ts +6 -0
- package/dist/v2/model/icons.js +19 -0
- package/dist/v2/model/icons.js.map +1 -0
- package/dist/v2/model/inbox.d.ts +15 -0
- package/dist/v2/model/inbox.js +22 -0
- package/dist/v2/model/inbox.js.map +1 -0
- package/dist/v2/model/thing.d.ts +16 -0
- package/dist/v2/model/thing.js +41 -0
- package/dist/v2/model/thing.js.map +1 -0
- package/dist/v2/model/tr.d.ts +2 -0
- package/dist/v2/useNotificationDetail.d.ts +19 -0
- package/dist/v2/useNotificationDetail.js +65 -0
- package/dist/v2/useNotificationDetail.js.map +1 -0
- package/package.json +5 -2
- package/dist/components/index.js +0 -4
- package/dist/hooks/index.js +0 -8
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +0 -23
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
- package/dist/node_modules/@apollo/client/errors/utils.js +0 -15
- package/dist/node_modules/@apollo/client/errors/utils.js.map +0 -1
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +0 -51
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js +0 -40
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +0 -1
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +0 -33
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -5
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +0 -15
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js +0 -18
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +0 -20
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +0 -16
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -8
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +0 -8
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -7
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +0 -8
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -9
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -7
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +0 -9
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +0 -22
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +0 -9
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js +0 -56
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
- package/dist/node_modules/@apollo/client/version.js +0 -5
- package/dist/node_modules/@apollo/client/version.js.map +0 -1
- package/dist/node_modules/@wry/caches/lib/weak.js +0 -66
- package/dist/node_modules/@wry/caches/lib/weak.js.map +0 -1
- package/dist/node_modules/@wry/trie/lib/index.js +0 -52
- package/dist/node_modules/@wry/trie/lib/index.js.map +0 -1
- package/dist/node_modules/graphql-ws/dist/client.js +0 -279
- package/dist/node_modules/graphql-ws/dist/client.js.map +0 -1
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +0 -61
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +0 -20
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +0 -77
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +0 -116
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +0 -96
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js +0 -11
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +0 -8
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +0 -15
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +0 -7
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +0 -12
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -10
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +0 -10
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +0 -21
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -7
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -7
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -5
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +0 -12
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +0 -13
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.js +0 -51
- package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","names":["CloseCode","GRAPHQL_TRANSPORT_WS_PROTOCOL","MessageType","isObject","limitCloseReason","parseMessage","stringifyMessage","createClient","lazyCloseTimeoutMs","retryDelaySeconds","retries2","resolve","isLikeCloseEvent","r","c","replacer","reviver","options","ws","webSocketImpl","isWebSocket","WebSocketImpl","emitter","message","listeners2","id","listener","message2","listeners","on","l","event","i","args","errorOrClosed","listening","unlisten","cb","err","connecting","locks","lazyCloseTimeout","retrying","retries","disposed","connect","socket","throwOnClose","retryWait","denied","socket2","url","connectionAckTimeout","queuedPing","enqueuePing","keepAlive","errOrEvent","TerminatedCloseEvent","payload","connectionParams","connectionAckWaitTimeout","acknowledged","data","disablePong","throwOnClose2","reject","connected","release","released","complete","shouldRetryConnectOrThrow","errOrCloseEvent","isFatalInternalCloseCode","retryAttempts","shouldRetry","lazy","errOrCloseEvent2","onNonLazyError","subscribe","generateID","done","errored","releaser","waitForReleaseOrThrowOnClose","sink","pending","deferred","dispose","request","val","iterator","code"],"sources":["../../../../node_modules/graphql-ws/dist/client.js"],"sourcesContent":["import { i as isObject, G as GRAPHQL_TRANSPORT_WS_PROTOCOL, s as stringifyMessage, M as MessageType, C as CloseCode, l as limitCloseReason, p as parseMessage } from './common-CGW11Fyb.js';\nexport { D as DEPRECATED_GRAPHQL_WS_PROTOCOL, v as validateMessage } from './common-CGW11Fyb.js';\n\nfunction createClient(options) {\n const {\n url,\n connectionParams,\n lazy = true,\n onNonLazyError = console.error,\n lazyCloseTimeout: lazyCloseTimeoutMs = 0,\n keepAlive = 0,\n disablePong,\n connectionAckWaitTimeout = 0,\n retryAttempts = 5,\n retryWait = async function randomisedExponentialBackoff(retries2) {\n const retryDelaySeconds = Math.pow(2, retries2);\n await new Promise(\n (resolve) => setTimeout(\n resolve,\n retryDelaySeconds * 1e3 + // add random timeout from 300ms to 3s\n Math.floor(Math.random() * (3e3 - 300) + 300)\n )\n );\n },\n shouldRetry = isLikeCloseEvent,\n on,\n webSocketImpl,\n /**\n * Generates a v4 UUID to be used as the ID using `Math`\n * as the random number generator. Supply your own generator\n * in case you need more uniqueness.\n *\n * Reference: https://gist.github.com/jed/982883\n */\n generateID = function generateUUID() {\n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, (c) => {\n const r = Math.random() * 16 | 0, v = c == \"x\" ? r : r & 3 | 8;\n return v.toString(16);\n });\n },\n jsonMessageReplacer: replacer,\n jsonMessageReviver: reviver\n } = options;\n let ws;\n if (webSocketImpl) {\n if (!isWebSocket(webSocketImpl)) {\n throw new Error(\"Invalid WebSocket implementation provided\");\n }\n ws = webSocketImpl;\n } else if (typeof WebSocket !== \"undefined\") {\n ws = WebSocket;\n } else if (typeof global !== \"undefined\") {\n ws = global.WebSocket || // @ts-expect-error: Support more browsers\n global.MozWebSocket;\n } else if (typeof window !== \"undefined\") {\n ws = window.WebSocket || // @ts-expect-error: Support more browsers\n window.MozWebSocket;\n }\n if (!ws)\n throw new Error(\n \"WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`\"\n );\n const WebSocketImpl = ws;\n const emitter = (() => {\n const message = /* @__PURE__ */ (() => {\n const listeners2 = {};\n return {\n on(id, listener) {\n listeners2[id] = listener;\n return () => {\n delete listeners2[id];\n };\n },\n emit(message2) {\n if (\"id\" in message2) listeners2[message2.id]?.(message2);\n }\n };\n })();\n const listeners = {\n connecting: on?.connecting ? [on.connecting] : [],\n opened: on?.opened ? [on.opened] : [],\n connected: on?.connected ? [on.connected] : [],\n ping: on?.ping ? [on.ping] : [],\n pong: on?.pong ? [on.pong] : [],\n message: on?.message ? [message.emit, on.message] : [message.emit],\n closed: on?.closed ? [on.closed] : [],\n error: on?.error ? [on.error] : []\n };\n return {\n onMessage: message.on,\n on(event, listener) {\n const l = listeners[event];\n l.push(listener);\n return () => {\n const i = l.indexOf(listener);\n if (i > -1) {\n l.splice(i, 1);\n }\n };\n },\n emit(event, ...args) {\n for (const listener of [...listeners[event]]) {\n listener(...args);\n }\n }\n };\n })();\n function errorOrClosed(cb) {\n const listening = [\n // errors are fatal and more critical than close events, throw them first\n emitter.on(\"error\", (err) => {\n listening.forEach((unlisten) => unlisten());\n cb(err);\n }),\n // closes can be graceful and not fatal, throw them second (if error didnt throw)\n emitter.on(\"closed\", (event) => {\n listening.forEach((unlisten) => unlisten());\n cb(event);\n })\n ];\n return () => listening.forEach((unlisten) => unlisten());\n }\n let connecting, locks = 0, lazyCloseTimeout, retrying = false, retries = 0, disposed = false;\n async function connect() {\n clearTimeout(lazyCloseTimeout);\n const [socket, throwOnClose] = await (connecting ?? (connecting = new Promise(\n (connected, denied) => (async () => {\n if (retrying) {\n await retryWait(retries);\n if (!locks) {\n connecting = void 0;\n return denied({ code: 1e3, reason: \"All Subscriptions Gone\" });\n }\n retries++;\n }\n emitter.emit(\"connecting\", retrying);\n const socket2 = new WebSocketImpl(\n typeof url === \"function\" ? await url() : url,\n GRAPHQL_TRANSPORT_WS_PROTOCOL\n );\n let connectionAckTimeout, queuedPing;\n function enqueuePing() {\n if (isFinite(keepAlive) && keepAlive > 0) {\n clearTimeout(queuedPing);\n queuedPing = setTimeout(() => {\n if (socket2.readyState === WebSocketImpl.OPEN) {\n socket2.send(stringifyMessage({ type: MessageType.Ping }));\n emitter.emit(\"ping\", false, void 0);\n }\n }, keepAlive);\n }\n }\n errorOrClosed((errOrEvent) => {\n connecting = void 0;\n clearTimeout(connectionAckTimeout);\n clearTimeout(queuedPing);\n denied(errOrEvent);\n if (errOrEvent instanceof TerminatedCloseEvent) {\n socket2.close(4499, \"Terminated\");\n socket2.onerror = null;\n socket2.onclose = null;\n }\n });\n socket2.onerror = (err) => emitter.emit(\"error\", err);\n socket2.onclose = (event) => emitter.emit(\"closed\", event);\n socket2.onopen = async () => {\n try {\n emitter.emit(\"opened\", socket2);\n const payload = typeof connectionParams === \"function\" ? await connectionParams() : connectionParams;\n if (socket2.readyState !== WebSocketImpl.OPEN) return;\n socket2.send(\n stringifyMessage(\n payload ? {\n type: MessageType.ConnectionInit,\n payload\n } : {\n type: MessageType.ConnectionInit\n // payload is completely absent if not provided\n },\n replacer\n )\n );\n if (isFinite(connectionAckWaitTimeout) && connectionAckWaitTimeout > 0) {\n connectionAckTimeout = setTimeout(() => {\n socket2.close(\n CloseCode.ConnectionAcknowledgementTimeout,\n \"Connection acknowledgement timeout\"\n );\n }, connectionAckWaitTimeout);\n }\n enqueuePing();\n } catch (err) {\n emitter.emit(\"error\", err);\n socket2.close(\n CloseCode.InternalClientError,\n limitCloseReason(\n err instanceof Error ? err.message : String(err),\n \"Internal client error\"\n )\n );\n }\n };\n let acknowledged = false;\n socket2.onmessage = ({ data }) => {\n try {\n const message = parseMessage(data, reviver);\n emitter.emit(\"message\", message);\n if (message.type === \"ping\" || message.type === \"pong\") {\n emitter.emit(message.type, true, message.payload);\n if (message.type === \"pong\") {\n enqueuePing();\n } else if (!disablePong) {\n socket2.send(\n stringifyMessage(\n message.payload ? {\n type: MessageType.Pong,\n payload: message.payload\n } : {\n type: MessageType.Pong\n // payload is completely absent if not provided\n },\n replacer\n )\n );\n emitter.emit(\"pong\", false, message.payload);\n }\n return;\n }\n if (acknowledged) return;\n if (message.type !== MessageType.ConnectionAck)\n throw new Error(\n `First message cannot be of type ${message.type}`\n );\n clearTimeout(connectionAckTimeout);\n acknowledged = true;\n emitter.emit(\"connected\", socket2, message.payload, retrying);\n retrying = false;\n retries = 0;\n const throwOnClose2 = new Promise(\n (_, reject) => errorOrClosed(reject)\n );\n throwOnClose2.catch(() => {\n });\n connected([socket2, throwOnClose2]);\n } catch (err) {\n socket2.onmessage = null;\n emitter.emit(\"error\", err);\n socket2.close(\n CloseCode.BadResponse,\n limitCloseReason(\n err instanceof Error ? err.message : String(err),\n \"Bad response\"\n )\n );\n }\n };\n })()\n )));\n if (socket.readyState === WebSocketImpl.CLOSING) await throwOnClose;\n let release = () => {\n };\n const released = new Promise((resolve) => release = resolve);\n return [\n socket,\n release,\n // resolves on release or rejects on error/close, whichever comes first.\n // not racing with throwOnClose on purpose, it lives as long as the socket\n // and every race would leak memory per operation\n new Promise((resolve, reject) => {\n const unlisten = errorOrClosed(reject);\n if (socket.readyState !== WebSocketImpl.OPEN)\n throwOnClose.catch(reject);\n released.then(() => {\n unlisten();\n if (!locks) {\n const complete = () => socket.close(1e3, \"Normal Closure\");\n if (isFinite(lazyCloseTimeoutMs) && lazyCloseTimeoutMs > 0) {\n clearTimeout(lazyCloseTimeout);\n lazyCloseTimeout = setTimeout(() => {\n if (!locks && socket.readyState === WebSocketImpl.OPEN)\n complete();\n }, lazyCloseTimeoutMs);\n } else {\n complete();\n }\n }\n resolve();\n });\n })\n ];\n }\n function shouldRetryConnectOrThrow(errOrCloseEvent) {\n if (isLikeCloseEvent(errOrCloseEvent) && (isFatalInternalCloseCode(errOrCloseEvent.code) || [\n CloseCode.InternalServerError,\n CloseCode.InternalClientError,\n CloseCode.BadRequest,\n CloseCode.BadResponse,\n CloseCode.Unauthorized,\n // CloseCode.Forbidden, might grant access out after retry\n CloseCode.SubprotocolNotAcceptable,\n // CloseCode.ConnectionInitialisationTimeout, might not time out after retry\n // CloseCode.ConnectionAcknowledgementTimeout, might not time out after retry\n CloseCode.SubscriberAlreadyExists,\n CloseCode.TooManyInitialisationRequests\n // 4499, // Terminated, probably because the socket froze, we want to retry\n ].includes(errOrCloseEvent.code)))\n throw errOrCloseEvent;\n if (disposed) return false;\n if (isLikeCloseEvent(errOrCloseEvent) && errOrCloseEvent.code === 1e3)\n return locks > 0;\n if (!retryAttempts || retries >= retryAttempts) throw errOrCloseEvent;\n if (!shouldRetry(errOrCloseEvent)) throw errOrCloseEvent;\n return retrying = true;\n }\n if (!lazy) {\n (async () => {\n locks++;\n for (; ; ) {\n try {\n const [, , throwOnClose] = await connect();\n await throwOnClose;\n } catch (errOrCloseEvent) {\n try {\n if (!shouldRetryConnectOrThrow(errOrCloseEvent)) return;\n } catch (errOrCloseEvent2) {\n return onNonLazyError?.(errOrCloseEvent2);\n }\n }\n }\n })();\n }\n function subscribe(payload, sink) {\n const id = generateID(payload);\n let done = false, errored = false, releaser = () => {\n locks--;\n done = true;\n };\n (async () => {\n locks++;\n for (; ; ) {\n try {\n const [socket, release, waitForReleaseOrThrowOnClose] = await connect();\n if (done) {\n waitForReleaseOrThrowOnClose.catch(() => {\n });\n return release();\n }\n const unlisten = emitter.onMessage(id, (message) => {\n switch (message.type) {\n case MessageType.Next: {\n sink.next(message.payload);\n return;\n }\n case MessageType.Error: {\n errored = true, done = true;\n sink.error(message.payload);\n releaser();\n return;\n }\n case MessageType.Complete: {\n done = true;\n releaser();\n return;\n }\n }\n });\n socket.send(\n stringifyMessage(\n {\n id,\n type: MessageType.Subscribe,\n payload\n },\n replacer\n )\n );\n releaser = () => {\n if (!done && socket.readyState === WebSocketImpl.OPEN)\n socket.send(\n stringifyMessage(\n {\n id,\n type: MessageType.Complete\n },\n replacer\n )\n );\n locks--;\n done = true;\n release();\n };\n await waitForReleaseOrThrowOnClose.finally(unlisten);\n return;\n } catch (errOrCloseEvent) {\n if (!shouldRetryConnectOrThrow(errOrCloseEvent)) return;\n }\n }\n })().then(() => {\n if (!errored) sink.complete();\n }).catch((err) => {\n sink.error(err);\n });\n return () => {\n if (!done) releaser();\n };\n }\n return {\n on: emitter.on,\n subscribe,\n iterate(request) {\n const pending = [];\n const deferred = {\n done: false,\n error: null,\n resolve: () => {\n }\n };\n const dispose = subscribe(request, {\n next(val) {\n pending.push(val);\n deferred.resolve();\n },\n error(err) {\n deferred.done = true;\n deferred.error = err;\n deferred.resolve();\n },\n complete() {\n deferred.done = true;\n deferred.resolve();\n }\n });\n const iterator = async function* iterator2() {\n for (; ; ) {\n if (!pending.length) {\n await new Promise((resolve) => deferred.resolve = resolve);\n }\n while (pending.length) {\n yield pending.shift();\n }\n if (deferred.error) {\n throw deferred.error;\n }\n if (deferred.done) {\n return;\n }\n }\n }();\n iterator.throw = async (err) => {\n if (!deferred.done) {\n deferred.done = true;\n deferred.error = err;\n deferred.resolve();\n }\n return { done: true, value: void 0 };\n };\n iterator.return = async () => {\n dispose();\n return { done: true, value: void 0 };\n };\n return iterator;\n },\n async dispose() {\n disposed = true;\n if (connecting) {\n const [socket] = await connecting;\n socket.close(1e3, \"Normal Closure\");\n }\n },\n terminate() {\n if (connecting) {\n emitter.emit(\"closed\", new TerminatedCloseEvent());\n }\n }\n };\n}\nclass TerminatedCloseEvent extends Error {\n name = \"TerminatedCloseEvent\";\n message = \"4499: Terminated\";\n code = 4499;\n reason = \"Terminated\";\n wasClean = false;\n}\nfunction isLikeCloseEvent(val) {\n return isObject(val) && \"code\" in val && \"reason\" in val;\n}\nfunction isFatalInternalCloseCode(code) {\n if ([\n 1e3,\n // Normal Closure is not an erroneous close code\n 1001,\n // Going Away\n 1006,\n // Abnormal Closure\n 1005,\n // No Status Received\n 1012,\n // Service Restart\n 1013,\n // Try Again Later\n 1014\n // Bad Gateway\n ].includes(code))\n return false;\n return code >= 1e3 && code <= 1999;\n}\nfunction isWebSocket(val) {\n return typeof val === \"function\" && \"constructor\" in val && \"CLOSED\" in val && \"CLOSING\" in val && \"CONNECTING\" in val && \"OPEN\" in val;\n}\n\nexport { CloseCode, GRAPHQL_TRANSPORT_WS_PROTOCOL, MessageType, TerminatedCloseEvent, createClient, parseMessage, stringifyMessage };\n"],"ignoreList":[0],"mappings":";;AAGA,SAASO,EAAa,GAAS;CAC7B,IAAM,EACJ,QACA,qBACA,UAAO,IACP,oBAAiB,QAAQ,OACzB,kBAAkBC,IAAqB,GACvC,eAAY,GACZ,gBACA,8BA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ACA,SAASjB,EAAyB,GAAM;CAkBtC,OAjBA,CAAI;EACF;EAEA;EAEA;EAEA;EAEA;EAEA;EAEA;CAEF,CAAC,CAAC,SAASmB,CAAI,KAERA,KAAQ,OAAOA,KAAQ;AAChC;AACA,SAASvE,EAAY,GAAK;CACxB,OAAO,OAAOqE,KAAQ,cAAc,iBAAiBA,KAAO,YAAYA,KAAO,aAAaA,KAAO,gBAAgBA,KAAO,UAAUA;AACtI"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// node_modules/graphql-ws/dist/common-CGW11Fyb.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return e === null ? "null" : Array.isArray(e) ? "array" : typeof e;
|
|
4
|
-
}
|
|
5
|
-
function t(t) {
|
|
6
|
-
return e(t) === "object";
|
|
7
|
-
}
|
|
8
|
-
function n(e) {
|
|
9
|
-
return Array.isArray(e) && e.length > 0 && e.every((e) => "message" in e);
|
|
10
|
-
}
|
|
11
|
-
function r(e, t) {
|
|
12
|
-
return e.length < 124 ? e : t;
|
|
13
|
-
}
|
|
14
|
-
var i = "graphql-transport-ws", a = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 4500] = "InternalServerError", e[e.InternalClientError = 4005] = "InternalClientError", e[e.BadRequest = 4400] = "BadRequest", e[e.BadResponse = 4004] = "BadResponse", e[e.Unauthorized = 4401] = "Unauthorized", e[e.Forbidden = 4403] = "Forbidden", e[e.SubprotocolNotAcceptable = 4406] = "SubprotocolNotAcceptable", e[e.ConnectionInitialisationTimeout = 4408] = "ConnectionInitialisationTimeout", e[e.ConnectionAcknowledgementTimeout = 4504] = "ConnectionAcknowledgementTimeout", e[e.SubscriberAlreadyExists = 4409] = "SubscriberAlreadyExists", e[e.TooManyInitialisationRequests = 4429] = "TooManyInitialisationRequests", e))(a || {}), o = /* @__PURE__ */ ((e) => (e.ConnectionInit = "connection_init", e.ConnectionAck = "connection_ack", e.Ping = "ping", e.Pong = "pong", e.Subscribe = "subscribe", e.Next = "next", e.Error = "error", e.Complete = "complete", e))(o || {});
|
|
15
|
-
function s(r) {
|
|
16
|
-
if (!t(r)) throw Error(`Message is expected to be an object, but got ${e(r)}`);
|
|
17
|
-
if (!r.type) throw Error("Message is missing the 'type' property");
|
|
18
|
-
if (typeof r.type != "string") throw Error(`Message is expects the 'type' property to be a string, but got ${e(r.type)}`);
|
|
19
|
-
switch (r.type) {
|
|
20
|
-
case "connection_init":
|
|
21
|
-
case "connection_ack":
|
|
22
|
-
case "ping":
|
|
23
|
-
case "pong":
|
|
24
|
-
if (r.payload != null && !t(r.payload)) throw Error(`"${r.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${r.payload}"`);
|
|
25
|
-
break;
|
|
26
|
-
case "subscribe":
|
|
27
|
-
if (typeof r.id != "string") throw Error(`"${r.type}" message expects the 'id' property to be a string, but got ${e(r.id)}`);
|
|
28
|
-
if (!r.id) throw Error(`"${r.type}" message requires a non-empty 'id' property`);
|
|
29
|
-
if (!t(r.payload)) throw Error(`"${r.type}" message expects the 'payload' property to be an object, but got ${e(r.payload)}`);
|
|
30
|
-
if (typeof r.payload.query != "string") throw Error(`"${r.type}" message payload expects the 'query' property to be a string, but got ${e(r.payload.query)}`);
|
|
31
|
-
if (r.payload.variables != null && !t(r.payload.variables)) throw Error(`"${r.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${e(r.payload.variables)}`);
|
|
32
|
-
if (r.payload.operationName != null && e(r.payload.operationName) !== "string") throw Error(`"${r.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${e(r.payload.operationName)}`);
|
|
33
|
-
if (r.payload.extensions != null && !t(r.payload.extensions)) throw Error(`"${r.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${e(r.payload.extensions)}`);
|
|
34
|
-
break;
|
|
35
|
-
case "next":
|
|
36
|
-
if (typeof r.id != "string") throw Error(`"${r.type}" message expects the 'id' property to be a string, but got ${e(r.id)}`);
|
|
37
|
-
if (!r.id) throw Error(`"${r.type}" message requires a non-empty 'id' property`);
|
|
38
|
-
if (!t(r.payload)) throw Error(`"${r.type}" message expects the 'payload' property to be an object, but got ${e(r.payload)}`);
|
|
39
|
-
break;
|
|
40
|
-
case "error":
|
|
41
|
-
if (typeof r.id != "string") throw Error(`"${r.type}" message expects the 'id' property to be a string, but got ${e(r.id)}`);
|
|
42
|
-
if (!r.id) throw Error(`"${r.type}" message requires a non-empty 'id' property`);
|
|
43
|
-
if (!n(r.payload)) throw Error(`"${r.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(r.payload)}`);
|
|
44
|
-
break;
|
|
45
|
-
case "complete":
|
|
46
|
-
if (typeof r.id != "string") throw Error(`"${r.type}" message expects the 'id' property to be a string, but got ${e(r.id)}`);
|
|
47
|
-
if (!r.id) throw Error(`"${r.type}" message requires a non-empty 'id' property`);
|
|
48
|
-
break;
|
|
49
|
-
default: throw Error(`Invalid message 'type' property "${r.type}"`);
|
|
50
|
-
}
|
|
51
|
-
return r;
|
|
52
|
-
}
|
|
53
|
-
function c(e, t) {
|
|
54
|
-
return s(typeof e == "string" ? JSON.parse(e, t) : e);
|
|
55
|
-
}
|
|
56
|
-
function l(e, t) {
|
|
57
|
-
return s(e), JSON.stringify(e, t);
|
|
58
|
-
}
|
|
59
|
-
export { a as C, i as G, o as M, t as i, r as l, c as p, l as s, s as v };
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=common-CGW11Fyb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common-CGW11Fyb.js","names":["extendedTypeof","val","isObject","areGraphQLFormattedErrors","obj","ob","limitCloseReason","reason","whenTooLong","GRAPHQL_TRANSPORT_WS_PROTOCOL","CloseCode","\"InternalServerError\"","\"InternalClientError\"","\"BadRequest\"","\"BadResponse\"","\"Unauthorized\"","\"Forbidden\"","\"SubprotocolNotAcceptable\"","\"ConnectionInitialisationTimeout\"","\"ConnectionAcknowledgementTimeout\"","\"SubscriberAlreadyExists\"","\"TooManyInitialisationRequests\"","CloseCode2","MessageType","\"ConnectionInit\"","\"ConnectionAck\"","\"Ping\"","\"Pong\"","\"Subscribe\"","\"Next\"","\"Error\"","\"Complete\"","MessageType2","validateMessage","parseMessage","data","reviver","stringifyMessage","msg","replacer"],"sources":["../../../../node_modules/graphql-ws/dist/common-CGW11Fyb.js"],"sourcesContent":["function extendedTypeof(val) {\n if (val === null) {\n return \"null\";\n }\n if (Array.isArray(val)) {\n return \"array\";\n }\n return typeof val;\n}\nfunction isObject(val) {\n return extendedTypeof(val) === \"object\";\n}\nfunction isAsyncIterable(val) {\n return typeof Object(val)[Symbol.asyncIterator] === \"function\";\n}\nfunction isAsyncGenerator(val) {\n return isObject(val) && typeof Object(val)[Symbol.asyncIterator] === \"function\" && typeof val.return === \"function\";\n}\nfunction areGraphQLFormattedErrors(obj) {\n return Array.isArray(obj) && // must be at least one error\n obj.length > 0 && // error has at least a message\n obj.every((ob) => \"message\" in ob);\n}\nfunction limitCloseReason(reason, whenTooLong) {\n return reason.length < 124 ? reason : whenTooLong;\n}\n\nconst GRAPHQL_TRANSPORT_WS_PROTOCOL = \"graphql-transport-ws\";\nconst DEPRECATED_GRAPHQL_WS_PROTOCOL = \"graphql-ws\";\nvar CloseCode = /* @__PURE__ */ ((CloseCode2) => {\n CloseCode2[CloseCode2[\"InternalServerError\"] = 4500] = \"InternalServerError\";\n CloseCode2[CloseCode2[\"InternalClientError\"] = 4005] = \"InternalClientError\";\n CloseCode2[CloseCode2[\"BadRequest\"] = 4400] = \"BadRequest\";\n CloseCode2[CloseCode2[\"BadResponse\"] = 4004] = \"BadResponse\";\n CloseCode2[CloseCode2[\"Unauthorized\"] = 4401] = \"Unauthorized\";\n CloseCode2[CloseCode2[\"Forbidden\"] = 4403] = \"Forbidden\";\n CloseCode2[CloseCode2[\"SubprotocolNotAcceptable\"] = 4406] = \"SubprotocolNotAcceptable\";\n CloseCode2[CloseCode2[\"ConnectionInitialisationTimeout\"] = 4408] = \"ConnectionInitialisationTimeout\";\n CloseCode2[CloseCode2[\"ConnectionAcknowledgementTimeout\"] = 4504] = \"ConnectionAcknowledgementTimeout\";\n CloseCode2[CloseCode2[\"SubscriberAlreadyExists\"] = 4409] = \"SubscriberAlreadyExists\";\n CloseCode2[CloseCode2[\"TooManyInitialisationRequests\"] = 4429] = \"TooManyInitialisationRequests\";\n return CloseCode2;\n})(CloseCode || {});\nvar MessageType = /* @__PURE__ */ ((MessageType2) => {\n MessageType2[\"ConnectionInit\"] = \"connection_init\";\n MessageType2[\"ConnectionAck\"] = \"connection_ack\";\n MessageType2[\"Ping\"] = \"ping\";\n MessageType2[\"Pong\"] = \"pong\";\n MessageType2[\"Subscribe\"] = \"subscribe\";\n MessageType2[\"Next\"] = \"next\";\n MessageType2[\"Error\"] = \"error\";\n MessageType2[\"Complete\"] = \"complete\";\n return MessageType2;\n})(MessageType || {});\nfunction validateMessage(val) {\n if (!isObject(val)) {\n throw new Error(\n `Message is expected to be an object, but got ${extendedTypeof(val)}`\n );\n }\n if (!val.type) {\n throw new Error(`Message is missing the 'type' property`);\n }\n if (typeof val.type !== \"string\") {\n throw new Error(\n `Message is expects the 'type' property to be a string, but got ${extendedTypeof(\n val.type\n )}`\n );\n }\n switch (val.type) {\n case \"connection_init\" /* ConnectionInit */:\n case \"connection_ack\" /* ConnectionAck */:\n case \"ping\" /* Ping */:\n case \"pong\" /* Pong */: {\n if (val.payload != null && !isObject(val.payload)) {\n throw new Error(\n `\"${val.type}\" message expects the 'payload' property to be an object or nullish or missing, but got \"${val.payload}\"`\n );\n }\n break;\n }\n case \"subscribe\" /* Subscribe */: {\n if (typeof val.id !== \"string\") {\n throw new Error(\n `\"${val.type}\" message expects the 'id' property to be a string, but got ${extendedTypeof(\n val.id\n )}`\n );\n }\n if (!val.id) {\n throw new Error(\n `\"${val.type}\" message requires a non-empty 'id' property`\n );\n }\n if (!isObject(val.payload)) {\n throw new Error(\n `\"${val.type}\" message expects the 'payload' property to be an object, but got ${extendedTypeof(\n val.payload\n )}`\n );\n }\n if (typeof val.payload.query !== \"string\") {\n throw new Error(\n `\"${val.type}\" message payload expects the 'query' property to be a string, but got ${extendedTypeof(\n val.payload.query\n )}`\n );\n }\n if (val.payload.variables != null && !isObject(val.payload.variables)) {\n throw new Error(\n `\"${val.type}\" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${extendedTypeof(\n val.payload.variables\n )}`\n );\n }\n if (val.payload.operationName != null && extendedTypeof(val.payload.operationName) !== \"string\") {\n throw new Error(\n `\"${val.type}\" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${extendedTypeof(\n val.payload.operationName\n )}`\n );\n }\n if (val.payload.extensions != null && !isObject(val.payload.extensions)) {\n throw new Error(\n `\"${val.type}\" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${extendedTypeof(\n val.payload.extensions\n )}`\n );\n }\n break;\n }\n case \"next\" /* Next */: {\n if (typeof val.id !== \"string\") {\n throw new Error(\n `\"${val.type}\" message expects the 'id' property to be a string, but got ${extendedTypeof(\n val.id\n )}`\n );\n }\n if (!val.id) {\n throw new Error(\n `\"${val.type}\" message requires a non-empty 'id' property`\n );\n }\n if (!isObject(val.payload)) {\n throw new Error(\n `\"${val.type}\" message expects the 'payload' property to be an object, but got ${extendedTypeof(\n val.payload\n )}`\n );\n }\n break;\n }\n case \"error\" /* Error */: {\n if (typeof val.id !== \"string\") {\n throw new Error(\n `\"${val.type}\" message expects the 'id' property to be a string, but got ${extendedTypeof(\n val.id\n )}`\n );\n }\n if (!val.id) {\n throw new Error(\n `\"${val.type}\" message requires a non-empty 'id' property`\n );\n }\n if (!areGraphQLFormattedErrors(val.payload)) {\n throw new Error(\n `\"${val.type}\" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(\n val.payload\n )}`\n );\n }\n break;\n }\n case \"complete\" /* Complete */: {\n if (typeof val.id !== \"string\") {\n throw new Error(\n `\"${val.type}\" message expects the 'id' property to be a string, but got ${extendedTypeof(\n val.id\n )}`\n );\n }\n if (!val.id) {\n throw new Error(\n `\"${val.type}\" message requires a non-empty 'id' property`\n );\n }\n break;\n }\n default:\n throw new Error(`Invalid message 'type' property \"${val.type}\"`);\n }\n return val;\n}\nfunction parseMessage(data, reviver) {\n return validateMessage(\n typeof data === \"string\" ? JSON.parse(data, reviver) : data\n );\n}\nfunction stringifyMessage(msg, replacer) {\n validateMessage(msg);\n return JSON.stringify(msg, replacer);\n}\n\nexport { CloseCode as C, DEPRECATED_GRAPHQL_WS_PROTOCOL as D, GRAPHQL_TRANSPORT_WS_PROTOCOL as G, MessageType as M, isAsyncGenerator as a, isAsyncIterable as b, isObject as i, limitCloseReason as l, parseMessage as p, stringifyMessage as s, validateMessage as v };\n"],"ignoreList":[0],"mappings":";AAAA,SAASA,EAAe,GAAK;CAO3B,OANIC,MAAQ,OACH,SAEL,MAAM,QAAQA,CAAG,IACZ,UAEF,OAAOA;AAChB;AACA,SAASC,EAAS,GAAK;CACrB,OAAOF,EAAeC,CAAG,MAAM;AACjC;AAOA,SAASE,EAA0B,GAAK;CACtC,OAAO,MAAM,QAAQC,CAAG,KACxBA,EAAI,SAAS,KACbA,EAAI,OAAO,MAAO,aAAaC,CAAE;AACnC;AACA,SAASC,EAAiB,GAAQ,GAAa;CAC7C,OAAOC,EAAO,SAAS,MAAMA,IAASC;AACxC;AAEA,IAAMC,IAAgC,wBAElCC,IAA4B,kBAAE,OAChC,EAAW,EAAWC,sBAAyB,QAAQ,uBACvD,EAAW,EAAWC,sBAAyB,QAAQ,uBACvD,EAAW,EAAWC,aAAgB,QAAQ,cAC9C,EAAW,EAAWC,cAAiB,QAAQ,eAC/C,EAAW,EAAWC,eAAkB,QAAQ,gBAChD,EAAW,EAAWC,YAAe,QAAQ,aAC7C,EAAW,EAAWC,2BAA8B,QAAQ,4BAC5D,EAAW,EAAWC,kCAAqC,QAAQ,mCACnE,EAAW,EAAWC,mCAAsC,QAAQ,oCACpE,EAAW,EAAWC,0BAA6B,QAAQ,2BAC3D,EAAW,EAAWC,gCAAmC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C,CAAO,IAAID,CACzD;AACF;AACA,SAASE,EAAiB,GAAK,GAAU;CAEvC,OADAJ,EAAgBK,CAAG,GACZ,KAAK,UAAUA,GAAKC,CAAQ;AACrC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
2
|
-
var e = (function() {
|
|
3
|
-
return r("C", void 0, void 0);
|
|
4
|
-
})();
|
|
5
|
-
function t(e) {
|
|
6
|
-
return r("E", void 0, e);
|
|
7
|
-
}
|
|
8
|
-
function n(e) {
|
|
9
|
-
return r("N", e, void 0);
|
|
10
|
-
}
|
|
11
|
-
function r(e, t, n) {
|
|
12
|
-
return {
|
|
13
|
-
kind: e,
|
|
14
|
-
value: t,
|
|
15
|
-
error: n
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export { e as COMPLETE_NOTIFICATION, r as createNotification, t as errorNotification, n as nextNotification };
|
|
19
|
-
|
|
20
|
-
//# sourceMappingURL=NotificationFactories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationFactories.js","names":["COMPLETE_NOTIFICATION","createNotification","errorNotification","error","nextNotification","value"],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/NotificationFactories.js"],"sourcesContent":["export var COMPLETE_NOTIFICATION = (function () { return createNotification('C', undefined, undefined); })();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind: kind,\n value: value,\n error: error,\n };\n}\n//# sourceMappingURL=NotificationFactories.js.map"],"ignoreList":[0],"mappings":";AAAA,IAAWA,KAAyB,WAAY;CAAE,OAAOC,EAAmB,KAAK,KAAA,GAAW,KAAA,CAAS;AAAG,EAAA,CAAG;AAC3G,SAAgBC,EAAkB,GAAO;CACrC,OAAOD,EAAmB,KAAK,KAAA,GAAWE,CAAK;AACnD;AACA,SAAgBC,EAAiB,GAAO;CACpC,OAAOH,EAAmB,KAAKI,GAAO,KAAA,CAAS;AACnD;AACA,SAAgBJ,EAAmB,GAAM,GAAO,GAAO;CACnD,OAAO;EACG;EACC;EACA;CACX;AACJ"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { SafeSubscriber as e, Subscriber as t } from "./Subscriber.js";
|
|
2
|
-
import { isSubscription as n } from "./Subscription.js";
|
|
3
|
-
import { observable as r } from "./symbol/observable.js";
|
|
4
|
-
import { pipeFromArray as i } from "./util/pipe.js";
|
|
5
|
-
import { config as a } from "./config.js";
|
|
6
|
-
import { isFunction as o } from "./util/isFunction.js";
|
|
7
|
-
import { errorContext as s } from "./util/errorContext.js";
|
|
8
|
-
// node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
9
|
-
var c = function() {
|
|
10
|
-
function t(e) {
|
|
11
|
-
e && (this._subscribe = e);
|
|
12
|
-
}
|
|
13
|
-
return t.prototype.lift = function(e) {
|
|
14
|
-
var n = new t();
|
|
15
|
-
return n.source = this, n.operator = e, n;
|
|
16
|
-
}, t.prototype.subscribe = function(t, n, r) {
|
|
17
|
-
var i = this, a = d(t) ? t : new e(t, n, r);
|
|
18
|
-
return s(function() {
|
|
19
|
-
var e = i, t = e.operator, n = e.source;
|
|
20
|
-
a.add(t ? t.call(a, n) : n ? i._subscribe(a) : i._trySubscribe(a));
|
|
21
|
-
}), a;
|
|
22
|
-
}, t.prototype._trySubscribe = function(e) {
|
|
23
|
-
try {
|
|
24
|
-
return this._subscribe(e);
|
|
25
|
-
} catch (t) {
|
|
26
|
-
e.error(t);
|
|
27
|
-
}
|
|
28
|
-
}, t.prototype.forEach = function(t, n) {
|
|
29
|
-
var r = this;
|
|
30
|
-
return n = l(n), new n(function(n, i) {
|
|
31
|
-
var a = new e({
|
|
32
|
-
next: function(e) {
|
|
33
|
-
try {
|
|
34
|
-
t(e);
|
|
35
|
-
} catch (e) {
|
|
36
|
-
i(e), a.unsubscribe();
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
error: i,
|
|
40
|
-
complete: n
|
|
41
|
-
});
|
|
42
|
-
r.subscribe(a);
|
|
43
|
-
});
|
|
44
|
-
}, t.prototype._subscribe = function(e) {
|
|
45
|
-
return this.source?.subscribe(e);
|
|
46
|
-
}, t.prototype[r] = function() {
|
|
47
|
-
return this;
|
|
48
|
-
}, t.prototype.pipe = function() {
|
|
49
|
-
return i([...arguments])(this);
|
|
50
|
-
}, t.prototype.toPromise = function(e) {
|
|
51
|
-
var t = this;
|
|
52
|
-
return e = l(e), new e(function(e, n) {
|
|
53
|
-
var r;
|
|
54
|
-
t.subscribe(function(e) {
|
|
55
|
-
return r = e;
|
|
56
|
-
}, function(e) {
|
|
57
|
-
return n(e);
|
|
58
|
-
}, function() {
|
|
59
|
-
return e(r);
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
}, t.create = function(e) {
|
|
63
|
-
return new t(e);
|
|
64
|
-
}, t;
|
|
65
|
-
}();
|
|
66
|
-
function l(e) {
|
|
67
|
-
return e ?? a.Promise ?? Promise;
|
|
68
|
-
}
|
|
69
|
-
function u(e) {
|
|
70
|
-
return e && o(e.next) && o(e.error) && o(e.complete);
|
|
71
|
-
}
|
|
72
|
-
function d(e) {
|
|
73
|
-
return e && e instanceof t || u(e) && n(e);
|
|
74
|
-
}
|
|
75
|
-
export { c as Observable };
|
|
76
|
-
|
|
77
|
-
//# sourceMappingURL=Observable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Observable.js","names":["Symbol_observable","Observable","subscribe","observable","operator","_this","subscriber","isSubscriber","observerOrNext","SafeSubscriber","error","complete","errorContext","_a","source","sink","err","getPromiseCtor","promiseCtor","value","reject","resolve","pipeFromArray","x","config","isObserver","isFunction","Subscriber","isSubscription"],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/Observable.js"],"sourcesContent":["import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nvar Observable = (function () {\n function Observable(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n Observable.prototype.lift = function (operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n Observable.prototype.subscribe = function (observerOrNext, error, complete) {\n var _this = this;\n var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(function () {\n var _a = _this, operator = _a.operator, source = _a.source;\n subscriber.add(operator\n ?\n operator.call(subscriber, source)\n : source\n ?\n _this._subscribe(subscriber)\n :\n _this._trySubscribe(subscriber));\n });\n return subscriber;\n };\n Observable.prototype._trySubscribe = function (sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n sink.error(err);\n }\n };\n Observable.prototype.forEach = function (next, promiseCtor) {\n var _this = this;\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor(function (resolve, reject) {\n var subscriber = new SafeSubscriber({\n next: function (value) {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n _this.subscribe(subscriber);\n });\n };\n Observable.prototype._subscribe = function (subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n };\n Observable.prototype[Symbol_observable] = function () {\n return this;\n };\n Observable.prototype.pipe = function () {\n var operations = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n operations[_i] = arguments[_i];\n }\n return pipeFromArray(operations)(this);\n };\n Observable.prototype.toPromise = function (promiseCtor) {\n var _this = this;\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor(function (resolve, reject) {\n var value;\n _this.subscribe(function (x) { return (value = x); }, function (err) { return reject(err); }, function () { return resolve(value); });\n });\n };\n Observable.create = function (subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\nexport { Observable };\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n//# sourceMappingURL=Observable.js.map"],"ignoreList":[0],"mappings":";;;;;;;;AAOA,IAAIC,IAAc,WAAY;CAC1B,SAASA,EAAW,GAAW;EAC3B,AAAIC,MACA,KAAK,aAAaA;CAE1B;CA4EA,OA3EA,EAAW,UAAU,OAAO,SAAU,GAAU;EAC5C,IAAIC,IAAa,IAAIF,EAAW;EAGhC,OAFA,EAAW,SAAS,MACpB,EAAW,WAAWG,GACfD;CACX,GACA,EAAW,UAAU,YAAY,SAAU,GAAgB,GAAO,GAAU;EACxE,IAAIE,IAAQ,MACRC,IAAaC,EAAaC,CAAc,IAAIA,IAAiB,IAAIC,EAAeD,GAAgBE,GAAOC,CAAQ;EAYnH,OAXAC,EAAa,WAAY;GACrB,IAAIC,IAAKR,GAAOD,IAAWS,EAAG,UAAUC,IAASD,EAAG;GACpD,EAAW,IAAIT,IAEPA,EAAS,KAAKE,GAAYQ,CAAM,IAClCA,IAEMT,EAAM,WAAWC,CAAU,IAE3BD,EAAM,cAAcC,CAAU,CAAC;EAC/C,CAAC,GACMA;CACX,GACA,EAAW,UAAU,gBAAgB,SAAU,GAAM;EACjD,IAAI;GACA,OAAO,KAAK,WAAWS,CAAI;EAC/B,SACOC,GAAK;GACR,EAAK,MAAMA,CAAG;EAClB;CACJ,GACA,EAAW,UAAU,UAAU,SAAU,GAAM,GAAa;EACxD,IAAIX,IAAQ;EAEZ,OADA,IAAcY,EAAeC,CAAW,GACjC,IAAIA,EAAY,SAAU,GAAS,GAAQ;GAC9C,IAAIZ,IAAa,IAAI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isFunction.js";
|
|
3
|
-
import { Subscription as n, isSubscription as r } from "./Subscription.js";
|
|
4
|
-
import { config as i } from "./config.js";
|
|
5
|
-
import { reportUnhandledError as a } from "./util/reportUnhandledError.js";
|
|
6
|
-
import { noop as o } from "./util/noop.js";
|
|
7
|
-
import { COMPLETE_NOTIFICATION as s, errorNotification as c, nextNotification as l } from "./NotificationFactories.js";
|
|
8
|
-
import { timeoutProvider as u } from "./scheduler/timeoutProvider.js";
|
|
9
|
-
import { captureError as d } from "./util/errorContext.js";
|
|
10
|
-
// node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
11
|
-
var f = function(t) {
|
|
12
|
-
e(n, t);
|
|
13
|
-
function n(e) {
|
|
14
|
-
var n = t.call(this) || this;
|
|
15
|
-
return n.isStopped = !1, e ? (n.destination = e, r(e) && e.add(n)) : n.destination = b, n;
|
|
16
|
-
}
|
|
17
|
-
return n.create = function(e, t, n) {
|
|
18
|
-
return new g(e, t, n);
|
|
19
|
-
}, n.prototype.next = function(e) {
|
|
20
|
-
this.isStopped ? y(l(e), this) : this._next(e);
|
|
21
|
-
}, n.prototype.error = function(e) {
|
|
22
|
-
this.isStopped ? y(c(e), this) : (this.isStopped = !0, this._error(e));
|
|
23
|
-
}, n.prototype.complete = function() {
|
|
24
|
-
this.isStopped ? y(s, this) : (this.isStopped = !0, this._complete());
|
|
25
|
-
}, n.prototype.unsubscribe = function() {
|
|
26
|
-
this.closed || (this.isStopped = !0, t.prototype.unsubscribe.call(this), this.destination = null);
|
|
27
|
-
}, n.prototype._next = function(e) {
|
|
28
|
-
this.destination.next(e);
|
|
29
|
-
}, n.prototype._error = function(e) {
|
|
30
|
-
try {
|
|
31
|
-
this.destination.error(e);
|
|
32
|
-
} finally {
|
|
33
|
-
this.unsubscribe();
|
|
34
|
-
}
|
|
35
|
-
}, n.prototype._complete = function() {
|
|
36
|
-
try {
|
|
37
|
-
this.destination.complete();
|
|
38
|
-
} finally {
|
|
39
|
-
this.unsubscribe();
|
|
40
|
-
}
|
|
41
|
-
}, n;
|
|
42
|
-
}(n), p = Function.prototype.bind;
|
|
43
|
-
function m(e, t) {
|
|
44
|
-
return p.call(e, t);
|
|
45
|
-
}
|
|
46
|
-
var h = function() {
|
|
47
|
-
function e(e) {
|
|
48
|
-
this.partialObserver = e;
|
|
49
|
-
}
|
|
50
|
-
return e.prototype.next = function(e) {
|
|
51
|
-
var t = this.partialObserver;
|
|
52
|
-
if (t.next) try {
|
|
53
|
-
t.next(e);
|
|
54
|
-
} catch (e) {
|
|
55
|
-
_(e);
|
|
56
|
-
}
|
|
57
|
-
}, e.prototype.error = function(e) {
|
|
58
|
-
var t = this.partialObserver;
|
|
59
|
-
if (t.error) try {
|
|
60
|
-
t.error(e);
|
|
61
|
-
} catch (e) {
|
|
62
|
-
_(e);
|
|
63
|
-
}
|
|
64
|
-
else _(e);
|
|
65
|
-
}, e.prototype.complete = function() {
|
|
66
|
-
var e = this.partialObserver;
|
|
67
|
-
if (e.complete) try {
|
|
68
|
-
e.complete();
|
|
69
|
-
} catch (e) {
|
|
70
|
-
_(e);
|
|
71
|
-
}
|
|
72
|
-
}, e;
|
|
73
|
-
}(), g = function(n) {
|
|
74
|
-
e(r, n);
|
|
75
|
-
function r(e, r, a) {
|
|
76
|
-
var o = n.call(this) || this, s;
|
|
77
|
-
if (t(e) || !e) s = {
|
|
78
|
-
next: e ?? void 0,
|
|
79
|
-
error: r ?? void 0,
|
|
80
|
-
complete: a ?? void 0
|
|
81
|
-
};
|
|
82
|
-
else {
|
|
83
|
-
var c;
|
|
84
|
-
o && i.useDeprecatedNextContext ? (c = Object.create(e), c.unsubscribe = function() {
|
|
85
|
-
return o.unsubscribe();
|
|
86
|
-
}, s = {
|
|
87
|
-
next: e.next && m(e.next, c),
|
|
88
|
-
error: e.error && m(e.error, c),
|
|
89
|
-
complete: e.complete && m(e.complete, c)
|
|
90
|
-
}) : s = e;
|
|
91
|
-
}
|
|
92
|
-
return o.destination = new h(s), o;
|
|
93
|
-
}
|
|
94
|
-
return r;
|
|
95
|
-
}(f);
|
|
96
|
-
function _(e) {
|
|
97
|
-
i.useDeprecatedSynchronousErrorHandling ? d(e) : a(e);
|
|
98
|
-
}
|
|
99
|
-
function v(e) {
|
|
100
|
-
throw e;
|
|
101
|
-
}
|
|
102
|
-
function y(e, t) {
|
|
103
|
-
var n = i.onStoppedNotification;
|
|
104
|
-
n && u.setTimeout(function() {
|
|
105
|
-
return n(e, t);
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
var b = {
|
|
109
|
-
closed: !0,
|
|
110
|
-
next: o,
|
|
111
|
-
error: v,
|
|
112
|
-
complete: o
|
|
113
|
-
};
|
|
114
|
-
export { b as EMPTY_OBSERVER, g as SafeSubscriber, f as Subscriber };
|
|
115
|
-
|
|
116
|
-
//# sourceMappingURL=Subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Subscriber.js","names":["Subscriber","_super","_this","destination","isSubscription","EMPTY_OBSERVER","SafeSubscriber","next","error","complete","handleStoppedNotification","nextNotification","value","errorNotification","err","COMPLETE_NOTIFICATION","Subscription","_bind","bind","fn","thisArg","ConsumerObserver","partialObserver","isFunction","observerOrNext","context_1","config","handleUnhandledError","captureError","reportUnhandledError","defaultErrorHandler","onStoppedNotification","timeoutProvider","notification","subscriber","noop"],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/Subscriber.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nvar Subscriber = (function (_super) {\n __extends(Subscriber, _super);\n function Subscriber(destination) {\n var _this = _super.call(this) || this;\n _this.isStopped = false;\n if (destination) {\n _this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(_this);\n }\n }\n else {\n _this.destination = EMPTY_OBSERVER;\n }\n return _this;\n }\n Subscriber.create = function (next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n };\n Subscriber.prototype.next = function (value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n };\n Subscriber.prototype.error = function (err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n };\n Subscriber.prototype.complete = function () {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function () {\n if (!this.closed) {\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n this.destination = null;\n }\n };\n Subscriber.prototype._next = function (value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function (err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n };\n Subscriber.prototype._complete = function () {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n };\n return Subscriber;\n}(Subscription));\nexport { Subscriber };\nvar _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nvar ConsumerObserver = (function () {\n function ConsumerObserver(partialObserver) {\n this.partialObserver = partialObserver;\n }\n ConsumerObserver.prototype.next = function (value) {\n var partialObserver = this.partialObserver;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n };\n ConsumerObserver.prototype.error = function (err) {\n var partialObserver = this.partialObserver;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n };\n ConsumerObserver.prototype.complete = function () {\n var partialObserver = this.partialObserver;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n };\n return ConsumerObserver;\n}());\nvar SafeSubscriber = (function (_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(observerOrNext, error, complete) {\n var _this = _super.call(this) || this;\n var partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n var context_1;\n if (_this && config.useDeprecatedNextContext) {\n context_1 = Object.create(observerOrNext);\n context_1.unsubscribe = function () { return _this.unsubscribe(); };\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context_1),\n error: observerOrNext.error && bind(observerOrNext.error, context_1),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context_1),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n _this.destination = new ConsumerObserver(partialObserver);\n return _this;\n }\n return SafeSubscriber;\n}(Subscriber));\nexport { SafeSubscriber };\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n var onStoppedNotification = config.onStoppedNotification;\n onStoppedNotification && timeoutProvider.setTimeout(function () { return onStoppedNotification(notification, subscriber); });\n}\nexport var EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n//# sourceMappingURL=Subscriber.js.map"],"ignoreList":[0],"mappings":";;;;;;;;;;AASA,IAAIA,IAAc,SAAU,GAAQ;CAChC,EAAUA,GAAYC,CAAM;CAC5B,SAASD,EAAW,GAAa;EAC7B,IAAIE,IAAQD,EAAO,KAAK,IAAI,KAAK;EAWjC,OAVA,EAAM,YAAY,IACdE,KACA,EAAM,cAAcA,GAChBC,EAAeD,CAAW,KAC1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SAAS2B,EAAqB,GAAO;CACjC,AAAID,EAAO,wCACPE,EAAapB,CAAK,IAGlBqB,EAAqBrB,CAAK;AAElC;AACA,SAASsB,EAAoB,GAAK;CAC9B,MAAMhB;AACV;AACA,SAASJ,EAA0B,GAAc,GAAY;CACzD,IAAIqB,IAAwBL,EAAO;CACnC,KAAyBM,EAAgB,WAAW,WAAY;EAAE,OAAOD,EAAsBE,GAAcC,CAAU;CAAG,CAAC;AAC/H;AACA,IAAW7B,IAAiB;CACxB,QAAQ;CACR,MAAM8B;CACN,OAAOL;CACP,UAAUK;AACd"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { __read as e, __spreadArray as t, __values as n } from "../../../../tslib/tslib.es6.js";
|
|
2
|
-
import { isFunction as r } from "./util/isFunction.js";
|
|
3
|
-
import { UnsubscriptionError as i } from "./util/UnsubscriptionError.js";
|
|
4
|
-
import { arrRemove as a } from "./util/arrRemove.js";
|
|
5
|
-
// node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
6
|
-
var o = function() {
|
|
7
|
-
function o(e) {
|
|
8
|
-
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
9
|
-
}
|
|
10
|
-
return o.prototype.unsubscribe = function() {
|
|
11
|
-
var a, o, s, l, u;
|
|
12
|
-
if (!this.closed) {
|
|
13
|
-
this.closed = !0;
|
|
14
|
-
var d = this._parentage;
|
|
15
|
-
if (d) {
|
|
16
|
-
if (this._parentage = null, Array.isArray(d)) try {
|
|
17
|
-
for (var f = n(d), p = f.next(); !p.done; p = f.next()) p.value.remove(this);
|
|
18
|
-
} catch (e) {
|
|
19
|
-
a = { error: e };
|
|
20
|
-
} finally {
|
|
21
|
-
try {
|
|
22
|
-
p && !p.done && (o = f.return) && o.call(f);
|
|
23
|
-
} finally {
|
|
24
|
-
if (a) throw a.error;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
else d.remove(this);
|
|
28
|
-
}
|
|
29
|
-
var m = this.initialTeardown;
|
|
30
|
-
if (r(m)) try {
|
|
31
|
-
m();
|
|
32
|
-
} catch (e) {
|
|
33
|
-
u = e instanceof i ? e.errors : [e];
|
|
34
|
-
}
|
|
35
|
-
var h = this._finalizers;
|
|
36
|
-
if (h) {
|
|
37
|
-
this._finalizers = null;
|
|
38
|
-
try {
|
|
39
|
-
for (var g = n(h), _ = g.next(); !_.done; _ = g.next()) {
|
|
40
|
-
var v = _.value;
|
|
41
|
-
try {
|
|
42
|
-
c(v);
|
|
43
|
-
} catch (n) {
|
|
44
|
-
u ??= [], n instanceof i ? u = t(t([], e(u)), e(n.errors)) : u.push(n);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
} catch (e) {
|
|
48
|
-
s = { error: e };
|
|
49
|
-
} finally {
|
|
50
|
-
try {
|
|
51
|
-
_ && !_.done && (l = g.return) && l.call(g);
|
|
52
|
-
} finally {
|
|
53
|
-
if (s) throw s.error;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
if (u) throw new i(u);
|
|
58
|
-
}
|
|
59
|
-
}, o.prototype.add = function(e) {
|
|
60
|
-
if (e && e !== this) {
|
|
61
|
-
if (this.closed) c(e);
|
|
62
|
-
else {
|
|
63
|
-
if (e instanceof o) {
|
|
64
|
-
if (e.closed || e._hasParent(this)) return;
|
|
65
|
-
e._addParent(this);
|
|
66
|
-
}
|
|
67
|
-
(this._finalizers = this._finalizers ?? []).push(e);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}, o.prototype._hasParent = function(e) {
|
|
71
|
-
var t = this._parentage;
|
|
72
|
-
return t === e || Array.isArray(t) && t.includes(e);
|
|
73
|
-
}, o.prototype._addParent = function(e) {
|
|
74
|
-
var t = this._parentage;
|
|
75
|
-
this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
|
|
76
|
-
}, o.prototype._removeParent = function(e) {
|
|
77
|
-
var t = this._parentage;
|
|
78
|
-
t === e ? this._parentage = null : Array.isArray(t) && a(t, e);
|
|
79
|
-
}, o.prototype.remove = function(e) {
|
|
80
|
-
var t = this._finalizers;
|
|
81
|
-
t && a(t, e), e instanceof o && e._removeParent(this);
|
|
82
|
-
}, o.EMPTY = (function() {
|
|
83
|
-
var e = new o();
|
|
84
|
-
return e.closed = !0, e;
|
|
85
|
-
})(), o;
|
|
86
|
-
}();
|
|
87
|
-
o.EMPTY;
|
|
88
|
-
function s(e) {
|
|
89
|
-
return e instanceof o || e && "closed" in e && r(e.remove) && r(e.add) && r(e.unsubscribe);
|
|
90
|
-
}
|
|
91
|
-
function c(e) {
|
|
92
|
-
r(e) ? e() : e.unsubscribe();
|
|
93
|
-
}
|
|
94
|
-
export { o as Subscription, s as isSubscription };
|
|
95
|
-
|
|
96
|
-
//# sourceMappingURL=Subscription.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Subscription.js","names":["Subscription","initialTeardown","e_1","_a","e_2","_b","errors","_parentage","_parentage_1","__values","_parentage_1_1","e_1_1","initialFinalizer","isFunction","UnsubscriptionError","_finalizers","_finalizers_1","_finalizers_1_1","finalizer","err","__spreadArray","__read","e_2_1","teardown","parent","arrRemove","empty","isSubscription","value","execFinalizer"],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/Subscription.js"],"sourcesContent":["import { __read, __spreadArray, __values } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nvar Subscription = (function () {\n function Subscription(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n Subscription.prototype.unsubscribe = function () {\n var e_1, _a, e_2, _b;\n var errors;\n if (!this.closed) {\n this.closed = true;\n var _parentage = this._parentage;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n try {\n for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {\n var parent_1 = _parentage_1_1.value;\n parent_1.remove(this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return)) _a.call(_parentage_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n var initialFinalizer = this.initialTeardown;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n var _finalizers = this._finalizers;\n if (_finalizers) {\n this._finalizers = null;\n try {\n for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {\n var finalizer = _finalizers_1_1.value;\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return)) _b.call(_finalizers_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n };\n Subscription.prototype.add = function (teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n };\n Subscription.prototype._hasParent = function (parent) {\n var _parentage = this._parentage;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n };\n Subscription.prototype._addParent = function (parent) {\n var _parentage = this._parentage;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n };\n Subscription.prototype._removeParent = function (parent) {\n var _parentage = this._parentage;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n };\n Subscription.prototype.remove = function (teardown) {\n var _finalizers = this._finalizers;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n };\n Subscription.EMPTY = (function () {\n var empty = new Subscription();\n empty.closed = true;\n return empty;\n })();\n return Subscription;\n}());\nexport { Subscription };\nexport var EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map"],"ignoreList":[0],"mappings":";;;;;AAIA,IAAIA,IAAgB,WAAY;CAC5B,SAASA,EAAa,GAAiB;EAInC,AAHA,KAAK,kBAAkBC,GACvB,KAAK,SAAS,IACd,KAAK,aAAa,MAClB,KAAK,cAAc;CACvB;CAoHA,OAnHA,EAAa,UAAU,cAAc,WAAY;EAC7C,IAAIC,GAAKC,GAAIC,GAAKC,GACdC;EACJ,IAAI,CAAC,KAAK,QAAQ;GACd,KAAK,SAAS;GACd,IAAIC,IAAa,KAAK;GACtB,IAAIA,GAAY;IAEZ,IADA,KAAK,aAAa,MACd,MAAM,QAAQA,CAAU,GACxB,IAAI;KACA,KAAK,IAAIC,IAAeC,EAASF,CAAU,GAAGG,IAAiBF,EAAa,KAAK,GAAG,CAACE,EAAe,MAAM,IAAiBF,EAAa,KAAK,GAEzI,EAD8B,MACrB,OAAO,IAAI;IAE5B,SACOG,GAAO;KAAE,IA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
1
|
-
// node_modules/rxjs/dist/esm5/internal/config.js
|
|
2
|
-
var e = {
|
|
3
|
-
onUnhandledError: null,
|
|
4
|
-
onStoppedNotification: null,
|
|
5
|
-
Promise: void 0,
|
|
6
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
7
|
-
useDeprecatedNextContext: !1
|
|
8
|
-
};
|
|
9
|
-
export { e as config };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","names":["config"],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/config.js"],"sourcesContent":["export var config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n//# sourceMappingURL=config.js.map"],"ignoreList":[0],"mappings":";AAAA,IAAWA,IAAS;CAChB,kBAAkB;CAClB,uBAAuB;CACvB,SAAS,KAAA;CACT,uCAAuC;CACvC,0BAA0B;AAC9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty.js","names":["EMPTY","Observable","subscriber"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/observable/empty.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport var EMPTY = new Observable(function (subscriber) { return subscriber.complete(); });\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });\n}\n//# sourceMappingURL=empty.js.map"],"ignoreList":[0],"mappings":";;AACA,IAAWA,IAAQ,IAAIC,EAAW,SAAU,GAAY;CAAE,OAAOC,EAAW,SAAS;AAAG,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __read as e, __spreadArray as t } from "../../../../../tslib/tslib.es6.js";
|
|
2
|
-
// node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
|
|
3
|
-
var n = {
|
|
4
|
-
setTimeout: function(r, i) {
|
|
5
|
-
var a = [...arguments].slice(2), o = n.delegate;
|
|
6
|
-
return o?.setTimeout ? o.setTimeout.apply(o, t([r, i], e(a))) : setTimeout.apply(void 0, t([r, i], e(a)));
|
|
7
|
-
},
|
|
8
|
-
clearTimeout: function(e) {
|
|
9
|
-
return (n.delegate?.clearTimeout || clearTimeout)(e);
|
|
10
|
-
},
|
|
11
|
-
delegate: void 0
|
|
12
|
-
};
|
|
13
|
-
export { n as timeoutProvider };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=timeoutProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timeoutProvider.js","names":["timeoutProvider","args","delegate","__spreadArray","handler","timeout","__read","handle"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nexport var timeoutProvider = {\n setTimeout: function (handler, timeout) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var delegate = timeoutProvider.delegate;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout.apply(delegate, __spreadArray([handler, timeout], __read(args)));\n }\n return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n },\n clearTimeout: function (handle) {\n var delegate = timeoutProvider.delegate;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=timeoutProvider.js.map"],"ignoreList":[0],"mappings":";;AACA,IAAWA,IAAkB;CACzB,YAAY,SAAU,GAAS,GAAS;EAE/B,IADDC,QAEe,qBAEfC,IAAWF,EAAgB;EAI/B,OAHIE,GAA6D,aACtDA,EAAS,WAAW,MAAMA,GAAUC,EAAc,CAACC,GAASC,CAAO,GAAGC,EAAOL,CAAI,CAAC,CAAC,IAEvF,WAAW,MAAM,KAAK,GAAGE,EAAc,CAACC,GAASC,CAAO,GAAGC,EAAOL,CAAI,CAAC,CAAC;CACnF;CACA,cAAc,SAAU,GAAQ;EAE5B,QADeD,EAAgB,UACuC,gBAAiB,aAAA,CAAcO,CAAM;CAC/G;CACA,UAAU,KAAA;AACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"observable.js","names":["observable"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/symbol/observable.js"],"sourcesContent":["export var observable = (function () { return (typeof Symbol === 'function' && Symbol.observable) || '@@observable'; })();\n//# sourceMappingURL=observable.js.map"],"ignoreList":[0],"mappings":";AAAA,IAAWA,KAAc,WAAY;CAAE,OAAQ,OAAO,UAAW,cAAc,OAAO,cAAe;AAAgB,EAAA,CAAG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createErrorClass as e } from "./createErrorClass.js";
|
|
2
|
-
// node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
3
|
-
var t = e(function(e) {
|
|
4
|
-
return function(t) {
|
|
5
|
-
e(this), this.message = t ? t.length + " errors occurred during unsubscription:\n" + t.map(function(e, t) {
|
|
6
|
-
return t + 1 + ") " + e.toString();
|
|
7
|
-
}).join("\n ") : "", this.name = "UnsubscriptionError", this.errors = t;
|
|
8
|
-
};
|
|
9
|
-
});
|
|
10
|
-
export { t as UnsubscriptionError };
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=UnsubscriptionError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnsubscriptionError.js","names":["UnsubscriptionError","createErrorClass","_super","errors","i","err"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport var UnsubscriptionError = createErrorClass(function (_super) {\n return function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return i + 1 + \") \" + err.toString(); }).join('\\n ')\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n };\n});\n//# sourceMappingURL=UnsubscriptionError.js.map"],"ignoreList":[0],"mappings":";;AACA,IAAWA,IAAsBC,EAAiB,SAAU,GAAQ;CAChE,OAAO,SAAiC,GAAQ;EAM5C,AALAC,EAAO,IAAI,GACX,KAAK,UAAUC,IACTA,EAAO,SAAS,8CAA8CA,EAAO,IAAI,SAAU,GAAK,GAAG;GAAE,OAAOC,IAAI,IAAI,OAAOC,EAAI,SAAS;EAAG,CAAC,CAAC,CAAC,KAAK,MAAM,IACjJ,IACN,KAAK,OAAO,uBACZ,KAAK,SAASF;CAClB;AACJ,CAAC"}
|