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KACN,C","sources":["Components/Navigation/bottom.nav.bar.jsx","Components/Footer/footer.main.jsx"],"sourcesContent":["import React, { useState, useEffect } from \"react\";\r\nimport { Link, useNavigate } from \"react-router-dom\";\r\nimport AppMenu from \"../Main-Menu/app-menu\";\r\nconst BottomNavBar = () => {\r\n const navigate = useNavigate();\r\n\r\n const go = (path) => {\r\n navigate(path);\r\n };\r\n\r\n const active = (path) => {\r\n let isDefaultScreen =\r\n window.location.pathname === \"/\" ||\r\n window.location.pathname === \"/events\";\r\n\r\n if (Array.isArray(path)) {\r\n //console.log(path, window.location.pathname);\r\n\r\n for (let i = 0; i < path.length; i++) {\r\n if (window.location.pathname.includes(path[i]) || isDefaultScreen) {\r\n return \"active\";\r\n }\r\n }\r\n return \"\";\r\n }\r\n\r\n if (window.location.pathname.includes(path)) {\r\n return \"active\";\r\n }\r\n return \"\";\r\n };\r\n\r\n return (\r\n <>\r\n
\r\n \r\n \r\n Events\r\n \r\n {/* \r\n \r\n Results\r\n */}\r\n \r\n \r\n Training\r\n \r\n \r\n \r\n News\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nexport default BottomNavBar;\r\n","import React from \"react\";\r\nimport BottomNavBar from \"../Navigation/bottom.nav.bar\";\r\n\r\nconst Footer = ({ ...props }) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default Footer;\r\n"],"names":["BottomNavBar","useNavigate","active","path","isDefaultScreen","window","location","pathname","Array","isArray","i","length","includes","_jsx","_Fragment","children","_jsxs","className","Link","to","role","concat","_ref","props"],"sourceRoot":""}