@seliseblocks/genesis-os 4.4.6 → 4.4.8
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/{all-OJ5YSNAN.js → all-O45OXFJ7.js} +80 -80
- package/dist/{all-OJ5YSNAN.js.map → all-O45OXFJ7.js.map} +1 -1
- package/dist/{all-2UHIE3HU.cjs → all-UJTAKIGL.cjs} +80 -80
- package/dist/all-UJTAKIGL.cjs.map +1 -0
- package/dist/aspnet-4V2TYHQE.cjs +13 -0
- package/dist/{aspnet-7QL7EKM4.cjs.map → aspnet-4V2TYHQE.cjs.map} +1 -1
- package/dist/aspnet-R3X2H2AO.js +7 -0
- package/dist/{aspnet-I623QV26.js.map → aspnet-R3X2H2AO.js.map} +1 -1
- package/dist/chunk-2MP66EX3.cjs +16 -0
- package/dist/chunk-2MP66EX3.cjs.map +1 -0
- package/dist/chunk-3LBTW4A3.cjs +70 -0
- package/dist/chunk-3LBTW4A3.cjs.map +1 -0
- package/dist/{chunk-ZR6LRRN6.js → chunk-3OO2YVXW.js} +13 -7
- package/dist/chunk-3OO2YVXW.js.map +1 -0
- package/dist/chunk-3V7O45KN.js +86 -0
- package/dist/chunk-3V7O45KN.js.map +1 -0
- package/dist/{chunk-5L6BSYZR.cjs → chunk-45XWYZ67.cjs} +3 -3
- package/dist/{chunk-5L6BSYZR.cjs.map → chunk-45XWYZ67.cjs.map} +1 -1
- package/dist/{chunk-356ZGDMJ.cjs → chunk-5IOXQBUO.cjs} +3 -3
- package/dist/{chunk-356ZGDMJ.cjs.map → chunk-5IOXQBUO.cjs.map} +1 -1
- package/dist/chunk-6QSPMPJD.js +3 -0
- package/dist/chunk-6QSPMPJD.js.map +1 -0
- package/dist/chunk-7ZZ3KLZD.js +14 -0
- package/dist/chunk-7ZZ3KLZD.js.map +1 -0
- package/dist/{chunk-JQ4U53QV.cjs → chunk-A373J4BR.cjs} +82 -82
- package/dist/{chunk-JQ4U53QV.cjs.map → chunk-A373J4BR.cjs.map} +1 -1
- package/dist/{chunk-QTSTAWK3.cjs → chunk-AIUUCMAI.cjs} +8 -7
- package/dist/chunk-AIUUCMAI.cjs.map +1 -0
- package/dist/{chunk-IJMKS4XG.cjs → chunk-CTIGX76P.cjs} +15 -8
- package/dist/chunk-CTIGX76P.cjs.map +1 -0
- package/dist/{chunk-XRAO7JBH.js → chunk-ECDNFX6H.js} +11 -4
- package/dist/chunk-ECDNFX6H.js.map +1 -0
- package/dist/{chunk-WL6LTNZN.js → chunk-G24RPSJG.js} +79 -79
- package/dist/{chunk-WL6LTNZN.js.map → chunk-G24RPSJG.js.map} +1 -1
- package/dist/chunk-GAQGM46C.cjs +4 -0
- package/dist/chunk-GAQGM46C.cjs.map +1 -0
- package/dist/{chunk-VJAVGV6Z.js → chunk-GFUHF4DC.js} +3 -3
- package/dist/{chunk-VJAVGV6Z.js.map → chunk-GFUHF4DC.js.map} +1 -1
- package/dist/chunk-GSCW3WIQ.cjs +90 -0
- package/dist/chunk-GSCW3WIQ.cjs.map +1 -0
- package/dist/{chunk-4CMIWUZW.cjs → chunk-IPMRZNNS.cjs} +25 -24
- package/dist/chunk-IPMRZNNS.cjs.map +1 -0
- package/dist/{chunk-JITR3QYC.js → chunk-JYA5S4XN.js} +3 -64
- package/dist/chunk-JYA5S4XN.js.map +1 -0
- package/dist/{chunk-NPMO67H6.js → chunk-KA2OOMCU.js} +743 -544
- package/dist/chunk-KA2OOMCU.js.map +1 -0
- package/dist/{chunk-R5OAGX3J.js → chunk-ND6E3LWI.js} +3 -3
- package/dist/{chunk-R5OAGX3J.js.map → chunk-ND6E3LWI.js.map} +1 -1
- package/dist/chunk-OPMWK5SY.cjs +871 -0
- package/dist/chunk-OPMWK5SY.cjs.map +1 -0
- package/dist/{chunk-JUVLHPQI.js → chunk-POJIHGRY.js} +3 -14
- package/dist/chunk-POJIHGRY.js.map +1 -0
- package/dist/{chunk-CGVT7IFM.cjs → chunk-QBL4VIE4.cjs} +909 -710
- package/dist/chunk-QBL4VIE4.cjs.map +1 -0
- package/dist/{chunk-JSXAKNHQ.js → chunk-QHNZOBXR.js} +7 -6
- package/dist/chunk-QHNZOBXR.js.map +1 -0
- package/dist/{chunk-4QN4CYSC.cjs → chunk-RO55MFZA.cjs} +2 -64
- package/dist/chunk-RO55MFZA.cjs.map +1 -0
- package/dist/{chunk-VGOVEFEP.cjs → chunk-SAK3QQCD.cjs} +3 -3
- package/dist/{chunk-VGOVEFEP.cjs.map → chunk-SAK3QQCD.cjs.map} +1 -1
- package/dist/chunk-SQG7DJNY.js +68 -0
- package/dist/chunk-SQG7DJNY.js.map +1 -0
- package/dist/{chunk-X4YCRWXO.cjs → chunk-TSRDXJUG.cjs} +2 -14
- package/dist/chunk-TSRDXJUG.cjs.map +1 -0
- package/dist/{chunk-6GCU5LM7.cjs → chunk-U2LA7LBX.cjs} +2 -84
- package/dist/chunk-U2LA7LBX.cjs.map +1 -0
- package/dist/{chunk-XL7EULGP.js → chunk-U6GTLTLO.js} +3 -3
- package/dist/{chunk-XL7EULGP.js.map → chunk-U6GTLTLO.js.map} +1 -1
- package/dist/{chunk-O5ACQLWB.js → chunk-UDFH7SJI.js} +5 -4
- package/dist/chunk-UDFH7SJI.js.map +1 -0
- package/dist/{chunk-IRIDGVV2.cjs → chunk-VLZJP6FH.cjs} +70 -64
- package/dist/chunk-VLZJP6FH.cjs.map +1 -0
- package/dist/chunk-XYPSBVXL.js +842 -0
- package/dist/chunk-XYPSBVXL.js.map +1 -0
- package/dist/{chunk-4UHGGHI6.js → chunk-Z4ZDSA2A.js} +3 -82
- package/dist/chunk-Z4ZDSA2A.js.map +1 -0
- package/dist/components/index.cjs +438 -433
- package/dist/components/index.d.cts +5 -1
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +91 -86
- package/dist/cshtml-IPCDTLX7.cjs +13 -0
- package/dist/{cshtml-ETL7US3D.cjs.map → cshtml-IPCDTLX7.cjs.map} +1 -1
- package/dist/cshtml-XPUEHA6K.js +7 -0
- package/dist/{cshtml-TVLCSBKU.js.map → cshtml-XPUEHA6K.js.map} +1 -1
- package/dist/eslint/index.cjs +33 -0
- package/dist/eslint/index.cjs.map +1 -0
- package/dist/eslint/index.d.cts +12 -0
- package/dist/eslint/index.d.ts +12 -0
- package/dist/eslint/index.js +28 -0
- package/dist/eslint/index.js.map +1 -0
- package/dist/guards/index.cjs +97 -92
- package/dist/guards/index.js +91 -86
- package/dist/hooks/index.cjs +65 -62
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +8 -5
- package/dist/i18n/index.cjs +125 -0
- package/dist/i18n/index.cjs.map +1 -0
- package/dist/i18n/index.d.cts +137 -0
- package/dist/i18n/index.d.ts +137 -0
- package/dist/i18n/index.js +8 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/index.cjs +747 -630
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +91 -86
- package/dist/layouts/index.cjs +98 -93
- package/dist/layouts/index.js +91 -86
- package/dist/lib/index.cjs +38 -36
- package/dist/lib/index.js +5 -3
- package/dist/observability/index.cjs +102 -25
- package/dist/observability/index.cjs.map +1 -1
- package/dist/observability/index.d.cts +47 -5
- package/dist/observability/index.d.ts +47 -5
- package/dist/observability/index.js +98 -23
- package/dist/observability/index.js.map +1 -1
- package/dist/pages/index.cjs +96 -91
- package/dist/pages/index.js +91 -86
- package/dist/providers/index.cjs +11 -7
- package/dist/providers/index.js +7 -3
- package/dist/store/index.cjs +15 -13
- package/dist/store/index.js +4 -2
- package/dist/{tsx-PN3P5NJP.cjs → tsx-MALMUEWS.cjs} +5 -5
- package/dist/tsx-MALMUEWS.cjs.map +1 -0
- package/dist/{tsx-UJQQBLY4.js → tsx-MJR7GSNC.js} +4 -4
- package/dist/tsx-MJR7GSNC.js.map +1 -0
- package/dist/utils/index.cjs +77 -72
- package/dist/utils/index.js +9 -4
- package/package.json +11 -1
- package/dist/all-2UHIE3HU.cjs.map +0 -1
- package/dist/aspnet-7QL7EKM4.cjs +0 -13
- package/dist/aspnet-I623QV26.js +0 -7
- package/dist/chunk-4CMIWUZW.cjs.map +0 -1
- package/dist/chunk-4QN4CYSC.cjs.map +0 -1
- package/dist/chunk-4UHGGHI6.js.map +0 -1
- package/dist/chunk-6GCU5LM7.cjs.map +0 -1
- package/dist/chunk-CGVT7IFM.cjs.map +0 -1
- package/dist/chunk-IJMKS4XG.cjs.map +0 -1
- package/dist/chunk-IRIDGVV2.cjs.map +0 -1
- package/dist/chunk-JITR3QYC.js.map +0 -1
- package/dist/chunk-JSXAKNHQ.js.map +0 -1
- package/dist/chunk-JUVLHPQI.js.map +0 -1
- package/dist/chunk-NPMO67H6.js.map +0 -1
- package/dist/chunk-O5ACQLWB.js.map +0 -1
- package/dist/chunk-QTSTAWK3.cjs.map +0 -1
- package/dist/chunk-X4YCRWXO.cjs.map +0 -1
- package/dist/chunk-XRAO7JBH.js.map +0 -1
- package/dist/chunk-ZR6LRRN6.js.map +0 -1
- package/dist/cshtml-ETL7US3D.cjs +0 -13
- package/dist/cshtml-TVLCSBKU.js +0 -7
- package/dist/tsx-PN3P5NJP.cjs.map +0 -1
- package/dist/tsx-UJQQBLY4.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/observability/rollbar.config.ts","../../src/observability/rollbar.instance.ts","../../src/observability/report-query-errors.ts","../../src/observability/rollbar.provider.tsx","../../src/observability/report-http-errors.ts"],"names":["Rollbar"],"mappings":";;;;;;;;AAUA,IAAM,oBAAA,GAAuB;AAAA,EAC3B,cAAA;AAAA,EACA,cAAA;AAAA,EACA,eAAA;AAAA,EACA,eAAA;AAAA,EACA,cAAA;AAAA,EACA,eAAA;AAAA,EACA,aAAA;AAAA,EACA,cAAA;AAAA,EACA,UAAA;AAAA,EACA,cAAA;AAAA,EACA,eAAA;AAAA,EACA,kBAAA;AAAA,EACA;AACF,CAAA;AAMA,IAAM,wBAAA,GAA2B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AAA,GACR,IAAI,KAAA,CAAM,MAAA,CAAO,OAAA,CAAQ,KAAK,CAAC,CAAA;AAErC,EAAA,OAAA,CAAQ,MAAM,KAAA,EAAO;AAAA,IACnB,MAAA,EAAQ,aAAA;AAAA,IACR,KAAK,OAAA,CAAQ,GAAA;AAAA,IACb,QAAQ,OAAA,CAAQ;AAAA,GACjB,CAAA;AACH","file":"index.js","sourcesContent":["import Rollbar from \"rollbar\";\nimport { getRuntimeEnv } from \"@/lib/runtime-env\";\n\n/**\n * Payload keys and header names that must never leave the browser.\n *\n * Rollbar scrubs a default set already; these are the platform-specific ones. Getting this wrong\n * ships a tenant's credentials to a third party, which is why it lives here rather than being\n * restated in every app.\n */\nconst DEFAULT_SCRUB_FIELDS = [\n \"x-blocks-key\",\n \"X-Blocks-Key\",\n \"Authorization\",\n \"authorization\",\n \"access_token\",\n \"refresh_token\",\n \"accessToken\",\n \"refreshToken\",\n \"password\",\n \"clientSecret\",\n \"client_secret\",\n \"connectionString\",\n \"secretValue\",\n];\n\n/**\n * Noise that reaches `window.onerror` but says nothing about the app: browser extensions,\n * cross-origin frames, and the ResizeObserver warning Chrome raises during ordinary layout.\n */\nconst DEFAULT_IGNORED_MESSAGES = [\n \"ResizeObserver loop limit exceeded\",\n \"ResizeObserver loop completed with undelivered notifications\",\n \"Script error.\",\n];\n\n/**\n * Stands in for a real token when none is seeded.\n *\n * `@rollbar/react`'s `Provider` rejects an instance whose `options.accessToken` is falsy -- it\n * throws \"`instance` must be a configured instance of Rollbar\" from its own constructor, which is\n * above the error boundary, so an unconfigured app renders nothing at all. Reporting is switched\n * off by `enabled`, not by the token: the notifier refuses to send before it reaches a transport\n * and telemetry instrumentation is never installed. A placeholder therefore costs nothing and\n * keeps reporting genuinely optional, which is the point -- no tier should go blank because a\n * secret has not been seeded yet.\n */\nexport const UNCONFIGURED_ACCESS_TOKEN = \"rollbar-reporting-disabled\";\n\nexport interface RollbarConfigOptions {\n /**\n * The app reporting, e.g. `\"blocks-os\"`. Pass the same name the app already gives\n * `BlocksAppLayout`, so items can be traced back to a service without a project-id lookup.\n */\n service: string;\n /** Appended to, not replacing, the platform scrub list. */\n extraScrubFields?: string[];\n /** Appended to, not replacing, the default ignore list. */\n extraIgnoredMessages?: string[];\n /** Identifies the build. Required for source-map deobfuscation once maps are uploaded. */\n codeVersion?: string;\n}\n\n/**\n * Builds the browser Rollbar configuration from runtime env.\n *\n * Separate from the provider so it can be asserted on directly: most of the risk in this module is\n * in the configuration -- scrubbing, and whether reporting is on at all -- not in Rollbar itself.\n */\nexport const createRollbarConfig = (\n options: RollbarConfigOptions,\n): Rollbar.Configuration => {\n const accessToken = getRuntimeEnv(\"BLOCKS_ROLLBAR_CLIENT_TOKEN\");\n\n return {\n accessToken: accessToken || UNCONFIGURED_ACCESS_TOKEN,\n // Reporting is opt-in on a seeded token. Unconfigured environments -- developer machines,\n // tests, any tier not yet seeded -- get an inert client rather than a broken one, so the error\n // boundary still behaves exactly as it does in production.\n enabled: accessToken.length > 0,\n environment: getRuntimeEnv(\"BLOCKS_ROLLBAR_ENV\") || \"unknown\",\n captureUncaught: true,\n captureUnhandledRejections: true,\n scrubFields: [...DEFAULT_SCRUB_FIELDS, ...(options.extraScrubFields ?? [])],\n ignoredMessages: [\n ...DEFAULT_IGNORED_MESSAGES,\n ...(options.extraIgnoredMessages ?? []),\n ],\n payload: {\n // Under `custom`, not at the root of `data`. Rollbar recognises a fixed set of top-level\n // fields and gives unknown ones \"no special handling\" -- they are stored but not indexed as\n // custom metadata, so a root-level `service` is neither queryable nor in the same place the\n // .NET side puts it. Here both sides land at `data.custom.*`, which is also where a webhook\n // receiver finds them: `data.item.last_occurrence.custom.service`.\n //\n // `service` identifies the app and `component` which half of it, as two fields rather than\n // one `blocks-os-client` string, so either can be filtered on without parsing.\n custom: {\n service: options.service,\n component: \"client\",\n },\n client: {\n javascript: {\n source_map_enabled: Boolean(options.codeVersion),\n code_version: options.codeVersion,\n },\n },\n },\n };\n};\n","import Rollbar from \"rollbar\";\nimport {\n createRollbarConfig,\n type RollbarConfigOptions,\n} from \"./rollbar.config\";\n\nlet instance: Rollbar | undefined;\n\n/**\n * The one Rollbar instance for the app.\n *\n * Memoised on first call so that code outside the React tree -- an `HttpClient` built at module\n * scope, for instance -- reports through the same client the provider renders. A second instance\n * would install a second set of window handlers and split the telemetry buffer in two.\n *\n * First call wins: later calls return the existing instance and ignore their options. In practice\n * every call site passes the same service, and load order between a module-scope client and the\n * provider is not something an app should have to reason about.\n *\n * Created lazily, so merely importing this module installs nothing.\n */\nexport const getRollbar = (options: RollbarConfigOptions): Rollbar =>\n (instance ??= new Rollbar(createRollbarConfig(options)));\n","import type { QueryClient } from \"@tanstack/react-query\";\nimport type Rollbar from \"rollbar\";\nimport { HttpError } from \"@/lib/http/error\";\n\n/**\n * Reports errors thrown inside query and mutation functions that are not request failures.\n *\n * Narrow on purpose. Every failure from `HttpClient` arrives as an `HttpError` and is skipped here:\n * transport failures are already handled by `createHttpFailureReporter`, and HTTP statuses are\n * either business outcomes or faults the server reported itself. What remains is a genuine bug in a\n * query function -- a bad mapping, a null dereference on a response -- which React Query catches\n * and stores as query state, so it never reaches `window.onerror` and would otherwise be invisible.\n *\n * Returns an unsubscribe function.\n */\nexport const attachQueryErrorReporting = (\n queryClient: QueryClient,\n rollbar: Rollbar,\n): (() => void) => {\n const report = (error: unknown, context: Record<string, unknown>) => {\n if (error instanceof HttpError) return;\n // Belt and braces: an HttpError that crossed a module boundary may fail `instanceof`.\n if (typeof (error as { status?: unknown })?.status === \"number\") return;\n\n rollbar.error(error instanceof Error ? error : new Error(String(error)), {\n source: \"react-query\",\n ...context,\n });\n };\n\n const unsubscribeQueries = queryClient.getQueryCache().subscribe((event) => {\n if (event.type !== \"updated\" || event.action.type !== \"error\") return;\n\n report(event.action.error, {\n kind: \"query\",\n queryHash: event.query.queryHash,\n });\n });\n\n const unsubscribeMutations = queryClient\n .getMutationCache()\n .subscribe((event) => {\n if (event.type !== \"updated\" || event.action.type !== \"error\") return;\n\n report(event.action.error, {\n kind: \"mutation\",\n mutationKey: event.mutation.options.mutationKey,\n });\n });\n\n return () => {\n unsubscribeQueries();\n unsubscribeMutations();\n };\n};\n","import { ErrorBoundary, Provider } from \"@rollbar/react\";\nimport { useEffect, useMemo, type ComponentType, type ReactNode } from \"react\";\nimport { getQueryClient } from \"@/providers/query-client\";\nimport { attachQueryErrorReporting } from \"./report-query-errors\";\nimport { type RollbarConfigOptions } from \"./rollbar.config\";\nimport { getRollbar } from \"./rollbar.instance\";\n\nexport interface RollbarFallbackProps {\n error: Error | null;\n resetError: () => void;\n}\n\n/**\n * Shown instead of a blank page when a render throws. Deliberately plain: it has to render when the\n * app's own state is already known-bad, so it depends on nothing but theme tokens.\n */\nconst DefaultFallback = ({ resetError }: RollbarFallbackProps) => (\n <div\n className=\"flex min-h-screen flex-col items-center justify-center gap-4 bg-background px-6 text-center\"\n role=\"alert\"\n >\n <div className=\"space-y-1\">\n <p className=\"text-lg font-semibold text-foreground\">\n Something went wrong\n </p>\n <p className=\"text-sm text-medium-emphasis\">\n The error has been reported. Try again, or reload the page if it keeps\n happening.\n </p>\n </div>\n <button\n onClick={resetError}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground\"\n >\n Try again\n </button>\n </div>\n);\n\nexport interface RollbarProviderProps extends RollbarConfigOptions {\n children: ReactNode;\n /** Replaces the built-in crash screen. */\n fallback?: ComponentType<RollbarFallbackProps>;\n}\n\n/**\n * Puts Rollbar in front of the whole tree.\n *\n * Mount this outermost -- above the query, theme and router providers -- so a throw during their\n * own setup is still caught and reported rather than blanking the page.\n *\n * Reporting is inert until a client token is seeded (see `createRollbarConfig`), but the boundary is\n * always live, so the crash screen behaves identically in local development and in production.\n *\n * Covers uncaught errors, unhandled rejections, render crashes, and bugs thrown inside query\n * functions. Request failures are not covered here: pass `createHttpFailureReporter` to your\n * `HttpClient` as `onError` for those.\n */\nexport const RollbarProvider = ({\n children,\n fallback = DefaultFallback,\n ...configOptions\n}: RollbarProviderProps) => {\n // Shared with anything reporting from outside the tree, and stable for the life of the app:\n // reconstructing it on re-render would reinstall the window handlers and drop Rollbar's own\n // telemetry buffer.\n const rollbar = useMemo(\n () => getRollbar(configOptions),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [],\n );\n\n useEffect(\n () => attachQueryErrorReporting(getQueryClient(), rollbar),\n [rollbar],\n );\n\n return (\n <Provider instance={rollbar}>\n <ErrorBoundary fallbackUI={fallback} level=\"critical\">\n {children}\n </ErrorBoundary>\n </Provider>\n );\n};\n","import type Rollbar from \"rollbar\";\nimport type { HttpRequestFailure } from \"@/lib/http/types\";\n\n/**\n * Builds an `onError` handler for `HttpClientConfig` that reports only transport failures.\n *\n * Failures that produced an HTTP response are skipped deliberately: a 4xx is a business outcome the\n * UI already surfaces, and a 5xx has already been reported by the server with a real stack trace,\n * so reporting it again from the browser only buries the better item. What is left -- the API\n * unreachable, DNS, CORS, TLS, offline -- the server cannot report by definition, because it never\n * received the request.\n *\n * `HttpClient` normalises every failure to an `HttpError` with status 500 before callers see it, so\n * this distinction only exists inside the `onError` hook. Reporting from a `catch` further out\n * cannot tell the two apart.\n */\nexport const createHttpFailureReporter =\n (rollbar: Rollbar) =>\n (failure: HttpRequestFailure): void => {\n if (!failure.transport) return;\n\n const error =\n failure.error instanceof Error\n ? failure.error\n : new Error(String(failure.error));\n\n rollbar.error(error, {\n source: \"http-client\",\n url: failure.url,\n method: failure.method,\n });\n };\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/observability/noise-filter.ts","../../src/observability/rollbar.config.ts","../../src/observability/rollbar.instance.ts","../../src/observability/report-query-errors.ts","../../src/observability/rollbar.provider.tsx","../../src/observability/report-http-errors.ts"],"names":["Rollbar"],"mappings":";;;;;;;;;;;;;AA8BA,IAAM,gBAAA,GAAmB;AAAA,EACvB,iDAAA;AAAA,EACA;AACF,CAAA;AAIA,IAAM,uBAAA,GAA0B;AAAA,EAC9B,mBAAA;AAAA,EACA,cA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,EAAU,6EAAA;AAAA,YAET,YAAE,4BAA4B;AAAA;AAAA;AACjC;AAAA;AAAA,GACF;AAEJ,CAAA;AAqBO,IAAM,kBAAkB,CAAC;AAAA,EAC9B,QAAA;AAAA,EACA,QAAA,GAAW,eAAA;AAAA,EACX,GAAG;AACL,CAAA,KAA4B;AAI1B,EAAA,MAAM,OAAA,GAAU,OAAA;AAAA,IACd,MAAM,WAAW,aAAa,CAAA;AAAA;AAAA,IAE9B;AAAC,GACH;AAEA,EAAA,SAAA;AAAA,IACE,MAAM,yBAAA,CAA0B,cAAA,EAAe,EAAG,OAAO,CAAA;AAAA,IACzD,CAAC,OAAO;AAAA,GACV;AAEA,EAAA,uBACE,GAAA,CAAC,QAAA,EAAA,EAAS,QAAA,EAAU,OAAA,EAClB,QAAA,kBAAA,GAAA,CAAC,aAAA,EAAA,EAAc,UAAA,EAAY,QAAA,EAAU,KAAA,EAAM,UAAA,EACxC,QAAA,EACH,CAAA,EACF,CAAA;AAEJ;;;AClEO,IAAM,yBAAA,GACX,CAAC,OAAA,KACD,CAAC,OAAA,KAAsC;AACrC,EAAA,IAAI,CAAC,QAAQ,SAAA,EAAW;AACxB,EAAA,IAAI,gBAAA,CAAiB,OAAA,CAAQ,KAAK,CAAA,EAAG;AAErC,EAAA,MAAM,KAAA,GACJ,OAAA,CAAQ,KAAA,YAAiB,KAAA,GACrB,OAAA,CAAQ,KAAA,GACR,IAAI,KAAA,CAAM,MAAA,CAAO,OAAA,CAAQ,KAAK,CAAC,CAAA;AAErC,EAAA,OAAA,CAAQ,MAAM,KAAA,EAAO;AAAA,IACnB,MAAA,EAAQ,aAAA;AAAA,IACR,KAAK,OAAA,CAAQ,GAAA;AAAA,IACb,QAAQ,OAAA,CAAQ;AAAA,GACjB,CAAA;AACH","file":"index.js","sourcesContent":["/**\n * Errors the browser raises that say nothing about a Blocks fault, and that Rollbar should therefore\n * never receive.\n *\n * Each rule matches one exact signature seen in production. A broad rule would hide real bugs, so a\n * `TypeError` is noise only with a known network message, and an `InvalidStateError` only when it is\n * about a view transition.\n */\nexport type NoiseRule =\n | \"network\"\n | \"view-transition\"\n | \"extension\"\n | \"cancelation\"\n | \"stale-asset\"\n | \"recaptcha-timeout\";\n\ninterface RollbarTraceLike {\n frames?: unknown[] | null;\n exception?: { class?: unknown; message?: unknown } | null;\n}\n\n/** The parts of a Rollbar item (`item.data`) the rules read. */\nexport interface RollbarPayloadLike {\n body?: {\n trace?: RollbarTraceLike | null;\n trace_chain?: (RollbarTraceLike | null)[] | null;\n message?: { body?: unknown } | null;\n } | null;\n}\n\nconst NETWORK_MESSAGES = [\n \"NetworkError when attempting to fetch resource.\",\n \"Load failed\",\n];\n\n// `AbortError` is listed as the spec lists it, though the network rule, checked first, already\n// drops every `AbortError`.\nconst VIEW_TRANSITION_CLASSES = [\n \"InvalidStateError\",\n \"TimeoutError\",\n \"AbortError\",\n];\n\nconst EXTENSION_URL_PREFIXES = [\n \"chrome-extension://\",\n \"moz-extension://\",\n \"safari-extension://\",\n \"safari-web-extension://\",\n];\n\n// What a bare `Event` turns into once it has been stringified, by Rollbar or by the app.\nconst EVENT_MESSAGES = [\n \"[object Event]\",\n \"[object ErrorEvent]\",\n '{\"isTrusted\":true}',\n];\n\nconst asString = (value: unknown): string | undefined =>\n typeof value === \"string\" ? value : undefined;\n\nconst isPlainObject = (value: unknown): value is Record<string, unknown> => {\n if (typeof value !== \"object\" || value === null) return false;\n const prototype: unknown = Object.getPrototypeOf(value);\n return prototype === Object.prototype || prototype === null;\n};\n\nconst isEvent = (value: unknown): boolean =>\n typeof Event !== \"undefined\" && value instanceof Event;\n\nconst isExtensionFrame = (frame: unknown): boolean => {\n const filename = (frame as { filename?: unknown } | null)?.filename;\n return (\n typeof filename === \"string\" &&\n EXTENSION_URL_PREFIXES.some((prefix) => filename.startsWith(prefix))\n );\n};\n\nconst classify = (\n value: unknown,\n payload: RollbarPayloadLike | undefined,\n): NoiseRule | null => {\n const body = payload?.body;\n const trace = body?.trace ?? body?.trace_chain?.[0];\n const raw =\n typeof value === \"object\" && value !== null\n ? (value as { name?: unknown; message?: unknown })\n : undefined;\n\n const errorClass =\n asString(raw?.name) ?? asString(trace?.exception?.class) ?? \"\";\n const message =\n asString(raw?.message) ??\n asString(trace?.exception?.message) ??\n asString(body?.message?.body) ??\n \"\";\n const frames = trace?.frames ?? [];\n\n if (\n (errorClass === \"TypeError\" &&\n (message.startsWith(\"Failed to fetch\") ||\n NETWORK_MESSAGES.includes(message))) ||\n errorClass === \"AbortError\"\n )\n return \"network\";\n\n if (\n VIEW_TRANSITION_CLASSES.includes(errorClass) &&\n message.toLowerCase().includes(\"transition\")\n )\n return \"view-transition\";\n\n // Every frame, not any: an extension frame on top of app frames is still the app's stack.\n if (frames.length > 0 && frames.every(isExtensionFrame)) return \"extension\";\n\n if (\n (errorClass === \"Canceled\" && message === \"Canceled\") ||\n (isPlainObject(value) && value.type === \"cancelation\")\n )\n return \"cancelation\";\n\n if (\n message.startsWith(\n \"Failed to execute 'importScripts' on 'WorkerGlobalScope'\",\n ) ||\n message === \"Object.hasOwn is not a function\" ||\n isEvent(value) ||\n EVENT_MESSAGES.includes(message)\n )\n return \"stale-asset\";\n\n if (message.startsWith(\"reCAPTCHA Timeout\")) return \"recaptcha-timeout\";\n\n return null;\n};\n\n/**\n * Names the noise rule `value` matches, or `null` when it should be reported.\n *\n * `value` is the raw thrown value (an `Error`, a `DOMException`, an `Event`, a plain object). The\n * Rollbar payload, when given, fills in the class, message and stack frames the value does not\n * carry. Fails open: if reading either one throws, the item is reported.\n */\nexport const classifyReportingNoise = (\n value: unknown,\n payload?: RollbarPayloadLike,\n): NoiseRule | null => {\n try {\n return classify(value, payload);\n } catch {\n return null;\n }\n};\n\n/** True for a browser network failure or an aborted request: nothing the app can fix. */\nexport const isNetworkFailure = (error: unknown): boolean =>\n classifyReportingNoise(error) === \"network\";\n","import Rollbar from \"rollbar\";\nimport { getRuntimeEnv } from \"@/lib/runtime-env\";\nimport { classifyReportingNoise } from \"./noise-filter\";\n\n/**\n * Payload keys and header names that must never leave the browser.\n *\n * Rollbar scrubs a default set already; these are the platform-specific ones. Getting this wrong\n * ships a tenant's credentials to a third party, which is why it lives here rather than being\n * restated in every app.\n */\nconst DEFAULT_SCRUB_FIELDS = [\n \"x-blocks-key\",\n \"X-Blocks-Key\",\n \"Authorization\",\n \"authorization\",\n \"access_token\",\n \"refresh_token\",\n \"accessToken\",\n \"refreshToken\",\n \"password\",\n \"clientSecret\",\n \"client_secret\",\n \"connectionString\",\n \"secretValue\",\n];\n\n/**\n * Noise that reaches `window.onerror` but says nothing about the app: browser extensions,\n * cross-origin frames, and the ResizeObserver warning Chrome raises during ordinary layout.\n */\nconst DEFAULT_IGNORED_MESSAGES = [\n \"ResizeObserver loop limit exceeded\",\n \"ResizeObserver loop completed with undelivered notifications\",\n \"Script error.\",\n];\n\n/**\n * Stands in for a real token when none is seeded.\n *\n * `@rollbar/react`'s `Provider` rejects an instance whose `options.accessToken` is falsy -- it\n * throws \"`instance` must be a configured instance of Rollbar\" from its own constructor, which is\n * above the error boundary, so an unconfigured app renders nothing at all. Reporting is switched\n * off by `enabled`, not by the token: the notifier refuses to send before it reaches a transport\n * and telemetry instrumentation is never installed. A placeholder therefore costs nothing and\n * keeps reporting genuinely optional, which is the point -- no tier should go blank because a\n * secret has not been seeded yet.\n */\nexport const UNCONFIGURED_ACCESS_TOKEN = \"rollbar-reporting-disabled\";\n\n/**\n * Rollbar's `checkIgnore`: drops browser noise before it is sent (see `noise-filter.ts`).\n *\n * For uncaught errors and unhandled rejections Rollbar passes `[message, error, ...]`, so the raw\n * value is `args[1]`; for `rollbar.error(err, ...)` it is `args[0]`. Kept a single expression:\n * Rollbar copies the function's source into every item it does send.\n */\nconst ignoreNoise: NonNullable<Rollbar.Configuration[\"checkIgnore\"]> = (\n isUncaught,\n args,\n payload,\n) =>\n classifyReportingNoise(\n isUncaught ? (args?.[1] ?? args?.[0]) : args?.[0],\n payload,\n ) !== null;\n\nexport interface RollbarConfigOptions {\n /**\n * The app reporting, e.g. `\"blocks-os\"`. Pass the same name the app already gives\n * `BlocksAppLayout`, so items can be traced back to a service without a project-id lookup.\n */\n service: string;\n /** Appended to, not replacing, the platform scrub list. */\n extraScrubFields?: string[];\n /** Appended to, not replacing, the default ignore list. */\n extraIgnoredMessages?: string[];\n /** Identifies the build. Required for source-map deobfuscation once maps are uploaded. */\n codeVersion?: string;\n}\n\n/**\n * Builds the browser Rollbar configuration from runtime env.\n *\n * Separate from the provider so it can be asserted on directly: most of the risk in this module is\n * in the configuration -- scrubbing, and whether reporting is on at all -- not in Rollbar itself.\n */\nexport const createRollbarConfig = (\n options: RollbarConfigOptions,\n): Rollbar.Configuration => {\n const accessToken = getRuntimeEnv(\"BLOCKS_ROLLBAR_CLIENT_TOKEN\");\n\n return {\n accessToken: accessToken || UNCONFIGURED_ACCESS_TOKEN,\n // Reporting is opt-in on a seeded token. Unconfigured environments -- developer machines,\n // tests, any tier not yet seeded -- get an inert client rather than a broken one, so the error\n // boundary still behaves exactly as it does in production.\n enabled: accessToken.length > 0,\n environment: getRuntimeEnv(\"BLOCKS_ROLLBAR_ENV\") || \"unknown\",\n captureUncaught: true,\n captureUnhandledRejections: true,\n scrubFields: [...DEFAULT_SCRUB_FIELDS, ...(options.extraScrubFields ?? [])],\n ignoredMessages: [\n ...DEFAULT_IGNORED_MESSAGES,\n ...(options.extraIgnoredMessages ?? []),\n ],\n checkIgnore: ignoreNoise,\n payload: {\n // Under `custom`, not at the root of `data`. Rollbar recognises a fixed set of top-level\n // fields and gives unknown ones \"no special handling\" -- they are stored but not indexed as\n // custom metadata, so a root-level `service` is neither queryable nor in the same place the\n // .NET side puts it. Here both sides land at `data.custom.*`, which is also where a webhook\n // receiver finds them: `data.item.last_occurrence.custom.service`.\n //\n // `service` identifies the app and `component` which half of it, as two fields rather than\n // one `blocks-os-client` string, so either can be filtered on without parsing.\n custom: {\n service: options.service,\n component: \"client\",\n },\n client: {\n javascript: {\n source_map_enabled: Boolean(options.codeVersion),\n code_version: options.codeVersion,\n },\n },\n },\n };\n};\n","import Rollbar from \"rollbar\";\nimport {\n createRollbarConfig,\n type RollbarConfigOptions,\n} from \"./rollbar.config\";\n\nlet instance: Rollbar | undefined;\n\n/**\n * The one Rollbar instance for the app.\n *\n * Memoised on first call so that code outside the React tree -- an `HttpClient` built at module\n * scope, for instance -- reports through the same client the provider renders. A second instance\n * would install a second set of window handlers and split the telemetry buffer in two.\n *\n * First call wins: later calls return the existing instance and ignore their options. In practice\n * every call site passes the same service, and load order between a module-scope client and the\n * provider is not something an app should have to reason about.\n *\n * Created lazily, so merely importing this module installs nothing.\n */\nexport const getRollbar = (options: RollbarConfigOptions): Rollbar =>\n (instance ??= new Rollbar(createRollbarConfig(options)));\n","import type { QueryClient } from \"@tanstack/react-query\";\nimport type Rollbar from \"rollbar\";\nimport { HttpError } from \"@/lib/http/error\";\nimport { isNetworkFailure } from \"./noise-filter\";\n\n/**\n * Reports errors thrown inside query and mutation functions that are not request failures.\n *\n * Narrow on purpose. Every failure from `HttpClient` arrives as an `HttpError` and is skipped here:\n * transport failures are already handled by `createHttpFailureReporter`, and HTTP statuses are\n * either business outcomes or faults the server reported itself. What remains is a genuine bug in a\n * query function -- a bad mapping, a null dereference on a response -- which React Query catches\n * and stores as query state, so it never reaches `window.onerror` and would otherwise be invisible.\n *\n * Returns an unsubscribe function.\n */\nexport const attachQueryErrorReporting = (\n queryClient: QueryClient,\n rollbar: Rollbar,\n): (() => void) => {\n const report = (error: unknown, context: Record<string, unknown>) => {\n if (error instanceof HttpError) return;\n // Belt and braces: an HttpError that crossed a module boundary may fail `instanceof`.\n if (typeof (error as { status?: unknown })?.status === \"number\") return;\n // A raw `fetch` in a query function rejects with the browser's own network error.\n if (isNetworkFailure(error)) return;\n\n rollbar.error(error instanceof Error ? error : new Error(String(error)), {\n source: \"react-query\",\n ...context,\n });\n };\n\n const unsubscribeQueries = queryClient.getQueryCache().subscribe((event) => {\n if (event.type !== \"updated\" || event.action.type !== \"error\") return;\n\n report(event.action.error, {\n kind: \"query\",\n queryHash: event.query.queryHash,\n });\n });\n\n const unsubscribeMutations = queryClient\n .getMutationCache()\n .subscribe((event) => {\n if (event.type !== \"updated\" || event.action.type !== \"error\") return;\n\n report(event.action.error, {\n kind: \"mutation\",\n mutationKey: event.mutation.options.mutationKey,\n });\n });\n\n return () => {\n unsubscribeQueries();\n unsubscribeMutations();\n };\n};\n","import { ErrorBoundary, Provider } from \"@rollbar/react\";\nimport { useEffect, useMemo, type ComponentType, type ReactNode } from \"react\";\nimport { getQueryClient } from \"@/providers/query-client\";\nimport { attachQueryErrorReporting } from \"./report-query-errors\";\nimport { type RollbarConfigOptions } from \"./rollbar.config\";\nimport { getRollbar } from \"./rollbar.instance\";\nimport { useT } from \"@/i18n/use-t\";\n\nexport interface RollbarFallbackProps {\n error: Error | null;\n resetError: () => void;\n}\n\n/**\n * Shown instead of a blank page when a render throws. Deliberately plain: it has to render when the\n * app's own state is already known-bad, so it depends only on theme tokens and its i18n keys, which\n * fall back to the bundled English when nothing else loads.\n */\nconst DefaultFallback = ({ resetError }: RollbarFallbackProps) => {\n const { t } = useT(\"genesis.shared\");\n return (\n <div\n className=\"flex min-h-screen flex-col items-center justify-center gap-4 bg-background px-6 text-center\"\n role=\"alert\"\n >\n <div className=\"space-y-1\">\n <p className=\"text-lg font-semibold text-foreground\">\n {t(\"ROLLBAR_FALLBACK.TITLE\")}\n </p>\n <p className=\"text-sm text-medium-emphasis\">\n {t(\"ROLLBAR_FALLBACK.MESSAGE\")}\n </p>\n </div>\n <button\n onClick={resetError}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground\"\n >\n {t(\"ROLLBAR_FALLBACK.TRY_AGAIN\")}\n </button>\n </div>\n );\n};\n\nexport interface RollbarProviderProps extends RollbarConfigOptions {\n children: ReactNode;\n /** Replaces the built-in crash screen. */\n fallback?: ComponentType<RollbarFallbackProps>;\n}\n\n/**\n * Puts Rollbar in front of the whole tree.\n *\n * Mount this outermost -- above the query, theme and router providers -- so a throw during their\n * own setup is still caught and reported rather than blanking the page.\n *\n * Reporting is inert until a client token is seeded (see `createRollbarConfig`), but the boundary is\n * always live, so the crash screen behaves identically in local development and in production.\n *\n * Covers uncaught errors, unhandled rejections, render crashes, and bugs thrown inside query\n * functions. Request failures are not covered here: pass `createHttpFailureReporter` to your\n * `HttpClient` as `onError` for those.\n */\nexport const RollbarProvider = ({\n children,\n fallback = DefaultFallback,\n ...configOptions\n}: RollbarProviderProps) => {\n // Shared with anything reporting from outside the tree, and stable for the life of the app:\n // reconstructing it on re-render would reinstall the window handlers and drop Rollbar's own\n // telemetry buffer.\n const rollbar = useMemo(\n () => getRollbar(configOptions),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [],\n );\n\n useEffect(\n () => attachQueryErrorReporting(getQueryClient(), rollbar),\n [rollbar],\n );\n\n return (\n <Provider instance={rollbar}>\n <ErrorBoundary fallbackUI={fallback} level=\"critical\">\n {children}\n </ErrorBoundary>\n </Provider>\n );\n};\n","import type Rollbar from \"rollbar\";\nimport type { HttpRequestFailure } from \"@/lib/http/types\";\nimport { isNetworkFailure } from \"./noise-filter\";\n\n/**\n * Builds an `onError` handler for `HttpClientConfig` that reports only transport failures that are\n * not browser network failures.\n *\n * Failures that produced an HTTP response are skipped deliberately: a 4xx is a business outcome the\n * UI already surfaces, and a 5xx has already been reported by the server with a real stack trace,\n * so reporting it again from the browser only buries the better item.\n *\n * Browser network failures are skipped too (`isNetworkFailure`: offline, DNS, CORS, TLS and aborted\n * requests all surface as `TypeError: Failed to fetch` and its Firefox/Safari equivalents, or as an\n * `AbortError`). They come from the user's connection rather than from Blocks, and an outage shows\n * up in server-side 5xx items and uptime monitoring instead. What is left -- a body that fails to\n * parse, a throw inside the client itself -- is a client fault the server cannot see.\n *\n * `HttpClient` normalises every failure to an `HttpError` with status 500 before callers see it, so\n * this distinction only exists inside the `onError` hook. Reporting from a `catch` further out\n * cannot tell the two apart.\n */\nexport const createHttpFailureReporter =\n (rollbar: Rollbar) =>\n (failure: HttpRequestFailure): void => {\n if (!failure.transport) return;\n if (isNetworkFailure(failure.error)) return;\n\n const error =\n failure.error instanceof Error\n ? failure.error\n : new Error(String(failure.error));\n\n rollbar.error(error, {\n source: \"http-client\",\n url: failure.url,\n method: failure.method,\n });\n };\n"]}
|
package/dist/pages/index.cjs
CHANGED
|
@@ -1,340 +1,345 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkQBL4VIE4_cjs = require('../chunk-QBL4VIE4.cjs');
|
|
4
|
+
require('../chunk-A373J4BR.cjs');
|
|
5
|
+
require('../chunk-XJ6DPUCV.cjs');
|
|
6
|
+
require('../chunk-V5XZWLF4.cjs');
|
|
7
|
+
require('../chunk-7D4ARD4H.cjs');
|
|
5
8
|
require('../chunk-APGPL56X.cjs');
|
|
6
9
|
require('../chunk-JQZAKF5A.cjs');
|
|
7
10
|
require('../chunk-6LW5BPR6.cjs');
|
|
8
11
|
require('../chunk-53PHTGG4.cjs');
|
|
9
12
|
require('../chunk-3DLIF4XR.cjs');
|
|
10
13
|
require('../chunk-6JUGK442.cjs');
|
|
11
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-GIZCK7WC.cjs');
|
|
15
|
+
require('../chunk-CIT6OBBJ.cjs');
|
|
12
16
|
require('../chunk-6BBUM3Z7.cjs');
|
|
13
17
|
require('../chunk-2KZ43WJI.cjs');
|
|
14
18
|
require('../chunk-TKZKBRYK.cjs');
|
|
15
19
|
require('../chunk-D3ZII3E5.cjs');
|
|
16
20
|
require('../chunk-S3HREQAQ.cjs');
|
|
17
21
|
require('../chunk-2LCKGJCA.cjs');
|
|
18
|
-
require('../chunk-
|
|
19
|
-
require('../chunk-
|
|
22
|
+
require('../chunk-JKIVTARV.cjs');
|
|
23
|
+
require('../chunk-HYIS3PDX.cjs');
|
|
20
24
|
require('../chunk-IMI22QQT.cjs');
|
|
21
25
|
require('../chunk-FF2HNA3V.cjs');
|
|
22
26
|
require('../chunk-FQBR4FWW.cjs');
|
|
23
27
|
require('../chunk-TGX7SKVD.cjs');
|
|
24
28
|
require('../chunk-KKW4IRGL.cjs');
|
|
25
29
|
require('../chunk-JHDMRN23.cjs');
|
|
26
|
-
require('../chunk-
|
|
27
|
-
require('../chunk-
|
|
30
|
+
require('../chunk-R635YN4L.cjs');
|
|
31
|
+
require('../chunk-H4VWJCMI.cjs');
|
|
28
32
|
require('../chunk-OFSVLD7R.cjs');
|
|
29
33
|
require('../chunk-EKTI27ZS.cjs');
|
|
30
34
|
require('../chunk-4UN5GBWY.cjs');
|
|
31
|
-
require('../chunk-
|
|
35
|
+
require('../chunk-5IOXQBUO.cjs');
|
|
32
36
|
require('../chunk-WWBTYFD4.cjs');
|
|
33
37
|
require('../chunk-3ITAUEB4.cjs');
|
|
34
|
-
require('../chunk-
|
|
35
|
-
require('../chunk-
|
|
38
|
+
require('../chunk-IDWXXCGZ.cjs');
|
|
39
|
+
require('../chunk-AIJ6WI3N.cjs');
|
|
36
40
|
require('../chunk-OQNVB2O6.cjs');
|
|
37
41
|
require('../chunk-47W5M5FZ.cjs');
|
|
38
42
|
require('../chunk-QTWXVL3B.cjs');
|
|
39
43
|
require('../chunk-L6RBNKB2.cjs');
|
|
40
44
|
require('../chunk-FHNGVTGB.cjs');
|
|
41
|
-
require('../chunk-R635YN4L.cjs');
|
|
42
45
|
require('../chunk-NQPLBRW6.cjs');
|
|
43
|
-
require('../chunk-
|
|
46
|
+
require('../chunk-LQN7VNSA.cjs');
|
|
47
|
+
require('../chunk-5JN7B4OQ.cjs');
|
|
44
48
|
require('../chunk-3GIIFBXN.cjs');
|
|
45
49
|
require('../chunk-EPO7CUQM.cjs');
|
|
46
50
|
require('../chunk-CVAXMCIY.cjs');
|
|
47
51
|
require('../chunk-HK5I4OGP.cjs');
|
|
48
52
|
require('../chunk-3UARQH4S.cjs');
|
|
49
53
|
require('../chunk-47IEHT7C.cjs');
|
|
50
|
-
require('../chunk-
|
|
51
|
-
require('../chunk-
|
|
54
|
+
require('../chunk-CPDVWWG4.cjs');
|
|
55
|
+
require('../chunk-CJKNVN3E.cjs');
|
|
52
56
|
require('../chunk-UIF5DJQ5.cjs');
|
|
53
57
|
require('../chunk-RNOD7OTU.cjs');
|
|
54
58
|
require('../chunk-6UCI5K6I.cjs');
|
|
55
59
|
require('../chunk-WLBF6CHV.cjs');
|
|
56
60
|
require('../chunk-HL3IOQBT.cjs');
|
|
57
61
|
require('../chunk-WNDPS2SA.cjs');
|
|
58
|
-
require('../chunk-
|
|
59
|
-
require('../chunk-
|
|
62
|
+
require('../chunk-I62LYOEL.cjs');
|
|
63
|
+
require('../chunk-HLGPJ5E6.cjs');
|
|
60
64
|
require('../chunk-YTUDWSTV.cjs');
|
|
61
65
|
require('../chunk-AX6ZKIL7.cjs');
|
|
62
66
|
require('../chunk-JXKEFFRR.cjs');
|
|
63
67
|
require('../chunk-EP4ZABZL.cjs');
|
|
64
68
|
require('../chunk-IUY2GPJM.cjs');
|
|
65
69
|
require('../chunk-M2RCFASR.cjs');
|
|
66
|
-
require('../chunk-
|
|
67
|
-
require('../chunk-
|
|
70
|
+
require('../chunk-SM7GL2J4.cjs');
|
|
71
|
+
require('../chunk-6FHWG7VL.cjs');
|
|
68
72
|
require('../chunk-QN7G4XPY.cjs');
|
|
69
73
|
require('../chunk-SYPBSVBF.cjs');
|
|
70
74
|
require('../chunk-7JUXIPJD.cjs');
|
|
71
75
|
require('../chunk-M7HFUOLG.cjs');
|
|
72
76
|
require('../chunk-SEB3DDZG.cjs');
|
|
73
77
|
require('../chunk-LFF5ZXGB.cjs');
|
|
74
|
-
require('../chunk-
|
|
75
|
-
require('../chunk-
|
|
78
|
+
require('../chunk-7CBILLFP.cjs');
|
|
79
|
+
require('../chunk-JJTG7ZLO.cjs');
|
|
76
80
|
require('../chunk-YPBM74D2.cjs');
|
|
77
81
|
require('../chunk-MA644ILP.cjs');
|
|
78
82
|
require('../chunk-HZKEQG72.cjs');
|
|
79
83
|
require('../chunk-T77XSW4C.cjs');
|
|
80
84
|
require('../chunk-IPXSD2WW.cjs');
|
|
81
85
|
require('../chunk-LK74RAIK.cjs');
|
|
82
|
-
require('../chunk-
|
|
83
|
-
require('../chunk-
|
|
86
|
+
require('../chunk-FGXSK2ZX.cjs');
|
|
87
|
+
require('../chunk-XYS5HHO5.cjs');
|
|
84
88
|
require('../chunk-XMXQWJYD.cjs');
|
|
85
89
|
require('../chunk-JEWQ6LRT.cjs');
|
|
86
90
|
require('../chunk-FNFARB65.cjs');
|
|
87
91
|
require('../chunk-DITFW5XF.cjs');
|
|
88
92
|
require('../chunk-OK5HW5CR.cjs');
|
|
89
93
|
require('../chunk-ZNZSKLWT.cjs');
|
|
90
|
-
require('../chunk-
|
|
91
|
-
require('../chunk-
|
|
94
|
+
require('../chunk-LFRIMNEU.cjs');
|
|
95
|
+
require('../chunk-WZHM6JY6.cjs');
|
|
92
96
|
require('../chunk-AQ3TOOYM.cjs');
|
|
93
97
|
require('../chunk-56H7K3CG.cjs');
|
|
94
98
|
require('../chunk-O7XO5PKV.cjs');
|
|
95
99
|
require('../chunk-RLIYLSM7.cjs');
|
|
96
100
|
require('../chunk-T34DFP42.cjs');
|
|
97
101
|
require('../chunk-H2VBMIUE.cjs');
|
|
98
|
-
require('../chunk-
|
|
99
|
-
require('../chunk-
|
|
102
|
+
require('../chunk-MQQ5PBHA.cjs');
|
|
103
|
+
require('../chunk-GHK4FOK6.cjs');
|
|
100
104
|
require('../chunk-B23CP3BL.cjs');
|
|
101
105
|
require('../chunk-6B2KQ6Q4.cjs');
|
|
102
106
|
require('../chunk-UY3PDNH3.cjs');
|
|
103
107
|
require('../chunk-VYHHZDQY.cjs');
|
|
104
108
|
require('../chunk-SLVS2YOO.cjs');
|
|
105
109
|
require('../chunk-PE45PSN7.cjs');
|
|
106
|
-
require('../chunk-
|
|
107
|
-
require('../chunk-
|
|
110
|
+
require('../chunk-QHT3PJU7.cjs');
|
|
111
|
+
require('../chunk-XAHAFV6P.cjs');
|
|
108
112
|
require('../chunk-PC33R5WT.cjs');
|
|
109
113
|
require('../chunk-VCVQUPNU.cjs');
|
|
110
114
|
require('../chunk-HC552ING.cjs');
|
|
111
115
|
require('../chunk-E66XGAVS.cjs');
|
|
112
116
|
require('../chunk-ESZTRDCT.cjs');
|
|
113
117
|
require('../chunk-EA2O7UZM.cjs');
|
|
114
|
-
require('../chunk-
|
|
115
|
-
require('../chunk-
|
|
118
|
+
require('../chunk-RDZVR5OF.cjs');
|
|
119
|
+
require('../chunk-Y6ACFPDY.cjs');
|
|
116
120
|
require('../chunk-2MDD2D2T.cjs');
|
|
117
121
|
require('../chunk-46ZCERP5.cjs');
|
|
118
122
|
require('../chunk-XDMOMEK4.cjs');
|
|
119
123
|
require('../chunk-WMPF3J4O.cjs');
|
|
120
124
|
require('../chunk-Z7FSCISP.cjs');
|
|
121
125
|
require('../chunk-GPWAMGFY.cjs');
|
|
122
|
-
require('../chunk-
|
|
123
|
-
require('../chunk-
|
|
126
|
+
require('../chunk-VWIJ33N3.cjs');
|
|
127
|
+
require('../chunk-IZS5ISNH.cjs');
|
|
124
128
|
require('../chunk-KO5WSX3R.cjs');
|
|
125
129
|
require('../chunk-NLNBHFUQ.cjs');
|
|
126
130
|
require('../chunk-ATKBLHVT.cjs');
|
|
127
131
|
require('../chunk-C5CYCIGJ.cjs');
|
|
128
132
|
require('../chunk-TW7ALEBP.cjs');
|
|
129
133
|
require('../chunk-4QJCDUDR.cjs');
|
|
130
|
-
require('../chunk-
|
|
131
|
-
require('../chunk-
|
|
134
|
+
require('../chunk-64KKOHGA.cjs');
|
|
135
|
+
require('../chunk-CYH5DSKQ.cjs');
|
|
132
136
|
require('../chunk-BRK7D4GR.cjs');
|
|
133
137
|
require('../chunk-Z753T6CD.cjs');
|
|
134
138
|
require('../chunk-FPFXYMZ3.cjs');
|
|
135
139
|
require('../chunk-NJDD3ULG.cjs');
|
|
136
140
|
require('../chunk-AQ43KKTL.cjs');
|
|
137
141
|
require('../chunk-LBQYZS75.cjs');
|
|
138
|
-
require('../chunk-
|
|
139
|
-
require('../chunk-IZS5ISNH.cjs');
|
|
142
|
+
require('../chunk-7NBYDBPP.cjs');
|
|
140
143
|
require('../chunk-MFNRBJ5F.cjs');
|
|
144
|
+
require('../chunk-JAS7K4FV.cjs');
|
|
141
145
|
require('../chunk-K3UBFKE3.cjs');
|
|
142
146
|
require('../chunk-K6VDJXTY.cjs');
|
|
143
147
|
require('../chunk-ZUKD5H64.cjs');
|
|
144
148
|
require('../chunk-GMBMTLP6.cjs');
|
|
145
149
|
require('../chunk-I667U47Y.cjs');
|
|
146
|
-
require('../chunk-
|
|
147
|
-
require('../chunk-
|
|
150
|
+
require('../chunk-BTZBKIF6.cjs');
|
|
151
|
+
require('../chunk-SD5JEQWJ.cjs');
|
|
148
152
|
require('../chunk-DH6AMXZB.cjs');
|
|
149
153
|
require('../chunk-QMTK3RDK.cjs');
|
|
150
154
|
require('../chunk-GUBKSSSW.cjs');
|
|
151
155
|
require('../chunk-AWHGDI4S.cjs');
|
|
152
156
|
require('../chunk-SLCY66BF.cjs');
|
|
153
157
|
require('../chunk-DI62EXZB.cjs');
|
|
154
|
-
require('../chunk-
|
|
155
|
-
require('../chunk-
|
|
158
|
+
require('../chunk-7KP6F7DR.cjs');
|
|
159
|
+
require('../chunk-PAZZEEIH.cjs');
|
|
156
160
|
require('../chunk-YUH3V4CR.cjs');
|
|
157
161
|
require('../chunk-GR57GQRG.cjs');
|
|
158
162
|
require('../chunk-HDPC2ZBB.cjs');
|
|
159
163
|
require('../chunk-6FN2PEHW.cjs');
|
|
160
164
|
require('../chunk-CO7J4I7C.cjs');
|
|
161
165
|
require('../chunk-BXDBN3CB.cjs');
|
|
162
|
-
require('../chunk-
|
|
163
|
-
require('../chunk-
|
|
166
|
+
require('../chunk-6SXREAXK.cjs');
|
|
167
|
+
require('../chunk-EBGWLTGQ.cjs');
|
|
164
168
|
require('../chunk-FG2BVNOH.cjs');
|
|
165
169
|
require('../chunk-WKEKBBZJ.cjs');
|
|
166
170
|
require('../chunk-HLSE2S4A.cjs');
|
|
167
171
|
require('../chunk-ZJ4UGZZS.cjs');
|
|
168
172
|
require('../chunk-I7J7NAPK.cjs');
|
|
169
173
|
require('../chunk-JZGOYKT7.cjs');
|
|
170
|
-
require('../chunk-
|
|
171
|
-
require('../chunk-
|
|
174
|
+
require('../chunk-GZ7JL3LS.cjs');
|
|
175
|
+
require('../chunk-HRNF7ETR.cjs');
|
|
172
176
|
require('../chunk-2LM4KHH7.cjs');
|
|
173
177
|
require('../chunk-YJP7WHGF.cjs');
|
|
174
178
|
require('../chunk-7U7Z35TW.cjs');
|
|
175
179
|
require('../chunk-HLYTOCRU.cjs');
|
|
176
180
|
require('../chunk-ILLL52X5.cjs');
|
|
177
181
|
require('../chunk-6IMYGMPQ.cjs');
|
|
178
|
-
require('../chunk-
|
|
179
|
-
require('../chunk-
|
|
182
|
+
require('../chunk-VILLLSWC.cjs');
|
|
183
|
+
require('../chunk-U4LW3GOT.cjs');
|
|
180
184
|
require('../chunk-S3IFHZ3N.cjs');
|
|
181
185
|
require('../chunk-AJPAV25H.cjs');
|
|
182
186
|
require('../chunk-ZYRZ3TOE.cjs');
|
|
183
187
|
require('../chunk-2ZQVUFYW.cjs');
|
|
184
188
|
require('../chunk-QKSRMGHZ.cjs');
|
|
185
189
|
require('../chunk-BQHAHRBV.cjs');
|
|
186
|
-
require('../chunk-
|
|
187
|
-
require('../chunk-
|
|
190
|
+
require('../chunk-KCRDXVPL.cjs');
|
|
191
|
+
require('../chunk-JYQCYA2D.cjs');
|
|
188
192
|
require('../chunk-YMRVG23H.cjs');
|
|
189
193
|
require('../chunk-RRPUMSKE.cjs');
|
|
190
194
|
require('../chunk-PM3L4AYD.cjs');
|
|
191
195
|
require('../chunk-IL3EEHXH.cjs');
|
|
192
196
|
require('../chunk-UEMSJG5S.cjs');
|
|
193
197
|
require('../chunk-HIY7TCAC.cjs');
|
|
194
|
-
require('../chunk-
|
|
195
|
-
require('../chunk-
|
|
198
|
+
require('../chunk-HCB4OP5K.cjs');
|
|
199
|
+
require('../chunk-L4OZU673.cjs');
|
|
196
200
|
require('../chunk-UOUONFRA.cjs');
|
|
197
201
|
require('../chunk-TKQ37QGQ.cjs');
|
|
198
202
|
require('../chunk-WJGSN7DH.cjs');
|
|
199
203
|
require('../chunk-WF5AFM2M.cjs');
|
|
200
204
|
require('../chunk-OUJSVAI4.cjs');
|
|
201
205
|
require('../chunk-LWLPRCE3.cjs');
|
|
202
|
-
require('../chunk-
|
|
203
|
-
require('../chunk-
|
|
206
|
+
require('../chunk-Z7N74BCX.cjs');
|
|
207
|
+
require('../chunk-YWXEEFQE.cjs');
|
|
204
208
|
require('../chunk-UXU4PL7D.cjs');
|
|
205
209
|
require('../chunk-PBU7ZVDJ.cjs');
|
|
206
210
|
require('../chunk-SRVCCDAC.cjs');
|
|
207
211
|
require('../chunk-52S3LXWU.cjs');
|
|
208
212
|
require('../chunk-XYJHQ45D.cjs');
|
|
209
213
|
require('../chunk-XPL7NVOT.cjs');
|
|
210
|
-
require('../chunk-
|
|
211
|
-
require('../chunk-
|
|
214
|
+
require('../chunk-6CJO6F3P.cjs');
|
|
215
|
+
require('../chunk-3X4A4Q3R.cjs');
|
|
212
216
|
require('../chunk-K2ZHXG6L.cjs');
|
|
213
217
|
require('../chunk-TYXKBEPH.cjs');
|
|
214
218
|
require('../chunk-FU7362DG.cjs');
|
|
215
219
|
require('../chunk-KZTLFO3P.cjs');
|
|
216
220
|
require('../chunk-ROQJMFOH.cjs');
|
|
217
221
|
require('../chunk-3BIWQGEM.cjs');
|
|
218
|
-
require('../chunk-
|
|
219
|
-
require('../chunk-
|
|
222
|
+
require('../chunk-ASJNU6KD.cjs');
|
|
223
|
+
require('../chunk-IGO5GMIP.cjs');
|
|
220
224
|
require('../chunk-PYYFEFNI.cjs');
|
|
221
225
|
require('../chunk-F7LSDEM2.cjs');
|
|
222
226
|
require('../chunk-B434YLFA.cjs');
|
|
223
227
|
require('../chunk-LMOMZMCX.cjs');
|
|
224
228
|
require('../chunk-AFA7CATF.cjs');
|
|
225
229
|
require('../chunk-U2XLELW7.cjs');
|
|
226
|
-
require('../chunk-
|
|
227
|
-
require('../chunk-
|
|
230
|
+
require('../chunk-KXVTI27Q.cjs');
|
|
231
|
+
require('../chunk-UQJLJNJJ.cjs');
|
|
228
232
|
require('../chunk-26LVYDL5.cjs');
|
|
229
233
|
require('../chunk-G4DMKLM2.cjs');
|
|
230
234
|
require('../chunk-2QE3XNIQ.cjs');
|
|
231
235
|
require('../chunk-TPQ4EMMX.cjs');
|
|
232
236
|
require('../chunk-7AKUXOL7.cjs');
|
|
233
237
|
require('../chunk-ECQM3R3Y.cjs');
|
|
234
|
-
require('../chunk-
|
|
235
|
-
require('../chunk-IGO5GMIP.cjs');
|
|
238
|
+
require('../chunk-SI7GKARU.cjs');
|
|
236
239
|
require('../chunk-OJUYTPWN.cjs');
|
|
237
|
-
require('../chunk-
|
|
240
|
+
require('../chunk-BJAMST6J.cjs');
|
|
241
|
+
require('../chunk-45XWYZ67.cjs');
|
|
238
242
|
require('../chunk-73MJRE6R.cjs');
|
|
239
243
|
require('../chunk-WYKXPAVG.cjs');
|
|
240
244
|
require('../chunk-337EDTUS.cjs');
|
|
241
245
|
require('../chunk-TO32X5AU.cjs');
|
|
242
|
-
require('../chunk-
|
|
243
|
-
require('../chunk-
|
|
246
|
+
require('../chunk-LTI23HHQ.cjs');
|
|
247
|
+
require('../chunk-P36VTNLU.cjs');
|
|
244
248
|
require('../chunk-GTKLA6ZO.cjs');
|
|
245
249
|
require('../chunk-C346HXTJ.cjs');
|
|
246
250
|
require('../chunk-TZC5CPJE.cjs');
|
|
247
251
|
require('../chunk-UM5MXUGL.cjs');
|
|
248
252
|
require('../chunk-5POVUJ3F.cjs');
|
|
249
253
|
require('../chunk-OFPU2ILL.cjs');
|
|
250
|
-
require('../chunk-
|
|
251
|
-
require('../chunk-
|
|
254
|
+
require('../chunk-P5JEQ3SF.cjs');
|
|
255
|
+
require('../chunk-JJONSO54.cjs');
|
|
252
256
|
require('../chunk-TVXB5KBP.cjs');
|
|
253
257
|
require('../chunk-VGUIJ7JL.cjs');
|
|
254
258
|
require('../chunk-DKLXO6PI.cjs');
|
|
255
259
|
require('../chunk-ZFALWQ3O.cjs');
|
|
256
260
|
require('../chunk-XL3EBDCI.cjs');
|
|
257
261
|
require('../chunk-L4KPK5US.cjs');
|
|
258
|
-
require('../chunk-
|
|
259
|
-
require('../chunk-
|
|
262
|
+
require('../chunk-IRSFNEID.cjs');
|
|
263
|
+
require('../chunk-ZEX24EVY.cjs');
|
|
260
264
|
require('../chunk-L2M6WQAD.cjs');
|
|
261
265
|
require('../chunk-QM5LINN5.cjs');
|
|
262
266
|
require('../chunk-WXQ7EKZD.cjs');
|
|
263
267
|
require('../chunk-BWH3JMX5.cjs');
|
|
264
268
|
require('../chunk-A7OJNELK.cjs');
|
|
265
269
|
require('../chunk-THPE7ETR.cjs');
|
|
266
|
-
require('../chunk-
|
|
267
|
-
require('../chunk-
|
|
270
|
+
require('../chunk-SAK3QQCD.cjs');
|
|
271
|
+
require('../chunk-TH5TUKS7.cjs');
|
|
268
272
|
require('../chunk-SXU6LMJB.cjs');
|
|
269
273
|
require('../chunk-NDBCRNRS.cjs');
|
|
270
274
|
require('../chunk-T2S6AM6C.cjs');
|
|
271
275
|
require('../chunk-2BFVDGQ6.cjs');
|
|
272
276
|
require('../chunk-A53RCECY.cjs');
|
|
273
277
|
require('../chunk-EPYER362.cjs');
|
|
274
|
-
require('../chunk-
|
|
275
|
-
require('../chunk-
|
|
278
|
+
require('../chunk-C3UQ6ZXP.cjs');
|
|
279
|
+
require('../chunk-6A2ZT2F7.cjs');
|
|
276
280
|
require('../chunk-VD4E6PWF.cjs');
|
|
277
281
|
require('../chunk-4T4XOHQL.cjs');
|
|
278
282
|
require('../chunk-6ZD56UBL.cjs');
|
|
279
283
|
require('../chunk-4A6XVQX7.cjs');
|
|
280
284
|
require('../chunk-CKINYXM5.cjs');
|
|
281
|
-
require('../chunk-VGOVEFEP.cjs');
|
|
282
285
|
require('../chunk-65MJTOX6.cjs');
|
|
283
|
-
require('../chunk-
|
|
286
|
+
require('../chunk-FWIY5BZR.cjs');
|
|
284
287
|
require('../chunk-7N72LRSH.cjs');
|
|
288
|
+
require('../chunk-3K44N64A.cjs');
|
|
285
289
|
require('../chunk-PP4HFBMJ.cjs');
|
|
286
290
|
require('../chunk-FKGDBHLC.cjs');
|
|
287
291
|
require('../chunk-UTI73HCW.cjs');
|
|
288
|
-
require('../chunk-C3UQ6ZXP.cjs');
|
|
289
292
|
require('../chunk-TETCTGQF.cjs');
|
|
290
293
|
require('../chunk-S2XZPB3M.cjs');
|
|
291
|
-
require('../chunk-
|
|
294
|
+
require('../chunk-C736JVLC.cjs');
|
|
292
295
|
require('../chunk-VK3WZACJ.cjs');
|
|
293
296
|
require('../chunk-FIGN5MD2.cjs');
|
|
297
|
+
require('../chunk-BR6HN47Z.cjs');
|
|
294
298
|
require('../chunk-LUAJWYSC.cjs');
|
|
295
299
|
require('../chunk-UN3JTS7M.cjs');
|
|
296
300
|
require('../chunk-AWO4C2KQ.cjs');
|
|
297
301
|
require('../chunk-2IHVFBSB.cjs');
|
|
298
|
-
require('../chunk-FWIY5BZR.cjs');
|
|
299
|
-
require('../chunk-3K44N64A.cjs');
|
|
300
302
|
require('../chunk-LABBAWQE.cjs');
|
|
301
|
-
require('../chunk-
|
|
302
|
-
require('../chunk-
|
|
303
|
-
require('../chunk-IRIDGVV2.cjs');
|
|
304
|
-
require('../chunk-QTSTAWK3.cjs');
|
|
303
|
+
require('../chunk-VLZJP6FH.cjs');
|
|
304
|
+
require('../chunk-AIUUCMAI.cjs');
|
|
305
305
|
require('../chunk-FQ2QETFA.cjs');
|
|
306
|
-
require('../chunk-
|
|
307
|
-
require('../chunk-
|
|
308
|
-
require('../chunk-
|
|
306
|
+
require('../chunk-GAQGM46C.cjs');
|
|
307
|
+
require('../chunk-IPMRZNNS.cjs');
|
|
308
|
+
require('../chunk-2MP66EX3.cjs');
|
|
309
|
+
require('../chunk-CTIGX76P.cjs');
|
|
309
310
|
require('../chunk-BPJM3L7O.cjs');
|
|
310
311
|
require('../chunk-ZK3WUWET.cjs');
|
|
312
|
+
require('../chunk-OPMWK5SY.cjs');
|
|
311
313
|
require('../chunk-YAF2X7W5.cjs');
|
|
312
314
|
require('../chunk-F2LXD7RI.cjs');
|
|
313
|
-
require('../chunk-
|
|
314
|
-
require('../chunk-
|
|
315
|
+
require('../chunk-TSRDXJUG.cjs');
|
|
316
|
+
require('../chunk-RO55MFZA.cjs');
|
|
317
|
+
require('../chunk-3LBTW4A3.cjs');
|
|
318
|
+
require('../chunk-U2LA7LBX.cjs');
|
|
319
|
+
require('../chunk-GSCW3WIQ.cjs');
|
|
315
320
|
require('../chunk-QJOVCH5A.cjs');
|
|
316
321
|
|
|
317
322
|
|
|
318
323
|
|
|
319
324
|
Object.defineProperty(exports, "CallbackPage", {
|
|
320
325
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkQBL4VIE4_cjs.CallbackPage; }
|
|
322
327
|
});
|
|
323
328
|
Object.defineProperty(exports, "ConsolePage", {
|
|
324
329
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkQBL4VIE4_cjs.ConsolePage; }
|
|
326
331
|
});
|
|
327
332
|
Object.defineProperty(exports, "DashboardOverview", {
|
|
328
333
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkQBL4VIE4_cjs.DashboardOverview; }
|
|
330
335
|
});
|
|
331
336
|
Object.defineProperty(exports, "LoginPage", {
|
|
332
337
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkQBL4VIE4_cjs.LoginPage; }
|
|
334
339
|
});
|
|
335
340
|
Object.defineProperty(exports, "ProfilePage", {
|
|
336
341
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunkQBL4VIE4_cjs.ProfilePage; }
|
|
338
343
|
});
|
|
339
344
|
//# sourceMappingURL=index.cjs.map
|
|
340
345
|
//# sourceMappingURL=index.cjs.map
|