import 'core-js/modules/es.array.map' import 'core-js/modules/es.map' import 'core-js/modules/es.object.create' import 'core-js/modules/es.object.define-property' import 'core-js/modules/es.object.set-prototype-of' import 'core-js/modules/es.promise' import 'core-js/modules/es.set' import 'core-js/modules/es.symbol' import 'core-js/modules/web.dom-collections.iterator' import 'url-polyfill' import { StrictMode, lazy } from 'react' import { createRoot, hydrateRoot } from 'react-dom/client' import { BrowserRouter } from 'react-router-dom' import { CookiesProvider } from 'react-cookie' import { VisitorProvider } from './ui/VisitorContext' const Juick = lazy(() => import('./App')) const props = window.__PROPS__ ? JSON.parse(decodeURIComponent(escape(atob(window.__PROPS__)))) : {} const JuickApp = () => ( ) let root = document.getElementById('app') if (window.__PROPS__) { hydrateRoot(root, ) } else { createRoot(root).render() }