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,wBACA,0BACA,oBACA,iBACA,sBACA,mBACA,uBACA,oBACA,0BACA,iBACA,oBACA,wBACA,mBACA,wBACA,2BACA,oBACA,yBACA,8BACA,0BACA,+BACA,wBAEJC,EAAAA,EAAAA,IAAsBV,GAAsBG,EAAAE,KAAA,EAEtCJ,EAAQ,KAAD,mBAAAE,EAAAQ,OAAA,GAAAZ,EAAA,MAChBL,MAAA,KAAAC,UAAA,C","sources":["components/LocalDebug/App.tsx","components/shared/Helmet.tsx","components/zApps/App.tsx","components/zApps/Layout/Login/MyPage/MyPageTop/logout.ts"],"sourcesContent":["import React from \"react\";\r\nimport { apps } from \"../..\";\r\n\r\nexport function App() {\r\n return (\r\n
\r\n Local Debug Menu\r\n {apps.map(a => {\r\n return (\r\n \r\n

{a.key}

\r\n

url: {a.hostname}

\r\n {\r\n saveKey(a.key);\r\n }}\r\n >\r\n open\r\n \r\n
\r\n );\r\n })}\r\n \r\n );\r\n}\r\n\r\nexport function ReturnToLocalMenu() {\r\n if (window.location.hostname === \"localhost\") {\r\n localStorage.removeItem(\"appKeyToMount\");\r\n window.location.href = \"/\";\r\n } else {\r\n window.location.href = `/not-found?p=${window.location.pathname}`;\r\n }\r\n return null;\r\n}\r\n\r\nfunction saveKey(appKey: string) {\r\n window.localStorage.setItem(\"appKeyToMount\", appKey);\r\n window.location.reload();\r\n}\r\n","import { Helmet as ReactHelmet } from \"react-helmet\";\r\n\r\nexport const Helmet = (props: {\r\n noindex?: boolean;\r\n title?: string;\r\n desc?: string;\r\n isHome?: boolean;\r\n img?: string;\r\n canonical?: string;\r\n}) => {\r\n return (\r\n
\r\n \r\n {props.title && {props.title}}\r\n {props.desc && }\r\n {props.noindex && }\r\n \r\n
\r\n );\r\n};\r\nexport default Helmet;\r\n","import { makeStyles } from \"@material-ui/core/styles\";\r\nimport { lazy, Suspense, useEffect } from \"react\";\r\nimport { Route, Switch } from \"react-router\";\r\nimport { RouteComponentProps } from \"react-router-dom\";\r\nimport ScrollMemory from \"react-router-scroll-memory\";\r\nimport { reloadAndRedirect_OneTimeReload } from \"../../common/functions\";\r\nimport { useScreenSize } from \"../../common/hooks/useScreenSize\";\r\nimport { useStateLifecycle } from \"../../common/hooks/useStateLifecycle\";\r\nimport { APP_VERSION } from \"../../version\";\r\nimport { ReturnToLocalMenu } from \"../LocalDebug/App\";\r\nimport FooterAnimation from \"../shared/Animations/FooterAnimation\";\r\nimport ShurikenProgress from \"../shared/Animations/ShurikenProgress\";\r\nimport Helmet from \"../shared/Helmet\";\r\nimport { ReMountMain } from \"../shared/Remount\";\r\nimport Layout from \"./Layout\";\r\nimport { invitationHashKey } from \"./Layout/Login/MyPage/components/OpenableCards/ItemsCard/items/ItemClass/InvitationCard/functions\";\r\nimport { logout } from \"./Layout/Login/MyPage/MyPageTop/logout\";\r\n\r\nconst Home = lazy(() => import(\"./zApps/Home\"));\r\nconst Terms = lazy(() => import(\"./zApps/Terms\"));\r\nconst Test = lazy(() => import(\"./zApps/VocabExplorer\"));\r\nconst RomajiConverter = lazy(() => import(\"./zApps/RomajiConverter\"));\r\nconst KanjiConverter = lazy(() => import(\"./zApps/KanjiConverter\"));\r\nconst HiraganaAndKatakana = lazy(() => import(\"./zApps/HiraganaAndKatakana\"));\r\nconst HiraganaQuiz = lazy(() => import(\"./zApps/HiraganaQuiz\"));\r\nconst KatakanaQuiz = lazy(() => import(\"./zApps/KatakanaQuiz\"));\r\nconst VocabList = lazy(() => import(\"./zApps/Vocab/VocabList\"));\r\nconst VocabQuiz = lazy(() => import(\"./zApps/Vocab/VocabQuiz\"));\r\nconst VocabQuizTop = lazy(() => import(\"./zApps/Vocab/VocabQuizTop\"));\r\nconst VocabKanjiQuiz = lazy(() => import(\"./zApps/Vocab/VocabKanjiQuiz\"));\r\nconst EnToHiraganaQuiz = lazy(() => import(\"./zApps/Vocab/EnToHiraganaQuiz\"));\r\nconst EnToKanjiQuiz = lazy(() => import(\"./zApps/Vocab/EnToKanjiQuiz\"));\r\nconst VocabVideo = lazy(() => import(\"./zApps/Vocab/VocabVideo\"));\r\nconst VocabEdit = lazy(() => import(\"./zApps/Vocab/Edit\"));\r\nconst VocabEditTop = lazy(() => import(\"./zApps/Vocab/Edit/Top\"));\r\nconst VocabMerge = lazy(() => import(\"./zApps/Vocab/Merge\"));\r\nconst VocabMergeTop = lazy(() => import(\"./zApps/Vocab/Merge/Top\"));\r\nconst Stories = lazy(() => import(\"./zApps/Stories\"));\r\nconst StoriesTop = lazy(() => import(\"./zApps/Stories/StoriesTop\"));\r\nconst StoriesEdit = lazy(() => import(\"./zApps/Stories/StoriesEdit\"));\r\nconst StoriesEditTop = lazy(\r\n () => import(\"./zApps/Stories/StoriesTop/StoriesEditTop\")\r\n);\r\nconst StoriesVideo = lazy(() => import(\"./zApps/Stories/StoriesVideo\"));\r\nconst GrammarTop = lazy(() => import(\"./zApps/Grammar/GrammarTop\"));\r\nconst Grammar = lazy(() => import(\"./zApps/Grammar/Grammar\"));\r\nconst KanjiTestTop = lazy(() => import(\"./zApps/KanjiTest/KanjiTestTop\"));\r\nconst KanjiTest = lazy(() => import(\"./zApps/KanjiTest/KanjiTestPage\"));\r\nconst NinjaTop = lazy(() => import(\"./zApps/Games/NinjaGameTop\"));\r\nconst Ninja1 = lazy(() => import(\"./zApps/Games/NinjaGame\"));\r\nconst Ninja2 = lazy(() => import(\"./zApps/Games/NinjaGame2\"));\r\nconst Ninja3 = lazy(() => import(\"./zApps/Games/NinjaGame3\"));\r\nconst GameOver = lazy(() => import(\"./zApps/Games/GameOver\"));\r\nconst SiteMapEdit = lazy(() => import(\"./zApps/SiteMapEdit\"));\r\nconst Admin = lazy(() => import(\"./zApps/Admin\"));\r\nconst LogForAdmin = lazy(() => import(\"./zApps/Admin/LogForAdmin\"));\r\nconst ApiCache = lazy(() => import(\"./zApps/Admin/ApiCache\"));\r\nconst AbTestResult = lazy(() => import(\"./zApps/Admin/AbTestResult\"));\r\nconst OpeLogTable = lazy(() => import(\"./zApps/Admin/OpeLogTable\"));\r\nconst GrammarEditTop = lazy(() => import(\"./zApps/Grammar/QuizEditor/Top\"));\r\nconst GrammarEdit = lazy(() => import(\"./zApps/Grammar/QuizEditor/EditPage\"));\r\nconst KanjiEditTop = lazy(() => import(\"./zApps/KanjiTest/QuizEditor/Top\"));\r\nconst KanjiEdit = lazy(() => import(\"./zApps/KanjiTest/QuizEditor/EditPage\"));\r\nconst ColorPalette = lazy(() => import(\"./zApps/ColorPalette\"));\r\nconst Boscobel = lazy(() => import(\"./zApps/Boscobel\"));\r\nconst SBDiner = lazy(() => import(\"./zApps/SBDiner\"));\r\nconst ResetPassword = lazy(() => import(\"./zApps/User/ResetPassword\"));\r\nconst EnCheck = lazy(() => import(\"./zApps/EnCheck\"));\r\nconst NotFound = lazy(() => import(\"../shared/404\"));\r\nconst MessageImagePreviewPage = lazy(\r\n () => import(\"../shared/Message/MessageImagePreviewPage\")\r\n);\r\n\r\nexport function App() {\r\n useStateLifecycle();\r\n\r\n return (\r\n \r\n \r\n }>\r\n \r\n \r\n \r\n \r\n {\r\n window.location.href = \"/#KosukeZaizen\";\r\n return null;\r\n }}\r\n />\r\n ) => {\r\n window.location.href = `/#u${userId}`;\r\n return null;\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n );\r\n}\r\n\r\nfunction NotFoundRedirect() {\r\n const url = `api/SystemBase/GetVersion/V${new Date().getMilliseconds()}`;\r\n fetch(url).then(res => {\r\n res.json().then(v => {\r\n if (Number(v) !== APP_VERSION) {\r\n //@ts-ignore\r\n window.location.reload(true);\r\n } else {\r\n reloadAndRedirect_OneTimeReload(\"pageNotFoundRedirect\");\r\n }\r\n });\r\n });\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nfunction RedirectForInvitation({\r\n match: {\r\n params: { encodedEmail },\r\n },\r\n}: RouteComponentProps<{ encodedEmail?: string }>) {\r\n useEffect(() => {\r\n logout(true).then(() => {\r\n window.location.href = `/${invitationHashKey}${encodedEmail}`;\r\n });\r\n }, [encodedEmail]);\r\n return (\r\n <>\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport function LoadingAnimation() {\r\n const { screenWidth, screenHeight } = useScreenSize();\r\n const c = useLoadingAnimationStyles();\r\n return (\r\n
\r\n \r\n
\r\n );\r\n}\r\nconst useLoadingAnimationStyles = makeStyles({\r\n container: {\r\n width: \"100%\",\r\n height: \"100%\",\r\n position: \"fixed\",\r\n top: 0,\r\n left: 0,\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n },\r\n});\r\n","import { initializeAppState } from \"../../../../../../common/appState\";\r\nimport { clearLocalStorageData } from \"../progressManager\";\r\n\r\nexport async function logout(shouldNotRemountMain?: boolean) {\r\n const promise = fetch(\"api/Auth/Logout\", {\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n credentials: \"include\",\r\n });\r\n\r\n initializeAppState(\r\n \"user\",\r\n \"relatedUsers\",\r\n \"items\",\r\n \"xpBeforeSignUp\",\r\n \"unreadMessages\",\r\n \"questState\",\r\n \"isDailyBonusUnclaimed\",\r\n \"xpBoostRemainingSeconds\",\r\n \"lastUsedXpBooster\",\r\n \"unreadComments\",\r\n \"invitationBonusList\",\r\n \"authorPanelState\",\r\n \"otherUserPanelsState\",\r\n \"messagePanelState\",\r\n \"vocabRoulettePanelState\",\r\n \"shopPanelState\",\r\n \"paymentPanelState\",\r\n \"activeUsersPanelState\",\r\n \"socialPanelState\",\r\n \"imageDetailPanelState\",\r\n \"invitationCardPanelState\",\r\n \"simpleDialogState\",\r\n \"guestUserXpDialogState\",\r\n \"registeredUserXpDialogState\",\r\n \"friendsLimitDialogState\",\r\n \"guestMessageLimitDialogState\",\r\n \"addCoinsDialogState\"\r\n );\r\n clearLocalStorageData(shouldNotRemountMain);\r\n\r\n await promise; // No need to return. Just wait.\r\n}\r\n"],"names":["App","_jsxs","children","apps","a","style","border","margin","padding","_jsx","key","hostname","onClick","appKey","window","localStorage","setItem","location","reload","ReturnToLocalMenu","removeItem","href","concat","pathname","Helmet","props","className","ReactHelmet","link","canonical","rel","undefined","title","desc","name","content","noindex","Home","lazy","Terms","Test","RomajiConverter","KanjiConverter","HiraganaAndKatakana","HiraganaQuiz","KatakanaQuiz","VocabList","VocabQuiz","VocabQuizTop","VocabKanjiQuiz","EnToHiraganaQuiz","EnToKanjiQuiz","VocabVideo","VocabEdit","VocabEditTop","VocabMerge","VocabMergeTop","Stories","StoriesTop","StoriesEdit","StoriesEditTop","StoriesVideo","GrammarTop","Grammar","KanjiTestTop","KanjiTest","NinjaTop","Ninja1","Ninja2","Ninja3","GameOver","SiteMapEdit","Admin","LogForAdmin","ApiCache","AbTestResult","OpeLogTable","GrammarEditTop","GrammarEdit","KanjiEditTop","KanjiEdit","ColorPalette","Boscobel","SBDiner","ResetPassword","EnCheck","NotFound","MessageImagePreviewPage","useStateLifecycle","Layout","ReMountMain","Suspense","fallback","LoadingAnimation","ScrollMemory","Switch","Route","sensitive","exact","path","component","_ref","userId","match","params","RedirectForInvitation","NotFoundRedirect","FooterAnimation","url","Date","getMilliseconds","fetch","then","res","json","v","Number","APP_VERSION","reloadAndRedirect_OneTimeReload","_Fragment","_ref2","encodedEmail","useEffect","logout","invitationHashKey","_useScreenSize","useScreenSize","screenWidth","screenHeight","c","useLoadingAnimationStyles","container","ShurikenProgress","size","Math","min","makeStyles","width","height","position","top","left","display","alignItems","justifyContent","_x","_logout","apply","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee","shouldNotRemountMain","promise","wrap","_context","prev","next","headers","Accept","credentials","initializeAppState","clearLocalStorageData","stop"],"sourceRoot":""}