@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.
Files changed (175) hide show
  1. package/dist/button/Button.d.ts +1 -1
  2. package/dist/chrome/sideNavigation/helpers.d.ts.map +1 -1
  3. package/dist/chrome/sideNavigation/helpers.js +2 -2
  4. package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/deserialize.js +1 -1
  5. package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/index.js +1 -1
  6. package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/serialize.js +1 -1
  7. package/dist/node_modules/{.bun/bail@2.0.2/node_modules/bail → bail}/index.js +1 -1
  8. package/dist/node_modules/{.bun/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens → comma-separated-tokens}/index.js +1 -1
  9. 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
  10. package/dist/node_modules/{.bun/devlop@1.1.0/node_modules/devlop → devlop}/lib/default.js +1 -1
  11. 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
  12. package/dist/node_modules/{.bun/extend@3.0.2/node_modules/extend → extend}/index.js +2 -2
  13. 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
  14. package/dist/node_modules/{.bun/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace → hast-util-whitespace}/lib/index.js +1 -1
  15. package/dist/node_modules/{.bun/html-url-attributes@3.0.1/node_modules/html-url-attributes → html-url-attributes}/lib/index.js +1 -1
  16. package/dist/node_modules/{.bun/inline-style-parser@0.2.7/node_modules/inline-style-parser → inline-style-parser}/cjs/index.js +2 -2
  17. package/dist/node_modules/{.bun/is-plain-obj@4.1.0/node_modules/is-plain-obj → is-plain-obj}/index.js +1 -1
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +11 -0
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. package/dist/node_modules/micromark/lib/constructs.js +80 -0
  49. package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/create-tokenizer.js +4 -4
  50. package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/content.js +3 -3
  51. package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/document.js +4 -4
  52. package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/flow.js +4 -4
  53. package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/text.js +1 -1
  54. package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/parse.js +2 -2
  55. package/dist/node_modules/micromark/lib/postprocess.js +8 -0
  56. package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/preprocess.js +1 -1
  57. package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.js +4 -4
  58. package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.js +2 -2
  59. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.js +4 -4
  67. package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.js +8 -8
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  76. package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.js +3 -3
  77. 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
  78. 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
  79. package/dist/node_modules/{.bun/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination → micromark-factory-destination}/index.js +2 -2
  80. package/dist/node_modules/{.bun/micromark-factory-label@2.0.1/node_modules/micromark-factory-label → micromark-factory-label}/index.js +2 -2
  81. package/dist/node_modules/{.bun/micromark-factory-space@2.0.1/node_modules/micromark-factory-space → micromark-factory-space}/index.js +2 -2
  82. package/dist/node_modules/{.bun/micromark-factory-title@2.0.1/node_modules/micromark-factory-title → micromark-factory-title}/index.js +3 -3
  83. package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
  84. package/dist/node_modules/{.bun/micromark-util-character@2.1.1/node_modules/micromark-util-character → micromark-util-character}/index.js +1 -1
  85. package/dist/node_modules/{.bun/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked → micromark-util-chunked}/index.js +1 -1
  86. package/dist/node_modules/micromark-util-classify-character/index.js +8 -0
  87. 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
  88. 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
  89. package/dist/node_modules/micromark-util-decode-string/index.js +17 -0
  90. 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
  91. 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
  92. 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
  93. 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
  94. package/dist/node_modules/{.bun/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.js +2 -2
  95. 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
  96. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/index.js +1 -1
  97. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/aria.js +1 -1
  98. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/find.js +1 -1
  99. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/hast-to-react.js +1 -1
  100. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/html.js +1 -1
  101. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  102. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/svg.js +1 -1
  103. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/case-insensitive-transform.js +1 -1
  104. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  105. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/create.js +1 -1
  106. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/defined-info.js +1 -1
  107. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/info.js +1 -1
  108. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/merge.js +1 -1
  109. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/schema.js +1 -1
  110. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/types.js +2 -2
  111. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xlink.js +1 -1
  112. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xml.js +1 -1
  113. package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xmlns.js +1 -1
  114. 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
  115. package/dist/node_modules/{.bun/react-markdown@10.1.0_b2e33729a97476bf/node_modules/react-markdown → react-markdown}/lib/index.js +9 -9
  116. package/dist/node_modules/{.bun/remark-parse@11.0.0/node_modules/remark-parse → remark-parse}/lib/index.js +2 -2
  117. package/dist/node_modules/{.bun/remark-rehype@11.1.2/node_modules/remark-rehype → remark-rehype}/lib/index.js +2 -2
  118. package/dist/node_modules/space-separated-tokens/index.js +6 -0
  119. package/dist/node_modules/{.bun/style-to-js@1.1.21/node_modules/style-to-js → style-to-js}/cjs/index.js +3 -3
  120. package/dist/node_modules/{.bun/style-to-js@1.1.21/node_modules/style-to-js → style-to-js}/cjs/utilities.js +2 -2
  121. package/dist/node_modules/{.bun/style-to-object@1.0.14/node_modules/style-to-object → style-to-object}/cjs/index.js +3 -3
  122. package/dist/node_modules/{.bun/trim-lines@3.0.1/node_modules/trim-lines → trim-lines}/index.js +1 -1
  123. package/dist/node_modules/{.bun/trough@2.2.0/node_modules/trough → trough}/lib/index.js +1 -1
  124. package/dist/node_modules/{.bun/unified@11.0.5/node_modules/unified → unified}/lib/callable-instance.js +1 -1
  125. package/dist/node_modules/{.bun/unified@11.0.5/node_modules/unified → unified}/lib/index.js +8 -8
  126. package/dist/node_modules/{.bun/unist-util-is@6.0.1/node_modules/unist-util-is → unist-util-is}/lib/index.js +1 -1
  127. package/dist/node_modules/{.bun/unist-util-position@5.0.0/node_modules/unist-util-position → unist-util-position}/lib/index.js +1 -1
  128. 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
  129. package/dist/node_modules/{.bun/unist-util-visit@5.1.0/node_modules/unist-util-visit → unist-util-visit}/lib/index.js +2 -2
  130. package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  131. 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
  132. package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/index.js +2 -2
  133. package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minpath.browser.js +1 -1
  134. package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minproc.browser.js +1 -1
  135. package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minurl.browser.js +1 -1
  136. package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minurl.shared.js +1 -1
  137. package/dist/node_modules/{.bun/vfile-message@4.0.3/node_modules/vfile-message → vfile-message}/lib/index.js +2 -2
  138. package/dist/node_modules/{.bun/web-vitals@4.2.4/node_modules/web-vitals → web-vitals}/dist/web-vitals.js +1 -1
  139. package/dist/shared/components/MicrofrontendErrorBoundary.js +1 -1
  140. package/dist/shared/graphql/client.d.ts.map +1 -1
  141. package/dist/shared/graphql/client.js +83 -95
  142. package/dist/shared/graphql/fetch.d.ts.map +1 -1
  143. package/dist/shared/graphql/fetch.js +107 -130
  144. package/dist/shared/pages/LegalPage.js +1 -1
  145. package/dist/shared/providers/AppShellProvider.d.ts +4 -4
  146. package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
  147. package/dist/shared/providers/AppShellProvider.js +181 -205
  148. package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +1 -1
  149. package/dist/shared/providers/shell/AuthBridgeClient.js +0 -6
  150. package/dist/shared/providers/shell/ObservabilityProvider.js +1 -1
  151. package/dist/shared/tours/toursContext/useTourMutations.js +29 -29
  152. package/dist/shared/utils/backendErrors.d.ts +2 -0
  153. package/dist/shared/utils/backendErrors.d.ts.map +1 -1
  154. package/dist/shared/utils/index.d.ts +5 -7
  155. package/dist/shared/utils/index.d.ts.map +1 -1
  156. package/dist/shared/utils/quotaErrors.js +8 -11
  157. package/dist/shared-tours.js +3 -3
  158. package/dist/shared-utils.js +11 -12
  159. package/dist/shared.js +95 -96
  160. package/dist/ui/button.d.ts +1 -1
  161. package/dist/utils/index.js +0 -1
  162. package/package.json +1 -1
  163. package/dist/node_modules/.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -11
  164. package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
  165. package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
  166. package/dist/node_modules/.bun/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js +0 -12
  167. package/dist/node_modules/.bun/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js +0 -8
  168. package/dist/node_modules/.bun/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js +0 -17
  169. package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/constructs.js +0 -80
  170. package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/postprocess.js +0 -8
  171. package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/normalize.js +0 -6
  172. package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  173. package/dist/node_modules/.bun/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +0 -6
  174. package/dist/node_modules/.bun/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js +0 -6
  175. 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 { BACKEND_ERROR_EVENT as n, dispatchBackendErrorEvent as r, isBackendErrorDisplay as i, shouldToastBackendError as a } from "../utils/backendErrors.js";
4
- import { graphqlFetch as o } from "../graphql/fetch.js";
5
- import { attemptTokenRefresh as s, clearAuthSessionStorage as c, isAuthNetworkError as l } from "../utils/authErrorHandling.js";
6
- import { AuthProvider as u } from "./shell/AuthProvider.js";
7
- import { ActiveContextProvider as d } from "./shell/ActiveContextProvider.js";
8
- import { LogManager as ee } from "../logger/LogManager.js";
9
- import { ConsoleTransport as te } from "../logger/ConsoleTransport.js";
10
- import { ThemeProvider as f } from "./shell/ThemeProvider.js";
11
- import { ErrorFallback as ne } from "../components/ErrorFallback.js";
12
- import { m as p } from "../../node_modules/.bun/react-error-boundary@6.1.1_3f10a4be4e334a9b/node_modules/react-error-boundary/dist/react-error-boundary.js";
13
- import { PWAInstallBanner as m } from "../components/PWAInstallBanner.js";
14
- import { I18nProvider as h } from "./shell/I18nProvider.js";
15
- import { FeatureFlagsProvider as g } from "./shell/FeatureFlagsProvider.js";
16
- import { FeatureFlagProvider as _ } from "../feature-flags/FeatureFlagProvider.js";
17
- import { GlobalUiProvider as v } from "./shell/GlobalUiProvider.js";
18
- import { ShellUiProvider as y } from "./shell/ShellUiProvider.js";
19
- import { ContextManagerProvider as b } from "./shell/ContextManagerProvider.js";
20
- import { AuthTokenProvider as x } from "./shell/AuthTokenProvider.js";
21
- import { MultiGatewayProvider as re } from "./shell/MultiGatewayProvider.js";
22
- import { G as S, j as C, w } from "../../node_modules/.bun/web-vitals@4.2.4/node_modules/web-vitals/dist/web-vitals.js";
23
- import { ProfileI18nBridge as T } from "./shell/ProfileI18nBridge.js";
24
- import { ProfileGeographyBridge as E } from "./shell/ProfileGeographyBridge.js";
25
- import { AppShellContextProvider as ie } from "./shell/AppShellContext.js";
26
- import { DevtoolsSink as D } from "../events/sinks/DevtoolsSink.js";
27
- import { BroadcastChannelSink as O } from "../events/sinks/BroadcastChannelSink.js";
28
- import { BackendAuditSink as k } from "../events/sinks/BackendAuditSink.js";
29
- import { RybbitSink as A } from "../events/sinks/RybbitSink.js";
30
- import { OtelBrowserSink as j } from "../events/sinks/OtelBrowserSink.js";
31
- import { EventBusProvider as ae, useEventBus as M } from "../../shared-events.js";
32
- import { useReferralAttribution as N } from "../hooks/useReferralAttribution.js";
33
- import { TourPlayerProvider as P } from "../tours/TourPlayerProvider.js";
34
- import { ToursProvider as F, useToursContext as I } from "../tours/ToursContext.js";
35
- import { TourInitializer as L } from "../tours/TourInitializer.js";
36
- import { Suspense as R, useCallback as z, useEffect as B, useMemo as V, useRef as H } from "react";
37
- import { Fragment as U, jsx as W, jsxs as G } from "react/jsx-runtime";
38
- import { BrowserRouter as K, useLocation as q } from "react-router-dom";
39
- import { Toaster as J, toast as Y } from "sonner";
40
- import { MutationCache as oe, QueryCache as se, QueryClient as ce, QueryClientProvider as le } from "@tanstack/react-query";
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 X = {
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
- }, Z = [
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
- ], ue = 4e3;
77
- function de(e) {
79
+ ];
80
+ function X(e) {
78
81
  return e === "prod" || e === "production" ? "prod" : e === "alpha" || e === "staging" ? "alpha" : "dev";
79
82
  }
80
- function Q(e, t) {
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 fe() {
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 $(e, t) {
93
- let n = de(t.VITE_DEPLOY_ENV ?? t.MODE), r = Q(t, n), i = X[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);
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: Z,
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 pe({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
120
- let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = I(), c = z((e, t) => e.steps?.[t], []);
121
- return /* @__PURE__ */ G(P, {
122
- onTourStart: z((e) => {
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: z((e) => {
128
+ onTourComplete: R((e) => {
126
129
  a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
127
130
  }, [s, a]),
128
- onTourSkip: z((e, t) => {
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: z((e, t) => {
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: z((e, t) => {
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__ */ W(L, {}),
161
+ /* @__PURE__ */ U(I, {}),
159
162
  e,
160
- /* @__PURE__ */ W(me, {}),
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__ */ W(R, {
168
+ t && /* @__PURE__ */ U(L, {
167
169
  fallback: null,
168
- children: /* @__PURE__ */ W(m, {
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 me() {
177
- let e = H(null);
178
- return B(() => {
179
- let t = (t) => {
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__ */ W(v, { children: /* @__PURE__ */ W(y, { children: /* @__PURE__ */ W(p, {
185
+ children: /* @__PURE__ */ U(_, { children: /* @__PURE__ */ U(v, { children: /* @__PURE__ */ U(f, {
202
186
  fallback: null,
203
- children: /* @__PURE__ */ W(F, {
187
+ children: /* @__PURE__ */ U(P, {
204
188
  disabled: l,
205
- children: /* @__PURE__ */ W(pe, {
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__ */ G(f, {
199
+ return /* @__PURE__ */ W(u, {
216
200
  defaultBrand: r,
217
- children: [/* @__PURE__ */ W(ge, {}), l ? /* @__PURE__ */ W(h, {
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: u
231
- }) : /* @__PURE__ */ W(T, {
214
+ children: d
215
+ }) : /* @__PURE__ */ U(w, {
232
216
  i18nProductId: t,
233
217
  fallbackTranslations: n,
234
- children: u
218
+ children: d
235
219
  })]
236
220
  });
237
221
  }
238
- function ge() {
239
- let e = q();
240
- return B(() => {
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 _e(e) {
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 ve() {
268
- let e = M(), t = q(), n = H(void 0), r = H(void 0);
269
- return B(() => {
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
- ]), B(() => {
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: _e(t.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]), B(() => {
299
- S((t) => {
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
- }), w((t) => {
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
- }), C((t) => {
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 ye({ config: e, productSlug: t }) {
324
- return /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ W(ve, {}), e.enabled === !1 ? null : /* @__PURE__ */ G(U, { children: [
325
- e.devtools ? /* @__PURE__ */ W(D, { enabled: !0 }) : null,
326
- e.broadcast === !1 ? null : /* @__PURE__ */ W(O, {}),
327
- e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ W(k, { endpoint: e.backendAudit.endpoint }) : null,
328
- e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ W(A, {
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__ */ W(j, {
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 be({ config: n, children: i, clearAuthStore: a }) {
343
- let { productName: f, productSlug: m = f.toLowerCase().replace(/\s+/g, ""), tagline: h = "", domain: g, i18nProductId: _, gatewayUrls: v, authBridge: y, defaultBrand: S = "default", enablePWA: C = !0, brandInitial: w = f.charAt(0), defaultGateway: T = "workspace", enableSubscriptions: E = !0, fallbackTranslations: D, queryClientOptions: O, toasterPosition: k = "bottom-right", observability: A } = n, j = A ?? $(m, fe()), M = V(() => ({
344
- productName: f,
345
- productSlug: m,
346
- brandInitial: w,
347
- tagline: h,
348
- domain: g
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
- ]), N = H(!1), P = H(!1), F = H(null), I = H(!!y?.url), L = z(() => {
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
- })() || I.current || N.current) return;
366
- N.current = !0, c(a);
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
- N.current = !1;
353
+ F.current = !1;
370
354
  return;
371
355
  }
372
356
  window.location.replace(n);
373
- }, [a]), R = V(() => ({
374
- globalBaseUrl: v.globalBaseUrl,
375
- isRefreshing: P,
376
- refreshPromise: F
377
- }), [v.globalBaseUrl]), U = z(async () => s(R), [R]), q = z(async () => {
378
- window.location.pathname.startsWith("/auth/") || await U() || L();
379
- }, [U, L]), J = z(async (e) => {
380
- l(e) ? await U() || L() : console.error("[Network] Backend unreachable:", e.message);
381
- }, [U, L]), Y = z(async (e) => {
382
- let t = await o({
383
- gateway: "global",
384
- baseUrl: v.globalBaseUrl,
385
- authToken: "",
386
- query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
387
- variables: { token: e }
388
- });
389
- if (t.errors?.length) throw Error(t.errors[0].message ?? "Token refresh failed");
390
- let n = t.data.refreshToken;
391
- return {
392
- accessToken: n.accessToken,
393
- refreshToken: n.refreshToken,
394
- expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
395
- };
396
- }, [v.globalBaseUrl]), X = z(() => t("organization"), []), Z = V(() => new ce({
397
- queryCache: new se({ onError: (e) => {
398
- r(e);
399
- } }),
400
- mutationCache: new oe({ onError: (e) => {
401
- r(e);
402
- } }),
403
- defaultOptions: { queries: {
404
- staleTime: O?.staleTime ?? 300 * 1e3,
405
- retry: O?.retry ?? 1,
406
- refetchOnWindowFocus: O?.refetchOnWindowFocus ?? !1
407
- } }
408
- }), [O]);
409
- return B(() => {
410
- let e = ee.getInstance();
411
- e.getLogger("shell") || e.getLogger("shell").addTransport(new te());
412
- }, []), /* @__PURE__ */ W(ie, {
413
- value: M,
414
- children: /* @__PURE__ */ W(ae, {
415
- appName: m,
416
- appVersion: j.appVersion,
417
- appEnv: j.appEnv,
418
- sourceMfe: m,
419
- children: /* @__PURE__ */ W(p, {
420
- FallbackComponent: ne,
421
- children: /* @__PURE__ */ G(K, { children: [/* @__PURE__ */ W(ye, {
422
- config: j,
423
- productSlug: m
424
- }), /* @__PURE__ */ W(le, {
425
- client: Z,
426
- children: /* @__PURE__ */ W(x, { children: /* @__PURE__ */ W(re, {
427
- workspaceBaseUrl: v.workspaceBaseUrl,
428
- globalBaseUrl: v.globalBaseUrl,
429
- organizationId: X,
430
- defaultGateway: T,
431
- enableSubscriptions: E,
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
- I.current = !1;
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
- L();
423
+ G();
448
424
  },
449
- children: /* @__PURE__ */ W(d, {
425
+ children: /* @__PURE__ */ U(s, {
450
426
  syncToUrl: !0,
451
- children: /* @__PURE__ */ W(b, { children: /* @__PURE__ */ W(he, {
452
- i18nProductId: _,
453
- fallbackTranslations: D,
454
- defaultBrand: S,
455
- productName: f,
456
- brandInitial: w,
457
- enablePWA: C,
458
- toasterPosition: k,
459
- children: i
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 { be as AppShellProvider, $ as resolveAppShellObservabilityConfig };
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,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S;gBAEd,OAAO,EAAE,uBAAuB;IAsB5C;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAyE3B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAsB3B;;;OAGG;IACH,OAAO,CAAC,YAAY,UAAO,GAAG,IAAI;IAmBlC;;OAEG;IACH,WAAW,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAsCzC;;OAEG;IACH,YAAY,IAAI,IAAI;IAapB;;OAEG;IACH,eAAe,IAAI,IAAI;IAavB;;OAEG;IACH,kBAAkB,CAAC,MAAM,EAAE,eAAe,CAAC,QAAQ,CAAC,GAAG,IAAI;IAQ3D;;OAEG;IACH,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAU5C,OAAO,CAAC,aAAa;IAmDrB,OAAO,CAAC,YAAY;IAkBpB,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,GAAG;CAKZ;AAeD,wBAAgB,cAAc,CAAC,OAAO,EAAE,uBAAuB,GAAG,gBAAgB,CAkCjF;AAED,wBAAgB,aAAa,IAAI,gBAAgB,GAAG,IAAI,CAEvD;AAED;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,OAAO,CAEjD;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,UAAQ,GAAG,IAAI,CAW5D"}
@@ -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/.bun/web-vitals@4.2.4/node_modules/web-vitals/dist/web-vitals.js";
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