@burdenoff/fe-libs 2026.528.11 → 2026.529.2
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/button/Button.d.ts +1 -1
- package/dist/chrome/sideNavigation/helpers.d.ts.map +1 -1
- package/dist/chrome/sideNavigation/helpers.js +2 -2
- package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/deserialize.js +1 -1
- package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/index.js +1 -1
- package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/serialize.js +1 -1
- package/dist/node_modules/{.bun/bail@2.0.2/node_modules/bail → bail}/index.js +1 -1
- package/dist/node_modules/{.bun/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens → comma-separated-tokens}/index.js +1 -1
- package/dist/node_modules/{.bun/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.js +1 -1
- package/dist/node_modules/{.bun/devlop@1.1.0/node_modules/devlop → devlop}/lib/default.js +1 -1
- package/dist/node_modules/{.bun/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name → estree-util-is-identifier-name}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/extend@3.0.2/node_modules/extend → extend}/index.js +2 -2
- package/dist/node_modules/{.bun/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime → hast-util-to-jsx-runtime}/lib/index.js +13 -13
- package/dist/node_modules/{.bun/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace → hast-util-whitespace}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/html-url-attributes@3.0.1/node_modules/html-url-attributes → html-url-attributes}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/inline-style-parser@0.2.7/node_modules/inline-style-parser → inline-style-parser}/cjs/index.js +2 -2
- package/dist/node_modules/{.bun/is-plain-obj@4.1.0/node_modules/is-plain-obj → is-plain-obj}/index.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown → mdast-util-from-markdown}/lib/index.js +10 -10
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/footer.js +3 -3
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/blockquote.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/break.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/code.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/delete.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/emphasis.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/footnote-reference.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/heading.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/html.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/image-reference.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/image.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/index.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/inline-code.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/link-reference.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/link.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/list-item.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/list.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/paragraph.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/root.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/strong.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/table-cell.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/table-row.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/table.js +2 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +11 -0
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/thematic-break.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/revert.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/state.js +4 -4
- package/dist/node_modules/{.bun/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.js +1 -1
- package/dist/node_modules/micromark/lib/constructs.js +80 -0
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/create-tokenizer.js +4 -4
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/content.js +3 -3
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/document.js +4 -4
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/flow.js +4 -4
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/text.js +1 -1
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/parse.js +2 -2
- package/dist/node_modules/micromark/lib/postprocess.js +8 -0
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/preprocess.js +1 -1
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.js +4 -4
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.js +2 -2
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.js +2 -2
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.js +2 -2
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.js +4 -4
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.js +8 -8
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.js +2 -2
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.js +4 -4
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.js +9 -9
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.js +1 -1
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.js +1 -1
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.js +3 -3
- package/dist/node_modules/{.bun/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination → micromark-factory-destination}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-factory-label@2.0.1/node_modules/micromark-factory-label → micromark-factory-label}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-factory-space@2.0.1/node_modules/micromark-factory-space → micromark-factory-space}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-factory-title@2.0.1/node_modules/micromark-factory-title → micromark-factory-title}/index.js +3 -3
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/{.bun/micromark-util-character@2.1.1/node_modules/micromark-util-character → micromark-util-character}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked → micromark-util-chunked}/index.js +1 -1
- package/dist/node_modules/micromark-util-classify-character/index.js +8 -0
- package/dist/node_modules/{.bun/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.js +1 -1
- package/dist/node_modules/micromark-util-decode-string/index.js +17 -0
- package/dist/node_modules/{.bun/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/index.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/aria.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/find.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/hast-to-react.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/html.js +1 -1
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/svg.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/case-insensitive-transform.js +1 -1
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/create.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/defined-info.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/info.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/merge.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/schema.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/types.js +2 -2
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xlink.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xml.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xmlns.js +1 -1
- package/dist/node_modules/{.bun/react-error-boundary@6.1.1_3f10a4be4e334a9b/node_modules/react-error-boundary → react-error-boundary}/dist/react-error-boundary.js +1 -1
- package/dist/node_modules/{.bun/react-markdown@10.1.0_b2e33729a97476bf/node_modules/react-markdown → react-markdown}/lib/index.js +9 -9
- package/dist/node_modules/{.bun/remark-parse@11.0.0/node_modules/remark-parse → remark-parse}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/remark-rehype@11.1.2/node_modules/remark-rehype → remark-rehype}/lib/index.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/{.bun/style-to-js@1.1.21/node_modules/style-to-js → style-to-js}/cjs/index.js +3 -3
- package/dist/node_modules/{.bun/style-to-js@1.1.21/node_modules/style-to-js → style-to-js}/cjs/utilities.js +2 -2
- package/dist/node_modules/{.bun/style-to-object@1.0.14/node_modules/style-to-object → style-to-object}/cjs/index.js +3 -3
- package/dist/node_modules/{.bun/trim-lines@3.0.1/node_modules/trim-lines → trim-lines}/index.js +1 -1
- package/dist/node_modules/{.bun/trough@2.2.0/node_modules/trough → trough}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unified@11.0.5/node_modules/unified → unified}/lib/callable-instance.js +1 -1
- package/dist/node_modules/{.bun/unified@11.0.5/node_modules/unified → unified}/lib/index.js +8 -8
- package/dist/node_modules/{.bun/unist-util-is@6.0.1/node_modules/unist-util-is → unist-util-is}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unist-util-position@5.0.0/node_modules/unist-util-position → unist-util-position}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unist-util-visit@5.1.0/node_modules/unist-util-visit → unist-util-visit}/lib/index.js +2 -2
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/{.bun/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minpath.browser.js +1 -1
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minproc.browser.js +1 -1
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minurl.browser.js +1 -1
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minurl.shared.js +1 -1
- package/dist/node_modules/{.bun/vfile-message@4.0.3/node_modules/vfile-message → vfile-message}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/web-vitals@4.2.4/node_modules/web-vitals → web-vitals}/dist/web-vitals.js +1 -1
- package/dist/shared/components/MicrofrontendErrorBoundary.js +1 -1
- package/dist/shared/graphql/client.d.ts.map +1 -1
- package/dist/shared/graphql/client.js +83 -95
- package/dist/shared/graphql/fetch.d.ts.map +1 -1
- package/dist/shared/graphql/fetch.js +107 -130
- package/dist/shared/pages/LegalPage.js +1 -1
- package/dist/shared/providers/AppShellProvider.d.ts +4 -4
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +181 -205
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +1 -1
- package/dist/shared/providers/shell/AuthBridgeClient.js +0 -6
- package/dist/shared/providers/shell/ObservabilityProvider.js +1 -1
- package/dist/shared/tours/toursContext/useTourMutations.js +29 -29
- package/dist/shared/utils/backendErrors.d.ts +2 -0
- package/dist/shared/utils/backendErrors.d.ts.map +1 -1
- package/dist/shared/utils/index.d.ts +5 -7
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/quotaErrors.js +8 -11
- package/dist/shared-tours.js +3 -3
- package/dist/shared-utils.js +11 -12
- package/dist/shared.js +95 -96
- package/dist/ui/button.d.ts +1 -1
- package/dist/utils/index.js +0 -1
- package/package.json +1 -1
- package/dist/node_modules/.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -11
- package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
- package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
- package/dist/node_modules/.bun/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js +0 -12
- package/dist/node_modules/.bun/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js +0 -8
- package/dist/node_modules/.bun/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js +0 -17
- package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/constructs.js +0 -80
- package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/postprocess.js +0 -8
- package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/normalize.js +0 -6
- package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
- package/dist/node_modules/.bun/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +0 -6
- package/dist/node_modules/.bun/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js +0 -6
- package/dist/shared/utils/backendErrors.js +0 -123
|
@@ -1,45 +1,48 @@
|
|
|
1
1
|
import { isShellLessRoute as e } from "../config/shellRoutes.js";
|
|
2
2
|
import { readActiveContextValueWithUrlPrecedence as t } from "./shell/ActiveContextStorage.js";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { attemptTokenRefresh as
|
|
6
|
-
import { AuthProvider as
|
|
7
|
-
import { ActiveContextProvider as
|
|
8
|
-
import { LogManager as
|
|
9
|
-
import { ConsoleTransport as
|
|
10
|
-
import { ThemeProvider as
|
|
11
|
-
import { ErrorFallback as
|
|
12
|
-
import { m as
|
|
13
|
-
import { PWAInstallBanner as
|
|
14
|
-
import { I18nProvider as
|
|
15
|
-
import { FeatureFlagsProvider as
|
|
16
|
-
import { FeatureFlagProvider as
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
3
|
+
import { graphqlFetch as n } from "../graphql/fetch.js";
|
|
4
|
+
import "../../shared-graphql.js";
|
|
5
|
+
import { attemptTokenRefresh as r, clearAuthSessionStorage as i, isAuthNetworkError as a } from "../utils/authErrorHandling.js";
|
|
6
|
+
import { AuthProvider as o } from "./shell/AuthProvider.js";
|
|
7
|
+
import { ActiveContextProvider as s } from "./shell/ActiveContextProvider.js";
|
|
8
|
+
import { LogManager as c } from "../logger/LogManager.js";
|
|
9
|
+
import { ConsoleTransport as l } from "../logger/ConsoleTransport.js";
|
|
10
|
+
import { ThemeProvider as u } from "./shell/ThemeProvider.js";
|
|
11
|
+
import { ErrorFallback as d } from "../components/ErrorFallback.js";
|
|
12
|
+
import { m as f } from "../../node_modules/react-error-boundary/dist/react-error-boundary.js";
|
|
13
|
+
import { PWAInstallBanner as p } from "../components/PWAInstallBanner.js";
|
|
14
|
+
import { I18nProvider as m } from "./shell/I18nProvider.js";
|
|
15
|
+
import { FeatureFlagsProvider as h } from "./shell/FeatureFlagsProvider.js";
|
|
16
|
+
import { FeatureFlagProvider as g } from "../feature-flags/FeatureFlagProvider.js";
|
|
17
|
+
import "../../shared-feature-flags.js";
|
|
18
|
+
import { GlobalUiProvider as _ } from "./shell/GlobalUiProvider.js";
|
|
19
|
+
import { ShellUiProvider as v } from "./shell/ShellUiProvider.js";
|
|
20
|
+
import { ContextManagerProvider as ee } from "./shell/ContextManagerProvider.js";
|
|
21
|
+
import { AuthTokenProvider as y } from "./shell/AuthTokenProvider.js";
|
|
22
|
+
import { MultiGatewayProvider as b } from "./shell/MultiGatewayProvider.js";
|
|
23
|
+
import { G as x, j as S, w as C } from "../../node_modules/web-vitals/dist/web-vitals.js";
|
|
24
|
+
import { ProfileI18nBridge as w } from "./shell/ProfileI18nBridge.js";
|
|
25
|
+
import { ProfileGeographyBridge as T } from "./shell/ProfileGeographyBridge.js";
|
|
26
|
+
import { AppShellContextProvider as te } from "./shell/AppShellContext.js";
|
|
27
|
+
import { DevtoolsSink as E } from "../events/sinks/DevtoolsSink.js";
|
|
28
|
+
import { BroadcastChannelSink as D } from "../events/sinks/BroadcastChannelSink.js";
|
|
29
|
+
import { BackendAuditSink as O } from "../events/sinks/BackendAuditSink.js";
|
|
30
|
+
import { RybbitSink as k } from "../events/sinks/RybbitSink.js";
|
|
31
|
+
import { OtelBrowserSink as A } from "../events/sinks/OtelBrowserSink.js";
|
|
32
|
+
import { EventBusProvider as ne, useEventBus as j } from "../../shared-events.js";
|
|
33
|
+
import "../../shared-logger.js";
|
|
34
|
+
import { useReferralAttribution as M } from "../hooks/useReferralAttribution.js";
|
|
35
|
+
import { TourPlayerProvider as N } from "../tours/TourPlayerProvider.js";
|
|
36
|
+
import { ToursProvider as P, useToursContext as F } from "../tours/ToursContext.js";
|
|
37
|
+
import { TourInitializer as I } from "../tours/TourInitializer.js";
|
|
38
|
+
import "../../shared-tours.js";
|
|
39
|
+
import { Suspense as L, useCallback as R, useEffect as z, useMemo as B, useRef as V } from "react";
|
|
40
|
+
import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
|
|
41
|
+
import { BrowserRouter as re, useLocation as G } from "react-router-dom";
|
|
42
|
+
import { Toaster as K } from "sonner";
|
|
43
|
+
import { QueryClient as ie, QueryClientProvider as q } from "@tanstack/react-query";
|
|
41
44
|
//#region src/shared/providers/AppShellProvider.tsx
|
|
42
|
-
var
|
|
45
|
+
var J = {
|
|
43
46
|
bigconsole: {
|
|
44
47
|
prod: "292459a3e86c",
|
|
45
48
|
nonProd: "a7e7362b0de3"
|
|
@@ -58,7 +61,7 @@ var X = {
|
|
|
58
61
|
},
|
|
59
62
|
vibecontrols: { prod: "8a46449d9c07" },
|
|
60
63
|
workspaces: { prod: "da0c142f4b2e" }
|
|
61
|
-
},
|
|
64
|
+
}, Y = [
|
|
62
65
|
"nav.route.changed",
|
|
63
66
|
"auth.signed_in",
|
|
64
67
|
"auth.signed_out",
|
|
@@ -73,14 +76,14 @@ var X = {
|
|
|
73
76
|
"notification.admin.sent",
|
|
74
77
|
"notification.template.saved",
|
|
75
78
|
"notification.schedule.updated"
|
|
76
|
-
]
|
|
77
|
-
function
|
|
79
|
+
];
|
|
80
|
+
function X(e) {
|
|
78
81
|
return e === "prod" || e === "production" ? "prod" : e === "alpha" || e === "staging" ? "alpha" : "dev";
|
|
79
82
|
}
|
|
80
|
-
function
|
|
83
|
+
function Z(e, t) {
|
|
81
84
|
return e.VITE_DISABLE_ANALYTICS === "true" ? !1 : e.VITE_ENABLE_ANALYTICS === "true" || e.PROD || t !== "dev" ? !0 : e.VITE_ENABLE_ANALYTICS !== "false";
|
|
82
85
|
}
|
|
83
|
-
function
|
|
86
|
+
function ae() {
|
|
84
87
|
return {
|
|
85
88
|
BASE_URL: "/",
|
|
86
89
|
DEV: !1,
|
|
@@ -89,8 +92,8 @@ function fe() {
|
|
|
89
92
|
SSR: !1
|
|
90
93
|
};
|
|
91
94
|
}
|
|
92
|
-
function
|
|
93
|
-
let n =
|
|
95
|
+
function Q(e, t) {
|
|
96
|
+
let n = X(t.VITE_DEPLOY_ENV ?? t.MODE), r = Z(t, n), i = J[e], a = n === "prod" ? i?.prod : i?.nonProd, o = t.VITE_RYBBIT_SITE_ID || a, s = t.VITE_BACKEND_AUDIT_ENDPOINT || (t.PROD ? "/api/fe-events" : void 0);
|
|
94
97
|
return {
|
|
95
98
|
enabled: r,
|
|
96
99
|
appVersion: t.VITE_APP_VERSION || "0.0.0",
|
|
@@ -101,7 +104,7 @@ function $(e, t) {
|
|
|
101
104
|
enabled: r && !!o,
|
|
102
105
|
siteId: o,
|
|
103
106
|
scriptUrl: t.VITE_RYBBIT_SCRIPT_URL,
|
|
104
|
-
allowlist:
|
|
107
|
+
allowlist: Y,
|
|
105
108
|
identifyOn: "auth.signed_in",
|
|
106
109
|
rename: { "nav.route.changed": "pageview" }
|
|
107
110
|
},
|
|
@@ -116,16 +119,16 @@ function $(e, t) {
|
|
|
116
119
|
}
|
|
117
120
|
};
|
|
118
121
|
}
|
|
119
|
-
function
|
|
120
|
-
let { trackProgress: a, recordStepCompletion: o, trackEvent: s } =
|
|
121
|
-
return /* @__PURE__ */
|
|
122
|
-
onTourStart:
|
|
122
|
+
function $({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
|
|
123
|
+
let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = F(), c = R((e, t) => e.steps?.[t], []);
|
|
124
|
+
return /* @__PURE__ */ W(N, {
|
|
125
|
+
onTourStart: R((e) => {
|
|
123
126
|
a(e.id, "started"), s("TOUR_STARTED", e.id);
|
|
124
127
|
}, [s, a]),
|
|
125
|
-
onTourComplete:
|
|
128
|
+
onTourComplete: R((e) => {
|
|
126
129
|
a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
|
|
127
130
|
}, [s, a]),
|
|
128
|
-
onTourSkip:
|
|
131
|
+
onTourSkip: R((e, t) => {
|
|
129
132
|
let n = c(e, t);
|
|
130
133
|
a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
|
|
131
134
|
stepId: n?.id,
|
|
@@ -136,14 +139,14 @@ function pe({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
136
139
|
s,
|
|
137
140
|
a
|
|
138
141
|
]),
|
|
139
|
-
onStepChange:
|
|
142
|
+
onStepChange: R((e, t) => {
|
|
140
143
|
let n = c(e, t);
|
|
141
144
|
n && s("STEP_VIEWED", e.id, {
|
|
142
145
|
stepId: n.id,
|
|
143
146
|
stepOrder: n.stepOrder
|
|
144
147
|
});
|
|
145
148
|
}, [c, s]),
|
|
146
|
-
onStepComplete:
|
|
149
|
+
onStepComplete: R((e, t) => {
|
|
147
150
|
let n = c(e, t);
|
|
148
151
|
n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
|
|
149
152
|
stepId: n.id,
|
|
@@ -155,17 +158,16 @@ function pe({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
155
158
|
s
|
|
156
159
|
]),
|
|
157
160
|
children: [
|
|
158
|
-
/* @__PURE__ */
|
|
161
|
+
/* @__PURE__ */ U(I, {}),
|
|
159
162
|
e,
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
/* @__PURE__ */ W(J, {
|
|
163
|
+
/* @__PURE__ */ U(K, {
|
|
162
164
|
position: n,
|
|
163
165
|
richColors: !0,
|
|
164
166
|
closeButton: !0
|
|
165
167
|
}),
|
|
166
|
-
t && /* @__PURE__ */
|
|
168
|
+
t && /* @__PURE__ */ U(L, {
|
|
167
169
|
fallback: null,
|
|
168
|
-
children: /* @__PURE__ */
|
|
170
|
+
children: /* @__PURE__ */ U(p, {
|
|
169
171
|
productName: r,
|
|
170
172
|
brandInitial: i
|
|
171
173
|
})
|
|
@@ -173,36 +175,18 @@ function pe({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
173
175
|
]
|
|
174
176
|
});
|
|
175
177
|
}
|
|
176
|
-
function
|
|
177
|
-
let
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
let n = t instanceof CustomEvent && i(t.detail) ? t.detail : null;
|
|
181
|
-
if (!a(n)) return;
|
|
182
|
-
let r = `${n.code ?? ""}|${n.message}|${n.subtitle ?? ""}`, o = Date.now(), s = e.current;
|
|
183
|
-
s?.key === r && o - s.shownAt < ue || (e.current = {
|
|
184
|
-
key: r,
|
|
185
|
-
shownAt: o
|
|
186
|
-
}, Y.error(n.message, {
|
|
187
|
-
description: n.subtitle,
|
|
188
|
-
duration: 7e3
|
|
189
|
-
}));
|
|
190
|
-
};
|
|
191
|
-
return window.addEventListener(n, t), () => window.removeEventListener(n, t);
|
|
192
|
-
}, []), null;
|
|
193
|
-
}
|
|
194
|
-
function he({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, productName: i, brandInitial: a, enablePWA: o, toasterPosition: s }) {
|
|
195
|
-
let c = q();
|
|
196
|
-
N();
|
|
197
|
-
let l = c.pathname.startsWith("/auth/") || c.pathname.startsWith("/devportal") || c.pathname.startsWith("/organizations") || c.pathname.startsWith("/workspaces"), u = /* @__PURE__ */ W(E, { children: /* @__PURE__ */ W(g, { children: /* @__PURE__ */ W(_, {
|
|
178
|
+
function oe({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, productName: i, brandInitial: a, enablePWA: o, toasterPosition: s }) {
|
|
179
|
+
let c = G();
|
|
180
|
+
M();
|
|
181
|
+
let l = c.pathname.startsWith("/auth/") || c.pathname.startsWith("/devportal") || c.pathname.startsWith("/organizations") || c.pathname.startsWith("/workspaces"), d = /* @__PURE__ */ U(T, { children: /* @__PURE__ */ U(h, { children: /* @__PURE__ */ U(g, {
|
|
198
182
|
workspaceId: null,
|
|
199
183
|
gateway: "global",
|
|
200
184
|
defaultEnabled: !0,
|
|
201
|
-
children: /* @__PURE__ */
|
|
185
|
+
children: /* @__PURE__ */ U(_, { children: /* @__PURE__ */ U(v, { children: /* @__PURE__ */ U(f, {
|
|
202
186
|
fallback: null,
|
|
203
|
-
children: /* @__PURE__ */
|
|
187
|
+
children: /* @__PURE__ */ U(P, {
|
|
204
188
|
disabled: l,
|
|
205
|
-
children: /* @__PURE__ */
|
|
189
|
+
children: /* @__PURE__ */ U($, {
|
|
206
190
|
enablePWA: o,
|
|
207
191
|
toasterPosition: s,
|
|
208
192
|
productName: i,
|
|
@@ -212,9 +196,9 @@ function he({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
|
|
|
212
196
|
})
|
|
213
197
|
}) }) })
|
|
214
198
|
}) }) });
|
|
215
|
-
return /* @__PURE__ */
|
|
199
|
+
return /* @__PURE__ */ W(u, {
|
|
216
200
|
defaultBrand: r,
|
|
217
|
-
children: [/* @__PURE__ */
|
|
201
|
+
children: [/* @__PURE__ */ U(se, {}), l ? /* @__PURE__ */ U(m, {
|
|
218
202
|
defaultLocale: "en",
|
|
219
203
|
translations: n ?? {
|
|
220
204
|
en: {},
|
|
@@ -227,17 +211,17 @@ function he({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
|
|
|
227
211
|
hi: {}
|
|
228
212
|
},
|
|
229
213
|
showChildrenWhileLoading: !0,
|
|
230
|
-
children:
|
|
231
|
-
}) : /* @__PURE__ */
|
|
214
|
+
children: d
|
|
215
|
+
}) : /* @__PURE__ */ U(w, {
|
|
232
216
|
i18nProductId: t,
|
|
233
217
|
fallbackTranslations: n,
|
|
234
|
-
children:
|
|
218
|
+
children: d
|
|
235
219
|
})]
|
|
236
220
|
});
|
|
237
221
|
}
|
|
238
|
-
function
|
|
239
|
-
let e =
|
|
240
|
-
return
|
|
222
|
+
function se() {
|
|
223
|
+
let e = G();
|
|
224
|
+
return z(() => {
|
|
241
225
|
e.hash || requestAnimationFrame(() => {
|
|
242
226
|
window.scrollTo({
|
|
243
227
|
top: 0,
|
|
@@ -255,7 +239,7 @@ function ge() {
|
|
|
255
239
|
e.hash
|
|
256
240
|
]), null;
|
|
257
241
|
}
|
|
258
|
-
function
|
|
242
|
+
function ce(e) {
|
|
259
243
|
if (e instanceof Error) return e.message;
|
|
260
244
|
if (typeof e == "string") return e;
|
|
261
245
|
try {
|
|
@@ -264,9 +248,9 @@ function _e(e) {
|
|
|
264
248
|
return String(e);
|
|
265
249
|
}
|
|
266
250
|
}
|
|
267
|
-
function
|
|
268
|
-
let e =
|
|
269
|
-
return
|
|
251
|
+
function le() {
|
|
252
|
+
let e = j(), t = G(), n = V(void 0), r = V(void 0);
|
|
253
|
+
return z(() => {
|
|
270
254
|
let i = `${t.pathname}${t.search}${t.hash}`;
|
|
271
255
|
r.current !== i && (e.emit("nav.route.changed", {
|
|
272
256
|
pathname: t.pathname,
|
|
@@ -280,7 +264,7 @@ function ve() {
|
|
|
280
264
|
t.hash,
|
|
281
265
|
t.pathname,
|
|
282
266
|
t.search
|
|
283
|
-
]),
|
|
267
|
+
]), z(() => {
|
|
284
268
|
let t = (t) => {
|
|
285
269
|
e.emit("error.runtime.caught", {
|
|
286
270
|
message: t.message || "Runtime error",
|
|
@@ -290,27 +274,27 @@ function ve() {
|
|
|
290
274
|
errorName: t.error instanceof Error ? t.error.name : void 0
|
|
291
275
|
});
|
|
292
276
|
}, n = (t) => {
|
|
293
|
-
e.emit("error.unhandledrejection", { reason:
|
|
277
|
+
e.emit("error.unhandledrejection", { reason: ce(t.reason) });
|
|
294
278
|
};
|
|
295
279
|
return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
|
|
296
280
|
window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
|
|
297
281
|
};
|
|
298
|
-
}, [e]),
|
|
299
|
-
|
|
282
|
+
}, [e]), z(() => {
|
|
283
|
+
x((t) => {
|
|
300
284
|
e.emit("perf.lcp.measured", {
|
|
301
285
|
metric: "LCP",
|
|
302
286
|
value: t.value,
|
|
303
287
|
id: t.id,
|
|
304
288
|
rating: t.rating
|
|
305
289
|
});
|
|
306
|
-
}),
|
|
290
|
+
}), C((t) => {
|
|
307
291
|
e.emit("perf.cls.measured", {
|
|
308
292
|
metric: "CLS",
|
|
309
293
|
value: t.value,
|
|
310
294
|
id: t.id,
|
|
311
295
|
rating: t.rating
|
|
312
296
|
});
|
|
313
|
-
}),
|
|
297
|
+
}), S((t) => {
|
|
314
298
|
e.emit("perf.inp.measured", {
|
|
315
299
|
metric: "INP",
|
|
316
300
|
value: t.value,
|
|
@@ -320,39 +304,39 @@ function ve() {
|
|
|
320
304
|
});
|
|
321
305
|
}, [e]), null;
|
|
322
306
|
}
|
|
323
|
-
function
|
|
324
|
-
return /* @__PURE__ */
|
|
325
|
-
e.devtools ? /* @__PURE__ */
|
|
326
|
-
e.broadcast === !1 ? null : /* @__PURE__ */
|
|
327
|
-
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */
|
|
328
|
-
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */
|
|
307
|
+
function ue({ config: e, productSlug: t }) {
|
|
308
|
+
return /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(le, {}), e.enabled === !1 ? null : /* @__PURE__ */ W(H, { children: [
|
|
309
|
+
e.devtools ? /* @__PURE__ */ U(E, { enabled: !0 }) : null,
|
|
310
|
+
e.broadcast === !1 ? null : /* @__PURE__ */ U(D, {}),
|
|
311
|
+
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ U(O, { endpoint: e.backendAudit.endpoint }) : null,
|
|
312
|
+
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ U(k, {
|
|
329
313
|
siteId: e.rybbit.siteId,
|
|
330
314
|
scriptUrl: e.rybbit.scriptUrl,
|
|
331
315
|
allowlist: e.rybbit.allowlist,
|
|
332
316
|
identifyOn: e.rybbit.identifyOn,
|
|
333
317
|
rename: e.rybbit.rename
|
|
334
318
|
}) : null,
|
|
335
|
-
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */
|
|
319
|
+
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ U(A, {
|
|
336
320
|
endpoint: e.otel.endpoint,
|
|
337
321
|
serviceName: e.otel.serviceName ?? `${t}-app`,
|
|
338
322
|
flushInterval: e.otel.flushInterval
|
|
339
323
|
}) : null
|
|
340
324
|
] })] });
|
|
341
325
|
}
|
|
342
|
-
function
|
|
343
|
-
let { productName:
|
|
344
|
-
productName:
|
|
345
|
-
productSlug:
|
|
346
|
-
brandInitial:
|
|
347
|
-
tagline:
|
|
348
|
-
domain:
|
|
326
|
+
function de({ config: u, children: p, clearAuthStore: m }) {
|
|
327
|
+
let { productName: h, productSlug: g = h.toLowerCase().replace(/\s+/g, ""), tagline: _ = "", domain: v, i18nProductId: x, gatewayUrls: S, authBridge: C, defaultBrand: w = "default", enablePWA: T = !0, brandInitial: E = h.charAt(0), defaultGateway: D = "workspace", enableSubscriptions: O = !0, fallbackTranslations: k, queryClientOptions: A, toasterPosition: j = "bottom-right", observability: M } = u, N = M ?? Q(g, ae()), P = B(() => ({
|
|
328
|
+
productName: h,
|
|
329
|
+
productSlug: g,
|
|
330
|
+
brandInitial: E,
|
|
331
|
+
tagline: _,
|
|
332
|
+
domain: v
|
|
349
333
|
}), [
|
|
350
|
-
f,
|
|
351
|
-
m,
|
|
352
|
-
w,
|
|
353
334
|
h,
|
|
354
|
-
g
|
|
355
|
-
|
|
335
|
+
g,
|
|
336
|
+
E,
|
|
337
|
+
_,
|
|
338
|
+
v
|
|
339
|
+
]), F = V(!1), I = V(!1), L = V(null), H = V(!!C?.url), G = R(() => {
|
|
356
340
|
if ((() => {
|
|
357
341
|
try {
|
|
358
342
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
@@ -362,101 +346,93 @@ function be({ config: n, children: i, clearAuthStore: a }) {
|
|
|
362
346
|
} catch {
|
|
363
347
|
return !1;
|
|
364
348
|
}
|
|
365
|
-
})() ||
|
|
366
|
-
|
|
349
|
+
})() || H.current || F.current) return;
|
|
350
|
+
F.current = !0, i(m);
|
|
367
351
|
let t = `${window.location.pathname}${window.location.search}`, n = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(t)}`, r = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
|
|
368
352
|
if (window.location.pathname.startsWith("/auth/") || e(window.location.pathname) || r) {
|
|
369
|
-
|
|
353
|
+
F.current = !1;
|
|
370
354
|
return;
|
|
371
355
|
}
|
|
372
356
|
window.location.replace(n);
|
|
373
|
-
}, [
|
|
374
|
-
globalBaseUrl:
|
|
375
|
-
isRefreshing:
|
|
376
|
-
refreshPromise:
|
|
377
|
-
}), [
|
|
378
|
-
window.location.pathname.startsWith("/auth/") || await
|
|
379
|
-
}, [
|
|
380
|
-
|
|
381
|
-
}, [
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
onAuthError: q,
|
|
433
|
-
onNetworkError: J,
|
|
434
|
-
onRefreshToken: U,
|
|
435
|
-
children: /* @__PURE__ */ W(u, {
|
|
436
|
-
bridgeUrl: y?.url,
|
|
437
|
-
bridgeAllowedOrigins: y?.allowedOrigins,
|
|
438
|
-
bridgeDebug: y?.debug,
|
|
439
|
-
onRefreshToken: Y,
|
|
357
|
+
}, [m]), K = B(() => ({
|
|
358
|
+
globalBaseUrl: S.globalBaseUrl,
|
|
359
|
+
isRefreshing: I,
|
|
360
|
+
refreshPromise: L
|
|
361
|
+
}), [S.globalBaseUrl]), J = R(async () => r(K), [K]), Y = R(async () => {
|
|
362
|
+
window.location.pathname.startsWith("/auth/") || await J() || G();
|
|
363
|
+
}, [J, G]), X = R(async (e) => {
|
|
364
|
+
a(e) ? await J() || G() : console.error("[Network] Backend unreachable:", e.message);
|
|
365
|
+
}, [J, G]), Z = R(() => t("organization"), []), $ = B(() => new ie({ defaultOptions: { queries: {
|
|
366
|
+
staleTime: A?.staleTime ?? 300 * 1e3,
|
|
367
|
+
retry: A?.retry ?? 1,
|
|
368
|
+
refetchOnWindowFocus: A?.refetchOnWindowFocus ?? !1
|
|
369
|
+
} } }), [A]);
|
|
370
|
+
return z(() => {
|
|
371
|
+
let e = c.getInstance();
|
|
372
|
+
e.getLogger("shell") || e.getLogger("shell").addTransport(new l());
|
|
373
|
+
}, []), /* @__PURE__ */ U(te, {
|
|
374
|
+
value: P,
|
|
375
|
+
children: /* @__PURE__ */ U(ne, {
|
|
376
|
+
appName: g,
|
|
377
|
+
appVersion: N.appVersion,
|
|
378
|
+
appEnv: N.appEnv,
|
|
379
|
+
sourceMfe: g,
|
|
380
|
+
children: /* @__PURE__ */ U(f, {
|
|
381
|
+
FallbackComponent: d,
|
|
382
|
+
children: /* @__PURE__ */ W(re, { children: [/* @__PURE__ */ U(ue, {
|
|
383
|
+
config: N,
|
|
384
|
+
productSlug: g
|
|
385
|
+
}), /* @__PURE__ */ U(q, {
|
|
386
|
+
client: $,
|
|
387
|
+
children: /* @__PURE__ */ U(y, { children: /* @__PURE__ */ U(b, {
|
|
388
|
+
workspaceBaseUrl: S.workspaceBaseUrl,
|
|
389
|
+
globalBaseUrl: S.globalBaseUrl,
|
|
390
|
+
organizationId: Z,
|
|
391
|
+
defaultGateway: D,
|
|
392
|
+
enableSubscriptions: O,
|
|
393
|
+
onAuthError: Y,
|
|
394
|
+
onNetworkError: X,
|
|
395
|
+
onRefreshToken: J,
|
|
396
|
+
children: /* @__PURE__ */ U(o, {
|
|
397
|
+
bridgeUrl: C?.url,
|
|
398
|
+
bridgeAllowedOrigins: C?.allowedOrigins,
|
|
399
|
+
bridgeDebug: C?.debug,
|
|
400
|
+
onRefreshToken: async (e) => {
|
|
401
|
+
let t = await n({
|
|
402
|
+
gateway: "global",
|
|
403
|
+
baseUrl: S.globalBaseUrl,
|
|
404
|
+
authToken: "",
|
|
405
|
+
query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
|
|
406
|
+
variables: { token: e }
|
|
407
|
+
});
|
|
408
|
+
if (t.errors?.length) throw Error(t.errors[0].message ?? "Token refresh failed");
|
|
409
|
+
let r = t.data.refreshToken;
|
|
410
|
+
return {
|
|
411
|
+
accessToken: r.accessToken,
|
|
412
|
+
refreshToken: r.refreshToken,
|
|
413
|
+
expiresAt: r.expiresIn ? Date.now() + r.expiresIn * 1e3 : void 0
|
|
414
|
+
};
|
|
415
|
+
},
|
|
440
416
|
onBridgeReady: () => {
|
|
441
|
-
|
|
417
|
+
H.current = !1;
|
|
442
418
|
},
|
|
443
419
|
onSessionExpiringSoon: () => {
|
|
444
420
|
console.warn("[Auth] Session will expire in 5 minutes");
|
|
445
421
|
},
|
|
446
422
|
onTokenExpired: () => {
|
|
447
|
-
|
|
423
|
+
G();
|
|
448
424
|
},
|
|
449
|
-
children: /* @__PURE__ */
|
|
425
|
+
children: /* @__PURE__ */ U(s, {
|
|
450
426
|
syncToUrl: !0,
|
|
451
|
-
children: /* @__PURE__ */
|
|
452
|
-
i18nProductId:
|
|
453
|
-
fallbackTranslations:
|
|
454
|
-
defaultBrand:
|
|
455
|
-
productName:
|
|
456
|
-
brandInitial:
|
|
457
|
-
enablePWA:
|
|
458
|
-
toasterPosition:
|
|
459
|
-
children:
|
|
427
|
+
children: /* @__PURE__ */ U(ee, { children: /* @__PURE__ */ U(oe, {
|
|
428
|
+
i18nProductId: x,
|
|
429
|
+
fallbackTranslations: k,
|
|
430
|
+
defaultBrand: w,
|
|
431
|
+
productName: h,
|
|
432
|
+
brandInitial: E,
|
|
433
|
+
enablePWA: T,
|
|
434
|
+
toasterPosition: j,
|
|
435
|
+
children: p
|
|
460
436
|
}) })
|
|
461
437
|
})
|
|
462
438
|
})
|
|
@@ -467,4 +443,4 @@ function be({ config: n, children: i, clearAuthStore: a }) {
|
|
|
467
443
|
});
|
|
468
444
|
}
|
|
469
445
|
//#endregion
|
|
470
|
-
export {
|
|
446
|
+
export { de as AppShellProvider, Q as resolveAppShellObservabilityConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthBridgeClient.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/AuthBridgeClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACrC,MAAM,EAAE;QACN,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,GAAG,IAAI,CAAC;IACT,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EACA,WAAW,GACX,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,qBAAqB,GACrB,oBAAoB,GACpB,mBAAmB,CAAC;IACxB,OAAO,CAAC,EAAE,eAAe,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACrE,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;AAKlE,MAAM,WAAW,uBAAuB;IACtC,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACnC,8DAA8D;IAC9D,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,cAAc,CAAW;IACjC,OAAO,CAAC,cAAc,CAAC,CAAqB;IAC5C,OAAO,CAAC,KAAK,CAAU;IACvB,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,eAAe,CAAuB;IAC9C,OAAO,CAAC,cAAc,CAAgD;IACtE,OAAO,CAAC,SAAS,CAAS;gBAEd,OAAO,EAAE,uBAAuB;IAsB5C;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthBridgeClient.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/AuthBridgeClient.ts"],"names":[],"mappings":"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"}
|
|
@@ -31,12 +31,6 @@ var n = "burdenoff-auth-bridge", r = "burdenoff-auth-client", i = class {
|
|
|
31
31
|
});
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
try {
|
|
35
|
-
let e = new URL(this.bridgeUrl).origin;
|
|
36
|
-
!(window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1") && e !== window.location.origin && "requestStorageAccessFor" in document && (await document.requestStorageAccessFor(e), this.log("requestStorageAccessFor() granted for", e));
|
|
37
|
-
} catch {
|
|
38
|
-
this.log("requestStorageAccessFor() not available or denied");
|
|
39
|
-
}
|
|
40
34
|
this.iframe = document.createElement("iframe"), this.iframe.src = this.bridgeUrl, this.iframe.style.display = "none", this.iframe.style.width = "0", this.iframe.style.height = "0", this.iframe.style.border = "none", this.iframe.setAttribute("aria-hidden", "true"), this.iframe.setAttribute("tabindex", "-1"), this.iframe.setAttribute("allow", "storage-access"), this.iframe.id = "auth-session-bridge", this.iframe.title = "Auth Session Bridge", this.messageHandler = this.handleMessage.bind(this), window.addEventListener("message", this.messageHandler), this.iframe.onload = () => {
|
|
41
35
|
if (this.destroyed) return;
|
|
42
36
|
this.log("Bridge iframe loaded");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { G as e, j as t, w as n } from "../../../node_modules
|
|
2
|
+
import { G as e, j as t, w as n } from "../../../node_modules/web-vitals/dist/web-vitals.js";
|
|
3
3
|
import { useEffect as r } from "react";
|
|
4
4
|
import { Fragment as i, jsx as a } from "react/jsx-runtime";
|
|
5
5
|
//#region src/shared/providers/shell/ObservabilityProvider.tsx
|