// Licensed to the Software Freedom Conservancy (SFC) under one1// or more contributor license agreements. See the NOTICE file2// distributed with this work for additional information3// regarding copyright ownership. The SFC licenses this file4// to you under the Apache License, Version 2.0 (the5// "License"); you may not use this file except in compliance6// with the License. You may obtain a copy of the License at7//8// http://www.apache.org/licenses/LICENSE-2.09//10// Unless required by applicable law or agreed to in writing,11// software distributed under the License is distributed on an12// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY13// KIND, either express or implied. See the License for the14// specific language governing permissions and limitations15// under the License.1617import { CssBaseline } from '@mui/material'18import { StyledEngineProvider, ThemeProvider } from '@mui/material/styles'19import React from 'react'20import ReactDOM from 'react-dom/client'21import { HashRouter as Router } from 'react-router-dom'22import App from './App'23import * as serviceWorker from './serviceWorker'24import theme from './theme/theme'25import './index.css'2627const root = ReactDOM.createRoot(28document.getElementById('root') as HTMLElement29)3031root.render(32<React.StrictMode>33<StyledEngineProvider injectFirst>34<ThemeProvider theme={theme}>35<CssBaseline/>36<Router>37<App/>38</Router>39</ThemeProvider>40</StyledEngineProvider>41</React.StrictMode>42)4344// If you want your app to work offline and load faster, you can change45// unregister() to register() below. Note this comes with some pitfalls.46// Learn more about service workers: https://bit.ly/CRA-PWA47serviceWorker.unregister()484950