@burdenoff/fe-libs 2026.1007.3 → 2026.1007.5
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/chrome/AutoBreadcrumbs.d.ts.map +1 -1
- package/dist/chrome/AutoBreadcrumbs.js +65 -76
- package/dist/chrome/Breadcrumb.d.ts.map +1 -1
- package/dist/chrome/Breadcrumbs.d.ts.map +1 -1
- package/dist/chrome/Breadcrumbs.js +47 -46
- package/dist/chrome/ContextSwitcher.js +86 -86
- package/dist/chrome/HeaderBar.d.ts.map +1 -1
- package/dist/chrome/HeaderBar.js +111 -107
- package/dist/chrome/HeaderThemeSwitcher.d.ts.map +1 -1
- package/dist/chrome/HeaderThemeSwitcher.js +46 -45
- package/dist/chrome/LanguageSwitcher.js +4 -4
- package/dist/chrome/MobileTabBar.js +4 -4
- package/dist/chrome/PageHeader.d.ts.map +1 -1
- package/dist/chrome/PageHeader.js +32 -30
- package/dist/chrome/PersonaSurfaceControls.js +8 -8
- package/dist/chrome/ProductSideNav.js +6 -6
- package/dist/chrome/ProfileSwitcher.d.ts.map +1 -1
- package/dist/chrome/ProfileSwitcher.js +89 -88
- package/dist/chrome/SideNavigation.js +4 -4
- package/dist/chrome/Tabs.d.ts.map +1 -1
- package/dist/chrome/Tabs.js +30 -29
- package/dist/chrome/breadcrumbLabel.d.ts +10 -0
- package/dist/chrome/breadcrumbLabel.d.ts.map +1 -0
- package/dist/chrome/breadcrumbLabel.js +31 -0
- package/dist/chrome/contextSwitcher/TriggerButton.d.ts.map +1 -1
- package/dist/chrome/contextSwitcher/TriggerButton.js +40 -36
- package/dist/chrome/notificationCenter/BellButton.d.ts.map +1 -1
- package/dist/chrome/notificationCenter/BellButton.js +29 -25
- package/dist/chrome/shellLabelManifest.d.ts +27 -0
- package/dist/chrome/shellLabelManifest.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/SidebarHeader.d.ts.map +1 -1
- package/dist/chrome/sideNavigation/SidebarHeader.js +23 -22
- package/dist/shared/assistant/appControls/languageReply.d.ts +6 -1
- package/dist/shared/assistant/appControls/languageReply.d.ts.map +1 -1
- package/dist/shared/assistant/i18nManifest.d.ts +20 -5
- package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
- package/dist/shared/assistant/i18nManifest.js +30 -22
- package/dist/shared/assistant/index.d.ts +3 -0
- package/dist/shared/assistant/index.d.ts.map +1 -1
- package/dist/shared/assistant/productCopy.d.ts +78 -0
- package/dist/shared/assistant/productCopy.d.ts.map +1 -0
- package/dist/shared/assistant/productCopy.js +45 -0
- package/dist/shared/assistant/store.d.ts +10 -0
- package/dist/shared/assistant/store.d.ts.map +1 -1
- package/dist/shared/assistant/store.js +19 -8
- package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantChatArea.js +1070 -1067
- package/dist/shared/assistant/ui/AssistantEmptyState.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantEmptyState.js +30 -22
- package/dist/shared/assistant/ui/AssistantHeader.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantHeader.js +46 -45
- package/dist/shared/assistant/ui/useVoiceSession.d.ts +14 -1
- package/dist/shared/assistant/ui/useVoiceSession.d.ts.map +1 -1
- package/dist/shared/assistant/ui/useVoiceSession.js +241 -233
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts +7 -0
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts.map +1 -1
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.js +137 -130
- package/dist/shared/assistant/ui/voice/HandsFreePrivacyNotice.d.ts +27 -0
- package/dist/shared/assistant/ui/voice/HandsFreePrivacyNotice.d.ts.map +1 -0
- package/dist/shared/assistant/ui/voice/HandsFreePrivacyNotice.js +52 -0
- package/dist/shared/assistant/voice/handsfree/backendStreamTransport.d.ts +29 -6
- package/dist/shared/assistant/voice/handsfree/backendStreamTransport.d.ts.map +1 -1
- package/dist/shared/assistant/voice/handsfree/backendStreamTransport.js +138 -63
- package/dist/shared/assistant/voice/handsfree/handsFreeController.d.ts +7 -1
- package/dist/shared/assistant/voice/handsfree/handsFreeController.d.ts.map +1 -1
- package/dist/shared/assistant/voice/handsfree/handsFreeRuntime.d.ts +18 -10
- package/dist/shared/assistant/voice/handsfree/handsFreeRuntime.d.ts.map +1 -1
- package/dist/shared/assistant/voice/handsfree/handsFreeRuntime.js +46 -57
- package/dist/shared/assistant/voice/handsfree/streamingConfig.d.ts +103 -0
- package/dist/shared/assistant/voice/handsfree/streamingConfig.d.ts.map +1 -0
- package/dist/shared/assistant/voice/handsfree/streamingConfig.js +71 -0
- package/dist/shared/assistant/voice/handsfree/sttTransport.d.ts +12 -7
- package/dist/shared/assistant/voice/handsfree/sttTransport.d.ts.map +1 -1
- package/dist/shared/assistant/voice/handsfree/sttTransport.js +1 -1
- package/dist/shared/assistant/voice/handsfree/useHandsFreeInterrupt.d.ts +23 -1
- package/dist/shared/assistant/voice/handsfree/useHandsFreeInterrupt.d.ts.map +1 -1
- package/dist/shared/assistant/voice/handsfree/useHandsFreeInterrupt.js +63 -50
- package/dist/shared/components/ContextConversationWidget.js +1 -1
- package/dist/shared/events/sinks/RybbitSink.d.ts.map +1 -1
- package/dist/shared/events/sinks/RybbitSink.js +66 -69
- package/dist/shared/providers/AppShellProvider.d.ts +17 -0
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +188 -180
- package/dist/shared/providers/shell/I18nProvider.d.ts +92 -4
- package/dist/shared/providers/shell/I18nProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/I18nProvider.js +187 -79
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +18 -2
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +1 -1
- package/dist/shared/providers/shell/ProfileI18nBridge.js +55 -41
- package/dist/shared/providers/shell/directionMode.d.ts +25 -0
- package/dist/shared/providers/shell/directionMode.d.ts.map +1 -0
- package/dist/shared/providers/shell/directionMode.js +34 -0
- package/dist/shared/providers/shell/index.d.ts +4 -2
- package/dist/shared/providers/shell/index.d.ts.map +1 -1
- package/dist/shared/providers/shell/translationLayers.d.ts +30 -0
- package/dist/shared/providers/shell/translationLayers.d.ts.map +1 -0
- package/dist/shared/providers/shell/translationLayers.js +35 -0
- package/dist/shared/providers/shell/translationStore.d.ts +55 -0
- package/dist/shared/providers/shell/translationStore.d.ts.map +1 -0
- package/dist/shared/providers/shell/translationStore.js +100 -0
- package/dist/shared/providers/shell/useShellLabel.d.ts +13 -1
- package/dist/shared/providers/shell/useShellLabel.d.ts.map +1 -1
- package/dist/shared/providers/shell/useShellLabel.js +10 -9
- package/dist/shared-assistant.js +190 -187
- package/dist/shared-providers-shell.js +20 -19
- package/dist/ui/boff-ui2.d.ts.map +1 -1
- package/dist/ui/cta-overflow-menu.d.ts.map +1 -1
- package/dist/ui/cta-overflow-menu.js +20 -18
- package/dist/ui/guidance.d.ts +1 -1
- package/dist/ui/guidance.d.ts.map +1 -1
- package/dist/ui/guidance.js +53 -52
- package/package.json +3 -2
|
@@ -3,46 +3,47 @@ import { isShellLessRoute as t } from "../config/shellRoutes.js";
|
|
|
3
3
|
import { readActiveContextValueWithUrlPrecedence as n } from "./shell/ActiveContextStorage.js";
|
|
4
4
|
import { BACKEND_ERROR_EVENT as r, CONNECTION_STATUS_EVENT as i, dispatchBackendErrorEvent as a, isBackendErrorDisplay as o, shouldToastBackendError as s } from "../utils/backendErrors.js";
|
|
5
5
|
import { SESSION_EXPIRED_EVENT as c, graphqlFetch as l } from "../graphql/fetch.js";
|
|
6
|
-
import { attemptTokenRefresh as u, clearAuthSessionStorage as
|
|
7
|
-
import { AppShellContextProvider as
|
|
8
|
-
import { AuthProvider as
|
|
9
|
-
import { ActiveContextProvider as
|
|
10
|
-
import { LogManager as
|
|
6
|
+
import { attemptTokenRefresh as u, clearAuthSessionStorage as ee, getSharedTokenRefreshRefs as d, isAuthNetworkError as te } from "../utils/authErrorHandling.js";
|
|
7
|
+
import { AppShellContextProvider as f } from "./shell/AppShellContext.js";
|
|
8
|
+
import { AuthProvider as p } from "./shell/AuthProvider.js";
|
|
9
|
+
import { ActiveContextProvider as m } from "./shell/ActiveContextProvider.js";
|
|
10
|
+
import { LogManager as h } from "../logger/LogManager.js";
|
|
11
11
|
import { ConsoleTransport as ne } from "../logger/ConsoleTransport.js";
|
|
12
12
|
import { ThemeProvider as g } from "./shell/ThemeProvider.js";
|
|
13
13
|
import { ErrorFallback as re } from "../components/ErrorFallback.js";
|
|
14
14
|
import { m as _ } from "../../node_modules/react-error-boundary/dist/react-error-boundary.js";
|
|
15
15
|
import { PWAInstallBanner as v } from "../components/PWAInstallBanner.js";
|
|
16
|
-
import { FeatureFlagsProvider as
|
|
17
|
-
import { FeatureFlagProvider as
|
|
18
|
-
import { GlobalUiProvider as
|
|
19
|
-
import { ShellUiProvider as
|
|
20
|
-
import { ContextManagerProvider as
|
|
21
|
-
import { AuthTokenProvider as
|
|
22
|
-
import { MultiGatewayProvider as
|
|
23
|
-
import { G as
|
|
24
|
-
import { ProfileI18nBridge as
|
|
25
|
-
import { ProfileGeographyBridge as
|
|
26
|
-
import { DesktopUpdateToast as
|
|
27
|
-
import { DevtoolsSink as
|
|
28
|
-
import { BroadcastChannelSink as
|
|
29
|
-
import { BackendAuditSink as
|
|
30
|
-
import { AnalyticsConsentBanner as
|
|
31
|
-
import { OtelBrowserSink as
|
|
32
|
-
import { EventBusProvider as
|
|
33
|
-
import { useReferralAttribution as
|
|
34
|
-
import { usePushDeviceRegistration as
|
|
35
|
-
import { TourPermissionsBoundary as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
16
|
+
import { FeatureFlagsProvider as ie } from "./shell/FeatureFlagsProvider.js";
|
|
17
|
+
import { FeatureFlagProvider as ae } from "../feature-flags/FeatureFlagProvider.js";
|
|
18
|
+
import { GlobalUiProvider as y } from "./shell/GlobalUiProvider.js";
|
|
19
|
+
import { ShellUiProvider as b } from "./shell/ShellUiProvider.js";
|
|
20
|
+
import { ContextManagerProvider as oe } from "./shell/ContextManagerProvider.js";
|
|
21
|
+
import { AuthTokenProvider as se } from "./shell/AuthTokenProvider.js";
|
|
22
|
+
import { MultiGatewayProvider as ce } from "./shell/MultiGatewayProvider.js";
|
|
23
|
+
import { G as x, Q as S, j as C, w } from "../../node_modules/web-vitals/dist/web-vitals.js";
|
|
24
|
+
import { ProfileI18nBridge as T } from "./shell/ProfileI18nBridge.js";
|
|
25
|
+
import { ProfileGeographyBridge as le } from "./shell/ProfileGeographyBridge.js";
|
|
26
|
+
import { DesktopUpdateToast as ue } from "../components/DesktopUpdateToast.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 { AnalyticsConsentBanner as k, RybbitSink as A } from "../events/sinks/RybbitSink.js";
|
|
31
|
+
import { OtelBrowserSink as j } from "../events/sinks/OtelBrowserSink.js";
|
|
32
|
+
import { EventBusProvider as de, useEventBus as M } from "../../shared-events.js";
|
|
33
|
+
import { useReferralAttribution as N } from "../hooks/useReferralAttribution.js";
|
|
34
|
+
import { usePushDeviceRegistration as P } from "../hooks/usePushDeviceRegistration.js";
|
|
35
|
+
import { TourPermissionsBoundary as F } from "../tours/TourPermissionsBoundary.js";
|
|
36
|
+
import { resolveBrowserDirectionMode as fe } from "./shell/directionMode.js";
|
|
37
|
+
import { TourPlayerProvider as I } from "../tours/TourPlayerProvider.js";
|
|
38
|
+
import { ToursProvider as L, useToursContext as R } from "../tours/ToursContext.js";
|
|
39
|
+
import { TourInitializer as z } from "../tours/TourInitializer.js";
|
|
40
|
+
import { Suspense as B, useCallback as V, useEffect as H, useMemo as U, useRef as W, useState as pe } from "react";
|
|
41
|
+
import { Fragment as G, jsx as K, jsxs as q } from "react/jsx-runtime";
|
|
42
|
+
import { BrowserRouter as me, useLocation as J } from "react-router";
|
|
43
|
+
import { Toaster as Y, toast as X } from "sonner";
|
|
44
|
+
import { MutationCache as he, QueryCache as ge, QueryClient as _e, QueryClientProvider as ve } from "@tanstack/react-query";
|
|
44
45
|
//#region src/shared/providers/AppShellProvider.tsx
|
|
45
|
-
var
|
|
46
|
+
var Z = {
|
|
46
47
|
artistrybase: { prod: "cfbecacb6002" },
|
|
47
48
|
atheletebridge: { prod: "c34c6ead7aa8" },
|
|
48
49
|
adaptercloud: {},
|
|
@@ -68,7 +69,7 @@ var Q = {
|
|
|
68
69
|
subscriberbot: {},
|
|
69
70
|
intelwatchtower: {},
|
|
70
71
|
kadaikodi: {}
|
|
71
|
-
},
|
|
72
|
+
}, ye = /* @__PURE__ */ "nav.route.changed,auth.signed_in,auth.signed_out,support.ticket.created,support.ticket.closed,support.ticket.reopened,support.kb.article_rated,conversations.conversation.created,conversations.conversation.archived,notification.item.opened,notification.preference.updated,notification.admin.sent,notification.template.saved,notification.schedule.updated,collabkin.tree.created,collabkin.person.created,collabkin.memory.created,collabkin.story.created,collabkin.member.invited,crewfoundry.page.viewed,crewfoundry.dashboard.viewed,crewfoundry.job_posting.created,crewfoundry.candidate.created,crewfoundry.employee.created,crewfoundry.team.created,crewfoundry.project.created,crewfoundry.course.enrolled,crewfoundry.learning_path.created,crewfoundry.service.listed,crewfoundry.leave.approved,crewfoundry.payroll.processed,crewfoundry.invoice.created,coolandlovely.page.viewed,coolandlovely.brand.created,coolandlovely.collection.created,coolandlovely.style_item.created,coolandlovely.look.created,coolandlovely.collaboration.created,coolandlovely.lookbook.created,coolandlovely.wardrobe.item_added,coolandlovely.search.performed,vibecontrols.agent.registered,atheletebridge.page.viewed,atheletebridge.team.created,atheletebridge.fixture.created,atheletebridge.program.created,atheletebridge.session.completed,atheletebridge.metric.logged,atheletebridge.tournament.created,vibecontrols.agent.gateway_auth_setup,vibecontrols.session.created,vibecontrols.session.started,vibecontrols.session.terminal_opened_in_browser,vibecontrols.session.share_link_created,vibecontrols.session.joined_shared,vibecontrols.tunnel.created,vibecontrols.tunnel.started,vibecontrols.vibedeck.button_executed,vibecontrols.quota.agent_limit_hit,vibecontrols.quota.session_limit_hit,vibecontrols.quota.tunnel_limit_hit,vibecontrols.billing.upgrade_clicked,bigconsole.dashboard.import_clicked,bigconsole.dashboard.imported,bigconsole.dashboard.share_clicked,bigconsole.dashboard.shared,bigconsole.data_sink.import_clicked,bigconsole.data_sink.imported,bigconsole.widget.create_clicked,bigconsole.widget.created,bigconsole.widget.duplicate_clicked,bigconsole.widget.duplicated,bigconsole.ai.generate_clicked,bigconsole.ai.dashboard_generated,bigconsole.ai.create_dashboard_clicked,bigconsole.ai.dashboard_created,assethandler.page.viewed,assethandler.asset.viewed,assethandler.asset.created,assethandler.work_order.viewed,assethandler.work_order.created,assethandler.incident.viewed,assethandler.incident.created,assethandler.change.viewed,assethandler.change.created,assethandler.problem.viewed,assethandler.problem.created,assethandler.maintenance.viewed,assethandler.maintenance.created,assethandler.report.viewed,assethandler.analytics.viewed,movethewheels.page.viewed,movethewheels.shipment.created,movethewheels.shipment.delivered,movethewheels.order.created,movethewheels.route.planned,movethewheels.vehicle.assigned,movethewheels.warehouse.inbound_received,theglobalfuel.dashboard.viewed,theglobalfuel.asset.created,theglobalfuel.production.recorded,theglobalfuel.reserve.created,theglobalfuel.contract.created,theglobalfuel.shipment.scheduled,theglobalfuel.shipment.delivered,theglobalfuel.inventory_lot.created,theglobalfuel.emission.recorded,theglobalfuel.emission.verified,theglobalfuel.compliance_cert.created,housingvista.dashboard.viewed,housingvista.property.created,housingvista.property.updated,housingvista.property.deleted,housingvista.property.viewed,housingvista.shortlist.property_added,housingvista.transaction.created,housingvista.transaction.updated,housingvista.investment.created,housingvista.offer.created,housingvista.viewing.scheduled,housingvista.chat.conversation_opened,housingvista.chat.message_sent,housingvista.analytics.viewed,housingvista.asset.created,housingvista.asset.updated,housingvista.amc.purchased,housingvista.verification.submitted,housingvista.home_loan.apply_clicked,housingvista.market_analytics.viewed,housingvista.search.performed,housingvista.export.requested,manufacturedops.production_order.created,manufacturedops.production_order.updated,manufacturedops.production_order.transitioned,manufacturedops.operation.added,manufacturedops.operation.recorded,manufacturedops.work_center.created,manufacturedops.work_center.updated,manufacturedops.work_center.archived,manufacturedops.material_lot.created,manufacturedops.material_lot.updated,manufacturedops.material_lot.status_updated,manufacturedops.inspection_plan.created,manufacturedops.quality_inspection.recorded,manufacturedops.non_conformance.raised,manufacturedops.non_conformance.updated,manufacturedops.non_conformance.transitioned,manufacturedops.asset.created,manufacturedops.maintenance_work_order.created,manufacturedops.maintenance_work_order.transitioned,manufacturedops.downtime_event.recorded,manufacturedops.page.viewed,subscriberbot.page.viewed,adaptercloud.page.viewed,comradecircle.page.viewed,comradecircle.circle.created,comradecircle.post.created,comradecircle.event.created,comradecircle.member.invited,psw.client.created,psw.client.updated,psw.client.archived,psw.engagement.created,psw.engagement.transitioned,psw.matter.created,psw.matter.closed,psw.timeentry.created,psw.invoice.created,psw.compliance.resolved,psw.conflictcheck.recorded,psw.document.created,psw.practicearea.created,psw.search.performed,psw.export.requested,mybodyshield.page.viewed,mybodyshield.program.created,mybodyshield.program.updated,mybodyshield.program.status_changed,mybodyshield.program.archived,mybodyshield.workout.created,mybodyshield.exercise.created,mybodyshield.session.started,intelwatchtower.page.viewed,intelwatchtower.source.created,intelwatchtower.mission.created,intelwatchtower.mission.assigned,intelwatchtower.mission.completed,intelwatchtower.entity.created,intelwatchtower.entity.linked,intelwatchtower.indicator.created,intelwatchtower.observation.created,intelwatchtower.requirement.created,intelwatchtower.alert.created,intelwatchtower.alert.triaged,intelwatchtower.alert.escalated,intelwatchtower.case.created,intelwatchtower.case.closed,intelwatchtower.report.created,intelwatchtower.report.exported,intelwatchtower.task.created,intelwatchtower.task.completed,intelwatchtower.cop.opened,govcitizenhub.page.viewed,govcitizenhub.dashboard.viewed,govcitizenhub.service.published,govcitizenhub.application.submitted,govcitizenhub.application.decided,govcitizenhub.permit.issued,govcitizenhub.payment.settled,govcitizenhub.grievance.reported,govcitizenhub.grievance.resolved,govcitizenhub.search.performed,cosmicintersection.page.viewed,labsofscience.page.viewed,labsofscience.project.created,labsofscience.experiment.created,labsofscience.protocol.created,labsofscience.dataset.created,labsofscience.inventory_item.created,labsofscience.notebook_entry.signed,labsofscience.pipeline.run_started,hookmovies.page.viewed,headshotmarketing.page.viewed,timecampus.page.viewed,timecampus.dashboard.viewed,timecampus.timer.started,timecampus.timer.stopped,timecampus.time_entry.created,timecampus.timesheet.submitted,timecampus.report.viewed,timecampus.project.viewed,timecampus.meeting.created,timecampus.pomodoro.session.completed,timecampus.focus_score.viewed,kadaikodi.page.viewed,healthybowl.farm.created,healthybowl.crop.created,healthybowl.crop.updated,healthybowl.harvest.recorded,workspaces.page.viewed,workspace.created,project.created,workspace-member.added,project-member.added".split(","), be = {
|
|
72
73
|
"--success-bg": "var(--color-status-success-bgSubtle)",
|
|
73
74
|
"--success-border": "var(--color-status-success-border)",
|
|
74
75
|
"--success-text": "var(--color-status-success-text)",
|
|
@@ -81,8 +82,8 @@ var Q = {
|
|
|
81
82
|
"--error-bg": "var(--color-status-error-bgSubtle)",
|
|
82
83
|
"--error-border": "var(--color-status-error-border)",
|
|
83
84
|
"--error-text": "var(--color-status-error-text)"
|
|
84
|
-
},
|
|
85
|
-
function
|
|
85
|
+
}, xe = 4e3;
|
|
86
|
+
function Se(e) {
|
|
86
87
|
let t = e.technicalMessage ?? e.extensions?.technicalMessage, n = {
|
|
87
88
|
code: e.code,
|
|
88
89
|
operationName: e.operationName,
|
|
@@ -94,13 +95,13 @@ function ye(e) {
|
|
|
94
95
|
};
|
|
95
96
|
console.error("[Burdenoff backend error]", e.message, n);
|
|
96
97
|
}
|
|
97
|
-
function
|
|
98
|
+
function Ce(e) {
|
|
98
99
|
return e === "prod" || e === "production" ? "prod" : e === "alpha" || e === "staging" ? "alpha" : "dev";
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
+
function we(e, t) {
|
|
101
102
|
return e.VITE_DISABLE_ANALYTICS === "true" ? !1 : e.VITE_ENABLE_ANALYTICS === "true" || e.PROD || t !== "dev" ? !0 : e.VITE_ENABLE_ANALYTICS !== "false";
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function Te() {
|
|
104
105
|
return {
|
|
105
106
|
BASE_URL: "/",
|
|
106
107
|
DEV: !1,
|
|
@@ -109,8 +110,8 @@ function Se() {
|
|
|
109
110
|
SSR: !1
|
|
110
111
|
};
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
-
let r =
|
|
113
|
+
function Q(t, n) {
|
|
114
|
+
let r = Ce(n.VITE_DEPLOY_ENV ?? n.MODE), i = we(n, r), a = Z[t] ?? Z[e(t)], o = r === "prod" ? a?.prod : a?.nonProd, s = n.VITE_RYBBIT_SITE_ID || o, c = n.VITE_BACKEND_AUDIT_ENDPOINT || (n.PROD ? "/api/fe-events" : void 0);
|
|
114
115
|
return {
|
|
115
116
|
enabled: i,
|
|
116
117
|
appVersion: n.VITE_APP_VERSION || "0.0.0",
|
|
@@ -121,7 +122,7 @@ function Ce(t, n) {
|
|
|
121
122
|
enabled: i && !!s,
|
|
122
123
|
siteId: s,
|
|
123
124
|
scriptUrl: n.VITE_RYBBIT_SCRIPT_URL,
|
|
124
|
-
allowlist:
|
|
125
|
+
allowlist: ye,
|
|
125
126
|
identifyOn: "auth.signed_in",
|
|
126
127
|
rename: { "nav.route.changed": "pageview" }
|
|
127
128
|
},
|
|
@@ -136,17 +137,17 @@ function Ce(t, n) {
|
|
|
136
137
|
}
|
|
137
138
|
};
|
|
138
139
|
}
|
|
139
|
-
function
|
|
140
|
-
let { trackProgress: a, recordStepCompletion: o, trackEvent: s, progressScopeKey: c } =
|
|
141
|
-
return /* @__PURE__ */
|
|
140
|
+
function Ee({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
|
|
141
|
+
let { trackProgress: a, recordStepCompletion: o, trackEvent: s, progressScopeKey: c } = R(), l = V((e, t) => e.steps?.[t], []);
|
|
142
|
+
return /* @__PURE__ */ q(I, {
|
|
142
143
|
scopeKey: c,
|
|
143
|
-
onTourStart:
|
|
144
|
+
onTourStart: V((e) => {
|
|
144
145
|
a(e.id, "started"), s("TOUR_STARTED", e.id);
|
|
145
146
|
}, [s, a]),
|
|
146
|
-
onTourComplete:
|
|
147
|
+
onTourComplete: V((e) => {
|
|
147
148
|
a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
|
|
148
149
|
}, [s, a]),
|
|
149
|
-
onTourSkip:
|
|
150
|
+
onTourSkip: V((e, t) => {
|
|
150
151
|
let n = l(e, t);
|
|
151
152
|
a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
|
|
152
153
|
stepId: n?.id,
|
|
@@ -157,14 +158,14 @@ function we({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
157
158
|
s,
|
|
158
159
|
a
|
|
159
160
|
]),
|
|
160
|
-
onStepChange:
|
|
161
|
+
onStepChange: V((e, t) => {
|
|
161
162
|
let n = l(e, t);
|
|
162
163
|
n && s("STEP_VIEWED", e.id, {
|
|
163
164
|
stepId: n.id,
|
|
164
165
|
stepOrder: n.stepOrder
|
|
165
166
|
});
|
|
166
167
|
}, [l, s]),
|
|
167
|
-
onStepComplete:
|
|
168
|
+
onStepComplete: V((e, t) => {
|
|
168
169
|
let n = l(e, t);
|
|
169
170
|
n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
|
|
170
171
|
stepId: n.id,
|
|
@@ -176,20 +177,20 @@ function we({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
176
177
|
s
|
|
177
178
|
]),
|
|
178
179
|
children: [
|
|
179
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ K(z, {}),
|
|
180
181
|
e,
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
-
/* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ K(De, {}),
|
|
183
|
+
/* @__PURE__ */ K(ke, {}),
|
|
184
|
+
/* @__PURE__ */ K(Y, {
|
|
184
185
|
position: n,
|
|
185
186
|
richColors: !0,
|
|
186
187
|
closeButton: !0,
|
|
187
|
-
style:
|
|
188
|
+
style: be
|
|
188
189
|
}),
|
|
189
|
-
/* @__PURE__ */
|
|
190
|
-
t && /* @__PURE__ */
|
|
190
|
+
/* @__PURE__ */ K(ue, {}),
|
|
191
|
+
t && /* @__PURE__ */ K(B, {
|
|
191
192
|
fallback: null,
|
|
192
|
-
children: /* @__PURE__ */
|
|
193
|
+
children: /* @__PURE__ */ K(v, {
|
|
193
194
|
productName: r,
|
|
194
195
|
brandInitial: i
|
|
195
196
|
})
|
|
@@ -197,44 +198,44 @@ function we({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
197
198
|
]
|
|
198
199
|
});
|
|
199
200
|
}
|
|
200
|
-
function
|
|
201
|
-
let e =
|
|
202
|
-
return
|
|
201
|
+
function De() {
|
|
202
|
+
let e = W(null);
|
|
203
|
+
return H(() => {
|
|
203
204
|
let t = (t) => {
|
|
204
205
|
let n = t instanceof CustomEvent && o(t.detail) ? t.detail : null;
|
|
205
206
|
if (!s(n)) return;
|
|
206
|
-
|
|
207
|
+
Se(n);
|
|
207
208
|
let r = `${n.code ?? ""}|${n.message}`, i = Date.now(), a = e.current;
|
|
208
|
-
a?.key === r && i - a.shownAt <
|
|
209
|
+
a?.key === r && i - a.shownAt < xe || (e.current = {
|
|
209
210
|
key: r,
|
|
210
211
|
shownAt: i
|
|
211
|
-
},
|
|
212
|
+
}, X.error(n.message, { duration: 7e3 }));
|
|
212
213
|
};
|
|
213
214
|
return window.addEventListener(r, t), () => window.removeEventListener(r, t);
|
|
214
215
|
}, []), null;
|
|
215
216
|
}
|
|
216
|
-
var $ = "burdenoff-connection-status",
|
|
217
|
-
function
|
|
218
|
-
let e =
|
|
219
|
-
return
|
|
217
|
+
var $ = "burdenoff-connection-status", Oe = 1500;
|
|
218
|
+
function ke() {
|
|
219
|
+
let e = W(null), t = W(!1);
|
|
220
|
+
return H(() => {
|
|
220
221
|
let n = () => {
|
|
221
|
-
t.current || (t.current = !0,
|
|
222
|
+
t.current || (t.current = !0, X.error("Connection lost. Trying to reconnect…", {
|
|
222
223
|
id: $,
|
|
223
224
|
duration: Infinity
|
|
224
225
|
}));
|
|
225
226
|
}, r = () => {
|
|
226
227
|
t.current || e.current || (e.current = setTimeout(() => {
|
|
227
228
|
e.current = null, n();
|
|
228
|
-
},
|
|
229
|
+
}, Oe));
|
|
229
230
|
}, a = (n) => {
|
|
230
231
|
if (e.current &&= (clearTimeout(e.current), null), !t.current) {
|
|
231
|
-
|
|
232
|
+
X.dismiss($);
|
|
232
233
|
return;
|
|
233
234
|
}
|
|
234
|
-
t.current = !1, n ?
|
|
235
|
+
t.current = !1, n ? X.success("Back online", {
|
|
235
236
|
id: $,
|
|
236
237
|
duration: 2500
|
|
237
|
-
}) :
|
|
238
|
+
}) : X.dismiss($);
|
|
238
239
|
}, o = (e) => {
|
|
239
240
|
if (!(e instanceof CustomEvent)) return;
|
|
240
241
|
let t = e.detail;
|
|
@@ -247,40 +248,42 @@ function De() {
|
|
|
247
248
|
};
|
|
248
249
|
}, []), null;
|
|
249
250
|
}
|
|
250
|
-
function
|
|
251
|
-
return
|
|
251
|
+
function Ae() {
|
|
252
|
+
return P(), null;
|
|
252
253
|
}
|
|
253
|
-
function
|
|
254
|
-
let m =
|
|
255
|
-
|
|
254
|
+
function je({ children: e, i18nProductId: t, platformI18nProductId: n, directionMode: r, fallbackTranslations: i, defaultBrand: a, defaultMode: o, defaultDensity: s, defaultTypography: c, defaultGlass: l, productName: u, brandInitial: ee, enablePWA: d, toasterPosition: te, tourPageIdFromPath: f, enableWorkspaceTourPermissions: p }) {
|
|
255
|
+
let m = J();
|
|
256
|
+
N();
|
|
256
257
|
let h = m.pathname.startsWith("/devportal") || m.pathname.startsWith("/organizations") || m.pathname.startsWith("/workspaces");
|
|
257
|
-
return /* @__PURE__ */
|
|
258
|
-
defaultBrand:
|
|
259
|
-
defaultMode:
|
|
260
|
-
defaultDensity:
|
|
261
|
-
defaultTypography:
|
|
262
|
-
defaultGlass:
|
|
263
|
-
children: [/* @__PURE__ */
|
|
258
|
+
return /* @__PURE__ */ q(g, {
|
|
259
|
+
defaultBrand: a,
|
|
260
|
+
defaultMode: o,
|
|
261
|
+
defaultDensity: s,
|
|
262
|
+
defaultTypography: c,
|
|
263
|
+
defaultGlass: l,
|
|
264
|
+
children: [/* @__PURE__ */ K(Me, {}), /* @__PURE__ */ K(T, {
|
|
264
265
|
i18nProductId: t,
|
|
265
|
-
|
|
266
|
-
|
|
266
|
+
platformI18nProductId: n,
|
|
267
|
+
directionMode: r,
|
|
268
|
+
fallbackTranslations: i,
|
|
269
|
+
children: /* @__PURE__ */ K(le, { children: /* @__PURE__ */ K(ie, { children: /* @__PURE__ */ K(ae, {
|
|
267
270
|
workspaceId: null,
|
|
268
271
|
gateway: "global",
|
|
269
272
|
defaultEnabled: !0,
|
|
270
|
-
children: /* @__PURE__ */
|
|
273
|
+
children: /* @__PURE__ */ K(y, { children: /* @__PURE__ */ K(b, { children: /* @__PURE__ */ K(_, {
|
|
271
274
|
fallback: null,
|
|
272
|
-
children: /* @__PURE__ */
|
|
275
|
+
children: /* @__PURE__ */ K(F, {
|
|
273
276
|
enabled: p && !h,
|
|
274
|
-
children: /* @__PURE__ */
|
|
277
|
+
children: /* @__PURE__ */ K(L, {
|
|
275
278
|
requireWorkspace: p,
|
|
276
279
|
disabled: h,
|
|
277
280
|
getPageIdFromPath: f,
|
|
278
|
-
children: /* @__PURE__ */
|
|
279
|
-
enablePWA:
|
|
280
|
-
toasterPosition:
|
|
281
|
-
productName:
|
|
282
|
-
brandInitial:
|
|
283
|
-
children: [/* @__PURE__ */
|
|
281
|
+
children: /* @__PURE__ */ q(Ee, {
|
|
282
|
+
enablePWA: d,
|
|
283
|
+
toasterPosition: te,
|
|
284
|
+
productName: u,
|
|
285
|
+
brandInitial: ee,
|
|
286
|
+
children: [/* @__PURE__ */ K(Ae, {}), e]
|
|
284
287
|
})
|
|
285
288
|
})
|
|
286
289
|
})
|
|
@@ -289,9 +292,9 @@ function ke({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
|
|
|
289
292
|
})]
|
|
290
293
|
});
|
|
291
294
|
}
|
|
292
|
-
function
|
|
293
|
-
let e =
|
|
294
|
-
return
|
|
295
|
+
function Me() {
|
|
296
|
+
let e = J();
|
|
297
|
+
return H(() => {
|
|
295
298
|
e.hash || requestAnimationFrame(() => {
|
|
296
299
|
window.scrollTo({
|
|
297
300
|
top: 0,
|
|
@@ -309,7 +312,7 @@ function Ae() {
|
|
|
309
312
|
e.hash
|
|
310
313
|
]), null;
|
|
311
314
|
}
|
|
312
|
-
function
|
|
315
|
+
function Ne(e) {
|
|
313
316
|
if (e instanceof Error) return e.message;
|
|
314
317
|
if (typeof e == "string") return e;
|
|
315
318
|
try {
|
|
@@ -318,9 +321,9 @@ function je(e) {
|
|
|
318
321
|
return String(e);
|
|
319
322
|
}
|
|
320
323
|
}
|
|
321
|
-
function
|
|
322
|
-
let e =
|
|
323
|
-
return
|
|
324
|
+
function Pe() {
|
|
325
|
+
let e = M(), t = J(), n = W(void 0), r = W(void 0), i = W(null);
|
|
326
|
+
return H(() => {
|
|
324
327
|
let a = `${t.pathname}${t.search}${t.hash}`;
|
|
325
328
|
if (r.current !== a) return i.current && clearTimeout(i.current), i.current = setTimeout(() => {
|
|
326
329
|
i.current = null;
|
|
@@ -340,7 +343,7 @@ function Me() {
|
|
|
340
343
|
t.hash,
|
|
341
344
|
t.pathname,
|
|
342
345
|
t.search
|
|
343
|
-
]),
|
|
346
|
+
]), H(() => {
|
|
344
347
|
let t = (t) => {
|
|
345
348
|
e.emit("error.runtime.caught", {
|
|
346
349
|
message: t.message || "Runtime error",
|
|
@@ -350,34 +353,34 @@ function Me() {
|
|
|
350
353
|
errorName: t.error instanceof Error ? t.error.name : void 0
|
|
351
354
|
});
|
|
352
355
|
}, n = (t) => {
|
|
353
|
-
e.emit("error.unhandledrejection", { reason:
|
|
356
|
+
e.emit("error.unhandledrejection", { reason: Ne(t.reason) });
|
|
354
357
|
};
|
|
355
358
|
return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
|
|
356
359
|
window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
|
|
357
360
|
};
|
|
358
|
-
}, [e]),
|
|
359
|
-
|
|
361
|
+
}, [e]), H(() => {
|
|
362
|
+
x((t) => {
|
|
360
363
|
e.emit("perf.lcp.measured", {
|
|
361
364
|
metric: "LCP",
|
|
362
365
|
value: t.value,
|
|
363
366
|
id: t.id,
|
|
364
367
|
rating: t.rating
|
|
365
368
|
});
|
|
366
|
-
}),
|
|
369
|
+
}), w((t) => {
|
|
367
370
|
e.emit("perf.cls.measured", {
|
|
368
371
|
metric: "CLS",
|
|
369
372
|
value: t.value,
|
|
370
373
|
id: t.id,
|
|
371
374
|
rating: t.rating
|
|
372
375
|
});
|
|
373
|
-
}),
|
|
376
|
+
}), C((t) => {
|
|
374
377
|
e.emit("perf.inp.measured", {
|
|
375
378
|
metric: "INP",
|
|
376
379
|
value: t.value,
|
|
377
380
|
id: t.id,
|
|
378
381
|
rating: t.rating
|
|
379
382
|
});
|
|
380
|
-
}),
|
|
383
|
+
}), S((t) => {
|
|
381
384
|
e.emit("perf.ttfb.measured", {
|
|
382
385
|
metric: "TTFB",
|
|
383
386
|
value: t.value,
|
|
@@ -387,23 +390,23 @@ function Me() {
|
|
|
387
390
|
});
|
|
388
391
|
}, [e]), null;
|
|
389
392
|
}
|
|
390
|
-
function
|
|
391
|
-
let { pathname: a } =
|
|
392
|
-
return /* @__PURE__ */
|
|
393
|
-
/* @__PURE__ */
|
|
394
|
-
r && !o ? /* @__PURE__ */
|
|
395
|
-
e.enabled === !1 ? null : /* @__PURE__ */
|
|
396
|
-
e.devtools ? /* @__PURE__ */
|
|
397
|
-
e.broadcast === !1 ? null : /* @__PURE__ */
|
|
398
|
-
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */
|
|
399
|
-
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */
|
|
393
|
+
function Fe({ config: e, productSlug: n, privacyConsent: r, consentRouteDenylist: i }) {
|
|
394
|
+
let { pathname: a } = J(), o = t(a) || i?.(a) === !0;
|
|
395
|
+
return /* @__PURE__ */ q(G, { children: [
|
|
396
|
+
/* @__PURE__ */ K(Pe, {}),
|
|
397
|
+
r && !o ? /* @__PURE__ */ K(k, { productName: n }) : null,
|
|
398
|
+
e.enabled === !1 ? null : /* @__PURE__ */ q(G, { children: [
|
|
399
|
+
e.devtools ? /* @__PURE__ */ K(E, { enabled: !0 }) : null,
|
|
400
|
+
e.broadcast === !1 ? null : /* @__PURE__ */ K(D, {}),
|
|
401
|
+
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ K(O, { endpoint: e.backendAudit.endpoint }) : null,
|
|
402
|
+
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ K(A, {
|
|
400
403
|
siteId: e.rybbit.siteId,
|
|
401
404
|
scriptUrl: e.rybbit.scriptUrl,
|
|
402
405
|
allowlist: e.rybbit.allowlist,
|
|
403
406
|
identifyOn: e.rybbit.identifyOn,
|
|
404
407
|
rename: e.rybbit.rename
|
|
405
408
|
}) : null,
|
|
406
|
-
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */
|
|
409
|
+
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ K(j, {
|
|
407
410
|
endpoint: e.otel.endpoint,
|
|
408
411
|
serviceName: e.otel.serviceName ?? `${n}-app`,
|
|
409
412
|
flushInterval: e.otel.flushInterval
|
|
@@ -411,8 +414,11 @@ function Ne({ config: e, productSlug: n, privacyConsent: r, consentRouteDenylist
|
|
|
411
414
|
] })
|
|
412
415
|
] });
|
|
413
416
|
}
|
|
414
|
-
function
|
|
415
|
-
let { productName: o, productSlug: s = o.toLowerCase().replace(/\s+/g, ""), tagline: g = "", domain: v, i18nProductId: y, gatewayUrls: b, authBridge: x, defaultBrand: S = "default", defaultMode: C, defaultDensity: w, defaultTypography: T, defaultGlass:
|
|
417
|
+
function Ie({ config: e, children: r, clearAuthStore: i }) {
|
|
418
|
+
let { productName: o, productSlug: s = o.toLowerCase().replace(/\s+/g, ""), tagline: g = "", domain: v, i18nProductId: ie, platformI18nProductId: ae, rtl: y, gatewayUrls: b, authBridge: x, defaultBrand: S = "default", defaultMode: C, defaultDensity: w, defaultTypography: T, defaultGlass: le, enablePWA: ue = !0, brandInitial: E = o.charAt(0), defaultGateway: D = "workspace", enableSubscriptions: O = !0, fallbackTranslations: k, queryClientOptions: A, toasterPosition: j = "bottom-right", observability: M, privacyConsent: N = !1, consentRouteDenylist: P, tourPageIdFromPath: F, enableWorkspaceTourPermissions: I = !1 } = e, [L] = pe(() => fe({
|
|
419
|
+
enabled: y?.enabled,
|
|
420
|
+
allowPreview: y?.preview
|
|
421
|
+
})), R = U(() => M ?? Q(s, Te()), [M, s]), z = U(() => ({
|
|
416
422
|
productName: o,
|
|
417
423
|
productSlug: s,
|
|
418
424
|
brandInitial: E,
|
|
@@ -424,7 +430,7 @@ function Pe({ config: e, children: r, clearAuthStore: i }) {
|
|
|
424
430
|
E,
|
|
425
431
|
g,
|
|
426
432
|
v
|
|
427
|
-
]),
|
|
433
|
+
]), B = W(!1), G = W(!!x?.url), J = V((e) => {
|
|
428
434
|
if (!e?.force && (() => {
|
|
429
435
|
try {
|
|
430
436
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
@@ -434,22 +440,22 @@ function Pe({ config: e, children: r, clearAuthStore: i }) {
|
|
|
434
440
|
} catch {
|
|
435
441
|
return !1;
|
|
436
442
|
}
|
|
437
|
-
})() ||
|
|
438
|
-
|
|
443
|
+
})() || G.current || B.current) return;
|
|
444
|
+
B.current = !0, ee(i);
|
|
439
445
|
let n = `${window.location.pathname}${window.location.search}`, r = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(n)}`, a = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
|
|
440
446
|
if (window.location.pathname.startsWith("/auth/") || t(window.location.pathname) || a) {
|
|
441
|
-
|
|
447
|
+
B.current = !1;
|
|
442
448
|
return;
|
|
443
449
|
}
|
|
444
450
|
window.location.replace(r);
|
|
445
|
-
}, [i]),
|
|
451
|
+
}, [i]), Y = U(() => ({
|
|
446
452
|
globalBaseUrl: b.globalBaseUrl,
|
|
447
|
-
...
|
|
448
|
-
}), [b.globalBaseUrl]),
|
|
449
|
-
window.location.pathname.startsWith("/auth/") || await
|
|
450
|
-
}, [
|
|
451
|
-
|
|
452
|
-
}, [
|
|
453
|
+
...d()
|
|
454
|
+
}), [b.globalBaseUrl]), X = V(async () => u(Y), [Y]), Z = V(async () => {
|
|
455
|
+
window.location.pathname.startsWith("/auth/") || await X() || J({ force: !0 });
|
|
456
|
+
}, [X, J]), ye = V(async (e) => {
|
|
457
|
+
te(e) ? await X() || J({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
|
|
458
|
+
}, [X, J]), be = V(async (e) => {
|
|
453
459
|
let t = await l({
|
|
454
460
|
gateway: "global",
|
|
455
461
|
baseUrl: b.globalBaseUrl,
|
|
@@ -464,12 +470,12 @@ function Pe({ config: e, children: r, clearAuthStore: i }) {
|
|
|
464
470
|
refreshToken: n.refreshToken,
|
|
465
471
|
expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
|
|
466
472
|
};
|
|
467
|
-
}, [b.globalBaseUrl]),
|
|
468
|
-
let e = new
|
|
469
|
-
queryCache: new
|
|
473
|
+
}, [b.globalBaseUrl]), xe = V(() => n("organization"), []), Se = U(() => {
|
|
474
|
+
let e = new _e({
|
|
475
|
+
queryCache: new ge({ onError: (e) => {
|
|
470
476
|
a(e);
|
|
471
477
|
} }),
|
|
472
|
-
mutationCache: new
|
|
478
|
+
mutationCache: new he({
|
|
473
479
|
onSuccess: () => {
|
|
474
480
|
e.invalidateQueries();
|
|
475
481
|
},
|
|
@@ -478,79 +484,81 @@ function Pe({ config: e, children: r, clearAuthStore: i }) {
|
|
|
478
484
|
}
|
|
479
485
|
}),
|
|
480
486
|
defaultOptions: { queries: {
|
|
481
|
-
staleTime:
|
|
482
|
-
retry:
|
|
483
|
-
refetchOnWindowFocus:
|
|
487
|
+
staleTime: A?.staleTime ?? 300 * 1e3,
|
|
488
|
+
retry: A?.retry ?? 2,
|
|
489
|
+
refetchOnWindowFocus: A?.refetchOnWindowFocus ?? !1
|
|
484
490
|
} }
|
|
485
491
|
});
|
|
486
492
|
return e;
|
|
487
|
-
}, [
|
|
488
|
-
return
|
|
493
|
+
}, [A]);
|
|
494
|
+
return H(() => {
|
|
489
495
|
let e = () => {
|
|
490
|
-
|
|
496
|
+
J({ force: !0 });
|
|
491
497
|
};
|
|
492
498
|
return window.addEventListener(c, e), () => {
|
|
493
499
|
window.removeEventListener(c, e);
|
|
494
500
|
};
|
|
495
|
-
}, [
|
|
496
|
-
let e =
|
|
501
|
+
}, [J]), H(() => {
|
|
502
|
+
let e = h.getInstance();
|
|
497
503
|
e.getLogger("shell") || e.getLogger("shell").addTransport(new ne());
|
|
498
|
-
}, []), /* @__PURE__ */
|
|
499
|
-
value:
|
|
500
|
-
children: /* @__PURE__ */
|
|
504
|
+
}, []), /* @__PURE__ */ K(f, {
|
|
505
|
+
value: z,
|
|
506
|
+
children: /* @__PURE__ */ K(de, {
|
|
501
507
|
appName: s,
|
|
502
|
-
appVersion:
|
|
503
|
-
appEnv:
|
|
508
|
+
appVersion: R.appVersion,
|
|
509
|
+
appEnv: R.appEnv,
|
|
504
510
|
sourceMfe: s,
|
|
505
|
-
children: /* @__PURE__ */
|
|
511
|
+
children: /* @__PURE__ */ K(_, {
|
|
506
512
|
FallbackComponent: re,
|
|
507
|
-
children: /* @__PURE__ */
|
|
508
|
-
config:
|
|
513
|
+
children: /* @__PURE__ */ q(me, { children: [/* @__PURE__ */ K(Fe, {
|
|
514
|
+
config: R,
|
|
509
515
|
productSlug: s,
|
|
510
|
-
privacyConsent:
|
|
511
|
-
consentRouteDenylist:
|
|
512
|
-
}), /* @__PURE__ */
|
|
513
|
-
client:
|
|
514
|
-
children: /* @__PURE__ */
|
|
516
|
+
privacyConsent: N,
|
|
517
|
+
consentRouteDenylist: P
|
|
518
|
+
}), /* @__PURE__ */ K(ve, {
|
|
519
|
+
client: Se,
|
|
520
|
+
children: /* @__PURE__ */ K(se, { children: /* @__PURE__ */ K(ce, {
|
|
515
521
|
workspaceBaseUrl: b.workspaceBaseUrl,
|
|
516
522
|
globalBaseUrl: b.globalBaseUrl,
|
|
517
|
-
organizationId:
|
|
523
|
+
organizationId: xe,
|
|
518
524
|
productSlug: s,
|
|
519
|
-
defaultGateway:
|
|
520
|
-
enableSubscriptions:
|
|
521
|
-
onAuthError:
|
|
522
|
-
onNetworkError:
|
|
523
|
-
onRefreshToken:
|
|
524
|
-
children: /* @__PURE__ */
|
|
525
|
+
defaultGateway: D,
|
|
526
|
+
enableSubscriptions: O,
|
|
527
|
+
onAuthError: Z,
|
|
528
|
+
onNetworkError: ye,
|
|
529
|
+
onRefreshToken: X,
|
|
530
|
+
children: /* @__PURE__ */ K(p, {
|
|
525
531
|
bridgeUrl: x?.url,
|
|
526
532
|
bridgeAllowedOrigins: x?.allowedOrigins,
|
|
527
533
|
bridgeDebug: x?.debug,
|
|
528
|
-
onRefreshToken:
|
|
534
|
+
onRefreshToken: be,
|
|
529
535
|
onBridgeReady: () => {
|
|
530
|
-
|
|
536
|
+
G.current = !1;
|
|
531
537
|
},
|
|
532
538
|
onSessionExpiringSoon: () => {
|
|
533
539
|
console.warn("[Auth] Session will expire in 5 minutes");
|
|
534
540
|
},
|
|
535
541
|
onTokenExpired: () => {
|
|
536
|
-
|
|
542
|
+
J();
|
|
537
543
|
},
|
|
538
|
-
children: /* @__PURE__ */
|
|
544
|
+
children: /* @__PURE__ */ K(m, {
|
|
539
545
|
syncToUrl: !0,
|
|
540
|
-
children: /* @__PURE__ */
|
|
541
|
-
i18nProductId:
|
|
542
|
-
|
|
546
|
+
children: /* @__PURE__ */ K(oe, { children: /* @__PURE__ */ K(je, {
|
|
547
|
+
i18nProductId: ie,
|
|
548
|
+
platformI18nProductId: ae,
|
|
549
|
+
directionMode: L,
|
|
550
|
+
fallbackTranslations: k,
|
|
543
551
|
defaultBrand: S,
|
|
544
552
|
defaultMode: C,
|
|
545
553
|
defaultDensity: w,
|
|
546
554
|
defaultTypography: T,
|
|
547
|
-
defaultGlass:
|
|
555
|
+
defaultGlass: le,
|
|
548
556
|
productName: o,
|
|
549
557
|
brandInitial: E,
|
|
550
|
-
enablePWA:
|
|
551
|
-
toasterPosition:
|
|
552
|
-
tourPageIdFromPath:
|
|
553
|
-
enableWorkspaceTourPermissions:
|
|
558
|
+
enablePWA: ue,
|
|
559
|
+
toasterPosition: j,
|
|
560
|
+
tourPageIdFromPath: F,
|
|
561
|
+
enableWorkspaceTourPermissions: I,
|
|
554
562
|
children: r
|
|
555
563
|
}) })
|
|
556
564
|
})
|
|
@@ -562,4 +570,4 @@ function Pe({ config: e, children: r, clearAuthStore: i }) {
|
|
|
562
570
|
});
|
|
563
571
|
}
|
|
564
572
|
//#endregion
|
|
565
|
-
export {
|
|
573
|
+
export { Ie as AppShellProvider, Q as resolveAppShellObservabilityConfig };
|