import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import { LucentPromptProvider } from './components/lucent/LucentPromptProvider.tsx'
import { setupBotAccessAuth } from './utils/botAccess.ts'
import { setupPanelAccessAuth } from './utils/panelAccess.ts'

setupPanelAccessAuth();
setupBotAccessAuth();

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <LucentPromptProvider>
      <App />
    </LucentPromptProvider>
  </StrictMode>,
)
