);\n\n routes.push({\n testRegExp: new RegExp(`^${parsedFragment}
hopeful-lumiere-z1dihy - CodeSandbox),\n component,\n params\n });\n\n return router;\n };\n\n router.setNotFound = (cb) =\u003E {\n notFound = cb;\n return router;\n };\n\n router.navigate = (fragment) =\u003E {\n window.location.hash = fragment;\n };\n\n router.start = () =\u003E {\n window.addEventListener(\"hashchange\", checkRoutes);\n\n if (!window.location.hash) {\n window.location.hash = \"#\u002F\";\n }\n\n checkRoutes();\n };\n\n return router;\n};\n","id":"mod_BmH2RPMYyFPo8zg9wGN89v","is_binary":false,"title":"router.js","sha":null,"inserted_at":"2022-11-03T01:38:16","updated_at":"2022-11-03T01:39:08","upload_id":null,"shortid":"PWky1","source_id":"src_8tX2ZhmMGTfXAYjehzivsT","directory_shortid":null}],"fork_count":1,"settings":{"ai_consent":null,"use_pint":false},"is_sse":false,"template":"static","npm_registries":[],"draft":true,"view_count":593,"version":4,"title":null,"privacy":0,"is_frozen":false,"id":"z1dihy","v2":false,"preview_secret":null,"custom_template":null,"sdk":false,"updated_at":"2022-11-03T01:39:08","pr_number":null,"npm_dependencies":{}};