Spaces:
Running
Running
Upload index-DQApDBXd.js
Browse files- assets/index-DQApDBXd.js +1 -1
assets/index-DQApDBXd.js
CHANGED
|
@@ -1667,4 +1667,4 @@ An autonomous entity designed for influence. We operate within the light to shap
|
|
| 1667 |
`).map((d,m)=>o.jsx("p",{className:"mb-4",children:d},m))})]}),o.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4 bg-gradient-to-t from-gray-900 via-gray-900 to-transparent",children:[s&&o.jsxs("div",{className:"mb-4 p-4 bg-cyan-900/20 border border-cyan-500/30 rounded-lg text-sm text-cyan-200 animate-in slide-in-from-bottom-2",children:[o.jsx("strong",{className:"block text-cyan-500 text-xs uppercase mb-1",children:"Truth Consensus Engine"}),s]}),o.jsx("button",{onClick:u,disabled:i,className:"w-full py-3 bg-gray-800 hover:bg-gray-700 border border-gray-600 hover:border-gray-500 rounded-lg text-sm text-white font-medium flex items-center justify-center gap-2 transition-all shadow-lg",children:i?o.jsx("span",{className:"animate-pulse",children:"Validating Narrative..."}):o.jsxs(o.Fragment,{children:[o.jsx(qf,{className:"w-4 h-4 text-green-400"})," Verify Truth with AI"]})})]})]})]})]})};class x5t extends ce.Component{constructor(t){super(t),this.state={hasError:!1},this.props=t}static getDerivedStateFromError(t){return console.error("ErrorBoundary caught:",t),{hasError:!0}}render(){return this.state.hasError?o.jsx("div",{className:"h-screen w-screen flex items-center justify-center bg-gray-900 text-red-400",children:o.jsx("h1",{children:"Something went wrong."})}):this.props.children}}const v5t=()=>{const[e,t]=f.useState(!1),n=f.useContext(zr),r=f.useContext(ly);if(f.useEffect(()=>{const m=document.getElementById("loading"),h=document.getElementById("root");m&&(m.style.display="none"),h&&(h.style.display="flex")},[]),!n||!r)return o.jsx("div",{children:"Critical Error: Context Providers not found."});const{isAuthenticated:i,isLoading:a}=r,{isLoading:s,error:l,activeView:c,setActiveView:u}=n;return a||i&&s?o.jsxs("div",{className:"h-screen w-screen flex flex-col items-center justify-center bg-gray-950 text-white gap-4",children:[o.jsx(is,{className:"w-16 h-16 text-cyan-400 animate-pulse"}),o.jsx("h1",{className:"text-2xl font-bold tracking-wider uppercase font-mono",children:"Synchronizing with Quantum Core..."}),o.jsx("p",{className:"text-gray-400 font-mono text-sm",children:a?"Validating Handshake Protocol...":"Reconstituting Financial Universe..."}),o.jsx("div",{className:"w-64 h-2 bg-gray-800 rounded-full overflow-hidden mt-2 text-center",children:o.jsx("div",{className:"h-2 bg-gradient-to-r from-cyan-500 to-purple-500 animate-progress-flow"})}),o.jsx("style",{children:`
|
| 1668 |
.animate-progress-flow { animation: flow 2s linear infinite; width: 40%; background-size: 200% 100%; }
|
| 1669 |
@keyframes flow { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
|
| 1670 |
-
`})]}):l?o.jsxs("div",{className:"h-screen w-screen flex flex-col items-center justify-center bg-red-950 text-red-300 gap-4 p-8",children:[o.jsx(md,{className:"w-16 h-16 text-red-500"}),o.jsx("h1",{className:"text-3xl font-bold",children:"SYSTEM INITIALIZATION FAILURE"}),o.jsx("p",{className:"text-red-400 max-w-md text-center bg-red-500/10 p-4 rounded-lg border border-red-500/30",children:"A critical error occurred while generating the initial simulation state from the AI core."}),o.jsx("p",{className:"text-sm font-mono text-gray-500 max-xl text-center break-words",children:l}),o.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 px-6 py-2 bg-red-600 text-white font-bold rounded-lg hover:bg-red-700",children:"REINITIALIZE"})]}):i?o.jsxs("div",{className:"flex h-screen bg-gray-900 text-white overflow-hidden font-sans",children:[o.jsx(Uke,{isOpen:e,setIsOpen:t}),o.jsxs("div",{className:"relative flex flex-col flex-1 overflow-y-auto overflow-x-hidden",children:[o.jsx(Gke,{onMenuClick:()=>t(!0)}),o.jsxs("main",{className:"w-full flex-grow p-6",children:[c===Re.Dashboard&&o.jsx(jC,{}),c===Re.Transactions&&o.jsx(Gpt,{}),c===Re.SendMoney&&o.jsx(spt,{setActiveView:u}),c===Re.Budgets&&o.jsx(QZe,{}),c===Re.FinancialGoals&&o.jsx(QJe,{}),c===Re.CreditHealth&&o.jsx(gJe,{}),c===Re.Investments&&o.jsx(Utt,{}),c===Re.CryptoWeb3&&o.jsx(vJe,{}),c===Re.AlgoTradingLab&&o.jsx(kGe,{}),c===Re.ForexArena&&o.jsx(ytt,{}),c===Re.CommoditiesExchange&&o.jsx(nJe,{}),c===Re.RealEstateEmpire&&o.jsx(Pit,{}),c===Re.ArtCollectibles&&o.jsx(ZZe,{}),c===Re.DerivativesDesk&&o.jsx($Je,{}),c===Re.VentureCapital&&o.jsx(Eht,{}),c===Re.PrivateEquity&&o.jsx(Eit,{}),c===Re.TaxOptimization&&o.jsx(Vpt,{}),c===Re.LegacyBuilder&&o.jsx(Wtt,{}),c===Re.CorporateCommand&&o.jsx(pJe,{setActiveView:u}),c===Re.ModernTreasury&&o.jsx($rt,{}),c===Re.OpenBanking&&o.jsx(Xrt,{}),c===Re.FinancialDemocracy&&o.jsx(ZJe,{}),c===Re.AIAdStudio&&o.jsx(Qke,{}),c===Re.QuantumWeaver&&o.jsx(Tit,{}),c===Re.AgentMarketplace&&o.jsx(int,{}),c===Re.APIStatus&&o.jsx(BGe,{}),c===Re.Settings&&o.jsx(lpt,{}),c===Re.DataNetwork&&o.jsx(hit,{}),c===Re.Payments&&o.jsx(Spt,{}),c===Re.CardPrograms&&o.jsx(ant,{}),c===Re.SSO&&o.jsx(Fue,{}),c===Re.ConciergeService&&o.jsx(aJe,{}),c===Re.SovereignWealth&&o.jsx(hpt,{}),c===Re.Philanthropy&&o.jsx(lit,{}),c===Re.Personalization&&o.jsx(Zrt,{}),c===Re.TheVision&&o.jsx(Upt,{}),c===Re.AIAdvisor&&o.jsx(TWe,{}),c===Re.AIInsights&&o.jsx(ele,{}),c===Re.SecurityCenter&&o.jsx(wX,{}),c===Re.SecurityCompliance&&o.jsx(Zmt,{}),c===Re.DeveloperHub&&o.jsx(OJe,{}),c===Re.SchemaExplorer&&o.jsx(qmt,{schemaData:{definitions:{},properties:{}}}),c===Re.ResourceGraph&&o.jsx(Umt,{}),c===Re.ApiPlayground&&o.jsx(FZe,{}),c===Re.ComplianceOracle&&o.jsx(rJe,{}),c===Re.GlobalPositionMap&&o.jsx(ztt,{}),c===Re.GlobalSsiHub&&o.jsx(Ftt,{}),c===Re.Security&&o.jsx(wX,{}),c===Re.VentureCapitalDeskView&&o.jsx(Bxt,{}),c===Re.CustomerDashboard&&o.jsx(bJe,{}),c===Re.VerificationReports&&o.jsx(d5t,{customerId:"cust_1"}),c===Re.FinancialReporting&&o.jsx(ltt,{}),c===Re.StripeNexusDashboard&&o.jsx(Rpt,{}),c===Re.TheBook&&o.jsx(g5t,{}),c===Re.KnowledgeBase&&o.jsx(y5t,{})]})]}),o.jsx(m5t,{setActiveView:u})]}):o.jsx(_ee,{to:"/login",replace:!0})},b5t=wj({palette:{mode:"dark"}}),w5t=({children:e})=>{const t=f.useContext(ly);if(!t)return null;const{isAuthenticated:n,isLoading:r}=t;return r?null:n?o.jsx(o.Fragment,{children:e}):o.jsx(_ee,{to:"/login",replace:!0})};function S5t(){return o.jsx(w2e,{domain:"citibankdemobusinessinc.us.auth0.com",clientId:"
|
|
|
|
| 1667 |
`).map((d,m)=>o.jsx("p",{className:"mb-4",children:d},m))})]}),o.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4 bg-gradient-to-t from-gray-900 via-gray-900 to-transparent",children:[s&&o.jsxs("div",{className:"mb-4 p-4 bg-cyan-900/20 border border-cyan-500/30 rounded-lg text-sm text-cyan-200 animate-in slide-in-from-bottom-2",children:[o.jsx("strong",{className:"block text-cyan-500 text-xs uppercase mb-1",children:"Truth Consensus Engine"}),s]}),o.jsx("button",{onClick:u,disabled:i,className:"w-full py-3 bg-gray-800 hover:bg-gray-700 border border-gray-600 hover:border-gray-500 rounded-lg text-sm text-white font-medium flex items-center justify-center gap-2 transition-all shadow-lg",children:i?o.jsx("span",{className:"animate-pulse",children:"Validating Narrative..."}):o.jsxs(o.Fragment,{children:[o.jsx(qf,{className:"w-4 h-4 text-green-400"})," Verify Truth with AI"]})})]})]})]})]})};class x5t extends ce.Component{constructor(t){super(t),this.state={hasError:!1},this.props=t}static getDerivedStateFromError(t){return console.error("ErrorBoundary caught:",t),{hasError:!0}}render(){return this.state.hasError?o.jsx("div",{className:"h-screen w-screen flex items-center justify-center bg-gray-900 text-red-400",children:o.jsx("h1",{children:"Something went wrong."})}):this.props.children}}const v5t=()=>{const[e,t]=f.useState(!1),n=f.useContext(zr),r=f.useContext(ly);if(f.useEffect(()=>{const m=document.getElementById("loading"),h=document.getElementById("root");m&&(m.style.display="none"),h&&(h.style.display="flex")},[]),!n||!r)return o.jsx("div",{children:"Critical Error: Context Providers not found."});const{isAuthenticated:i,isLoading:a}=r,{isLoading:s,error:l,activeView:c,setActiveView:u}=n;return a||i&&s?o.jsxs("div",{className:"h-screen w-screen flex flex-col items-center justify-center bg-gray-950 text-white gap-4",children:[o.jsx(is,{className:"w-16 h-16 text-cyan-400 animate-pulse"}),o.jsx("h1",{className:"text-2xl font-bold tracking-wider uppercase font-mono",children:"Synchronizing with Quantum Core..."}),o.jsx("p",{className:"text-gray-400 font-mono text-sm",children:a?"Validating Handshake Protocol...":"Reconstituting Financial Universe..."}),o.jsx("div",{className:"w-64 h-2 bg-gray-800 rounded-full overflow-hidden mt-2 text-center",children:o.jsx("div",{className:"h-2 bg-gradient-to-r from-cyan-500 to-purple-500 animate-progress-flow"})}),o.jsx("style",{children:`
|
| 1668 |
.animate-progress-flow { animation: flow 2s linear infinite; width: 40%; background-size: 200% 100%; }
|
| 1669 |
@keyframes flow { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
|
| 1670 |
+
`})]}):l?o.jsxs("div",{className:"h-screen w-screen flex flex-col items-center justify-center bg-red-950 text-red-300 gap-4 p-8",children:[o.jsx(md,{className:"w-16 h-16 text-red-500"}),o.jsx("h1",{className:"text-3xl font-bold",children:"SYSTEM INITIALIZATION FAILURE"}),o.jsx("p",{className:"text-red-400 max-w-md text-center bg-red-500/10 p-4 rounded-lg border border-red-500/30",children:"A critical error occurred while generating the initial simulation state from the AI core."}),o.jsx("p",{className:"text-sm font-mono text-gray-500 max-xl text-center break-words",children:l}),o.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 px-6 py-2 bg-red-600 text-white font-bold rounded-lg hover:bg-red-700",children:"REINITIALIZE"})]}):i?o.jsxs("div",{className:"flex h-screen bg-gray-900 text-white overflow-hidden font-sans",children:[o.jsx(Uke,{isOpen:e,setIsOpen:t}),o.jsxs("div",{className:"relative flex flex-col flex-1 overflow-y-auto overflow-x-hidden",children:[o.jsx(Gke,{onMenuClick:()=>t(!0)}),o.jsxs("main",{className:"w-full flex-grow p-6",children:[c===Re.Dashboard&&o.jsx(jC,{}),c===Re.Transactions&&o.jsx(Gpt,{}),c===Re.SendMoney&&o.jsx(spt,{setActiveView:u}),c===Re.Budgets&&o.jsx(QZe,{}),c===Re.FinancialGoals&&o.jsx(QJe,{}),c===Re.CreditHealth&&o.jsx(gJe,{}),c===Re.Investments&&o.jsx(Utt,{}),c===Re.CryptoWeb3&&o.jsx(vJe,{}),c===Re.AlgoTradingLab&&o.jsx(kGe,{}),c===Re.ForexArena&&o.jsx(ytt,{}),c===Re.CommoditiesExchange&&o.jsx(nJe,{}),c===Re.RealEstateEmpire&&o.jsx(Pit,{}),c===Re.ArtCollectibles&&o.jsx(ZZe,{}),c===Re.DerivativesDesk&&o.jsx($Je,{}),c===Re.VentureCapital&&o.jsx(Eht,{}),c===Re.PrivateEquity&&o.jsx(Eit,{}),c===Re.TaxOptimization&&o.jsx(Vpt,{}),c===Re.LegacyBuilder&&o.jsx(Wtt,{}),c===Re.CorporateCommand&&o.jsx(pJe,{setActiveView:u}),c===Re.ModernTreasury&&o.jsx($rt,{}),c===Re.OpenBanking&&o.jsx(Xrt,{}),c===Re.FinancialDemocracy&&o.jsx(ZJe,{}),c===Re.AIAdStudio&&o.jsx(Qke,{}),c===Re.QuantumWeaver&&o.jsx(Tit,{}),c===Re.AgentMarketplace&&o.jsx(int,{}),c===Re.APIStatus&&o.jsx(BGe,{}),c===Re.Settings&&o.jsx(lpt,{}),c===Re.DataNetwork&&o.jsx(hit,{}),c===Re.Payments&&o.jsx(Spt,{}),c===Re.CardPrograms&&o.jsx(ant,{}),c===Re.SSO&&o.jsx(Fue,{}),c===Re.ConciergeService&&o.jsx(aJe,{}),c===Re.SovereignWealth&&o.jsx(hpt,{}),c===Re.Philanthropy&&o.jsx(lit,{}),c===Re.Personalization&&o.jsx(Zrt,{}),c===Re.TheVision&&o.jsx(Upt,{}),c===Re.AIAdvisor&&o.jsx(TWe,{}),c===Re.AIInsights&&o.jsx(ele,{}),c===Re.SecurityCenter&&o.jsx(wX,{}),c===Re.SecurityCompliance&&o.jsx(Zmt,{}),c===Re.DeveloperHub&&o.jsx(OJe,{}),c===Re.SchemaExplorer&&o.jsx(qmt,{schemaData:{definitions:{},properties:{}}}),c===Re.ResourceGraph&&o.jsx(Umt,{}),c===Re.ApiPlayground&&o.jsx(FZe,{}),c===Re.ComplianceOracle&&o.jsx(rJe,{}),c===Re.GlobalPositionMap&&o.jsx(ztt,{}),c===Re.GlobalSsiHub&&o.jsx(Ftt,{}),c===Re.Security&&o.jsx(wX,{}),c===Re.VentureCapitalDeskView&&o.jsx(Bxt,{}),c===Re.CustomerDashboard&&o.jsx(bJe,{}),c===Re.VerificationReports&&o.jsx(d5t,{customerId:"cust_1"}),c===Re.FinancialReporting&&o.jsx(ltt,{}),c===Re.StripeNexusDashboard&&o.jsx(Rpt,{}),c===Re.TheBook&&o.jsx(g5t,{}),c===Re.KnowledgeBase&&o.jsx(y5t,{})]})]}),o.jsx(m5t,{setActiveView:u})]}):o.jsx(_ee,{to:"/login",replace:!0})},b5t=wj({palette:{mode:"dark"}}),w5t=({children:e})=>{const t=f.useContext(ly);if(!t)return null;const{isAuthenticated:n,isLoading:r}=t;return r?null:n?o.jsx(o.Fragment,{children:e}):o.jsx(_ee,{to:"/login",replace:!0})};function S5t(){return o.jsx(w2e,{domain:"citibankdemobusinessinc.us.auth0.com",clientId:"rsBLCcuq5MVA9Dj84NEVdDqpOFePLsjI",useRefreshTokens:!0,cacheLocation:"localstorage",authorizationParams:{redirect_uri:window.location.origin,audience:"https://virtserver.swaggerhub.com/JOCALL3_1/jamesburvel/1.0"},children:o.jsx(x5t,{children:o.jsx(_2e,{children:o.jsx($ke,{children:o.jsx(Fke,{children:o.jsx(Lke,{children:o.jsxs(Bwe,{theme:b5t,children:[o.jsx(qwe,{}),o.jsx(Fxe,{children:o.jsxs(yxe,{children:[o.jsx(Nf,{path:"/",element:o.jsx(p5t,{})}),o.jsx(Nf,{path:"/login",element:o.jsx(Gtt,{})}),o.jsx(Nf,{path:"/sso",element:o.jsx(Fue,{})}),o.jsxs(Nf,{element:o.jsx(w5t,{children:o.jsx(v5t,{})}),children:[o.jsx(Nf,{index:!0,element:o.jsx(jC,{})}),o.jsx(Nf,{path:"/dashboard",element:o.jsx(jC,{})}),o.jsx(Nf,{path:"*",element:o.jsx(jC,{})})]})]})})]})})})})})})})}const ij=document.getElementById("root"),aee=document.getElementById("loading");if(!ij)throw new Error("Could not find root element to mount to");const _5t=bye.createRoot(ij);_5t.render(o.jsx(ce.StrictMode,{children:o.jsx(S5t,{})}));window.addEventListener("load",()=>{aee&&(aee.style.display="none"),ij&&(ij.style.display="flex")});
|