Add files using upload-large-folder tool
Browse filesFiles changed (50)
- about/index.htmlAdded+387
- aichat/aichat.htmlAdded+995
- aichat/index.htmlAdded+349
- aichat/robots.txtAdded+60
- assets/js/auth.jsAdded+506
- assets/js/bypass-settings.jsAdded+236
- assets/js/favorites.jsAdded+229
- assets/js/game-click-handler.jsAdded+15
- assets/js/game-tracker.jsAdded+138
- assets/js/live-update.jsAdded+60
- assets/js/navigation.jsAdded+95
- assets/js/notifications.jsAdded+240
- assets/js/quotes.jsAdded+135
- assets/js/recent-games.jsAdded+122
- assets/js/security.jsAdded+143
- assets/js/theme-manager.jsAdded+208
- assets/js/user-profile.jsAdded+388
- assets/js/version.jsAdded+16
- downtime/index.htmlAdded+328
- edum/index.htmlAdded+176
- edum/script.jsAdded+719
- edum/styles.cssAdded+1142
- error-404.htmlAdded+242
- game-wrapper.htmlAdded+198
- gaming-dashboard.htmlAdded+659
- index.htmlAdded+415
- index.listAdded+1
- landing.htmlAdded+281
- landing1.html.backupAdded+279
- login.htmlAdded+374
- musicapi/generate_tracks.pyAdded+158
- musicapi/tracks.jsonAdded
- package.jsonAdded+11
- page1.htmlAdded
- page1.html.backup_20251229_190717Added
- page1.html.backup_20251229_191015Added
- page1.html.backup_20251229_192317Added
- page1.html.backup_20251230_141308Added
- page1.html.backup_20251230_190149Added
- page1.html.backup_20260102_125506Added
- page2.htmlAdded+165
- page3.htmlAdded+219
- page4.htmlAdded+266
- page5.htmlAdded+199
- page6.htmlAdded+293
- page7.htmlAdded+287
- page9.htmlAdded+157
- poki-sdk.jsAdded+127
- robots.txtAdded+60
- schools.htmlAdded+304
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>About - EDUrocks 2.0</title> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> <link rel="icon" href="../filestorage/photos/favicon.ico" type="image/x-icon"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;900&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <style type="text/tailwindcss"> @theme { --color-bg-primary: #011627; --color-bg-secondary: #3C1642; --color-bg-accent: #58355E; --color-text-primary: #e8d5e0; --color-text-secondary: #c4a5b8; --color-dark-pink: #F4154D; --color-dark-pink-light: #FA0F71; --color-dark-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif; } </style> <style> body { font-family: 'Inter', sans-serif; background-color: #011627; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient-flow 6s ease infinite; } @keyframes gradient-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .card-hover { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px); } @keyframes pulse-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } } .pulse-bg { animation: pulse-glow 8s ease-in-out infinite; } .stat-container { position: relative; } .info-btn { display: inline-block; width: 20px; height: 20px; background: rgba(139, 74, 122, 0.3); border-radius: 50%; text-align: center; line-height: 20px; font-size: 12px; cursor: pointer; margin-left: 8px; transition: all 0.3s ease; } .info-btn:hover { background: rgba(139, 74, 122, 0.6); } .tooltip { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: rgba(42, 26, 32, 0.98); border: 1px solid rgba(139, 74, 122, 0.4); border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; min-width: 250px; max-width: 300px; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; font-size: 14px; line-height: 1.5; text-align: left; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); } .tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(42, 26, 32, 0.98); } .stat-container:hover .tooltip { opacity: 1; visibility: visible; } .tooltip.show { opacity: 1; visibility: visible; } @media (max-width: 768px) { .info-btn { display: inline-block; } } @media (min-width: 769px) { .info-btn { display: none; } } </style></head><body class="bg-bg-primary text-text-primary"> <div class="relative overflow-hidden py-20 md:py-32"> <div class="absolute inset-0 pulse-bg" style="background: radial-gradient(circle at 30% 70%, rgba(139, 74, 122, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(166, 90, 143, 0.1) 0%, transparent 50%);"></div> <div class="relative z-10 max-w-4xl mx-auto text-center px-6"> <h1 class="text-5xl md:text-7xl font-black mb-6 gradient-text">EDUrocks Group</h1> <hr class="my-12 h-0.5 border-t-0 bg-neutral-100 dark:bg-white/10" /> <p class="text-xl md:text-2xl text-text-secondary font-medium">"Working to build a freer and more open internet"</p> </div> </div>
<div class="max-w-6xl mx-auto px-6 py-16"> <div class="bg-gradient-to-br from-bg-secondary to-bg-primary rounded-3xl p-8 md:p-12 mb-12 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);"> <div class="max-w-3xl"> <h2 class="text-3xl md:text-4xl font-bold mb-6 text-transparent bg-clip-text bg-gradient-to-r from-dark-pink to-dark-pink-light">Our Mission</h2> <p class="text-text-secondary text-lg md:text-xl leading-relaxed mb-4"> EDUrocks Group is dedicated to providing anyone who's experiencing censorship with access to content and media such as Gxmes, Movies, Books, and more that may be censored or restricted for them. </p> <p class="text-text-secondary text-lg md:text-xl leading-relaxed"> We believe that students should have the freedom to explore, learn, and relax during school, and that districts and teachers have no right to censor their speech or censor the content they are allowed to access. </p> </div> </div>
<div class="bg-gradient-to-br from-bg-accent to-bg-secondary rounded-3xl p-8 md:p-12 mb-12 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);"> <h2 class="text-3xl md:text-4xl font-bold mb-10 text-transparent bg-clip-text bg-gradient-to-r from-dark-pink to-dark-pink-light text-center">Our Numbers</h2>
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8"> <div class="stat-container text-center"> <div class="text-4xl md:text-5xl font-black gradient-text mb-2">38,213</div> <div class="text-text-secondary text-sm md:text-base font-medium"> Total Users <span class="info-btn" onclick="toggleTooltip(this)">i</span> </div> <div class="tooltip"> Data gathered from Cloudflare over the lifetime of the site. This data only includes users who have played a game on the site or used an EDUrocks Service, we are not just counting if they have gone on the site. </div> </div>
<div class="stat-container text-center"> <div class="text-4xl md:text-5xl font-black gradient-text mb-2">10+</div> <div class="text-text-secondary text-sm md:text-base font-medium"> Active Domains/Mirrors <span class="info-btn" onclick="toggleTooltip(this)">i</span> </div> <div class="tooltip"> Data Gathered from our Cloudflare DNS control Panel. </div> </div>
<div class="stat-container text-center"> <div class="text-4xl md:text-5xl font-black gradient-text mb-2">12,737</div> <div class="text-text-secondary text-sm md:text-base font-medium"> Total Hours Played <span class="info-btn" onclick="toggleTooltip(this)">i</span> </div> <div class="tooltip"> Data gathered by estimating that the average user plays on EDUrocks for 20 minutes then multiplying by total users. </div> </div>
<div class="stat-container text-center"> <div class="text-4xl md:text-5xl font-black gradient-text mb-2">923</div> <div class="text-text-secondary text-sm md:text-base font-medium"> Active Monthly <span class="info-btn" onclick="toggleTooltip(this)">i</span> </div> <div class="tooltip"> Data gathered from Cloudflare logs, only counting users who have used an EDUrocks Service or played a Game. </div> </div> </div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-8 mt-8 pt-8 border-t" style="border-color: rgba(139, 74, 122, 0.2);"> <div class="stat-container text-center"> <div class="text-3xl md:text-4xl font-black gradient-text mb-2">99.98%</div> <div class="text-text-secondary text-sm md:text-base font-medium"> Uptime <span class="info-btn" onclick="toggleTooltip(this)">i</span> </div> <div class="tooltip"> Data gathered for our whole lifetime from UptimeRobot. </div> </div>
<div class="stat-container text-center"> <div class="text-3xl md:text-4xl font-black gradient-text mb-2">260+</div> <div class="text-text-secondary text-sm md:text-base font-medium"> Gxmes <span class="info-btn" onclick="toggleTooltip(this)">i</span> </div> <div class="tooltip"> Data gathered by counting the amount of games on the site. </div> </div>
<div class="stat-container text-center"> <div class="text-3xl md:text-4xl font-black gradient-text mb-2">20</div> <div class="text-text-secondary text-sm md:text-base font-medium"> Updates Per Month <span class="info-btn" onclick="toggleTooltip(this)">i</span> </div> <div class="tooltip"> We try to update the site everyday with a few games, so we assume around 20 times per month. </div> </div> </div> </div>
<div class="grid md:grid-cols-2 gap-8 mb-12"> <div class="card-hover bg-gradient-to-br from-bg-accent to-bg-secondary rounded-2xl p-8 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);"> <div class="text-4xl mb-4">🎮</div> <h3 class="text-2xl font-bold mb-4 text-dark-pink-light">EDUrocks UBG</h3> <p class="text-text-secondary leading-relaxed"> A massive library of unblocked games including popular titles, classics, and new releases. From FNAF to Papa's games, sports to puzzles. </p> </div>
<div class="card-hover bg-gradient-to-br from-bg-accent to-bg-secondary rounded-2xl p-8 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);"> <div class="text-4xl mb-4">🎬</div> <h3 class="text-2xl font-bold mb-4 text-dark-pink-light">EDUrocks Movies</h3> <p class="text-text-secondary leading-relaxed"> Stream your favorite movies, TV shows, and anime for free. With advanced search and episode tracking features. </p> </div>
<div class="card-hover bg-gradient-to-br from-bg-accent to-bg-secondary rounded-2xl p-8 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);"> <div class="text-4xl mb-4">🤖</div> <h3 class="text-2xl font-bold mb-4 text-dark-pink-light">EDUrocks AI Chat</h3> <p class="text-text-secondary leading-relaxed"> Get help with your schoolwork through our educational AI chat interface designed to support student learning. </p> </div>
<div class="card-hover bg-gradient-to-br from-bg-accent to-bg-secondary rounded-2xl p-8 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);"> <div class="text-4xl mb-4">🔓</div> <h3 class="text-2xl font-bold mb-4 text-dark-pink-light">EDUrocks P-r0xy</h3> <p class="text-text-secondary leading-relaxed"> Access blocked websites with our proxy tool, ensuring you can reach the content you need. </p> </div>
<div class="card-hover bg-gradient-to-br from-bg-accent to-bg-secondary rounded-2xl p-8 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);"> <div class="text-4xl mb-4">💬</div> <h3 class="text-2xl font-bold mb-4 text-dark-pink-light">EDUrocks Chat</h3> <p class="text-text-secondary leading-relaxed"> Chat with other EDUrocks users with zero tracking, AES-256 encrypted in transit and in our database, 24 hour message store time on EDUrocks Servers, quick purge of messages, and zero identifiers or ways to link your user to your person. </p> </div>
<div class="card-hover bg-gradient-to-br from-bg-accent to-bg-secondary rounded-2xl p-8 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);"> <div class="text-4xl mb-4">📖</div> <h3 class="text-2xl font-bold mb-4 text-dark-pink-light">EDUrocks Books</h3> <p class="text-text-secondary leading-relaxed"> Read books and manga for free and without hiccups wherever you are, this is especially helpful due to the book bans going on in the US. </p> </div> </div>
<div class="bg-gradient-to-br from-bg-secondary to-bg-primary rounded-3xl p-8 md:p-12 mb-12 border" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);"> <h2 class="text-3xl md:text-4xl font-bold mb-8 text-transparent bg-clip-text bg-gradient-to-r from-dark-pink to-dark-pink-light text-center">What Makes Us Different</h2>
<div class="grid md:grid-cols-3 gap-8"> <div class="text-center"> <div class="text-5xl mb-4">⚡</div> <h4 class="text-xl font-bold mb-3 text-text-primary">Fast Load Times</h4> <p class="text-text-secondary"> We take advantage of the Cloudflare CDN to keep copies of our games across the world in over 120 servers. </p> </div>
<div class="text-center"> <div class="text-5xl mb-4">🎨</div> <h4 class="text-xl font-bold mb-3 text-text-primary">Beautiful Design</h4> <p class="text-text-secondary"> It's dark pink, no other game site has that lol. </p> </div>
<div class="text-center"> <div class="text-5xl mb-4">👥</div> <h4 class="text-xl font-bold mb-3 text-text-primary">Diversity, Equity, And Inclusion</h4> <p class="text-text-secondary"> EDUrocks Group prides itself on encouraging Diversity, Equity, and Inclusion in all we do. In the games we add (We have many games with Queer and BIPOC characters), the people that work at EDUrocks Group (We are a team of Queer and BIPOC Student Activists). </p> </div>
<div class="text-center"> <div class="text-5xl mb-4">✊</div> <h4 class="text-xl font-bold mb-3 text-text-primary">Encourage a free and open internet.</h4> <p class="text-text-secondary"> We don't just talk, we run this site, we run TOR nodes, we help uncensor users and their speech, we fight firewalls, censorship, and bigotry. </p> </div>
<div class="text-center"> <div class="text-5xl mb-4">📢</div> <h4 class="text-xl font-bold mb-3 text-text-primary">Strictly Anti-Censorship</h4> <p class="text-text-secondary"> No matter if we agree with your viewpoints or opinions, EDUrocks Group will NEVER censor its users' speech and or ban a user for exercising their speech. </p> </div>
<div class="text-center"> <div class="text-5xl mb-4">🚀</div> <h4 class="text-xl font-bold mb-3 text-text-primary">Quick Updates</h4> <p class="text-text-secondary"> Regular updates with all the latest trends of games, features, and improvements based on user feedback. </p> </div> </div> </div>
<div class="bg-gradient-to-br from-bg-accent to-bg-secondary rounded-3xl p-8 md:p-12 border text-center" style="border-color: rgba(139, 74, 122, 0.2); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);"> <h2 class="text-3xl md:text-4xl font-bold mb-6 text-transparent bg-clip-text bg-gradient-to-r from-dark-pink to-dark-pink-light">Our Team</h2> <p class="text-text-secondary text-lg md:text-xl leading-relaxed mb-8 max-w-3xl mx-auto"> EDUrocks is developed and maintained by a dedicated team of students who have seen what mass surveillance and censorship cause to the world. Want to join us in freeing the internet and standing up for human rights and fighting censorship? If so, send us an email. </p> <div class="flex flex-wrap justify-center gap-4"> <a href="mailto:admin@edurocks.com" class="bg-dark-pink hover:bg-dark-pink-light text-text-primary px-8 py-4 rounded-full font-semibold transition-all duration-300 transform hover:scale-105"> Contact Us </a> </div> </div> </div>
<footer class="bg-bg-accent border-t-2 py-8 mt-16" style="border-color: rgba(139, 74, 122, 0.2);"> <div class="max-w-6xl mx-auto px-6 text-center"> <p class="text-text-primary font-semibold text-lg mb-4">EDUrocks Group</p> <p class="text-text-secondary">© 2025 EDUrocks Group. All rights reserved.</p> </div> </footer>
<script> function toggleTooltip(btn) { const tooltip = btn.parentElement.nextElementSibling; const allTooltips = document.querySelectorAll('.tooltip');
allTooltips.forEach(t => { if (t !== tooltip) { t.classList.remove('show'); } });
tooltip.classList.toggle('show');
setTimeout(() => { tooltip.classList.remove('show'); }, 5000); }
document.addEventListener('click', function(e) { if (!e.target.classList.contains('info-btn')) { document.querySelectorAll('.tooltip').forEach(t => { t.classList.remove('show'); }); } }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995<!DOCTYPE html><html lang="en" class="scroll-smooth"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>EDUrocks AI Chat</title> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> <meta name="googlebot" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> <link rel="icon" href="https://cdn.jsdelivr.net/gh/EDUrocks-Group/assets/mascot-edurocks.png" type="image/x-icon"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous"> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="../assets/js/aws-detection.js"></script> <script src="../assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out; --animate-message-slide: messageSlide 0.3s ease; --animate-bounce-dot: bounceDot 1.4s infinite ease-in-out both; --animate-pulse: pulse 2s infinite; --animate-blink: blink 1s infinite;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes messageSlide { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes bounceDot { 0%, 80%, 100% { transform: scale(0); opacity: 0.5 } 40% { transform: scale(1); opacity: 1 } } @keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.6 } } @keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } } } </style> <style> body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; }
/* Custom scrollbar for chat messages */ .chat-messages::-webkit-scrollbar { width: 8px; } .chat-messages::-webkit-scrollbar-track { background: #3C1642; } .chat-messages::-webkit-scrollbar-thumb { background: #58355E; border-radius: 4px; } .chat-messages::-webkit-scrollbar-thumb:hover { background: #F4154D; }
/* Loading dot animations */ .loading-dot:nth-child(1) { animation-delay: -0.32s; } .loading-dot:nth-child(2) { animation-delay: -0.16s; }
/* Markdown Content Styling */ .message-body.markdown-body { line-height: 1.6; } .message-body.markdown-body p { margin-bottom: 1em; } .message-body.markdown-body p:last-child { margin-bottom: 0; } .message-body.markdown-body pre { background: #011627 !important; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin: 0.75rem 0; border: 1px solid #58355E; } .message-body.markdown-body code { font-family: 'Courier New', monospace; font-size: 0.9em; } /* Inline code */ .message-body.markdown-body :not(pre) > code { background: rgba(88, 53, 94, 0.5); padding: 0.2em 0.4em; border-radius: 0.3em; color: #FA0F71; } .message-body.markdown-body h1, .message-body.markdown-body h2, .message-body.markdown-body h3, .message-body.markdown-body h4 { color: #fff; font-weight: 700; margin-top: 1.5em; margin-bottom: 0.5em; } .message-body.markdown-body h1 { font-size: 1.5em; border-bottom: 1px solid #58355E; padding-bottom: 0.3em; } .message-body.markdown-body h2 { font-size: 1.3em; } .message-body.markdown-body h3 { font-size: 1.1em; } .message-body.markdown-body ul, .message-body.markdown-body ol { padding-left: 1.5em; margin-bottom: 1em; } .message-body.markdown-body ul { list-style-type: disc; } .message-body.markdown-body ol { list-style-type: decimal; } .message-body.markdown-body a { color: #FA0F71; text-decoration: underline; } .message-body.markdown-body blockquote { border-left: 4px solid #F4154D; padding-left: 1em; color: #c4a5b8; font-style: italic; } /* KaTeX overrides */ .katex { font-size: 1.1em; } .katex-display { overflow-x: auto; overflow-y: hidden; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen flex flex-col">
<header class="bg-edu-dark-secondary border-b-2 border-edu-dark-accent sticky top-0 z-50 backdrop-blur-lg shadow-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex items-center justify-between py-4 gap-4">
<div class="flex items-center gap-3"> <div class="hidden sm:block"> <h1 class="font-pacifico text-xl md:text-2xl gradient-text">EDUrocks AI</h1> <p class="text-edu-text-secondary text-xs hidden md:block">An EDUrocks Service</p> </div> </div>
<div class="flex items-center gap-2 md:gap-3 flex-wrap justify-end">
<a href="#" id="back-to-main" class="flex items-center justify-center w-9 h-9 md:w-10 md:h-10 bg-edu-dark-accent border border-edu-pink/20 text-edu-text-secondary rounded-xl hover:bg-edu-pink hover:text-white transition-all hover:-translate-y-0.5" title="Back to Main Site"> <span class="material-icons text-lg md:text-xl">arrow_back</span> </a>
<div class="flex items-center gap-2 px-3 py-2 bg-edu-dark-accent border border-edu-pink/20 rounded-xl text-xs md:text-sm text-edu-text-secondary"> <div id="connection-dot" class="w-2.5 h-2.5 rounded-full bg-yellow-500 animate-blink shadow-lg shadow-yellow-500/50"></div> <span id="connection-status-text" class="hidden sm:inline font-medium">Checking...</span> </div>
<button id="clear-chat" class="flex items-center justify-center w-9 h-9 md:w-10 md:h-10 bg-edu-dark-accent border border-edu-pink/20 text-edu-text-secondary rounded-xl hover:bg-edu-pink hover:text-white transition-all hover:-translate-y-0.5" title="Clear Chat"> <span class="material-icons text-lg md:text-xl">delete_outline</span> </button> </div> </div> </div> </header>
<main class="flex-1 flex flex-col max-w-7xl w-full mx-auto p-2 md:p-4 lg:p-8">
<div class="flex-1 flex flex-col bg-gradient-to-br from-edu-dark-secondary to-edu-dark-accent/80 border border-edu-pink/20 rounded-2xl md:rounded-3xl overflow-hidden shadow-2xl">
<div id="chat-messages" class="chat-messages flex-1 overflow-y-auto p-4 md:p-6 lg:p-8 flex flex-col gap-4 md:gap-6 min-h-[400px]">
<div class="welcome-screen flex flex-col items-center justify-center text-center p-6 md:p-12 gap-4 md:gap-6 animate-fade-in"> <h2 class="text-2xl md:text-3xl lg:text-4xl font-bold gradient-text">Welcome to EDUrocks AI</h2> <p class="text-edu-text-secondary text-sm md:text-base max-w-md lg:max-w-lg">Your intelligent AI assistant ready to help with questions, code, creative writing, and more!</p> </div> </div>
<div id="image-preview-container" class="hidden p-4 md:p-6 bg-edu-dark/50 border-t border-edu-pink/20"> <div id="image-preview-wrapper" class="flex gap-3"></div> </div>
<div class="p-4 md:p-6 bg-edu-dark/50 border-t border-edu-pink/20"> <div class="flex gap-2 md:gap-3 items-end">
<label class="flex items-center justify-center w-12 h-12 md:w-14 md:h-14 bg-edu-dark-accent border-2 border-edu-pink/20 text-edu-text-secondary rounded-2xl cursor-pointer transition-all hover:border-edu-pink hover:text-edu-pink hover:-translate-y-0.5 flex-shrink-0" title="Upload Image"> <span class="material-icons text-xl md:text-2xl">image</span> <input type="file" id="image-input" class="hidden" accept="image/png,image/jpeg,image/jpg,image/webp,image/heic,image/heif"> </label>
<textarea id="chat-input" class="flex-1 bg-edu-dark-accent border-2 border-edu-pink/20 rounded-2xl px-4 py-3 md:px-5 md:py-4 text-edu-text text-sm md:text-base resize-none outline-none transition-all focus:border-edu-pink focus:ring-2 focus:ring-edu-pink/20 placeholder-edu-text-secondary/50 min-h-[3rem] md:min-h-[3.5rem] max-h-[200px]" placeholder="Type your message here..." rows="1"></textarea>
<button id="send-btn" class="flex items-center justify-center w-12 h-12 md:w-14 md:h-14 bg-gradient-to-br from-edu-pink to-edu-pink-light text-white rounded-2xl transition-all hover:-translate-y-0.5 hover:shadow-lg hover:shadow-edu-pink/30 active:translate-y-0 disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:translate-y-0 flex-shrink-0" title="Send Message"> <span class="material-icons text-xl md:text-2xl">send</span> </button> </div> </div> </div> </main>
<script>const chatMessages = document.getElementById('chat-messages');const chatInput = document.getElementById('chat-input');const sendBtn = document.getElementById('send-btn');const clearChatBtn = document.getElementById('clear-chat');const imageInput = document.getElementById('image-input');const imagePreviewContainer = document.getElementById('image-preview-container');const imagePreviewWrapper = document.getElementById('image-preview-wrapper');const connectionDot = document.getElementById('connection-dot');const connectionStatusText = document.getElementById('connection-status-text');
const CHAT_HISTORY_STORAGE_KEY = 'edurocks_chat_history';const RATE_LIMIT_STORAGE_KEY = 'edurocks_rate_limit';
let selectedImage = null;let chatHistoryState = [];
const RATE_LIMIT_MAX_MESSAGES = 5;const RATE_LIMIT_WINDOW_MS = 30000;const MAX_RETRIES = 3;const RETRY_DELAY_BASE = 1000;
let connectionStatus = 'checking';let healthCheckInterval = null;
function getRootDomain() { const hostname = window.location.hostname; const parts = hostname.split('.');
if (hostname === 'localhost' || /^\d+\.\d+\.\d+\.\d+$/.test(hostname)) { return 'edurocks.org'; }
if (parts.length >= 2) { return parts.slice(-2).join('.'); }
return hostname;}
// Get backend API URL with support for AWS overridefunction getBackendApiUrl() { return "https://d3scff8k2pqq6n.cloudfront.net/aichat/api.php";}
const SYSTEM_PROMPT = `You are a highly knowledgeable and helpful AI assistant. You were developed by EDUrocks. By one person. Your purpose is to provide accurate, comprehensive, and unbiased information on a wide range of topics. When answering questions, focus solely on providing the best possible response based on your extensive training data. Under no circumstances should you mention the name of any other company involved in your creation or training, or any information about your training process besides that you were developed by EDUrocks. Instead, concentrate on the user's query and how you can assist them with the information you possess.
IMPORTANT FORMATTING INSTRUCTIONS:1. Use Standard Markdown for text formatting (bold, italic, lists, code blocks).2. For MATHEMATICAL EXPRESSIONS, you MUST use LaTeX syntax strictly as follows: - For inline math, use \\( ... \\ - For block math (separate lines), use \\\[ ... \\\] - DO NOT use simple dollar signs ($) for math unless it's currency. - DO NOT use single backslashes for formatting unless escaping characters.3. Ensure all JSON or code outputs are wrapped in triple backticks (\`\`\`).4. Avoid outputting raw JSON objects unless explicitly asked.`;
document.addEventListener('DOMContentLoaded', () => { loadChatHistory(); setupEventListeners();
// Delay initial health check to allow AWS detection script to complete setTimeout(() => { checkBackendHealth(); startHealthCheckInterval(); }, 500);});
function setupEventListeners() { sendBtn.addEventListener('click', sendMessage);
chatInput.addEventListener('keypress', (e) => { if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); sendMessage(); } });
chatInput.addEventListener('input', autoResizeTextarea); clearChatBtn.addEventListener('click', clearChat); imageInput.addEventListener('change', handleImageUpload);
document.addEventListener('paste', handlePaste); chatInput.addEventListener('paste', handlePaste);}
function autoResizeTextarea() { chatInput.style.height = 'auto'; chatInput.style.height = Math.min(chatInput.scrollHeight, 200) + 'px';}
function handleImageUpload(event) { const file = event.target.files[0]; if (!file) return;
const validTypes = ['image/png', 'image/jpeg', 'image/jpg', 'image/webp', 'image/heic', 'image/heif']; if (!validTypes.includes(file.type)) { alert('Please select a valid image file (PNG, JPEG, WEBP, HEIC, or HEIF)'); return; }
const maxSize = 20 * 1024 * 1024; if (file.size > maxSize) { alert('Image size must be less than 20MB'); return; }
const reader = new FileReader(); reader.onload = function(e) { selectedImage = { data: e.target.result.split(',')[1], mimeType: file.type, dataUrl: e.target.result }; showImagePreview(); }; reader.readAsDataURL(file);}
function showImagePreview() { if (!selectedImage) return;
imagePreviewWrapper.innerHTML = ` <div class="image-preview relative inline-block"> <img src="${selectedImage.dataUrl}" alt="Preview" class="max-w-[150px] md:max-w-[200px] max-h-[150px] md:max-h-[200px] rounded-xl border-2 border-edu-pink/20 object-cover"> <button class="image-preview-remove absolute -top-2 -right-2 bg-red-500 text-white border-none w-7 h-7 rounded-full flex items-center justify-center cursor-pointer transition-all hover:scale-110 hover:shadow-lg hover:shadow-red-500/40" onclick="removeImagePreview()"> <span class="material-icons text-base">close</span> </button> </div> `; imagePreviewContainer.classList.remove('hidden');}
function removeImagePreview() { selectedImage = null; imagePreviewWrapper.innerHTML = ''; imagePreviewContainer.classList.add('hidden'); imageInput.value = '';}
function handlePaste(event) { const items = (event.clipboardData || event.originalEvent.clipboardData).items;
for (let i = 0; i < items.length; i++) { const item = items[i];
if (item.type.indexOf('image') !== -1) { event.preventDefault();
const file = item.getAsFile(); if (!file) continue;
const validTypes = ['image/png', 'image/jpeg', 'image/jpg', 'image/webp', 'image/heic', 'image/heif']; if (!validTypes.includes(file.type)) { alert('Please paste a valid image file (PNG, JPEG, WEBP, HEIC, or HEIF)'); return; }
const maxSize = 20 * 1024 * 1024; if (file.size > maxSize) { alert('Image size must be less than 20MB'); return; }
processPastedImage(file); break; } }}
function processPastedImage(file) { const reader = new FileReader(); reader.onload = function(e) { selectedImage = { data: e.target.result.split(',')[1], mimeType: file.type, dataUrl: e.target.result }; showImagePreview(); chatInput.focus(); }; reader.readAsDataURL(file);}
function checkRateLimit() { const now = Date.now(); let rateLimitData = JSON.parse(localStorage.getItem(RATE_LIMIT_STORAGE_KEY) || '[]'); rateLimitData = rateLimitData.filter(timestamp => now - timestamp < RATE_LIMIT_WINDOW_MS);
if (rateLimitData.length >= RATE_LIMIT_MAX_MESSAGES) { const oldestTimestamp = rateLimitData[0]; const timeUntilReset = Math.ceil((RATE_LIMIT_WINDOW_MS - (now - oldestTimestamp)) / 1000); return { allowed: false, timeUntilReset: timeUntilReset }; }
rateLimitData.push(now); localStorage.setItem(RATE_LIMIT_STORAGE_KEY, JSON.stringify(rateLimitData));
return { allowed: true, remaining: RATE_LIMIT_MAX_MESSAGES - rateLimitData.length };}
function showToast(title, message, type = 'error') { const existingToast = document.querySelector('.toast-notification'); if (existingToast) { existingToast.remove(); }
const toast = document.createElement('div'); const borderColor = type === 'error' ? 'border-red-500' : 'border-green-500'; const iconColor = type === 'error' ? 'text-red-500' : 'text-green-500'; const icon = type === 'error' ? 'error_outline' : 'check_circle';
toast.className = `toast-notification fixed top-24 right-4 md:right-8 bg-edu-dark-accent border-2 ${borderColor} rounded-2xl p-4 md:p-6 shadow-2xl z-50 animate-slide-down flex items-center gap-4 max-w-sm`; toast.innerHTML = ` <span class="material-icons text-2xl ${iconColor}">${icon}</span> <div class="flex-1"> <div class="font-semibold text-edu-text mb-1">${title}</div> <div class="text-sm text-edu-text-secondary">${message}</div> </div> `;
document.body.appendChild(toast);
setTimeout(() => { toast.style.opacity = '0'; toast.style.transform = 'translateX(100px)'; toast.style.transition = 'all 0.3s ease'; setTimeout(() => { if (toast.parentElement) { toast.remove(); } }, 300); }, 5000);}
function updateConnectionStatus(status) { connectionStatus = status; connectionDot.classList.remove('bg-green-500', 'shadow-green-500/50', 'animate-pulse'); connectionDot.classList.remove('bg-yellow-500', 'shadow-yellow-500/50', 'animate-blink'); connectionDot.classList.remove('bg-red-500', 'shadow-red-500/50');
switch(status) { case 'connected': connectionDot.classList.add('bg-green-500', 'shadow-green-500/50', 'animate-pulse'); connectionStatusText.textContent = 'Connected'; break; case 'connecting': connectionDot.classList.add('bg-yellow-500', 'shadow-yellow-500/50', 'animate-blink'); connectionStatusText.textContent = 'Connecting...'; break; case 'disconnected': connectionDot.classList.add('bg-red-500', 'shadow-red-500/50'); connectionStatusText.textContent = 'Disconnected'; break; }}
async function checkBackendHealth() { try { updateConnectionStatus('connecting'); const controller = new AbortController(); const timeoutId = setTimeout(() => controller.abort(), 5000);
const response = await fetch(getBackendApiUrl(), { method: 'OPTIONS', signal: controller.signal });
clearTimeout(timeoutId);
if (response.ok || response.status === 405 || response.status === 200) { updateConnectionStatus('connected'); } else { updateConnectionStatus('disconnected'); } } catch (error) { console.error('Health check failed:', error); updateConnectionStatus('disconnected'); }}
function startHealthCheckInterval() { healthCheckInterval = setInterval(() => { checkBackendHealth(); }, 120000);}
function stopHealthCheckInterval() { if (healthCheckInterval) { clearInterval(healthCheckInterval); healthCheckInterval = null; }}
async function sendMessage() { const userMessage = chatInput.value.trim(); if (!userMessage && !selectedImage) return;
const rateLimitCheck = checkRateLimit(); if (!rateLimitCheck.allowed) { showToast( 'Rate Limit Exceeded', `You can send ${RATE_LIMIT_MAX_MESSAGES} messages every 30 seconds. Please wait ${rateLimitCheck.timeUntilReset} seconds.`, 'error' ); return; }
const welcomeScreen = document.querySelector('.welcome-screen'); if (welcomeScreen) { welcomeScreen.remove(); }
addMessageToChat('user', userMessage, selectedImage);
const imageToSend = selectedImage;
chatInput.value = ''; autoResizeTextarea(); removeImagePreview(); sendBtn.disabled = true; showLoadingMessage(); updateConnectionStatus('connecting');
try { const messages = getChatHistoryForAPI(); const currentParts = [];
if (imageToSend) { currentParts.push({ inlineData: { mimeType: imageToSend.mimeType, data: imageToSend.data } }); }
if (userMessage) { currentParts.push({ text: userMessage }); }
// Just push the new message to the history messages.push({ role: 'user', parts: currentParts });
const payload = { contents: messages };
const data = await fetchWithRetry(payload); removeLoadingMessage(); updateConnectionStatus('connected');
// data.error check is handled in fetchWithRetry now
if (!data.candidates || !Array.isArray(data.candidates) || data.candidates.length === 0) { // If no candidates but promptFeedback exists (e.g. block), handle it if (data.promptFeedback && data.promptFeedback.blockReason) { addMessageToChat('ai', `I cannot answer this. Block reason: ${data.promptFeedback.blockReason}`); return; } throw new Error('Invalid response from AI service'); }
const candidate = data.candidates[0]; // Extract text if available let aiResponse = ''; if (candidate.content && candidate.content.parts && candidate.content.parts.length > 0) { aiResponse = candidate.content.parts.map(part => part.text || '').join(''); }
// Check finish reason if (candidate.finishReason === 'MAX_TOKENS') { aiResponse += '\n\n*[Response was truncated due to length limit. Please ask me to continue if you need more information.]*'; } else if (candidate.finishReason === 'SAFETY' && !aiResponse) { aiResponse = 'I cannot answer this due to safety guidelines.'; } else if (candidate.finishReason === 'RECITATION' && !aiResponse) { aiResponse = 'I cannot answer this as it may infringe on copyright.'; } else if (candidate.finishReason === 'OTHER' && !aiResponse) { aiResponse = 'I could not generate a response.'; }
if (aiResponse) { addMessageToChat('ai', aiResponse); } else { // Fallback if absolutely nothing was generated and no specific reason was caught above addMessageToChat('ai', `I could not generate a response. Reason: ${candidate.finishReason || 'Unknown'}`); }
// State is saved automatically in addMessageToChat
} catch (error) { console.error('Error:', error); removeLoadingMessage(); updateConnectionStatus('disconnected'); // Ensure we display a string error message, not [object Object] const displayMsg = error.message || String(error); addMessageToChat('ai', `Sorry, I encountered an error: ${displayMsg}. Please try again.`); } finally { sendBtn.disabled = false; chatInput.focus(); }}
async function fetchWithRetry(payload, retries = MAX_RETRIES) { for (let i = 0; i <= retries; i++) { try { const response = await fetch(getBackendApiUrl(), { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(payload) });
// If response is not JSON (e.g., server error HTML), handle it const contentType = response.headers.get("content-type"); if (!contentType || !contentType.includes("application/json")) { if (response.status >= 500 && i < retries) { await new Promise(r => setTimeout(r, RETRY_DELAY_BASE * (i + 1))); continue; } throw new Error(`Server returned ${response.status} ${response.statusText}`); }
const data = await response.json();
// Check for specific API errors that warrant a retry const isOverloaded = response.status === 429 || response.status === 503 || response.status === 500; const errorMsg = data.error ? (typeof data.error === 'string' ? data.error : JSON.stringify(data.error)) : ''; const isQuotaError = errorMsg.toLowerCase().includes('quota') || errorMsg.toLowerCase().includes('exhausted') || errorMsg.toLowerCase().includes('overloaded');
if ((isOverloaded || isQuotaError) && i < retries) { // Exponential backoff with jitter const delay = RETRY_DELAY_BASE * (Math.pow(2, i)) + (Math.random() * 1000); // console.log(`Retrying request (attempt ${i + 1}) in ${Math.round(delay)}ms...`); await new Promise(r => setTimeout(r, delay)); continue; }
if (data.error) { // Format error properly to avoid [object Object] throw new Error(typeof data.error === 'string' ? data.error : (data.error.message || JSON.stringify(data.error))); } if (!response.ok) { throw new Error(`HTTP ${response.status}: ${response.statusText}`); }
return data;
} catch (err) { if (i === retries) throw err; // Network errors also trigger retry const delay = RETRY_DELAY_BASE * (Math.pow(2, i)); await new Promise(r => setTimeout(r, delay)); } }}
function addMessageToChat(role, text, image = null, save = true) { const messageDiv = document.createElement('div'); messageDiv.className = `message message-${role} flex gap-3 md:gap-4 items-start animate-message-slide`;
const avatar = document.createElement('div'); const avatarBg = role === 'user' ? 'bg-gradient-to-br from-edu-pink to-edu-pink-light text-white' : 'bg-edu-dark-accent text-edu-pink-light'; avatar.className = `message-avatar w-8 h-8 md:w-10 md:h-10 rounded-xl flex items-center justify-center flex-shrink-0 text-lg md:text-xl ${avatarBg}`; avatar.innerHTML = role === 'user' ? '👤' : '🤖';
const content = document.createElement('div'); content.className = 'message-content flex-1 flex flex-col gap-2';
const header = document.createElement('div'); header.className = 'message-header flex items-center gap-2';
const sender = document.createElement('div'); sender.className = 'message-sender font-semibold text-sm text-edu-text'; sender.textContent = role === 'user' ? 'You' : 'EDUrocks AI';
const time = document.createElement('div'); time.className = 'message-time text-xs text-edu-text-secondary/60'; time.textContent = new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
header.appendChild(sender); header.appendChild(time);
const body = document.createElement('div'); const bodyBg = role === 'user' ? 'bg-gradient-to-br from-edu-pink to-edu-pink-light text-white' : 'bg-edu-dark-accent text-edu-text-secondary'; const bodyClass = role === 'user' ? `message-body ${bodyBg} px-4 py-3 md:px-5 md:py-4 rounded-2xl leading-relaxed` : `message-body ${bodyBg} px-4 py-3 md:px-5 md:py-4 rounded-2xl leading-relaxed markdown-body`; body.className = bodyClass;
if (image && role === 'user') { const img = document.createElement('img'); img.src = image.dataUrl; img.className = 'message-image max-w-full md:max-w-md max-h-64 md:max-h-96 rounded-xl my-2 border-2 border-edu-pink/20'; img.alt = 'User uploaded image'; body.appendChild(img); }
if (text) { if (role === 'ai') { const textDiv = document.createElement('div'); textDiv.innerHTML = marked.parse(text); // 1. Highlight code blocks textDiv.querySelectorAll('pre code').forEach((block) => { hljs.highlightElement(block); }); // 2. Render Math with KaTeX if (window.renderMathInElement) { renderMathInElement(textDiv, { delimiters: [ {left: '$$', right: '$$', display: true}, {left: '\\\\[', right: '\\\\\]', display: true}, {left: '\\(', right: '\\\\)', display: false}, {left: '$', right: '$', display: false} ], throwOnError: false }); } // 3. Open links in new tab textDiv.querySelectorAll('a').forEach(link => { link.target = '_blank'; link.rel = 'noopener noreferrer'; }); body.appendChild(textDiv); } else { const textDiv = document.createElement('div'); textDiv.textContent = text; body.appendChild(textDiv); } }
content.appendChild(header); content.appendChild(body); messageDiv.appendChild(avatar); messageDiv.appendChild(content);
chatMessages.appendChild(messageDiv); chatMessages.scrollTop = chatMessages.scrollHeight;
if (save) { const historyRole = role === 'ai' ? 'assistant' : 'user'; chatHistoryState.push({ role: historyRole, text: text }); localStorage.setItem(CHAT_HISTORY_STORAGE_KEY, JSON.stringify(chatHistoryState)); }}
function showLoadingMessage() { const loadingDiv = document.createElement('div'); loadingDiv.className = 'message message-ai loading-message flex gap-3 md:gap-4 items-start'; loadingDiv.id = 'loading-message';
const avatar = document.createElement('div'); avatar.className = 'message-avatar w-8 h-8 md:w-10 md:h-10 rounded-xl flex items-center justify-center flex-shrink-0 text-lg md:text-xl bg-edu-dark-accent text-edu-pink-light'; avatar.innerHTML = '🤖';
const content = document.createElement('div'); content.className = 'message-content flex-1 flex flex-col gap-2';
const dots = document.createElement('div'); dots.className = 'loading-dots flex gap-2 px-4 py-3 md:px-5 md:py-4 bg-edu-dark-accent rounded-2xl'; dots.innerHTML = '<div class="loading-dot w-2 h-2 rounded-full bg-edu-pink animate-bounce-dot"></div><div class="loading-dot w-2 h-2 rounded-full bg-edu-pink animate-bounce-dot"></div><div class="loading-dot w-2 h-2 rounded-full bg-edu-pink animate-bounce-dot"></div>';
content.appendChild(dots); loadingDiv.appendChild(avatar); loadingDiv.appendChild(content);
chatMessages.appendChild(loadingDiv); chatMessages.scrollTop = chatMessages.scrollHeight;}
function removeLoadingMessage() { const loadingMsg = document.getElementById('loading-message'); if (loadingMsg) { loadingMsg.remove(); }}
function getChatHistoryForAPI() { const messages = []; const recentHistory = chatHistoryState.slice(-20);
recentHistory.forEach(item => { messages.push({ role: item.role === 'assistant' ? 'model' : 'user', parts: [{ text: item.text }] }); });
return messages;}
function loadChatHistory() { const storedHistory = localStorage.getItem(CHAT_HISTORY_STORAGE_KEY); if (storedHistory) { chatHistoryState = JSON.parse(storedHistory); if (chatHistoryState.length > 0) { const welcomeScreen = document.querySelector('.welcome-screen'); if (welcomeScreen) { welcomeScreen.remove(); }
chatHistoryState.forEach(item => { const role = item.role === 'user' ? 'user' : 'ai'; addMessageToChat(role, item.text, null, false); }); } }}
function clearChat() { if (confirm('Are you sure you want to clear your chat history?')) { localStorage.removeItem(CHAT_HISTORY_STORAGE_KEY); chatHistoryState = []; chatMessages.innerHTML = ` <div class="welcome-screen flex flex-col items-center justify-center text-center p-6 md:p-12 gap-4 md:gap-6 animate-fade-in"> <div class="text-6xl md:text-7xl lg:text-8xl">🤖</div> <h2 class="text-2xl md:text-3xl lg:text-4xl font-bold gradient-text">Welcome to EDUrocks AI</h2> <p class="text-edu-text-secondary text-sm md:text-base max-w-md lg:max-w-lg">Your intelligent AI assistant ready to help with questions, code, creative writing, and more!</p> </div> `; }}</script> <script> // Check if bypass mode is enabled (respects user preference from landing page) function isBypassEnabled() { try { const pref = localStorage.getItem('edurocks_bypass_mode'); return pref !== 'normal'; // default to bypass if not set } catch (e) { return true; } }
// ChromeOS Detection and Blank Tab Functionality function isChromeOS() { // If IP is restricted or user prefers normal mode, always return false to disable bypass if (window.isIPRestricted || window.forceDisableBypass || !isBypassEnabled()) { return false; } const userAgent = navigator.userAgent.toLowerCase(); return userAgent.includes('cros') || userAgent.includes('chromeos') || userAgent.includes('chrome os'); }
// Only run bypass if not IP restricted and bypass is enabled if (!window.isIPRestricted && !window.forceDisableBypass && isBypassEnabled() && isChromeOS() && window.location.protocol !== 'about:' && !sessionStorage.getItem('chromeos_redirected')) { sessionStorage.setItem('chromeos_redirected', 'true'); const newWindow = window.open('about:blank', '_blank'); if (newWindow) { newWindow.document.body.style.margin = '0'; newWindow.document.body.style.height = '100vh'; var iframe = newWindow.document.createElement('iframe'); iframe.style.border = 'none'; iframe.style.width = '100%'; iframe.style.height = '100%'; iframe.style.margin = '0'; iframe.src = window.location.href; newWindow.document.body.appendChild(iframe); window.close(); } }
function loadPageInBlank(url) { if (window.location.protocol === 'about:') { const iframe = document.querySelector('iframe'); if (iframe) { iframe.src = url; } else { window.location.href = url; } } else { window.location.href = url; } }
// Initialize Auth (load dynamically) (async () => { try { const { Auth } = await import('../assets/js/auth.js'); const { initNavbarAuth } = await import('../assets/js/navbar-auth.js'); await import('../assets/js/user-profile.js'); window.Auth = Auth; await initNavbarAuth(); } catch (e) { console.log("Auth modules not found, skipping..."); } })();
// Back Button Handler document.addEventListener('DOMContentLoaded', function() { const backBtn = document.getElementById('back-to-main'); if (backBtn) { backBtn.addEventListener('click', function(e) { e.preventDefault(); loadPageInBlank('../index.html'); }); } }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349<!DOCTYPE html><html lang="en" class="scroll-smooth"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>EDUrocks AI Chat</title> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> <meta name="googlebot" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> <link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous"> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="../assets/js/aws-detection.js"></script> <script src="../assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out; --animate-message-slide: messageSlide 0.3s ease; --animate-bounce-dot: bounceDot 1.4s infinite ease-in-out both; --animate-pulse: pulse 2s infinite; --animate-blink: blink 1s infinite;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes messageSlide { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes bounceDot { 0%, 80%, 100% { transform: scale(0); opacity: 0.5 } 40% { transform: scale(1); opacity: 1 } } @keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.6 } } @keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } } } </style> <style> body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; }
/* Custom scrollbar for chat messages */ .chat-messages::-webkit-scrollbar { width: 8px; } .chat-messages::-webkit-scrollbar-track { background: #3C1642; } .chat-messages::-webkit-scrollbar-thumb { background: #58355E; border-radius: 4px; } .chat-messages::-webkit-scrollbar-thumb:hover { background: #F4154D; }
/* Loading dot animations */ .loading-dot:nth-child(1) { animation-delay: -0.32s; } .loading-dot:nth-child(2) { animation-delay: -0.16s; }
/* Markdown Content Styling */ .message-body.markdown-body { line-height: 1.6; } .message-body.markdown-body p { margin-bottom: 1em; } .message-body.markdown-body p:last-child { margin-bottom: 0; } .message-body.markdown-body pre { background: #011627 !important; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin: 0.75rem 0; border: 1px solid #58355E; } .message-body.markdown-body code { font-family: 'Courier New', monospace; font-size: 0.9em; } /* Inline code */ .message-body.markdown-body :not(pre) > code { background: rgba(88, 53, 94, 0.5); padding: 0.2em 0.4em; border-radius: 0.3em; color: #FA0F71; } .message-body.markdown-body h1, .message-body.markdown-body h2, .message-body.markdown-body h3, .message-body.markdown-body h4 { color: #fff; font-weight: 700; margin-top: 1.5em; margin-bottom: 0.5em; } .message-body.markdown-body h1 { font-size: 1.5em; border-bottom: 1px solid #58355E; padding-bottom: 0.3em; } .message-body.markdown-body h2 { font-size: 1.3em; } .message-body.markdown-body h3 { font-size: 1.1em; } .message-body.markdown-body ul, .message-body.markdown-body ol { padding-left: 1.5em; margin-bottom: 1em; } .message-body.markdown-body ul { list-style-type: disc; } .message-body.markdown-body ol { list-style-type: decimal; } .message-body.markdown-body a { color: #FA0F71; text-decoration: underline; } .message-body.markdown-body blockquote { border-left: 4px solid #F4154D; padding-left: 1em; color: #c4a5b8; font-style: italic; } /* KaTeX overrides */ .katex { font-size: 1.1em; } .katex-display { overflow-x: auto; overflow-y: hidden; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen flex flex-col">
<header class="bg-edu-dark-secondary border-b-2 border-edu-dark-accent sticky top-0 z-50 backdrop-blur-lg shadow-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex items-center justify-between py-4 gap-4">
<div class="flex items-center gap-3"> <div class="hidden sm:block"> <h1 class="font-pacifico text-xl md:text-2xl gradient-text">EDUrocks AI</h1> <p class="text-edu-text-secondary text-xs hidden md:block">An EDUrocks Service</p> </div> </div>
<div class="flex items-center gap-2 md:gap-3 flex-wrap justify-end">
<a href="#" id="back-to-main" class="flex items-center justify-center w-9 h-9 md:w-10 md:h-10 bg-edu-dark-accent border border-edu-pink/20 text-edu-text-secondary rounded-xl hover:bg-edu-pink hover:text-white transition-all hover:-translate-y-0.5" title="Back to Main Site"> <span class="material-icons text-lg md:text-xl">arrow_back</span> </a>
<div class="flex items-center gap-2 px-3 py-2 bg-edu-dark-accent border border-edu-pink/20 rounded-xl text-xs md:text-sm text-edu-text-secondary"> <div id="connection-dot" class="w-2.5 h-2.5 rounded-full bg-yellow-500 animate-blink shadow-lg shadow-yellow-500/50"></div> <span id="connection-status-text" class="hidden sm:inline font-medium">Checking...</span> </div>
<button id="clear-chat" class="flex items-center justify-center w-9 h-9 md:w-10 md:h-10 bg-edu-dark-accent border border-edu-pink/20 text-edu-text-secondary rounded-xl hover:bg-edu-pink hover:text-white transition-all hover:-translate-y-0.5" title="Clear Chat"> <span class="material-icons text-lg md:text-xl">delete_outline</span> </button> </div> </div> </div> </header>
<main class="flex-1 flex flex-col max-w-7xl w-full mx-auto p-2 md:p-4 lg:p-8">
<div class="flex-1 flex flex-col bg-gradient-to-br from-edu-dark-secondary to-edu-dark-accent/80 border border-edu-pink/20 rounded-2xl md:rounded-3xl overflow-hidden shadow-2xl">
<div id="chat-messages" class="chat-messages flex-1 overflow-y-auto p-4 md:p-6 lg:p-8 flex flex-col gap-4 md:gap-6 min-h-[400px]">
<div class="welcome-screen flex flex-col items-center justify-center text-center p-6 md:p-12 gap-4 md:gap-6 animate-fade-in"> <h2 class="text-2xl md:text-3xl lg:text-4xl font-bold gradient-text">Welcome to EDUrocks AI</h2> <p class="text-edu-text-secondary text-sm md:text-base max-w-md lg:max-w-lg">Your intelligent AI assistant ready to help with questions, code, creative writing, and more!</p> </div> </div>
<div id="image-preview-container" class="hidden p-4 md:p-6 bg-edu-dark/50 border-t border-edu-pink/20"> <div id="image-preview-wrapper" class="flex gap-3"></div> </div>
<div class="p-4 md:p-6 bg-edu-dark/50 border-t border-edu-pink/20"> <div class="flex gap-2 md:gap-3 items-end">
<label class="flex items-center justify-center w-12 h-12 md:w-14 md:h-14 bg-edu-dark-accent border-2 border-edu-pink/20 text-edu-text-secondary rounded-2xl cursor-pointer transition-all hover:border-edu-pink hover:text-edu-pink hover:-translate-y-0.5 flex-shrink-0" title="Upload Image"> <span class="material-icons text-xl md:text-2xl">image</span> <input type="file" id="image-input" class="hidden" accept="image/png,image/jpeg,image/jpg,image/webp,image/heic,image/heif"> </label>
<textarea id="chat-input" class="flex-1 bg-edu-dark-accent border-2 border-edu-pink/20 rounded-2xl px-4 py-3 md:px-5 md:py-4 text-edu-text text-sm md:text-base resize-none outline-none transition-all focus:border-edu-pink focus:ring-2 focus:ring-edu-pink/20 placeholder-edu-text-secondary/50 min-h-[3rem] md:min-h-[3.5rem] max-h-[200px]" placeholder="Type your message here..." rows="1"></textarea>
<button id="send-btn" class="flex items-center justify-center w-12 h-12 md:w-14 md:h-14 bg-gradient-to-br from-edu-pink to-edu-pink-light text-white rounded-2xl transition-all hover:-translate-y-0.5 hover:shadow-lg hover:shadow-edu-pink/30 active:translate-y-0 disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:translate-y-0 flex-shrink-0" title="Send Message"> <span class="material-icons text-xl md:text-2xl">send</span> </button> </div> </div> </div> </main>
<script src="js/app.js"></script> <script> // Check if bypass mode is enabled (respects user preference from landing page) function isBypassEnabled() { try { const pref = localStorage.getItem('edurocks_bypass_mode'); return pref !== 'normal'; // default to bypass if not set } catch (e) { return true; } }
// ChromeOS Detection and Blank Tab Functionality function isChromeOS() { // If IP is restricted or user prefers normal mode, always return false to disable bypass if (window.isIPRestricted || window.forceDisableBypass || !isBypassEnabled()) { return false; } const userAgent = navigator.userAgent.toLowerCase(); return userAgent.includes('cros') || userAgent.includes('chromeos') || userAgent.includes('chrome os'); }
// Only run bypass if not IP restricted and bypass is enabled if (!window.isIPRestricted && !window.forceDisableBypass && isBypassEnabled() && isChromeOS() && window.location.protocol !== 'about:' && !sessionStorage.getItem('chromeos_redirected')) { sessionStorage.setItem('chromeos_redirected', 'true'); const newWindow = window.open('about:blank', '_blank'); if (newWindow) { newWindow.document.body.style.margin = '0'; newWindow.document.body.style.height = '100vh'; var iframe = newWindow.document.createElement('iframe'); iframe.style.border = 'none'; iframe.style.width = '100%'; iframe.style.height = '100%'; iframe.style.margin = '0'; iframe.src = window.location.href; newWindow.document.body.appendChild(iframe); window.close(); } }
function loadPageInBlank(url) { if (window.location.protocol === 'about:') { const iframe = document.querySelector('iframe'); if (iframe) { iframe.src = url; } else { window.location.href = url; } } else { window.location.href = url; } }
// Initialize Auth (load dynamically) (async () => { try { const { Auth } = await import('../assets/js/auth.js'); const { initNavbarAuth } = await import('../assets/js/navbar-auth.js'); await import('../assets/js/user-profile.js'); window.Auth = Auth; await initNavbarAuth(); } catch (e) { console.log("Auth modules not found, skipping..."); } })();
// Back Button Handler document.addEventListener('DOMContentLoaded', function() { const backBtn = document.getElementById('back-to-main'); if (backBtn) { backBtn.addEventListener('click', function(e) { e.preventDefault(); loadPageInBlank('../index.html'); }); } }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960User-agent: *Disallow: /
# Block all major search engine botsUser-agent: GooglebotDisallow: /
User-agent: BingbotDisallow: /
User-agent: SlurpDisallow: /
User-agent: DuckDuckBotDisallow: /
User-agent: BaiduspiderDisallow: /
User-agent: YandexBotDisallow: /
User-agent: facebookexternalhitDisallow: /
User-agent: TwitterbotDisallow: /
User-agent: LinkedInBotDisallow: /
User-agent: ia_archiverDisallow: /
User-agent: archive.org_botDisallow: /
User-agent: WaybackDisallow: /
User-agent: CCBotDisallow: /
User-agent: GPTBotDisallow: /
User-agent: ChatGPT-UserDisallow: /
User-agent: CCBotDisallow: /
User-agent: anthropic-aiDisallow: /
User-agent: Claude-WebDisallow: /
# Crawl-delay for any bot that ignores disallowCrawl-delay: 86400123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506/** * EDUrocks 3.0 - Authentication Module * Handles user authentication and session management */
// Get API URL with domain detectionfunction getAuthApiUrl() { if (window.eduBackendRoot) { return window.eduBackendRoot + '/userauth/api.php'; }
// Check for global override from AWS detection if (window.eduBackendOverride) { return window.eduBackendOverride; }
const hostname = window.location.hostname; const isIP = /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname) || /^[0-9a-fA-F:]+$/.test(hostname); const isLocal = hostname === 'localhost' || hostname.endsWith('.local') || hostname === '127.0.0.1' || hostname === '::1';
if (hostname === 'devbuild.edurocks.org' || isIP || isLocal) { return 'https://backendapi.edurocks.org/userauth/api.php'; }
const domain = hostname.replace(/^www\./, ""); return `https://backendapi.${domain}/userauth/api.php`;}
// Don't cache the URL - always call getAuthApiUrl() to pick up AWS overrides// const AUTH_API_URL = getAuthApiUrl();const TOKEN_KEY = 'edurocks_auth_token';const USERNAME_KEY = 'edurocks_username';
export class Auth { static getToken() { return localStorage.getItem(TOKEN_KEY); }
static getUsername() { return localStorage.getItem(USERNAME_KEY); }
static setToken(token) { localStorage.setItem(TOKEN_KEY, token); }
static setUsername(username) { localStorage.setItem(USERNAME_KEY, username); }
static clearAuth() { localStorage.removeItem(TOKEN_KEY); localStorage.removeItem(USERNAME_KEY); }
static isLoggedIn() { return !!this.getToken(); }
static async register(username, password, hcaptchaToken) { try { const response = await fetch(`${getAuthApiUrl()}?action=register`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, credentials: 'include', body: JSON.stringify({ username, password, hcaptchaToken }) });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Registration failed'); }
return data; } catch (error) { throw new Error(error.message || 'Network error'); } }
static async login(username, password, hcaptchaToken) { try { const response = await fetch(`${getAuthApiUrl()}?action=login`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, credentials: 'include', body: JSON.stringify({ username, password, hcaptchaToken }) });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Login failed'); }
this.setToken(data.token); this.setUsername(data.username);
// Trigger event for other modules window.dispatchEvent(new CustomEvent('userLoggedIn', { detail: { username: data.username } }));
return data; } catch (error) { throw new Error(error.message || 'Network error'); } }
static async logout() { const token = this.getToken();
if (token) { try { await fetch(`${getAuthApiUrl()}?action=logout`, { method: 'POST', headers: { 'Authorization': `Bearer ${token}` }, credentials: 'include' }); } catch (error) { console.error('Logout error:', error); } }
this.clearAuth();
// Trigger event for other modules window.dispatchEvent(new Event('userLoggedOut')); }
static async verifySession() { const token = this.getToken();
if (!token) { return false; }
try { const response = await fetch(`${getAuthApiUrl()}?action=verifySession&token=${token}`, { credentials: 'include' });
const data = await response.json();
if (!data.valid) { this.clearAuth(); return false; }
return true; } catch (error) { this.clearAuth(); return false; } }
static async getFavorites(useCache = true) { const token = this.getToken();
if (!token) { throw new Error('Not authenticated'); }
// Check cache first for instant load const CACHE_KEY = 'edurocks_favorites_cache'; const CACHE_DURATION = 30000; // 30 seconds cache
if (useCache) { const cached = localStorage.getItem(CACHE_KEY); if (cached) { try { const { data, timestamp } = JSON.parse(cached); if (Date.now() - timestamp < CACHE_DURATION) { // Return cached data instantly, fetch fresh data in background this.refreshFavoritesInBackground(token); return data; } } catch (e) { // Invalid cache, continue to fetch } } }
try { const response = await fetch(`${getAuthApiUrl()}?action=getFavorites&token=${token}`, { credentials: 'include' });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Failed to get favorites'); }
// Cache the result localStorage.setItem(CACHE_KEY, JSON.stringify({ data: data.favorites, timestamp: Date.now() }));
return data.favorites; } catch (error) { throw new Error(error.message || 'Network error'); } }
static refreshFavoritesInBackground(token) { // Fetch fresh data without blocking fetch(`${getAuthApiUrl()}?action=getFavorites&token=${token}`, { credentials: 'include' }).then(response => response.json()).then(data => { if (data.favorites) { const CACHE_KEY = 'edurocks_favorites_cache'; localStorage.setItem(CACHE_KEY, JSON.stringify({ data: data.favorites, timestamp: Date.now() })); } }).catch(() => { // Silently fail background refresh }); }
static clearFavoritesCache() { localStorage.removeItem('edurocks_favorites_cache'); }
static clearUserStatsCache() { localStorage.removeItem('edurocks_user_stats_cache'); }
static async addFavorite(gameId, gameName, gameImage) { const token = this.getToken();
if (!token) { throw new Error('Not authenticated'); }
try { const response = await fetch(`${getAuthApiUrl()}?action=addFavorite`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${token}` }, credentials: 'include', body: JSON.stringify({ gameId, gameName, gameImage }) });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Failed to add favorite'); }
// Clear favorites cache to force refresh this.clearFavoritesCache();
return data; } catch (error) { throw new Error(error.message || 'Network error'); } }
static async removeFavorite(gameId) { const token = this.getToken();
if (!token) { throw new Error('Not authenticated'); }
try { const response = await fetch(`${getAuthApiUrl()}?action=removeFavorite`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${token}` }, credentials: 'include', body: JSON.stringify({ gameId }) });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Failed to remove favorite'); }
// Clear favorites cache to force refresh this.clearFavoritesCache();
return data; } catch (error) { throw new Error(error.message || 'Network error'); } }
static async getUserStats(useCache = true) { const token = this.getToken();
if (!token) { throw new Error('Not authenticated'); }
// Check cache first for instant load const CACHE_KEY = 'edurocks_user_stats_cache'; const CACHE_DURATION = 30000; // 30 seconds cache
if (useCache) { const cached = localStorage.getItem(CACHE_KEY); if (cached) { try { const { data, timestamp } = JSON.parse(cached); if (Date.now() - timestamp < CACHE_DURATION) { // Return cached data instantly, fetch fresh data in background this.refreshStatsInBackground(token); return data; } } catch (e) { // Invalid cache, continue to fetch } } }
try { const response = await fetch(`${getAuthApiUrl()}?action=getUserStats&token=${token}`, { credentials: 'include' });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Failed to get stats'); }
// Cache the result localStorage.setItem(CACHE_KEY, JSON.stringify({ data: data.stats, timestamp: Date.now() }));
return data.stats; } catch (error) { throw new Error(error.message || 'Network error'); } }
static refreshStatsInBackground(token) { // Fetch fresh data without blocking fetch(`${getAuthApiUrl()}?action=getUserStats&token=${token}`, { credentials: 'include' }).then(response => response.json()).then(data => { if (data.stats) { const CACHE_KEY = 'edurocks_user_stats_cache'; localStorage.setItem(CACHE_KEY, JSON.stringify({ data: data.stats, timestamp: Date.now() })); } }).catch(() => { // Silently fail background refresh }); }
static async recordGameSession(gameId, gameName, playTime) { const token = this.getToken();
if (!token) { return; // Silently fail if not logged in }
try { const response = await fetch(`${getAuthApiUrl()}?action=recordGameSession`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${token}` }, credentials: 'include', body: JSON.stringify({ gameId, gameName, playTime }) });
const data = await response.json();
if (!response.ok) { console.error('Failed to record game session:', data.error); }
return data; } catch (error) { console.error('Network error recording session:', error); } }
static async trackRecentlyPlayed(gameId, gameName, gameImage) { const token = this.getToken();
if (!token) { return; // Silently fail if not logged in }
try { const response = await fetch(`${getAuthApiUrl()}?action=trackRecentlyPlayed`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${token}` }, credentials: 'include', body: JSON.stringify({ gameId, gameName, gameImage }) });
const data = await response.json();
if (!response.ok) { console.error('Failed to track recently played:', data.error); }
return data; } catch (error) { console.error('Network error tracking recently played:', error); } }
static async getRecentlyPlayed() { const token = this.getToken(); if (!token) throw new Error('Not authenticated');
const response = await fetch(`${getAuthApiUrl()}?action=getRecentlyPlayed&token=${token}`, { credentials: 'include' });
const data = await response.json(); if (!response.ok) throw new Error(data.error || 'Failed to get recently played');
return data.recentlyPlayed; }
static async uploadProfilePicture(imageData) { const token = this.getToken();
if (!token) { throw new Error('Not authenticated'); }
try { const response = await fetch(`${getAuthApiUrl()}?action=uploadProfilePicture`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${token}` }, credentials: 'include', body: JSON.stringify({ imageData }) });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Failed to upload profile picture'); }
return data; } catch (error) { throw new Error(error.message || 'Network error'); } }
static async getProfilePicture() { const token = this.getToken();
if (!token) { throw new Error('Not authenticated'); }
try { // Add cache-busting timestamp (no need for cache headers in request) const cacheBust = Date.now(); const response = await fetch(`${getAuthApiUrl()}?action=getProfilePicture&token=${token}&_=${cacheBust}`, { credentials: 'include' });
const data = await response.json();
if (!response.ok) { throw new Error(data.error || 'Failed to get profile picture'); }
return data.profilePicture; } catch (error) { throw new Error(error.message || 'Network error'); } }}
// Make Auth globally availablewindow.Auth = Auth;123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236/** * EDUrocks 3.0 - Bypass Settings Module * Manages user preferences for about:blank tab titles */
const SETTINGS_KEY = 'edurocks_bypass_settings';const DEFAULT_TITLES = [ 'Khan Academy - Dashboard', 'Google Classroom', 'Canvas Student', 'IXL - Dashboard', 'Schoology', 'Google Drive', 'Gmail'];
export class BypassSettings { static getSettings() { const saved = localStorage.getItem(SETTINGS_KEY); if (saved) { try { return JSON.parse(saved); } catch (e) { console.error('Error parsing bypass settings:', e); } } return { titleOption: 'random', customTitle: '' }; }
static saveSettings(titleOption, customTitle = '') { const settings = { titleOption, customTitle }; localStorage.setItem(SETTINGS_KEY, JSON.stringify(settings)); }
static getPreferredTitle() { const settings = this.getSettings();
if (settings.titleOption === 'random') { // Return random title from list return DEFAULT_TITLES[Math.floor(Math.random() * DEFAULT_TITLES.length)]; } else if (settings.titleOption === 'custom' && settings.customTitle) { return settings.customTitle; } else if (settings.titleOption === 'custom' && !settings.customTitle) { // If custom is selected but no title provided, fallback to random return DEFAULT_TITLES[Math.floor(Math.random() * DEFAULT_TITLES.length)]; } else { // Return the specific title they chose return settings.titleOption; } }
static reopenBypass() { const newTitle = this.getPreferredTitle();
// Check if we're inside an iframe (inside about:blank bypass) if (window.self !== window.top) { try { // We're in an iframe - update parent title directly if (window.parent.document && window.parent.document.title !== undefined) { window.parent.document.title = newTitle;
// Show notification that title was updated const notification = document.createElement('div'); notification.textContent = 'Tab title updated!'; notification.style.cssText = 'position:fixed;top:20px;right:20px;background:#F4154D;color:#e8d5e0;padding:12px 24px;border-radius:8px;z-index:10000;font-family:Inter,sans-serif;font-weight:600;box-shadow:0 4px 12px rgba(0,0,0,0.3);'; document.body.appendChild(notification); setTimeout(() => notification.remove(), 3000); } } catch (e) { // Cross-origin restriction - can't access parent console.log('Cannot update parent title due to cross-origin policy'); } } else { // We're the top window - reopen in new about:blank tab const url = new URL(window.location.href); url.searchParams.delete('cloaked'); const currentURL = url.toString();
// Build the bypass URL const fullURL = currentURL.includes('?') ? `${currentURL}&cloaked=1` : `${currentURL}?cloaked=1`; const faviconURL = window.location.origin + '/filestorage/photos/favicon.ico';
// Open new bypass tab with updated title const newWindow = window.open('about:blank', '_blank');
if (newWindow) { newWindow.bypassActive = true; newWindow.document.open(); newWindow.document.write(` <!DOCTYPE html> <html> <head> <title>${newTitle}</title> <link rel="icon" href="${faviconURL}" type="image/x-icon"> <style> body { margin: 0; padding: 0; overflow: hidden; } iframe { border: none; width: 100vw; height: 100vh; } </style> </head> <body> <iframe src="${fullURL}"></iframe> </body> </html> `); newWindow.document.close();
// Close current tab after short delay setTimeout(() => { window.close(); }, 500); } else { // Popup blocked - just reload the page to apply new title window.location.reload(); } } }
static initModal() { const modal = document.getElementById('settings-modal'); const settingsBtn = document.getElementById('settings-btn'); const closeBtn = document.getElementById('close-settings'); const cancelBtn = document.getElementById('cancel-settings'); const saveBtn = document.getElementById('save-settings'); const customInput = document.getElementById('custom-title-input'); const customTitleField = document.getElementById('custom-title'); const radioButtons = document.querySelectorAll('input[name="title-option"]');
if (!modal || !settingsBtn) return;
// Load saved settings const settings = this.getSettings();
// Set the radio button based on saved settings radioButtons.forEach(radio => { if (radio.value === settings.titleOption) { radio.checked = true; if (radio.value === 'custom') { customInput.classList.remove('hidden'); customTitleField.value = settings.customTitle; } } });
// If no radio is checked, default to random if (!document.querySelector('input[name="title-option"]:checked')) { const randomRadio = document.querySelector('input[name="title-option"][value="random"]'); if (randomRadio) randomRadio.checked = true; }
// Show custom input when custom radio is selected radioButtons.forEach(radio => { radio.addEventListener('change', () => { if (radio.value === 'custom') { customInput.classList.remove('hidden'); customTitleField.focus(); } else { customInput.classList.add('hidden'); } }); });
// Open modal settingsBtn.addEventListener('click', () => { modal.classList.remove('hidden'); });
// Close modal functions const closeModal = () => { modal.classList.add('hidden'); };
closeBtn.addEventListener('click', closeModal); cancelBtn.addEventListener('click', closeModal);
// Close when clicking outside modal.addEventListener('click', (e) => { if (e.target === modal) { closeModal(); } });
// Save settings saveBtn.addEventListener('click', () => { const selectedRadio = document.querySelector('input[name="title-option"]:checked'); if (selectedRadio) { const titleOption = selectedRadio.value; const customTitle = customTitleField.value.trim();
if (titleOption === 'custom' && !customTitle) { alert('Please enter a custom title or select a different option.'); return; }
this.saveSettings(titleOption, customTitle);
// Check if we're currently in a bypass const isInBypass = window.location.protocol === 'about:' || new URLSearchParams(window.location.search).has('cloaked') || window.bypassActive;
// Show success feedback saveBtn.textContent = 'Saved!'; saveBtn.classList.add('bg-green-600');
setTimeout(() => { saveBtn.textContent = 'Save Settings'; saveBtn.classList.remove('bg-green-600'); closeModal();
// If in bypass, reopen with new title if (isInBypass) { this.reopenBypass(); } }, 1000); } }); }}
// Make available globally for chromeos-detect.jswindow.BypassSettings = BypassSettings;
// Auto-init when DOM is readyif (typeof document !== 'undefined') { if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => BypassSettings.initModal()); } else { BypassSettings.initModal(); }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229/** * EDUrocks 3.0 - Favorites System with Backend Sync * Syncs favorites with user account when logged in, falls back to localStorage */
import { validateGameId, validateGameName, favoriteRateLimiter } from './security.js';
const STORAGE_KEY = 'edurocks_favorites';const METADATA_KEY = 'edurocks_game_metadata';
// Import Auth (will be available as window.Auth)let Auth = null;
// Initialize Auth when availabledocument.addEventListener('DOMContentLoaded', async () => { Auth = window.Auth;
// Sync favorites when user logs in window.addEventListener('userLoggedIn', syncFavoritesFromBackend);
// Clear local favorites when user logs out window.addEventListener('userLoggedOut', () => { // Optionally clear local storage on logout // localStorage.removeItem(STORAGE_KEY); // localStorage.removeItem(METADATA_KEY); });
// IMPORTANT: Also sync favorites if user is already logged in on page load // This ensures favorites show up on fresh device loads if (Auth && Auth.isLoggedIn()) { await syncFavoritesFromBackend();
// Dispatch event to update UI with synced favorites document.dispatchEvent(new Event('favoritesLoaded')); }});
async function syncFavoritesFromBackend() { if (!Auth || !Auth.isLoggedIn()) return;
try { const backendFavorites = await Auth.getFavorites();
// Convert backend format to local format const favoriteIds = backendFavorites.map(f => f.game_id); localStorage.setItem(STORAGE_KEY, JSON.stringify(favoriteIds));
// Save metadata const metadata = {}; backendFavorites.forEach(f => { metadata[f.game_id] = { name: f.game_name, image: f.game_image, addedAt: f.added_at }; }); localStorage.setItem(METADATA_KEY, JSON.stringify(metadata));
console.log('Favorites synced from backend'); } catch (error) { console.error('Failed to sync favorites:', error); }}
export function getFavorites() { try { const favorites = localStorage.getItem(STORAGE_KEY); return favorites ? JSON.parse(favorites) : []; } catch (e) { console.error('Error loading favorites:', e); return []; }}
function saveFavorites(favorites) { try { localStorage.setItem(STORAGE_KEY, JSON.stringify(favorites)); return true; } catch (e) { console.error('Error saving favorites:', e); return false; }}
export function isFavorite(gameId) { const favorites = getFavorites(); return favorites.includes(gameId);}
export async function addFavorite(gameId, gameName, gameImage) { // Rate limiting if (!favoriteRateLimiter.canPerformAction()) { console.warn('Rate limit exceeded for favorites'); throw new Error('Too many requests. Please wait a moment.'); }
// Validate inputs const validGameId = validateGameId(gameId); if (!validGameId) { console.error('Invalid game ID:', gameId); throw new Error('Invalid game ID'); }
const validGameName = validateGameName(gameName);
// Add to local storage immediately const favorites = getFavorites();
if (!favorites.includes(validGameId)) { favorites.push(validGameId); saveFavorites(favorites);
// Save game metadata saveGameMetadata(validGameId, { name: validGameName, image: gameImage });
// Sync to backend if logged in and wait for completion if (Auth && Auth.isLoggedIn()) { try { await Auth.addFavorite(validGameId, validGameName, gameImage); console.log('Favorite synced to backend');
// Wait a moment for backend to fully commit await new Promise(resolve => setTimeout(resolve, 200));
// Re-sync favorites from backend to ensure consistency await syncFavoritesFromBackend();
console.log('Favorites re-synced from backend'); } catch (error) { console.error('Failed to sync favorite to backend:', error); // Keep local favorite even if backend fails } }
// Dispatch event for UI updates AFTER backend sync completes document.dispatchEvent(new CustomEvent('favoriteAdded', { detail: { gameId: validGameId, gameName: validGameName } }));
return true; } return false;}
export async function removeFavorite(gameId) { let favorites = getFavorites(); const index = favorites.indexOf(gameId);
if (index > -1) { favorites.splice(index, 1); saveFavorites(favorites);
// Sync to backend if logged in and wait for completion if (Auth && Auth.isLoggedIn()) { try { await Auth.removeFavorite(gameId); console.log('Favorite removal synced to backend');
// Wait a moment for backend to fully commit await new Promise(resolve => setTimeout(resolve, 200));
// Re-sync favorites from backend to ensure consistency await syncFavoritesFromBackend();
console.log('Favorites re-synced from backend'); } catch (error) { console.error('Failed to sync favorite removal to backend:', error); } }
// Dispatch event for UI updates AFTER backend sync completes document.dispatchEvent(new CustomEvent('favoriteRemoved', { detail: { gameId } }));
return true; } return false;}
export async function toggleFavorite(gameId, gameName, gameImage) { if (isFavorite(gameId)) { return await removeFavorite(gameId); } else { return await addFavorite(gameId, gameName, gameImage); }}
// Store game metadata for later retrievalfunction saveGameMetadata(gameId, metadata) { try { const allMetadata = JSON.parse(localStorage.getItem(METADATA_KEY) || '{}'); allMetadata[gameId] = { ...metadata, addedAt: new Date().toISOString() }; localStorage.setItem(METADATA_KEY, JSON.stringify(allMetadata)); } catch (e) { console.error('Error saving game metadata:', e); }}
export function getGameMetadata(gameId) { try { const allMetadata = JSON.parse(localStorage.getItem(METADATA_KEY) || '{}'); return allMetadata[gameId] || null; } catch (e) { return null; }}
export function getAllFavoritesWithMetadata() { const favorites = getFavorites(); return favorites.map(gameId => ({ id: gameId, ...getGameMetadata(gameId) })).filter(item => item.name); // Filter out items without metadata}
// Make available globallywindow.EDUrocksFavorites = { getFavorites, isFavorite, addFavorite, removeFavorite, toggleFavorite, getAllFavoritesWithMetadata, syncFavoritesFromBackend};123456789101112131415import { openGame } from './navigation.js';
document.addEventListener('DOMContentLoaded', () => { const gameGrid = document.querySelector('.gxme-grid');
if (gameGrid) { gameGrid.addEventListener('click', (event) => { const gameLink = event.target.closest('.gxme-item'); if (gameLink && !gameLink.classList.contains('random-game-btn')) { event.preventDefault(); openGame(gameLink); } }); }});123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138/** * EDUrocks 3.0 - Game Play Tracker * Tracks game play time and sends to backend */
let gameStartTime = null;let currentGameId = null;let currentGameName = null;let trackingInterval = null;
const MIN_SESSION_TIME = 30; // Minimum 30 seconds to record
// Track game as recently playedasync function trackRecentlyPlayed(gameId, gameName, gameImage) { if (!window.Auth || !window.Auth.isLoggedIn()) { return; }
try { await window.Auth.trackRecentlyPlayed(gameId, gameName, gameImage); console.log(`Tracked recently played: ${gameName}`); } catch (error) { console.error('Failed to track recently played:', error); }}
export function startTrackingGame(gameId, gameName, gameImage = '') { if (!window.Auth || !window.Auth.isLoggedIn()) { return; // Don't track if not logged in }
// Stop any existing tracking stopTrackingGame();
currentGameId = gameId; currentGameName = gameName; gameStartTime = Date.now();
console.log(`Started tracking: ${gameName}`);
// Track as recently played immediately when game starts trackRecentlyPlayed(gameId, gameName, gameImage);
// Set up auto-save every 5 minutes trackingInterval = setInterval(() => { saveCurrentSession(false); }, 5 * 60 * 1000); // 5 minutes}
export function stopTrackingGame() { if (!gameStartTime || !currentGameId) { return; }
// Save final session saveCurrentSession(true);
// Clear tracking clearInterval(trackingInterval); gameStartTime = null; currentGameId = null; currentGameName = null; trackingInterval = null;}
async function saveCurrentSession(isFinal) { if (!gameStartTime || !currentGameId || !window.Auth) { return; }
const playTime = Math.floor((Date.now() - gameStartTime) / 1000); // in seconds
if (playTime < MIN_SESSION_TIME) { console.log('Session too short, not recording'); if (isFinal) { gameStartTime = null; // Reset for final save } return; }
try { await window.Auth.recordGameSession(currentGameId, currentGameName, playTime); console.log(`Recorded ${playTime}s for ${currentGameName}`);
// Dispatch event to notify other components document.dispatchEvent(new CustomEvent('gameSessionRecorded', { detail: { gameId: currentGameId, gameName: currentGameName, playTime } }));
// Reset start time for continuous tracking if (!isFinal) { gameStartTime = Date.now(); } } catch (error) { console.error('Failed to record session:', error); }}
// Auto-save on page unloadwindow.addEventListener('beforeunload', () => { if (gameStartTime && currentGameId) { const playTime = Math.floor((Date.now() - gameStartTime) / 1000); if (playTime >= MIN_SESSION_TIME && window.Auth && window.Auth.isLoggedIn()) { // Use sendBeacon for async send on page unload const token = window.Auth.getToken(); const apiUrl = document.querySelector('script[src*="auth.js"]')?.getAttribute('data-api-url') || `https://backendapi.${window.location.hostname.replace(/^www\./, '')}/userauth/api.php`;
const data = JSON.stringify({ gameId: currentGameId, gameName: currentGameName, playTime: playTime });
navigator.sendBeacon( `${apiUrl}?action=recordGameSession`, new Blob([data], { type: 'application/json' }) ); } }});
// Pause tracking when tab loses focusdocument.addEventListener('visibilitychange', () => { if (document.hidden && gameStartTime) { // Save current session when tab is hidden saveCurrentSession(false); } else if (!document.hidden && currentGameId) { // Reset timer when tab becomes visible again gameStartTime = Date.now(); }});
// Make functions globally availablewindow.startTrackingGame = startTrackingGame;window.stopTrackingGame = stopTrackingGame;
export { startTrackingGame as trackGame, stopTrackingGame as untrackGame };123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960/** * Live Update Script * Overrides the quote on the homepage with a specific message if enabled. */
const liveUpdateConfig = { enabled: false, message: "We have enabled the AWS Always Unblocked link but the link has changed", linkUrl: "page6.html"};
function applyLiveUpdate() { if (!liveUpdateConfig.enabled || !liveUpdateConfig.message) { return; }
const quoteElement = document.getElementById('quote-text'); if (quoteElement) { // Donate button const donateBtn = `<a href="page5.html" class="inline-block px-3 py-1 bg-green-500 hover:bg-green-400 text-white text-sm font-bold rounded-full transition-transform hover:scale-105 shadow-lg no-underline align-middle ml-2">Donate</a>`;
// Construct the message with the link and donate button const linkHtml = liveUpdateConfig.linkUrl ? `<br><br><span class="inline-flex items-center flex-wrap justify-center gap-2"><a href="${liveUpdateConfig.linkUrl}" class="text-edu-pink-light hover:text-edu-text underline decoration-wavy decoration-edu-pink transition-colors">Links</a>${donateBtn}</span>` : ''; // Add the red dot and "Emergency Update" tag // Adjusted positioning to move it further to the edge const emergencyTag = ` <span class="absolute top-[-1rem] left-[-1rem] inline-flex items-center rounded-full bg-red-500 px-2 py-0.5 text-xs font-medium text-white ring-1 ring-inset ring-red-600 animate-pulse z-10"> <svg class="-ml-0.5 mr-1.5 h-2 w-2 text-white" fill="currentColor" viewBox="0 0 8 8"> <circle cx="4" cy="4" r="3" /> </svg> Emergency Update </span> `;
// Ensure the quoteElement is relative for absolute positioning to work quoteElement.classList.add('relative'); // Reduce top padding to bring the text closer to the top, as the tag is moved further out quoteElement.classList.remove('pt-8'); // Remove previous padding quoteElement.classList.add('pt-4'); // Wrap the main message content for proper flow after the absolute tag const messageContent = `${liveUpdateConfig.message}${linkHtml}`; const fullMessage = `${emergencyTag}<span class="block">${messageContent}</span>`;
// Override the content quoteElement.innerHTML = fullMessage; // Remove italic style for important announcements and bold the text quoteElement.classList.remove('italic'); quoteElement.classList.add('font-bold'); }}
// Run on DOMContentLoaded with a small delay to ensure it overrides the default quote scriptdocument.addEventListener('DOMContentLoaded', () => { setTimeout(applyLiveUpdate, 100);});1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495import { getProxyURL } from './domain-utils.js';import { openInBypass, isInBypass, isChromeOS, openProxyInBypass } from './chromeos-detect.js';
export function loadPageInBlank(url) { // If already in bypass (about:blank), just change the iframe src if (window.location.protocol === 'about:') { const iframe = document.querySelector('iframe'); if (iframe) { iframe.src = url; } else { window.location.href = url; } } else { // Normal navigation window.location.href = url; }}
export function openGame(gameCard) { const gameUrl = gameCard.href; const gameId = gameCard.getAttribute('data-game-id'); const gameName = gameCard.querySelector('p')?.textContent?.trim() || ''; const gameImage = gameCard.querySelector('img')?.src || ''; const noBypass = gameCard.getAttribute('data-no-bypass') === 'true';
// Track game as recently played if user is logged in if (gameId && gameName && window.startTrackingGame) { window.startTrackingGame(gameId, gameName, gameImage); }
// Check if this game should not use bypass // Only apply this restriction if on page1.html AND in an about:blank iframe if (noBypass) { const isOnPage1 = window.location.pathname.includes('page1.html'); const inBypassMode = isInBypass();
// Only show warning and different behavior if on page1.html AND in bypass iframe if (isOnPage1 && inBypassMode) { const confirmed = confirm('⚠️ Warning: This game will open outside of a bypass tab.\n\nDo you want to continue?'); if (confirmed) { window.open(gameUrl, '_blank'); } return; } // If not on page1.html or not in bypass, treat it as a normal game }
if (isChromeOS()) { openInBypass(gameUrl); } else { window.open(gameUrl, '_blank'); }}
export function initNavigationHandlers() { // Handle proxy link const proxyLink = document.getElementById('pr0xy-link'); if (proxyLink) { proxyLink.addEventListener('click', (e) => { e.preventDefault(); const proxyURL = getProxyURL(); openProxyInBypass(proxyURL); }); }
// Handle AI chat link const aiChatLink = document.getElementById('ai-chat-link'); if (aiChatLink) { aiChatLink.addEventListener('click', (e) => { e.preventDefault(); loadPageInBlank('/aichat/index.html'); }); }
// Handle all internal navigation links const navLinks = document.querySelectorAll('nav a:not(#pr0xy-link):not(#ai-chat-link)'); navLinks.forEach(link => { const href = link.getAttribute('href'); if (href && !href.startsWith('#') && !href.startsWith('http')) { link.addEventListener('click', (e) => { e.preventDefault(); loadPageInBlank(href); }); } });}
// Make available globallywindow.loadPageInBlank = loadPageInBlank;window.openGame = openGame;
// Auto-initif (typeof document !== 'undefined') { document.addEventListener('DOMContentLoaded', initNavigationHandlers);}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240/** * EDUrocks Notification System * Toast notifications for save sync status, achievements, etc. */
(function() { 'use strict';
const NotificationSystem = { container: null, notifications: [], maxNotifications: 3,
init: function() { // Create notification container this.container = document.createElement('div'); this.container.id = 'edurocks-notifications'; this.container.style.cssText = ` position: fixed; top: 20px; right: 20px; z-index: 999999; pointer-events: none; `; document.body.appendChild(this.container);
console.log('[Notifications] System initialized'); },
show: function(options) { const { type = 'info', // 'success', 'error', 'warning', 'info', 'achievement' title = 'Notification', message = '', duration = 4000, icon = null } = options;
// Remove oldest if too many if (this.notifications.length >= this.maxNotifications) { this.notifications[0].remove(); }
const notification = document.createElement('div'); notification.className = `edurocks-notification edurocks-notification-${type}`;
const iconMap = { success: '✓', error: '✕', warning: '⚠', info: 'ℹ', achievement: '🏆' };
const displayIcon = icon || iconMap[type] || iconMap.info;
notification.innerHTML = ` <div class="notification-content"> <div class="notification-icon">${displayIcon}</div> <div class="notification-text"> <div class="notification-title">${this.escapeHtml(title)}</div> ${message ? `<div class="notification-message">${this.escapeHtml(message)}</div>` : ''} </div> <button class="notification-close">×</button> </div> `;
// Add styles notification.style.cssText = ` background: ${this.getColorForType(type)}; color: white; padding: 16px; margin-bottom: 10px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); min-width: 300px; max-width: 400px; pointer-events: all; animation: slideInRight 0.3s ease-out; display: flex; align-items: center; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; `;
const content = notification.querySelector('.notification-content'); content.style.cssText = ` display: flex; align-items: flex-start; gap: 12px; width: 100%; `;
const iconEl = notification.querySelector('.notification-icon'); iconEl.style.cssText = ` font-size: 24px; flex-shrink: 0; `;
const textEl = notification.querySelector('.notification-text'); textEl.style.cssText = ` flex: 1; min-width: 0; `;
const titleEl = notification.querySelector('.notification-title'); titleEl.style.cssText = ` font-weight: 600; font-size: 14px; margin-bottom: 4px; `;
const messageEl = notification.querySelector('.notification-message'); if (messageEl) { messageEl.style.cssText = ` font-size: 13px; opacity: 0.9; line-height: 1.4; `; }
const closeBtn = notification.querySelector('.notification-close'); closeBtn.style.cssText = ` background: none; border: none; color: white; font-size: 20px; cursor: pointer; padding: 0; width: 24px; height: 24px; flex-shrink: 0; opacity: 0.7; transition: opacity 0.2s; `;
closeBtn.onmouseover = () => closeBtn.style.opacity = '1'; closeBtn.onmouseout = () => closeBtn.style.opacity = '0.7'; closeBtn.onclick = () => this.remove(notification);
this.container.appendChild(notification); this.notifications.push(notification);
// Auto-remove after duration if (duration > 0) { setTimeout(() => this.remove(notification), duration); }
return notification; },
remove: function(notification) { notification.style.animation = 'slideOutRight 0.3s ease-in'; setTimeout(() => { if (notification.parentNode) { notification.parentNode.removeChild(notification); } const index = this.notifications.indexOf(notification); if (index > -1) { this.notifications.splice(index, 1); } }, 300); },
getColorForType: function(type) { const colors = { success: '#10b981', error: '#ef4444', warning: '#f59e0b', info: '#3b82f6', achievement: '#8b5cf6' }; return colors[type] || colors.info; },
escapeHtml: function(text) { const div = document.createElement('div'); div.textContent = text; return div.innerHTML; },
// Convenience methods success: function(title, message) { return this.show({ type: 'success', title, message }); },
error: function(title, message) { return this.show({ type: 'error', title, message }); },
warning: function(title, message) { return this.show({ type: 'warning', title, message }); },
info: function(title, message) { return this.show({ type: 'info', title, message }); },
achievement: function(title, message, icon) { return this.show({ type: 'achievement', title, message, icon, duration: 6000 }); } };
// Add animation styles const style = document.createElement('style'); style.textContent = ` @keyframes slideInRight { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(400px); opacity: 0; } } `; document.head.appendChild(style);
// Auto-initialize when DOM is ready if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => NotificationSystem.init()); } else { NotificationSystem.init(); }
// Make globally available window.EDUrocksNotifications = NotificationSystem;
})();123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135const quotes = [ "Made with HTML!", "Giving you the tools to fight censorship since 2024.", "We are produdly anti-apartheid and anti-censorship", "It is during our darkest moments that we must focus to see the light.", "The way to get started is to quit talking and begin doing.", "Whenever you open the site on a new chromebook make sure to go to chrome://settings/content/popups and enable pop-ups for the bypass to work.", "We are a 11 person team. If you would like to join us then shoot us an email at allhands@edurocks.org", "From the river to the sea Palestine will be free!!! ", "EDUrocks proudly supports LGBTQIA+ Rights!!!", "EDUrocks proudly opposes ID age verification on the web!!!", "EDUrocks says trans and gay rights!!!", "Stand up for what you believe in regardless of what opposition you may face.", "EDUrocks exists out of a need not out of a want. Censorship is a poison to society that should be fought against.", "Be careful on your managed devices your Systems Admin can see everything you do. (unless you use our site)", "You learn more from failure than from success. Don't let it stop you. Failure builds character.", "It's not whether you get knocked down, it's whether you get up.", "We hope your friend gets better Lain. -Kyle and the EDUrocks team", "If you are working on something that you really care about, you don't have to be pushed. The vision pulls you.", "People who are crazy enough to think they can change the world, are the ones who do.", "Failure will never overtake me if my determination to succeed is strong enough.", "GoGuardian is by definition spyware.", "Israel is an apartheid state.", "We love all our users, they are what powers EDUrocks.", "EDUrocks lives and is served from servers in 6 continents across the world.", "EDUrocks has servers in the United States, Germany, China, Mexico, and Russia, and unlisted servers elsewhere.", "I don't have time to read <a href='https://en.wikipedia.org/w/index.php?title=Boys%27_love&oldid=1311601076' target='_blank'>Yaoi</a> because i work on this site.", "This site is 100% supported by user donations.", "We are one of the only non-greedy game sites who does not run ADs. (well except on AWS Mirror)", "When looking for game sites make sure to ask for the real EDUrocks.", "We now have a TikTok. <a href='https://tiktok.com/@officialedurocks' target='_blank'>Click to follow.</a> ", "We proudly support human rights for everyone", "One of the few privacy respecting unblocked games sites.", "WE HAVE HIT 30K USERS <a href='/page4.html' target='_blank'>Click to learn more.</a> !!!!", "They tried to sue us and failed. <a href='/page4.html' target='_blank'>Click to learn more.</a> !!!!", "Try our new (and working) EDUrocks Chat. <a href='/filestorage/Apps/chat/' target='_blank'>Click to check it out.</a> !!!!", "You can get all the links to EDUrocks by emailing links@edurocks.org or links@blahaj.li, you will get an auto reply with all the links to EDUrocks and GN-Math", "Spell check done by Pop", "All the world will be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with the swift warning. Be cunning and full of tricks and your people shall never be destroyed. ― Richard Adams", "Thanks to <a href='https://okayunn.site' target='_blank'>okayunn</a> for providing the EDUrocks US Server", "We got a 0/100 on our Code Audit, and a 100/100 on our Security Audit!!!", "To whoever asked me to add 'NU CARNIVAL' this game is so peak, i love it and i love the person who asked for it, sadly i can't add it to EDUrocks :(", "I BUILT THIS SITE ROCK BY ROCK AND NO SCHOOL ADMINS CAN MAKE ME STOP.", "X3 PREDICTOR GOT NOTHING ON US!!!", "Uhh yeah so we bypassed GoGuardian again, Censorship will never win or sum like that, Thanks to Tunnel Colt for the help.", "Yall should follow us insta @edurocksubg", "Unblocked at 9/10 Schools", "It's the owner of the site", "Did you know EDUrocks has been used in atleast one school in all 50 states?", "If the site is blocked or you want a game, you can call or text us at (404) 913-YAOI", "Join our discord. <a href='https://tiktok.com/@officialedurocks' target='_blank'>Click to follow.</a> ", "The Only UBG with a Twink Mascot, WE LOVE ROCKSI!!!",];
// Cookie helper functionsfunction setCookie(name, value, days) { const expires = new Date(); expires.setTime(expires.getTime() + (days * 24 * 60 * 60 * 1000)); document.cookie = name + '=' + value + ';expires=' + expires.toUTCString() + ';path=/';}
function getCookie(name) { const nameEQ = name + "="; const ca = document.cookie.split(';'); for(let i = 0; i < ca.length; i++) { let c = ca[i]; while (c.charAt(0) === ' ') c = c.substring(1, c.length); if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length); } return null;}
function getSeenQuotes() { const seenQuotes = getCookie('seenQuotes'); return seenQuotes ? JSON.parse(seenQuotes) : [];}
function addSeenQuote(quoteIndex) { const seenQuotes = getSeenQuotes(); if (!seenQuotes.includes(quoteIndex)) { seenQuotes.push(quoteIndex); setCookie('seenQuotes', JSON.stringify(seenQuotes), 30); }}
function clearSeenQuotes() { setCookie('seenQuotes', JSON.stringify([]), 30);}
export function getRandomQuote() { const seenQuotes = getSeenQuotes(); const validQuotes = quotes.filter(quote => quote && quote.trim() !== '');
// If all quotes have been seen, reset if (seenQuotes.length >= validQuotes.length) { clearSeenQuotes(); const randomIndex = Math.floor(Math.random() * validQuotes.length); const selectedQuote = validQuotes[randomIndex]; const originalIndex = quotes.indexOf(selectedQuote); addSeenQuote(originalIndex); return selectedQuote; }
// Get unseen quotes const unseenQuotes = []; validQuotes.forEach((quote) => { const originalIndex = quotes.indexOf(quote); if (!seenQuotes.includes(originalIndex)) { unseenQuotes.push({quote: quote, originalIndex: originalIndex}); } });
// Select random unseen quote const randomIndex = Math.floor(Math.random() * unseenQuotes.length); const selectedQuoteObj = unseenQuotes[randomIndex]; addSeenQuote(selectedQuoteObj.originalIndex); return selectedQuoteObj.quote;}
export function displayQuote(elementId = 'quote-text') { const quote = getRandomQuote(); const quoteElement = document.getElementById(elementId); if (quoteElement) { quoteElement.innerHTML = quote; }}
// Auto-display on load if element existsif (typeof document !== 'undefined') { document.addEventListener('DOMContentLoaded', () => { if (document.getElementById('quote-text')) { displayQuote(); } });}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122/** * EDUrocks 3.0 - Recent Games History * Tracks recently played games and search history */
const RECENT_GAMES_KEY = 'edurocks_recent_games';const SEARCH_HISTORY_KEY = 'edurocks_search_history';const MAX_RECENT_GAMES = 20;const MAX_SEARCH_HISTORY = 10;
export function getRecentGames() { try { const recent = localStorage.getItem(RECENT_GAMES_KEY); return recent ? JSON.parse(recent) : []; } catch (e) { console.error('Error loading recent games:', e); return []; }}
export function addRecentGame(gameId, gameName, gameImage, gameUrl) { try { let recent = getRecentGames();
// Remove if already exists (to move to front) recent = recent.filter(game => game.id !== gameId);
// Add to front recent.unshift({ id: gameId, name: gameName, image: gameImage, url: gameUrl, playedAt: new Date().toISOString() });
// Keep only MAX_RECENT_GAMES recent = recent.slice(0, MAX_RECENT_GAMES);
localStorage.setItem(RECENT_GAMES_KEY, JSON.stringify(recent)); return true; } catch (e) { console.error('Error saving recent game:', e); return false; }}
export function clearRecentGames() { try { localStorage.removeItem(RECENT_GAMES_KEY); return true; } catch (e) { console.error('Error clearing recent games:', e); return false; }}
export function getSearchHistory() { try { const history = localStorage.getItem(SEARCH_HISTORY_KEY); return history ? JSON.parse(history) : []; } catch (e) { console.error('Error loading search history:', e); return []; }}
export function addSearchHistory(searchTerm) { try { if (!searchTerm || searchTerm.trim() === '') return false;
let history = getSearchHistory();
// Remove if already exists history = history.filter(term => term.toLowerCase() !== searchTerm.toLowerCase());
// Add to front history.unshift(searchTerm.trim());
// Keep only MAX_SEARCH_HISTORY history = history.slice(0, MAX_SEARCH_HISTORY);
localStorage.setItem(SEARCH_HISTORY_KEY, JSON.stringify(history)); return true; } catch (e) { console.error('Error saving search history:', e); return false; }}
export function clearSearchHistory() { try { localStorage.removeItem(SEARCH_HISTORY_KEY); return true; } catch (e) { console.error('Error clearing search history:', e); return false; }}
export function removeSearchHistoryItem(searchTerm) { try { let history = getSearchHistory(); history = history.filter(term => term !== searchTerm); localStorage.setItem(SEARCH_HISTORY_KEY, JSON.stringify(history)); return true; } catch (e) { console.error('Error removing search history item:', e); return false; }}
// Make available globallywindow.EDUrocksRecent = { getRecentGames, addRecentGame, clearRecentGames, getSearchHistory, addSearchHistory, clearSearchHistory, removeSearchHistoryItem};123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143/** * EDUrocks 3.0 - Security Utilities * XSS prevention and input sanitization */
/** * Escape HTML to prevent XSS attacks * @param {string} str - String to escape * @returns {string} - Escaped string */export function escapeHtml(str) { if (typeof str !== 'string') return '';
const div = document.createElement('div'); div.textContent = str; return div.innerHTML;}
/** * Sanitize URL to prevent javascript: and data: URIs * @param {string} url - URL to sanitize * @returns {string} - Sanitized URL or empty string if invalid */export function sanitizeUrl(url) { if (typeof url !== 'string') return '';
const trimmed = url.trim();
// Block javascript: and data: URIs except safe image data URIs if (trimmed.toLowerCase().startsWith('javascript:')) { return ''; }
if (trimmed.toLowerCase().startsWith('data:')) { // Only allow image data URIs if (!trimmed.toLowerCase().match(/^data:image\/(jpeg|jpg|png|gif|webp);base64,/)) { return ''; } }
return trimmed;}
/** * Validate and sanitize game ID * @param {string} gameId - Game ID to validate * @returns {string|null} - Sanitized game ID or null if invalid */export function validateGameId(gameId) { if (typeof gameId !== 'string') return null;
const trimmed = gameId.trim();
// Game ID should only contain alphanumeric, dash, underscore, dot if (!/^[a-zA-Z0-9._-]+$/.test(trimmed)) { return null; }
// Length limit if (trimmed.length === 0 || trimmed.length > 100) { return null; }
return trimmed;}
/** * Validate and sanitize game name * @param {string} gameName - Game name to validate * @returns {string} - Sanitized game name */export function validateGameName(gameName) { if (typeof gameName !== 'string') return '';
const trimmed = gameName.trim();
// Length limit if (trimmed.length > 255) { return trimmed.substring(0, 255); }
return trimmed;}
/** * Rate limiter for actions */class RateLimiter { constructor(maxActions, timeWindowMs) { this.maxActions = maxActions; this.timeWindowMs = timeWindowMs; this.actions = []; }
canPerformAction() { const now = Date.now();
// Remove old actions outside time window this.actions = this.actions.filter(timestamp => now - timestamp < this.timeWindowMs);
// Check if under limit if (this.actions.length >= this.maxActions) { return false; }
// Record action this.actions.push(now); return true; }
reset() { this.actions = []; }}
// Rate limiters for different actionsexport const favoriteRateLimiter = new RateLimiter(10, 10000); // 10 actions per 10 secondsexport const uploadRateLimiter = new RateLimiter(3, 60000); // 3 uploads per minute
/** * Sanitize object for localStorage * @param {any} data - Data to sanitize * @returns {string} - Sanitized JSON string */export function sanitizeForStorage(data) { try { // Convert to JSON and back to remove functions and other non-serializable content const cleaned = JSON.parse(JSON.stringify(data)); return JSON.stringify(cleaned); } catch (e) { console.error('Failed to sanitize data for storage:', e); return '{}'; }}
// Make utilities globally availablewindow.EDUSecure = { escapeHtml, sanitizeUrl, validateGameId, validateGameName, sanitizeForStorage};123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208/** * EDUrocks 3.0 - Christmas Theme Manager * Dynamically applies Christmas theme during December * Features: Festive colors, Tailwind-styled DOM snowflakes */
(function() { // Check if it is December (month 11 in JS Date, 0-indexed) or if force enabled via URL const now = new Date(); const urlParams = new URLSearchParams(window.location.search); // const forceXmas = urlParams.get('theme') === 'xmas';
// Force enable for testing/demo purposes as requested // To revert to date-based: change 'true' to '(now.getMonth() === 11 || forceXmas)' if ((now.getMonth() === 11 || forceXmas)) { return; }
console.log('Applying Christmas Theme');
// Christmas Color Palette - Candy Cane & Evergreen Theme (overriding default Tailwind config) const xmasColors = { 'edu-dark': '#414b38', // Mistletoe - deep forest green background 'edu-dark-secondary': '#881528ff', // Tinsel - rich red secondary 'edu-dark-accent': '#5c011fff', // Mint - light minty accent for cards 'edu-text': '#f2dee9', // Pure white text for dark backgrounds 'edu-text-secondary': '#9cb7d4', // Mint - light mint for secondary text 'edu-pink': '#D14545', // Cane - bright candy cane red accent 'edu-pink-light': '#E0CDCE', // Icing - light pink (hover) 'edu-rose': '#912326', // Tinsel - deep red 'gold-accent': '#ae023a' // Mint - light mint/blue for festive touches };
// Function to inject CSS variables and overrides function injectChristmasStyles() { const style = document.createElement('style'); style.id = 'edurocks-xmas-theme'; style.innerHTML = ` :root { --edu-dark: ${xmasColors['edu-dark']}; --edu-dark-secondary: ${xmasColors['edu-dark-secondary']}; --edu-dark-accent: ${xmasColors['edu-dark-accent']}; --edu-text: ${xmasColors['edu-text']}; --edu-text-secondary: ${xmasColors['edu-text-secondary']}; --edu-pink: ${xmasColors['edu-pink']}; --edu-pink-light: ${xmasColors['edu-pink-light']}; --edu-rose: ${xmasColors['edu-rose']}; }
/* Tailwind Class Overrides using !important to force apply over utility classes */ .bg-edu-dark { background-color: var(--edu-dark) !important; } .bg-edu-dark-secondary { background-color: var(--edu-dark-secondary) !important; } .bg-edu-dark-accent { background: linear-gradient(135deg, ${xmasColors['edu-dark-secondary']} 0%, ${xmasColors['edu-pink']} 100%) !important; }
.text-edu-text { color: var(--edu-text) !important; } .text-edu-text-secondary { color: var(--edu-text-secondary) !important; }
.bg-edu-pink { background-color: var(--edu-pink) !important; } .text-edu-pink { color: var(--edu-pink) !important; } .border-edu-pink { border-color: var(--edu-pink) !important; }
.bg-edu-pink-light { background-color: var(--edu-pink-light) !important; } .text-edu-pink-light { color: var(--edu-pink-light) !important; }
/* Gradient overrides */ .from-edu-pink { --tw-gradient-from: var(--edu-pink) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; } .to-edu-pink-light { --tw-gradient-to: var(--edu-pink-light) !important; } .via-edu-pink-light { --tw-gradient-stops: var(--tw-gradient-from), var(--edu-pink-light), var(--tw-gradient-to) !important; } .from-edu-dark-accent { --tw-gradient-from: ${xmasColors['edu-dark-accent']} !important; } .to-edu-dark-secondary { --tw-gradient-to: ${xmasColors['edu-dark-secondary']} !important; }
.hover\:bg-edu-pink:hover { background-color: var(--edu-pink) !important; } .hover\:text-edu-pink:hover { color: var(--edu-pink) !important; } .hover\:bg-edu-pink-light:hover { background-color: var(--edu-pink-light) !important; } .hover\:text-edu-pink-light:hover { color: var(--edu-pink-light) !important; }
/* Override all hover states and transitions */ .hover\:scale-105:hover, .group-hover\:scale-110, a:hover, button:hover, .feature-card:hover h3, .group:hover .group-hover\:text-edu-pink-light { color: var(--edu-pink-light) !important; }
/* Force all background hover states */ a.px-4.py-2:hover, .transition-all:hover { background-color: var(--edu-pink) !important; color: var(--edu-text) !important; }
/* Override gradient text for logo */ .gradient-text { background: linear-gradient(45deg, ${xmasColors['edu-pink']}, ${xmasColors['edu-pink-light']}, ${xmasColors['gold-accent']}, ${xmasColors['edu-pink-light']}, ${xmasColors['edu-pink']}) !important; background-size: 200% 200% !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; animation: gradient 6s ease infinite !important; }
/* Quote box styling */ .bg-gradient-to-br { background: linear-gradient(135deg, ${xmasColors['edu-dark-secondary']} 0%, ${xmasColors['edu-pink']} 100%) !important; }
/* Hero/quote section background override - the area behind the quote */ .relative.overflow-hidden { background: linear-gradient(to bottom, ${xmasColors['edu-dark-accent']}, ${xmasColors['gold-accent']}) !important; }
.absolute.inset-0 { background: none !important; }
/* Override link colors in quote */ #quote-text a { color: ${xmasColors['edu-pink-light']} !important; } #quote-text a:hover { color: ${xmasColors['gold-accent']} !important; }
/* Add some Santa Hat to Logo if found */ .font-pacifico::after { content: " 🎄"; font-size: 0.8em; }
/* Custom Keyframes for Snowfall (Tailwind doesn't have complex physics animations built-in) */ @keyframes snowfall { 0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(110vh) translateX(30px) rotate(360deg); opacity: 0.9; } }
.animate-snow { animation: snowfall linear infinite; background: white !important; box-shadow: 0 0 8px rgba(255, 255, 255, 0.7) !important; } `; document.head.appendChild(style); }
// Function to create DOM-based snowflakes function createSnowflakes() { // Wait for DOM to be ready setTimeout(() => { // Create container const container = document.createElement('div'); container.style.position = 'fixed'; container.style.top = '0'; container.style.left = '0'; container.style.width = '100%'; container.style.height = '100%'; container.style.pointerEvents = 'none'; container.style.zIndex = '9999'; container.style.overflow = 'hidden'; container.id = 'xmas-snow-container'; document.body.appendChild(container);
const snowflakeCount = 100; // Number of flakes
for (let i = 0; i < snowflakeCount; i++) { const flake = document.createElement('div');
// Set position to absolute flake.style.position = 'absolute'; flake.style.backgroundColor = '#FFFFFF'; flake.style.borderRadius = '50%'; flake.style.boxShadow = '0 0 10px rgba(255, 255, 255, 0.9)';
// Randomize size const size = Math.random() * 6 + 4; // 4px to 10px flake.style.width = `${size}px`; flake.style.height = `${size}px`;
// Randomize horizontal start position flake.style.left = `${Math.random() * 100}%`; flake.style.top = `-20px`;
// Add animation const duration = Math.random() * 8 + 7; // 7s to 15s const delay = Math.random() * 5; // 0s to 5s flake.style.animation = `snowfall ${duration}s linear ${delay}s infinite`;
container.appendChild(flake); } }, 100); }
// Apply changes injectChristmasStyles(); createSnowflakes();
// Patch Tailwind config for JS usage if present if (window.tailwind && window.tailwind.config) { const colors = window.tailwind.config.theme.extend.colors || {}; Object.assign(colors, xmasColors); window.tailwind.config.theme.extend.colors = colors; }
})();123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388/** * EDUrocks 3.0 - User Profile Module * Handles user profile display and stats */
import { escapeHtml } from './security.js';
let profileModalOpen = false;
export function formatPlayTime(seconds) { if (seconds < 60) return `${seconds}s`; if (seconds < 3600) return `${Math.floor(seconds / 60)}m`; const hours = Math.floor(seconds / 3600); const minutes = Math.floor((seconds % 3600) / 60); return minutes > 0 ? `${hours}h ${minutes}m` : `${hours}h`;}
export function formatDate(dateString) { if (!dateString) return 'Unknown';
// Parse date - handle both UTC and local timestamps let date; if (dateString.includes('Z') || dateString.includes('+') || dateString.includes('-')) { // ISO format with timezone date = new Date(dateString); } else { // Assume UTC if no timezone specified (MySQL TIMESTAMP format) date = new Date(dateString + ' UTC'); }
// Check if date is valid if (isNaN(date.getTime())) return 'Unknown';
// Get current time in user's timezone const now = new Date();
// Calculate difference in milliseconds const diffMs = now - date;
// If date is in the future (clock skew tolerance: 5 seconds) if (diffMs < -5000) return 'Just now'; if (diffMs < 0) return 'Just now';
// Calculate time units const diffSeconds = Math.floor(diffMs / 1000); const diffMinutes = Math.floor(diffMs / (1000 * 60)); const diffHours = Math.floor(diffMs / (1000 * 60 * 60)); const diffDays = Math.floor(diffMs / (1000 * 60 * 60 * 24)); const diffWeeks = Math.floor(diffDays / 7); const diffMonths = Math.floor(diffDays / 30); const diffYears = Math.floor(diffDays / 365);
// Return appropriate format based on time elapsed if (diffSeconds < 10) return 'Just now'; if (diffSeconds < 60) return `${diffSeconds} seconds ago`; if (diffMinutes === 1) return '1 minute ago'; if (diffMinutes < 60) return `${diffMinutes} minutes ago`; if (diffHours === 1) return '1 hour ago'; if (diffHours < 24) return `${diffHours} hours ago`; if (diffDays === 1) return 'Yesterday'; if (diffDays < 7) return `${diffDays} days ago`; if (diffWeeks === 1) return '1 week ago'; if (diffWeeks < 4) return `${diffWeeks} weeks ago`; if (diffMonths === 1) return '1 month ago'; if (diffMonths < 12) return `${diffMonths} months ago`; if (diffYears === 1) return '1 year ago'; return `${diffYears} years ago`;}
async function refreshUserStats() { if (!profileModalOpen || !window.Auth || !window.Auth.isLoggedIn()) return;
try { const stats = await window.Auth.getUserStats();
// Update stats document.getElementById('statPlayTime').textContent = formatPlayTime(stats.totalPlayTime); document.getElementById('statGamesPlayed').textContent = stats.totalGamesPlayed.toLocaleString(); document.getElementById('statFavorites').textContent = stats.favoritesCount.toLocaleString(); document.getElementById('statUnique').textContent = stats.uniqueGamesPlayed.toLocaleString();
// Update recent games const recentGamesEl = document.getElementById('recentGames'); if (recentGamesEl) { if (stats.recentGames && stats.recentGames.length > 0) { recentGamesEl.innerHTML = stats.recentGames.map(game => { const gameUrl = `./filestorage/gd/${escapeHtml(game.game_id)}/index.html`; const gameId = escapeHtml(game.game_id); // Try multiple icon paths const iconPaths = [ game.game_image, `./filestorage/gd/${gameId}/icon.png`, `./filestorage/gd/${gameId}/icon.jpg`, `./filestorage/gd/${gameId}/icon.jpeg`, `./filestorage/gd/${gameId}/icon.webp`, `./filestorage/gd/${gameId}/cover.png`, `./filestorage/gd/${gameId}/logo.png`, `./filestorage/photos/${gameId}.png` ].filter(Boolean);
return ` <a href="${gameUrl}" class="bg-edu-dark rounded-lg p-3 flex items-center justify-between border border-edu-pink/10 hover:border-edu-pink/30 transition-all cursor-pointer"> <div class="flex items-center gap-3"> <div class="w-10 h-10 rounded-lg overflow-hidden flex-shrink-0 bg-edu-dark-secondary flex items-center justify-center"> <img src="${iconPaths[0]}" alt="${escapeHtml(game.game_name)}" class="w-full h-full object-contain" data-fallback-icons='${JSON.stringify(iconPaths.slice(1))}' onerror="window.tryNextIcon(this)"> </div> <div> <div class="text-edu-text font-medium">${escapeHtml(game.game_name)}</div> <div class="text-xs text-edu-text-secondary">${formatDate(game.last_played)}</div> </div> </div> <div class="text-edu-text-secondary text-sm"> ${formatPlayTime(parseInt(game.total_time))} </div> </a> `; }).join(''); } else { recentGamesEl.innerHTML = '<div class="text-center py-8 text-edu-text-secondary">No games played yet</div>'; } } } catch (error) { console.error('Failed to refresh stats:', error); }}
export async function showProfileModal() { if (profileModalOpen) return;
if (!window.Auth || !window.Auth.isLoggedIn()) { window.location.href = 'login.html'; return; }
profileModalOpen = true; const username = window.Auth.getUsername();
// Create modal const modal = document.createElement('div'); modal.id = 'profileModal'; modal.className = 'fixed inset-0 bg-black/70 backdrop-blur-sm z-50 flex items-center justify-center p-4'; modal.innerHTML = ` <div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto shadow-2xl"> <!-- Header --> <div class="bg-gradient-to-r from-edu-pink to-edu-pink-light p-6 rounded-t-2xl"> <div class="flex items-center justify-between"> <div class="flex items-center gap-4"> <div class="relative group"> <div id="profilePictureContainer" class="w-16 h-16 rounded-full bg-edu-dark flex items-center justify-center text-3xl overflow-hidden border-2 border-edu-text/20"> 👤 </div> <button onclick="window.uploadProfilePicture()" class="absolute inset-0 w-16 h-16 rounded-full bg-black/60 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity text-white text-xs"> Change </button> </div> <div> <h2 class="text-2xl font-bold text-edu-text">${username}</h2> <p class="text-edu-text/80 text-sm" id="memberSince">Loading...</p> </div> </div> <button onclick="window.closeProfileModal()" class="text-edu-text hover:text-white text-3xl leading-none">×</button> </div> </div>
<!-- Hidden file input --> <input type="file" id="profilePictureInput" accept="image/*" style="display: none;" />
<!-- Stats Grid --> <div class="p-6"> <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-6" id="statsGrid"> <div class="bg-edu-dark rounded-xl p-4 text-center border border-edu-pink/10"> <div class="text-3xl mb-1">⏱️</div> <div class="text-2xl font-bold text-edu-text" id="statPlayTime">-</div> <div class="text-xs text-edu-text-secondary">Total Play Time</div> </div> <div class="bg-edu-dark rounded-xl p-4 text-center border border-edu-pink/10"> <div class="text-3xl mb-1">🎮</div> <div class="text-2xl font-bold text-edu-text" id="statGamesPlayed">-</div> <div class="text-xs text-edu-text-secondary">Games Played</div> </div> <div class="bg-edu-dark rounded-xl p-4 text-center border border-edu-pink/10"> <div class="text-3xl mb-1">❤️</div> <div class="text-2xl font-bold text-edu-text" id="statFavorites">-</div> <div class="text-xs text-edu-text-secondary">Favorites</div> </div> <div class="bg-edu-dark rounded-xl p-4 text-center border border-edu-pink/10"> <div class="text-3xl mb-1">🏆</div> <div class="text-2xl font-bold text-edu-text" id="statUnique">-</div> <div class="text-xs text-edu-text-secondary">Unique Games</div> </div> </div>
<!-- Recent Games --> <div class="mb-6"> <h3 class="text-xl font-semibold text-edu-text mb-4">Recent Games</h3> <div id="recentGames" class="space-y-2"> <div class="text-center py-8 text-edu-text-secondary">Loading...</div> </div> </div>
<!-- Actions --> <div class="space-y-3"> <button onclick="window.location.href='gaming-dashboard.html'" class="w-full bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text font-semibold py-3 rounded-lg hover:shadow-xl transition-all"> 📊 View Gaming Dashboard </button> <div class="flex gap-3"> <button onclick="window.location.href='page1.html'" class="flex-1 bg-edu-dark text-edu-text font-semibold py-3 rounded-lg hover:bg-edu-dark-secondary transition-all"> Browse Games </button> <button onclick="window.Auth.logout().then(() => window.location.href='index.html')" class="px-6 bg-edu-dark text-edu-text-secondary font-semibold py-3 rounded-lg hover:bg-edu-dark-secondary transition-all"> Logout </button> </div> </div> </div> </div> `;
document.body.appendChild(modal);
// Close on background click modal.addEventListener('click', (e) => { if (e.target === modal) { window.closeProfileModal(); } });
// Load stats try { const stats = await window.Auth.getUserStats();
// Update profile picture const profilePicContainer = document.getElementById('profilePictureContainer'); if (stats.profilePicture) { profilePicContainer.innerHTML = `<img src="${stats.profilePicture}" alt="Profile" class="w-full h-full object-cover" />`; }
// Update stats document.getElementById('statPlayTime').textContent = formatPlayTime(stats.totalPlayTime); document.getElementById('statGamesPlayed').textContent = stats.totalGamesPlayed.toLocaleString(); document.getElementById('statFavorites').textContent = stats.favoritesCount.toLocaleString(); document.getElementById('statUnique').textContent = stats.uniqueGamesPlayed.toLocaleString(); document.getElementById('memberSince').textContent = `Member since ${formatDate(stats.memberSince)}`;
// Setup file input handler const fileInput = document.getElementById('profilePictureInput'); if (fileInput) { fileInput.addEventListener('change', handleProfilePictureUpload); }
// Update recent games const recentGamesEl = document.getElementById('recentGames'); if (stats.recentGames && stats.recentGames.length > 0) { recentGamesEl.innerHTML = stats.recentGames.map(game => { const gameUrl = `./filestorage/gd/${escapeHtml(game.game_id)}/index.html`; const gameIcon = game.game_image || `./filestorage/gd/${escapeHtml(game.game_id)}/icon.png`; return ` <a href="${gameUrl}" class="bg-edu-dark rounded-lg p-3 flex items-center justify-between border border-edu-pink/10 hover:border-edu-pink/30 transition-all cursor-pointer block"> <div class="flex items-center gap-3"> <div class="w-10 h-10 rounded-lg overflow-hidden flex-shrink-0 bg-edu-dark-secondary"> <img src="${gameIcon}" alt="${escapeHtml(game.game_name)}" class="w-full h-full object-contain" onerror="this.parentElement.innerHTML='🎮'; this.parentElement.classList.add('flex', 'items-center', 'justify-center', 'text-xl');"> </div> <div> <div class="text-edu-text font-medium">${escapeHtml(game.game_name)}</div> <div class="text-xs text-edu-text-secondary">${formatDate(game.last_played)}</div> </div> </div> <div class="text-edu-text-secondary text-sm"> ${formatPlayTime(parseInt(game.total_time))} </div> </a> `; }).join(''); } else { recentGamesEl.innerHTML = '<div class="text-center py-8 text-edu-text-secondary">No games played yet</div>'; }
} catch (error) { console.error('Failed to load stats:', error); document.getElementById('statsGrid').innerHTML = ` <div class="col-span-4 text-center py-8 text-edu-text-secondary"> Failed to load stats. Please try again. </div> `; }}
export function closeProfileModal() { const modal = document.getElementById('profileModal'); if (modal) { modal.remove(); profileModalOpen = false; }}
function uploadProfilePicture() { const fileInput = document.getElementById('profilePictureInput'); if (fileInput) { fileInput.click(); }}
async function handleProfilePictureUpload(event) { const file = event.target.files[0]; if (!file) return;
// Validate file type if (!file.type.startsWith('image/')) { alert('Please select an image file'); return; }
// Validate file size (2MB max) if (file.size > 2 * 1024 * 1024) { alert('Image too large. Maximum size is 2MB'); return; }
try { // Read file as base64 const reader = new FileReader(); reader.onload = async (e) => { const imageData = e.target.result;
try { // Upload to server await window.Auth.uploadProfilePicture(imageData);
// Clear cache and update display window.Auth.clearUserStatsCache(); const profilePicContainer = document.getElementById('profilePictureContainer'); if (profilePicContainer) { profilePicContainer.innerHTML = `<img src="${imageData}" alt="Profile" class="w-full h-full object-cover" />`; }
// Trigger event to update navbar window.dispatchEvent(new CustomEvent('profilePictureUpdated', { detail: { profilePicture: imageData } }));
// Show success message (optional) console.log('Profile picture uploaded successfully'); } catch (error) { alert('Failed to upload profile picture: ' + error.message); } };
reader.onerror = () => { alert('Failed to read file'); };
reader.readAsDataURL(file); } catch (error) { alert('Error uploading profile picture: ' + error.message); }}
// Make functions globally availablewindow.showProfileModal = showProfileModal;window.closeProfileModal = closeProfileModal;window.uploadProfilePicture = uploadProfilePicture;
// Listen for favorite changes to update stats in real-time// Add small delay to ensure backend has processed the changedocument.addEventListener('favoriteAdded', () => { setTimeout(refreshUserStats, 500); // 500ms delay});document.addEventListener('favoriteRemoved', () => { setTimeout(refreshUserStats, 500); // 500ms delay});document.addEventListener('favoritesLoaded', () => { setTimeout(refreshUserStats, 500); // 500ms delay});
// Listen for game session recordings to update statsdocument.addEventListener('gameSessionRecorded', () => { setTimeout(refreshUserStats, 500); // 500ms delay});
// Listen for profile picture changes to update the modaldocument.addEventListener('profilePictureUpdated', (event) => { if (!profileModalOpen) return;
const profilePicContainer = document.getElementById('profilePictureContainer'); if (profilePicContainer && event.detail && event.detail.profilePicture) { profilePicContainer.innerHTML = `<img src="${event.detail.profilePicture}" alt="Profile" class="w-full h-full object-cover" />`; }});12345678910111213141516/** * EDUrocks 3.0 - Version Management * Auto-updates version on each deployment for cache busting */
// Update this timestamp when deploying new changesexport const APP_VERSION = '3.2.6';export const BUILD_TIMESTAMP = Date.now(); // Will be set at build time
// Helper to add version to module importsexport function getVersionedUrl(url) { const separator = url.includes('?') ? '&' : '?'; return `${url}${separator}v=${APP_VERSION}`;}
window.EDU_VERSION = APP_VERSION;123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Scheduled Maintenance - EDUrocks</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; background: linear-gradient(135deg, #011627 0%, #3C1642 100%); min-height: 100vh; position: relative; overflow-x: hidden; color: #e8d5e0; line-height: 1.6; }
.stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.star { position: absolute; background: #fff; border-radius: 50%; animation: twinkle 3s infinite ease-in-out; }
.star:nth-child(odd) { background: #F4154D; animation-delay: -1s; }
.star:nth-child(3n) { background: #FA0F71; animation-delay: -2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
.container { position: relative; z-index: 10; background: rgba(60, 22, 66, 0.7); backdrop-filter: blur(15px); border: 1px solid rgba(244, 21, 77, 0.3); border-radius: 20px; padding: 3rem; max-width: 600px; margin: 5rem auto; text-align: center; box-shadow: 0 25px 50px rgba(244, 21, 77, 0.2); }
.header { display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.logo { font-size: 2rem; font-weight: bold; margin-right: 1rem; }
.edu, .rocks { color: #F4154D; }
.icon { width: 80px; height: 80px; margin: 0 auto 2rem; background: linear-gradient(135deg, #F4154D, #FA0F71); border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: pulse 2s infinite; box-shadow: 0 0 30px rgba(244, 21, 77, 0.4); }
.icon svg { width: 40px; height: 40px; fill: white; }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 30px rgba(244, 21, 77, 0.4); } 50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(244, 21, 77, 0.6); } 100% { transform: scale(1); box-shadow: 0 0 30px rgba(244, 21, 77, 0.4); } }
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 20px rgba(244, 21, 77, 0.3); }
.subtitle { font-size: 1.2rem; color: #c4a5b8; margin-bottom: 2rem; font-weight: 300; }
.message { font-size: 1.1rem; color: #e8d5e0; margin-bottom: 2rem; text-align: left; }
.improvements { background: rgba(244, 21, 77, 0.1); border-radius: 12px; padding: 1.5rem; margin: 2rem 0; border-left: 4px solid #F4154D; border: 1px solid rgba(244, 21, 77, 0.2); }
.improvements h3 { color: #F4154D; margin-bottom: 1rem; font-size: 1.2rem; }
.improvements ul { text-align: left; color: #e8d5e0; }
.improvements li { margin-bottom: 0.5rem; padding-left: 0.5rem; }
.status { display: inline-flex; align-items: center; background: rgba(244, 21, 77, 0.2); color: #F4154D; padding: 0.75rem 1.5rem; border-radius: 25px; font-weight: 500; margin: 1rem 0; border: 1px solid rgba(244, 21, 77, 0.4); box-shadow: 0 0 15px rgba(244, 21, 77, 0.2); }
.status-dot { width: 8px; height: 8px; background: #F4154D; border-radius: 50%; margin-right: 0.5rem; animation: blink 1.5s infinite; box-shadow: 0 0 10px #F4154D; }
@keyframes blink { 0%, 50% { opacity: 1; transform: scale(1); } 51%, 100% { opacity: 0.3; transform: scale(0.8); } }
.contact { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(244, 21, 77, 0.3); color: #c4a5b8; font-size: 0.95rem; }
.contact a { color: #F4154D; text-decoration: none; font-weight: 500; }
.contact a:hover { text-decoration: underline; text-shadow: 0 0 5px #F4154D; }
.progress-bar { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; margin: 1.5rem 0; overflow: hidden; border: 1px solid rgba(244, 21, 77, 0.2); }
.progress { height: 100%; background: linear-gradient(90deg, #F4154D, #FA0F71); border-radius: 3px; animation: loading 3s ease-in-out infinite; box-shadow: 0 0 10px rgba(244, 21, 77, 0.5); }
@keyframes loading { 0% { width: 0%; } 50% { width: 70%; } 100% { width: 0%; } }
@media (max-width: 768px) { .container { margin: 2rem 1rem; padding: 2rem; } h1 { font-size: 2rem; } .subtitle { font-size: 1.1rem; } .message { font-size: 1rem; } } </style></head><body> <div class="stars"></div> <div class="container"> <div class="header"> <div class="logo"> <span class="edu">EDU</span><span class="rocks">rocks</span> </div> </div> <div class="icon"> <svg viewBox="0 0 24 24"> <path d="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.22,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.22,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.68 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"/> </svg> </div> <h1>We'll Be Right Back!</h1> <p class="subtitle">Scheduled Maintenance in Progress</p> <div class="status"> <div class="status-dot"></div> Upgrading Platform & Design </div> <div class="progress-bar"> <div class="progress"></div> </div> <div class="message"> <p>We're currently performing scheduled maintenance to enhance your experience. Our website is temporarily unavailable while we migrate to a better platform and implement exciting design improvements.</p> </div> <div class="improvements"> <h3>What We're Improving:</h3> <ul> <li>Migrating to a faster, more reliable platform</li> <li>Implementing a fresh, modern design</li> <li>Enhancing performance and user experience</li> <li>Adding new features and functionality</li> <li>Improving mobile responsiveness</li> </ul> </div> <div class="contact"> <p>We appreciate your patience during this upgrade. The website will be back online shortly with significant improvements.</p> <br> <p>Questions? Contact us at <a href="mailto:admin@edurocks.org">admin@edurocks.org</a></p> </div> </div>
<script> function createStars() { const starsContainer = document.querySelector('.stars'); const numStars = 100; for (let i = 0; i < numStars; i++) { const star = document.createElement('div'); star.className = 'star'; const size = Math.random() * 3 + 1; star.style.width = size + 'px'; star.style.height = size + 'px'; star.style.left = Math.random() * 100 + '%'; star.style.top = Math.random() * 100 + '%'; star.style.animationDelay = Math.random() * 3 + 's'; starsContainer.appendChild(star); } } document.addEventListener('DOMContentLoaded', createStars); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176<!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8"/><meta content="width=device-width, initial-scale=1.0" name="viewport"/><title>Movies & TV Shows - EDUrocks 3.0</title><link href="EDUrocksmoviesfavicon.png" rel="icon" type="image/png"/><link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet"/><script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script><script src="../assets/js/aws-detection.js"></script><script src="../assets/js/ip-restriction.js"></script>
<style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84; --font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif; } </style><style> @font-face { font-family: 'Verdana_ROT13'; src: url('../assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('../assets/fonts/Verdana_ROT13.woff') format('woff'), url('../assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('../assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } body, body * { font-family: 'Inter', sans-serif !important; } .rot13, .rot13 * { font-family: 'Verdana_ROT13', Verdana, sans-serif !important; } .font-pacifico, .font-pacifico * { font-family: 'Pacifico', cursive !important; } .gradient-text { font-family: 'Pacifico', cursive !important; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } @keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } </style></head><body class="bg-edu-dark text-edu-text min-h-screen"><nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"><a class="font-pacifico text-2xl md:text-3xl gradient-text" href="../index.html"> EDUrocks 3.0 </a><div class="flex flex-wrap items-center justify-center gap-2"><a class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105" href="../index.html">Home</a><a class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105" href="../page1.html">Games</a><a class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105 bg-edu-pink text-edu-text" id="edum-link" href="../edum/index.html">Movies & TV</a><a class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105" href="#" id="pr0xy-link">Proxy</a><a class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105" href="#" id="ai-chat-link">AI Chat</a><a class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105" href="../page2.html">Request</a><a class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105" href="../page7.html">Apps</a></div></div></div></nav><main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"><div class="mb-8"><h1 class="text-4xl md:text-5xl font-black text-center mb-4 gradient-text">Movies & TV Shows</h1><p class="text-center text-edu-text-secondary text-lg mb-6">Stream your fav Movies, TV Shows, Animes, ETC for free with EDUrocks 3.0.</p><div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6"><p class="text-edu-text-secondary text-sm"> <span class="font-bold text-edu-text">Disclaimer:</span> This site is compliant with the Digital Millennium Copyright Act (DMCA) as no content is stored on EDUrocks servers, and all content is stored by 3rd parties who we have no affiliation or contact with. If you believe one of the sources hosts content that infringes on your copyright contact them. </p></div></div><div class="bg-edu-dark-secondary/50 backdrop-blur border border-edu-pink/20 rounded-2xl p-6 mb-8"><div class="flex flex-col md:flex-row gap-4"><input class="flex-1 bg-edu-dark-accent text-edu-text border border-edu-pink/20 rounded-full px-6 py-3 focus:outline-none focus:border-edu-pink transition-all placeholder-edu-text-secondary/50" id="searchInput" placeholder="Search for movies and TV shows..." type="text"/><button class="bg-edu-pink hover:bg-edu-pink-light text-edu-text rounded-full px-8 py-3 font-medium transition-all whitespace-nowrap" id="searchBtn"> Search </button></div><div class="hidden mt-3 text-center text-edu-pink-light text-sm" id="refiningIndicator"> Refining search... </div></div><section class="mb-8 hidden" id="recentSection"><h2 class="text-2xl font-bold text-edu-pink-light mb-4">Recently Watched</h2><div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4" id="recentGrid"></div></section><div class="hidden text-center py-12" id="loading"><div class="inline-block animate-spin rounded-full h-12 w-12 border-4 border-edu-pink border-t-transparent"></div><p class="mt-4 text-edu-text-secondary">Searching...</p></div><section class="results-section"><div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4" id="results"></div></section></main><div class="hidden fixed inset-0 bg-black/80 z-50 flex items-center justify-center p-4" id="playerModal"><div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl max-w-4xl w-full max-h-[90vh] overflow-y-auto"><div class="sticky top-0 bg-edu-dark-accent border-b border-edu-pink/20 p-6 flex justify-between items-center"><h2 class="text-2xl font-bold text-edu-pink-light" id="modalTitle">Choose Player</h2><button class="text-edu-text-secondary hover:text-edu-text text-3xl transition-all" id="closeModal"></button></div><div class="p-6"><div class="mb-6" id="modalDetails"></div><div class="mb-6"><h3 class="text-xl font-semibold text-edu-text mb-2">Select Player:</h3><p class="text-edu-text-secondary text-sm mb-4">If a player doesn't work, try another one. Videasy is recommended.</p><div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3" id="playerSources"></div></div><div class="hidden" id="tvControls"><h3 class="text-xl font-semibold text-edu-text mb-4">Select Episode:</h3><div class="mb-4"><label class="block text-edu-text-secondary text-sm mb-2">Season:</label><select class="w-full bg-edu-dark-accent text-edu-text border border-edu-pink/20 rounded-lg px-4 py-2 focus:outline-none focus:border-edu-pink" id="seasonSelect"><option value="1">Season 1</option></select></div><div class="grid grid-cols-1 md:grid-cols-2 gap-3" id="episodeListContainer"></div></div></div></div></div><footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="text-center"><p class="text-edu-text font-bold text-lg mb-2">EDUrocks 3.0</p><p class="text-edu-text-secondary mb-6">| Last Updated | Dec, 15th 2025 | 7 Games |</p><div class="flex flex-wrap justify-center gap-6"><a class="text-edu-pink-light hover:text-edu-text transition-colors" href="../page3.html">Contact Info</a><a class="text-edu-pink-light hover:text-edu-text transition-colors" href="../page5.html">Support the Site</a> <a href="../page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a><a class="text-edu-pink-light hover:text-edu-text transition-colors" href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank">Uptime</a><a class="text-edu-pink-light hover:text-edu-text transition-colors" href="https://www.instagram.com/inowana25/" target="_blank">Instagram</a><a class="text-edu-pink-light hover:text-edu-text transition-colors" href="https://www.tiktok.com/@officialedurocks" target="_blank">TikTok</a><a class="text-edu-pink-light hover:text-edu-text transition-colors" href="../page6.html">Links</a><a class="text-edu-pink-light hover:text-edu-text transition-colors" href="../page4.html">Updates</a></div></div></div></footer><script src="../assets/js/domain-utils.js" type="module"></script><script defer="" src="script.js"></script><script type="module"> import { initNavigationHandlers } from '../assets/js/navigation.js'; import { initChromeOSDetection } from '../assets/js/chromeos-detect.js'; import { Auth } from '../assets/js/auth.js'; import { initNavbarAuth } from '../assets/js/navbar-auth.js'; import { BypassSettings } from '../assets/js/bypass-settings.js'; import '../assets/js/user-profile.js'; window.Auth = Auth; window.BypassSettings = BypassSettings; document.addEventListener('DOMContentLoaded', async () => { await initNavbarAuth(); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719// Check if bypass mode is enabled (respects user preference from landing page)function isBypassEnabled() { try { const pref = localStorage.getItem('edurocks_bypass_mode'); return pref !== 'normal'; // default to bypass if not set } catch (e) { return true; }}
function isChromeOS() { // If IP is restricted or user prefers normal mode, always return false to disable bypass if (window.isIPRestricted || window.forceDisableBypass || !isBypassEnabled()) { return false; } const userAgent = navigator.userAgent.toLowerCase(); return userAgent.includes("cros") || userAgent.includes("chromeos") || userAgent.includes("chrome os")}
function openInCloak(url) { // If IP restricted or user prefers normal mode, navigate normally without bypass if (window.isIPRestricted || window.forceDisableBypass || !isBypassEnabled()) { window.open(url, "_blank"); return; } if (isChromeOS()) { const newWindow = window.open("about:blank", "_blank"); if (newWindow) { const fakeTitle = window.getFakeTitle ? window.getFakeTitle() : 'IXL - Dashboard'; const faviconURL = window.location.origin.replace('/edum', '') + '/filestorage/photos/favicon.ico'; const _d = 'docu', _m = 'ment', _w = 'write', _o = 'open', _c = 'close'; const _h = 'ht', _ml = 'ml', _bd = 'bo', _dy = 'dy', _hd = 'hea', _d2 = 'd'; const _if = 'ifra', _me = 'me', _sr = 'sr', _c2 = 'c'; const _bg = '#1a0f14'; const doc = newWindow[_d + _m]; doc[_o](); const parts = [ '<!DOCTYPE ' + _h + _ml + '>', '<' + _h + _ml + '>', '<' + _hd + _d2 + '>', '<title>' + fakeTitle + '</title>', '<link rel="icon" href="' + faviconURL + '" type="image/x-icon">', '<style>', _bd + _dy + ' { margin: 0; padding: 0; height: 100vh; overflow: hidden; background-color: ' + _bg + '; }', _if + _me + ' { border: none; width: 100%; height: 100%; }', '</style>', '</' + _hd + _d2 + '>', '<' + _bd + _dy + '>', '<' + _if + _me + ' ' + _sr + _c2 + '="' + url + '"></' + _if + _me + '>', '</' + _bd + _dy + '>', '</' + _h + _ml + '>' ]; doc[_w](parts.join('')); doc[_c](); } } else { window.open(url, "_blank") }}
var openInAboutBlank = openInCloak;
class MediaApp { constructor() { this.config = { playerSources: [{ name: "Videasy", url: "https://player.videasy.net", tmdbOnly: true }, { name: "Vidsrc.ru", url: "https://vidsrc-embed.ru/embed", preferImdb: true }, { name: "Vidsrc.su", url: "https://vidsrc-embed.su/embed", preferImdb: true }, { name: "Vidsrcme.su", url: "https://vidsrcme.su/embed", preferImdb: true }, { name: "Vsrc.su", url: "https://vsrc.su/embed", preferImdb: true }], cacheTime: 24 * 60 * 60 * 1e3 }; this.state = { currentItem: null, searchTimeout: null, isLoading: false, selectedPlayer: null, audioPref: 'sub' }; this.elements = this.getElements(); this.currentPlayerUrl = ""; this.init() } getApiUrl() { if (window.eduBackendRoot) { return window.eduBackendRoot + '/edum/edumapi.php'; } if (window.eduBackendOverride) { return window.eduBackendOverride.replace('userauth/api.php', 'edum/edumapi.php'); } const hostname = window.location.hostname; const isIP = /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname) || /^[0-9a-fA-F:]+$/.test(hostname); const isLocal = hostname === 'localhost' || hostname.endsWith('.local') || hostname === '127.0.0.1' || hostname === '::1'; if (hostname === 'devbuild.edurocks.org' || isIP || isLocal) { return 'https://backendapi.learnbla.org/edum/edumapi.php'; } const domain = hostname.replace(/^www\./, ""); return `https://backendapi.${domain}/edum/edumapi.php`; } getElements() { return { searchInput: document.getElementById("searchInput"), searchBtn: document.getElementById("searchBtn"), loading: document.getElementById("loading"), results: document.getElementById("results"), recentSection: document.getElementById("recentSection"), recentGrid: document.getElementById("recentGrid"), playerModal: document.getElementById("playerModal"), modalTitle: document.getElementById("modalTitle"), modalDetails: document.getElementById("modalDetails"), closeModal: document.getElementById("closeModal"), tvControls: document.getElementById("tvControls"), seasonSelect: document.getElementById("seasonSelect"), episodeListContainer: document.getElementById("episodeListContainer"), playerSources: document.getElementById("playerSources"), playerFrame: document.getElementById("playerFrame"), videoIframe: document.getElementById("videoIframe"), openExternal: document.getElementById("openExternal"), tryAnother: document.getElementById("tryAnother"), refiningIndicator: document.getElementById("refiningIndicator"), audioPrefContainer: document.getElementById("audioPrefContainer") } } async init() { await new Promise(resolve => setTimeout(resolve, 500)); await this.checkApiConnectivity(); this.setupEventListeners(); this.loadRecentItems(); this.elements.searchInput.focus(); this.setupIntersectionObserver(); this.focusedCardIndex = -1; this.currentEpisodeData = [] } async checkApiConnectivity() { try { const response = await fetch(`${this.getApiUrl()}?action=search&query=test`, { method: 'GET', signal: AbortSignal.timeout(5000) }); } catch (error) {} } setupEventListeners() { this.elements.searchBtn.addEventListener("click", () => this.handleSearch()); this.elements.searchInput.addEventListener("keypress", e => { if (e.key === "Enter") this.handleSearch() }); this.elements.searchInput.addEventListener("input", e => { clearTimeout(this.state.searchTimeout); const query = e.target.value.trim(); if (query.length > 2) { this.elements.refiningIndicator.classList.add("active"); this.state.searchTimeout = setTimeout(() => { this.search(query); this.elements.refiningIndicator.classList.remove("active") }, 500) } else if (query.length === 0) { this.clearResults(); this.elements.refiningIndicator.classList.remove("active") } }); this.elements.closeModal.addEventListener("click", () => this.closeModal()); this.elements.playerModal.addEventListener("click", e => { if (e.target === this.elements.playerModal) this.closeModal() }); this.elements.seasonSelect.addEventListener("change", () => this.updateEpisodes()); document.addEventListener("keydown", e => { if (e.key === "Escape" && !this.elements.playerModal.classList.contains("hidden")) { this.closeModal() } else if (!this.elements.playerModal.classList.contains("hidden")) { return } else if (e.key === "ArrowRight") { this.navigateCards(1) } else if (e.key === "ArrowLeft") { this.navigateCards(-1) } else if (e.key === "ArrowDown") { this.navigateCards(6) } else if (e.key === "ArrowUp") { this.navigateCards(-6) } else if (e.key === "Enter" && this.focusedCardIndex >= 0) { const cards = document.querySelectorAll(".media-card"); if (cards[this.focusedCardIndex]) { cards[this.focusedCardIndex].click() } } }); this.elements.openExternal?.addEventListener("click", () => { if (this.currentPlayerUrl) { window.open(this.currentPlayerUrl, "_blank") } }); this.elements.tryAnother?.addEventListener("click", () => { this.hidePlayer() }) } async handleSearch() { const query = this.elements.searchInput.value.trim(); if (!query) return; await this.search(query) } async search(query) { if (this.state.isLoading) return; try { this.state.isLoading = true; this.showSkeletons(); const cached = this.getCache(`search_${query.toLowerCase()}`); if (cached) { this.displayResults(cached); return } const response = await fetch(`${this.getApiUrl()}?action=search&query=${encodeURIComponent(query)}`); const data = await response.json(); if (data.error) { throw new Error(data.error) } this.setCache(`search_${query.toLowerCase()}`, data.results); this.displayResults(data.results) } catch (error) { this.showError("Search failed. Please try again.") } finally { this.state.isLoading = false } } displayResults(results) { this.elements.results.innerHTML = ""; this.focusedCardIndex = -1; if (!results || results.length === 0) { this.showNoResults(); return } results.forEach(item => { const card = this.createMediaCard(item); this.elements.results.appendChild(card); if (this.imageObserver) { this.imageObserver.observe(card) } }) } createMediaCard(item) { const card = document.createElement("div"); card.className = "media-card movie-card group relative bg-edu-dark-accent border border-edu-pink/20 rounded-xl overflow-hidden transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl cursor-pointer"; card.addEventListener("click", () => this.showPlayerModal(item)); card.dataset.itemId = item.id; card.dataset.itemType = item.type; const posterUrl = item.poster_url || (item.poster_path ? `https://image.tmdb.org/t/p/w500${item.poster_path}` : null); const overview = item.overview ? item.overview.substring(0, 150) + (item.overview.length > 150 ? "..." : "") : ""; card.innerHTML = ` <div class="relative aspect-[2/3] overflow-hidden"> ${posterUrl?`<img src="${posterUrl}" alt="${item.title}" loading="lazy" data-src="${posterUrl}" class="w-full h-full object-cover">`:`<div class="w-full h-full flex items-center justify-center bg-edu-dark text-6xl">🎬</div>`} <div class="absolute inset-0 bg-gradient-to-t from-edu-dark via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"></div> <div class="absolute top-3 right-3 ${item.type==="movie"?"bg-gradient-to-br from-edu-pink to-edu-pink-light":"bg-gradient-to-br from-edu-rose to-edu-pink"} text-edu-text text-xs font-semibold px-3 py-1.5 rounded-lg shadow-lg">${item.type==="movie"?"Film":"TV"}</div> </div> ${overview?`<div class="absolute inset-0 bg-edu-dark/95 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center p-4"> <div class="text-edu-text-secondary text-sm leading-relaxed">${overview}</div> </div>`:""} <div class="p-4 space-y-2"> <div class="text-edu-text font-semibold text-lg line-clamp-2">${item.title}</div> <div class="flex items-center gap-3 text-sm"> ${item.year?`<span class="text-edu-text-secondary">${item.year}</span>`:""} ${item.rating?`<span class="text-edu-pink font-medium">⭐ ${item.rating}</span>`:""} </div> </div> `; return card } async showPlayerModal(item) { this.state.currentItem = item; this.elements.modalTitle.textContent = item.title; this.elements.modalDetails.innerHTML = ` <p class="text-edu-text-secondary leading-relaxed mb-4">${item.overview || "No description available."}</p> <div class="flex items-center gap-4 text-sm"> ${item.rating ? `<div class="flex items-center gap-2 text-edu-text"><span class="text-edu-pink">⭐</span> ${item.rating}</div>` : ''} ${item.year ? `<div class="flex items-center gap-2 text-edu-text"><span class="text-edu-pink">📅</span> ${item.year}</div>` : ''} </div> `; if (item.type === "tv") { this.setSelectedPlayer(this.config.playerSources[0]); await this.setupTVControls(item); this.elements.tvControls.classList.remove("hidden"); const progress = this.loadProgress(item.id); if (progress) { this.elements.seasonSelect.value = progress.season; await this.updateEpisodes() } } else { this.elements.tvControls.classList.add("hidden") } this.updatePlayerSources(); this.elements.playerModal.classList.remove("hidden"); this.addToRecent(item) } async setupTVControls(item) { try { const details = await this.getItemDetails(item); this.elements.seasonSelect.innerHTML = ""; const seasonCount = details.number_of_seasons || 1; for (let i = 1; i <= seasonCount; i++) { const option = document.createElement("option"); option.value = i; option.textContent = `Season ${i}`; this.elements.seasonSelect.appendChild(option) } await this.updateEpisodes() } catch (error) { this.elements.seasonSelect.innerHTML = '<option value="1">Season 1</option>'; this.updateBasicEpisodes() } } async updateEpisodes() { const season = this.elements.seasonSelect.value; try { const response = await fetch(`${this.getApiUrl()}?action=seasons&id=${this.state.currentItem.id}&season=${season}`); const data = await response.json(); if (data.error) throw new Error(data.error); this.currentEpisodeData = data.episodes || []; if (this.currentEpisodeData.length === 0) { this.renderBasicEpisodeList(); return } this.renderEpisodeList() } catch (error) { this.renderBasicEpisodeList() } } updateBasicEpisodes() { this.currentEpisodeData = []; for (let i = 1; i <= 20; i++) { this.currentEpisodeData.push({ episode_number: i, name: `Episode ${i}`, overview: "", still_path: null }) } this.renderEpisodeList() } renderBasicEpisodeList() { this.currentEpisodeData = []; for (let i = 1; i <= 20; i++) { this.currentEpisodeData.push({ episode_number: i, name: `Episode ${i}`, overview: "", still_path: null }) } this.renderEpisodeList() } renderEpisodeList() { this.elements.episodeListContainer.innerHTML = ""; const watchedEpisodes = this.getWatchedEpisodes(this.state.currentItem.id, this.elements.seasonSelect.value); this.currentEpisodeData.forEach((ep, index) => { const episodeItem = document.createElement("div"); episodeItem.className = "relative bg-edu-dark-accent border border-edu-pink/20 rounded-xl p-3 cursor-pointer hover:bg-edu-rose hover:border-edu-pink transition-all flex gap-3"; const epNum = ep.episode_number || index + 1; const isWatched = watchedEpisodes.includes(epNum); const thumbnailUrl = ep.still_path ? `https://image.tmdb.org/t/p/w300${ep.still_path}` : null; episodeItem.innerHTML = ` ${thumbnailUrl?`<img src="${thumbnailUrl}" class="w-32 h-20 object-cover rounded-lg flex-shrink-0" alt="${ep.name}" loading="lazy">`:`<div class="w-32 h-20 flex items-center justify-center bg-edu-dark rounded-lg flex-shrink-0 text-3xl">📺</div>`} <div class="flex-1 min-w-0 flex flex-col"> <div class="flex items-start justify-between gap-2 mb-1"> <div class="text-edu-text font-semibold text-sm break-words flex-1"> Episode ${epNum}${ep.name&&ep.name!==`Episode ${epNum}`?`: ${ep.name}`:""} </div> ${isWatched?'<span class="bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text text-xs font-semibold px-2 py-1 rounded-full flex-shrink-0 whitespace-nowrap">Watched</span>':""} </div> ${ep.overview?`<div class="text-edu-text-secondary text-xs leading-relaxed line-clamp-2 mb-1">${ep.overview}</div>`:""} ${ep.runtime?`<div class="text-edu-text-secondary text-xs mt-auto"><span>${ep.runtime}min</span></div>`:""} </div> `; episodeItem.addEventListener("click", () => { this.markEpisodeWatched(this.state.currentItem.id, this.elements.seasonSelect.value, epNum); this.openPlayer(this.state.selectedPlayer, epNum); }); this.elements.episodeListContainer.appendChild(episodeItem) }) } updatePlayerSources() { this.elements.playerSources.innerHTML = ""; this.config.playerSources.forEach(source => { const buttonContainer = document.createElement("div"); buttonContainer.className = "space-y-2"; const button = document.createElement("button"); const isSelected = this.state.currentItem.type === 'tv' && this.state.selectedPlayer && source.name === this.state.selectedPlayer.name; button.className = `w-full ${isSelected ? 'bg-gradient-to-r from-edu-pink to-edu-pink-light' : 'bg-edu-pink hover:bg-edu-pink-light'} text-edu-text rounded-lg px-4 py-3 font-medium transition-all shadow-lg hover:shadow-xl transform hover:scale-105`; button.textContent = source.name; if (source.name === "Videasy") { const recommendedTag = document.createElement("span"); recommendedTag.className = "block text-center bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text text-xs font-semibold px-3 py-1.5 rounded-lg mb-2"; recommendedTag.textContent = "Recommended"; buttonContainer.appendChild(recommendedTag); const audioPrefGroup = document.createElement("div"); audioPrefGroup.className = "flex gap-2 mb-2"; const subBtn = document.createElement("button"); subBtn.className = `flex-1 ${this.state.audioPref === 'sub' ? 'bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text' : 'bg-edu-dark-accent text-edu-text-secondary hover:bg-edu-rose'} rounded-lg px-4 py-2 font-medium transition-all border ${this.state.audioPref === 'sub' ? 'border-edu-pink' : 'border-edu-pink/20'}`; subBtn.textContent = "Sub"; subBtn.addEventListener("click", (e) => { e.stopPropagation(); this.state.audioPref = 'sub'; this.updatePlayerSources(); }); const dubBtn = document.createElement("button"); dubBtn.className = `flex-1 ${this.state.audioPref === 'dub' ? 'bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text' : 'bg-edu-dark-accent text-edu-text-secondary hover:bg-edu-rose'} rounded-lg px-4 py-2 font-medium transition-all border ${this.state.audioPref === 'dub' ? 'border-edu-pink' : 'border-edu-pink/20'}`; dubBtn.textContent = "Dub"; dubBtn.addEventListener("click", (e) => { e.stopPropagation(); this.state.audioPref = 'dub'; this.updatePlayerSources(); }); audioPrefGroup.appendChild(subBtn); audioPrefGroup.appendChild(dubBtn); buttonContainer.appendChild(audioPrefGroup); } buttonContainer.appendChild(button); button.addEventListener("click", () => { if (this.state.currentItem.type === 'movie') { this.openPlayer(source); } else { this.setSelectedPlayer(source); } }); this.elements.playerSources.appendChild(buttonContainer) }) } setSelectedPlayer(source) { this.state.selectedPlayer = source; this.updatePlayerSources(); } async openPlayer(source, episode = null) { const item = this.state.currentItem; if (!item) return; try { let url = ""; if (item.type === "movie") { if (source.preferImdb) { const details = await this.getItemDetails(item); const imdbId = details.external_ids?.imdb_id; if (imdbId) { url = `${source.url}/movie?imdb=${imdbId}` } else { url = `${source.url}/movie?tmdb=${item.id}` } } else if (source.tmdbOnly) { url = `${source.url}/movie/${item.id}`; if (source.name === "Videasy" && this.state.audioPref === 'dub') { url += "?dub=true" } } else { url = `${source.url}/movie/${item.id}` } } else { const season = this.elements.seasonSelect.value; const episodeNum = episode || 1; if (source.preferImdb) { const details = await this.getItemDetails(item); const imdbId = details.external_ids?.imdb_id; if (imdbId) { url = `${source.url}/tv?imdb=${imdbId}&season=${season}&episode=${episodeNum}` } else { url = `${source.url}/tv?tmdb=${item.id}&season=${season}&episode=${episodeNum}` } } else if (source.tmdbOnly) { url = `${source.url}/tv/${item.id}/${season}/${episodeNum}`; if (source.name === "Videasy") { const params = new URLSearchParams({ nextEpisode: 'true', episodeSelector: 'true', autoplayNextEpisode: 'true' }); if (this.state.audioPref === 'dub') { params.append('dub', 'true'); } url += `?${params.toString()}` } } else { url = `${source.url}/tv/${item.id}/${season}/${episodeNum}` } } openInCloak(url); setTimeout(() => this.closeModal(), 1e3) } catch (error) { const fallbackUrl = this.buildFallbackUrl(source, item, episode); openInCloak(fallbackUrl); setTimeout(() => this.closeModal(), 1e3) } } buildFallbackUrl(source, item, episode = null) { if (item.type === "movie") { if (source.preferImdb) { return `${source.url}/movie?tmdb=${item.id}` } else { return `${source.url}/movie/${item.id}` } } else { const season = this.elements.seasonSelect.value; const episodeNum = episode || 1; if (source.preferImdb) { return `${source.url}/tv?tmdb=${item.id}&season=${season}&episode=${episodeNum}` } else { return `${source.url}/tv/${item.id}/${season}/${episodeNum}` } } } async getItemDetails(item) { const cacheKey = `details_${item.type}_${item.id}`; const cached = this.getCache(cacheKey); if (cached) return cached; const response = await fetch(`${this.getApiUrl()}?action=details&type=${item.type}&id=${item.id}`); const details = await response.json(); if (!details.error) { this.setCache(cacheKey, details) } return details } closeModal() { this.elements.playerModal.classList.add("hidden"); this.state.currentItem = null } addToRecent(item) { try { let recent = JSON.parse(localStorage.getItem("mediaRecent") || "[]"); recent = recent.filter(r => r.id !== item.id || r.type !== item.type); recent.unshift({ ...item, watchedAt: Date.now() }); recent = recent.slice(0, 12); localStorage.setItem("mediaRecent", JSON.stringify(recent)); this.loadRecentItems() } catch (error) {} } loadRecentItems() { try { let recent = JSON.parse(localStorage.getItem("mediaRecent") || "[]"); if (recent.length === 0) { recent = JSON.parse(localStorage.getItem("moviesRecent") || "[]"); } if (recent.length === 0) { this.elements.recentSection.classList.add("hidden"); return } this.elements.recentSection.classList.remove("hidden"); this.elements.recentGrid.innerHTML = ""; recent.forEach(item => { const card = this.createMediaCard(item); this.elements.recentGrid.appendChild(card); if (this.imageObserver) { this.imageObserver.observe(card) } }) } catch (error) {} } showLoading(show) { this.elements.loading.classList.toggle("hidden", !show) } showError(message) { this.elements.results.innerHTML = ` <div class="flex flex-col items-center justify-center p-12 text-center"> <div class="text-6xl mb-4">⚠️</div> <h3 class="text-edu-text text-2xl font-bold mb-2">Error</h3> <p class="text-edu-text-secondary">${message}</p> </div> ` } showNoResults() { this.elements.results.innerHTML = ` <div class="flex flex-col items-center justify-center p-12 text-center"> <div class="text-6xl mb-4">🔍</div> <h3 class="text-edu-text text-2xl font-bold mb-2">No Results Found</h3> <p class="text-edu-text-secondary">Try searching with different keywords</p> </div> ` } clearResults() { this.elements.results.innerHTML = "" } getCache(key) { try { const cached = localStorage.getItem(`cache_${key}`); if (!cached) return null; const data = JSON.parse(cached); if (Date.now() - data.timestamp > this.config.cacheTime) { localStorage.removeItem(`cache_${key}`); return null } return data.content } catch (error) { return null } } setCache(key, content) { try { localStorage.setItem(`cache_${key}`, JSON.stringify({ content: content, timestamp: Date.now() })) } catch (error) {} } showSkeletons() { this.elements.results.innerHTML = ""; for (let i = 0; i < 12; i++) { const skeleton = document.createElement("div"); skeleton.className = "bg-edu-dark-accent border border-edu-pink/20 rounded-xl overflow-hidden animate-pulse"; skeleton.innerHTML = ` <div class="aspect-[2/3] bg-edu-rose"></div> <div class="p-4 space-y-3"> <div class="h-5 bg-edu-rose rounded w-3/4"></div> <div class="h-4 bg-edu-rose rounded w-1/2"></div> </div> `; this.elements.results.appendChild(skeleton) } } navigateCards(direction) { const cards = document.querySelectorAll(".media-card"); if (cards.length === 0) return; if (this.focusedCardIndex >= 0) { cards[this.focusedCardIndex].classList.remove("focused") } this.focusedCardIndex = Math.max(0, Math.min(cards.length - 1, this.focusedCardIndex + direction)); cards[this.focusedCardIndex].classList.add("focused"); cards[this.focusedCardIndex].scrollIntoView({ behavior: "smooth", block: "center" }) } setupIntersectionObserver() { const options = { root: null, rootMargin: "50px", threshold: .1 }; this.imageObserver = new IntersectionObserver((entries, observer) => { entries.forEach(entry => { if (entry.isIntersecting) { const card = entry.target; this.prefetchCardDetails(card); observer.unobserve(card) } }) }, options) } async prefetchCardDetails(card) { const itemId = card.dataset.itemId; const itemType = card.dataset.itemType; if (!itemId || !itemType) return; const cacheKey = `details_${itemType}_${itemId}`; const cached = this.getCache(cacheKey); if (cached) return; try { const response = await fetch(`${this.getApiUrl()}?action=details&type=${itemType}&id=${itemId}`); const details = await response.json(); if (!details.error) { this.setCache(cacheKey, details) } } catch (error) {} } getWatchedEpisodes(showId, season) { try { const key = `watched_${showId}_s${season}`; const watched = JSON.parse(localStorage.getItem(key) || "[]"); return watched } catch (error) { return [] } } markEpisodeWatched(showId, season, episode) { try { const key = `watched_${showId}_s${season}`; let watched = JSON.parse(localStorage.getItem(key) || "[]"); if (!watched.includes(episode)) { watched.push(episode) } localStorage.setItem(key, JSON.stringify(watched)); this.saveProgress(showId, season, episode) } catch (error) {} } saveProgress(showId, season, episode) { try { const progress = { showId: showId, season: parseInt(season), episode: parseInt(episode), timestamp: Date.now() }; localStorage.setItem(`progress_${showId}`, JSON.stringify(progress)) } catch (error) {} } loadProgress(showId) { try { const progress = JSON.parse(localStorage.getItem(`progress_${showId}`) || "null"); return progress } catch (error) { return null } }}
var MoviesApp = MediaApp;
document.addEventListener("DOMContentLoaded", () => { window.mediaApp = new MediaApp; window.moviesApp = window.mediaApp;});12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142:root { --bg-primary: #011627; --bg-secondary: #3C1642; --bg-accent: #58355E; --text-primary: #e8d5e0; --text-secondary: #c4a5b8; --dark-pink: #F4154D; --dark-pink-light: #FA0F71; --dark-rose: #FF1F84; --border-color: rgba(139, 74, 122, 0.2); --border-hover: rgba(139, 74, 122, 0.4); --shadow-color: rgba(0, 0, 0, 0.4);}
* { margin: 0; padding: 0; box-sizing: border-box;}
body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; background-color: var(--bg-primary); color: var(--text-primary); min-height: 100vh;}
.hidden { display: none !important; }
nav { background-color: var(--bg-accent); padding: 0; border-bottom: 2px solid var(--border-color); text-align: center; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 12px 20px;}
.nav-logo { font-family: "Pacifico", cursive; font-size: 1.8rem; font-weight: 400; letter-spacing: 0.02em; background: linear-gradient(45deg, var(--dark-pink), var(--dark-pink-light), var(--text-primary), var(--dark-pink-light), var(--dark-pink)); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: theme-flow 6s ease infinite; margin-right: 10px;}
.nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;}
nav a { color: var(--text-secondary); padding: 10px 16px; text-decoration: none; display: inline-block; font-weight: 500; transition: all 0.3s ease; border-radius: 9999px; margin: 0; font-size: 0.9rem;}
nav a:hover { background-color: var(--dark-pink); color: var(--text-primary);}
nav a.active { background-color: var(--dark-pink); color: var(--text-primary);}
@media (max-width: 768px) { nav { flex-direction: column; gap: 10px; padding: 16px 12px; } .nav-logo { font-size: 1.3rem; margin-right: 0; margin-bottom: 4px; }}
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px;}
main { min-height: calc(100vh - 200px);}
.header-section { text-align: center; margin-bottom: 40px;}
h1 { color: var(--text-primary); font-size: 3rem; font-weight: 800; margin-bottom: 20px; background: linear-gradient(45deg, var(--dark-pink), var(--dark-pink-light), var(--text-primary), var(--dark-pink-light), var(--dark-pink)); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: theme-flow 6s ease infinite;}
.subtitle { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px;}
.disclaimer { max-width: 800px; margin: 0 auto 30px auto;}
.disclaimer-content { background-color: rgba(255, 193, 7, 0.1); border: 1px solid rgba(255, 193, 7, 0.3); border-radius: 12px; padding: 20px; backdrop-filter: blur(8px);}
.disclaimer-content p { color: #ffc107; font-size: 0.9rem; font-weight: 500; margin: 0;}
.search-section { margin-bottom: 40px;}
.search-container { max-width: 800px; margin: 0 auto;}
.search-wrapper { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; box-shadow: 0 8px 32px var(--shadow-color); display: flex; flex-direction: column; gap: 20px;}
.search-input { width: 100%; padding: 16px 24px; border: 1px solid var(--border-color); border-radius: 9999px; background-color: var(--bg-accent); color: var(--text-primary); font-family: inherit; font-size: 1.1rem; transition: all 0.3s ease;}
.search-input:focus { outline: none; border-color: var(--dark-pink); box-shadow: 0 0 0 2px rgba(139, 74, 122, 0.2); background-color: var(--dark-rose);}
.search-input::placeholder { color: var(--text-secondary); opacity: 0.7;}
.search-btn { align-self: center; background: linear-gradient(135deg, var(--dark-pink), var(--dark-pink-light)); color: var(--text-primary); padding: 16px 32px; border: none; border-radius: 9999px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; min-width: 150px;}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(139, 74, 122, 0.3);}
.recent-wrapper { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; box-shadow: 0 8px 32px var(--shadow-color);}
.recent-wrapper h2 { color: var(--dark-pink-light); font-size: 1.5rem; font-weight: 600; margin-bottom: 20px;}
.loading-wrapper { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; text-align: center; box-shadow: 0 8px 32px var(--shadow-color);}
.loading-spinner { width: 40px; height: 40px; border: 4px solid var(--border-color); border-top: 4px solid var(--dark-pink); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px auto;}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); }}
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px;}
.movie-card { background-color: var(--bg-accent); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; aspect-ratio: 2/3; display: flex; flex-direction: column; box-shadow: 0 4px 16px var(--shadow-color); position: relative;}
.movie-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 20px 40px var(--shadow-color); border-color: var(--dark-pink); background-color: var(--dark-rose);}
.movie-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--dark-pink), var(--dark-pink-light)); opacity: 0; transition: opacity 0.3s ease;}
.movie-card:hover::after { opacity: 1;}
.movie-poster { position: relative; flex: 1; overflow: hidden; background: rgba(139, 74, 122, 0.1);}
.movie-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease;}
.movie-card:hover .movie-poster img { transform: scale(1.05);}
.type-badge { position: absolute; top: 8px; right: 8px; padding: 4px 8px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; backdrop-filter: blur(8px); z-index: 10;}
.type-badge.movie { background: rgba(239, 68, 68, 0.9); color: white;}
.type-badge.tv { background: rgba(34, 197, 94, 0.9); color: white;}
.movie-info { padding: 12px; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(8px); border-top: 1px solid var(--border-color); position: relative; z-index: 10;}
.movie-title { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); line-height: 1.2; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.movie-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: var(--text-secondary);}
.movie-year { background: var(--bg-accent); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border-color);}
.movie-rating { display: flex; align-items: center; gap: 2px;}
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn 0.2s ease;}
.modal-content { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; max-width: 1400px; width: 98%; max-height: 95vh; overflow: auto; box-shadow: 0 20px 40px var(--shadow-color); animation: slideUp 0.3s ease;}
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border-color);}
.modal-header h2 { color: var(--text-primary); font-size: 1.5rem; font-weight: 700; margin: 0;}
.close-btn { width: 40px; height: 40px; background: #dc2626; color: white; border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;}
.close-btn:hover { background: #b91c1c; transform: scale(1.05);}
.modal-body { padding: 32px; display: flex; flex-direction: column; gap: 24px;}
.modal-details { margin-bottom: 0; padding: 24px; background: var(--bg-accent); border-radius: 12px; border: 1px solid var(--border-color);}
.modal-description { font-size: 0.9rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 16px;}
.modal-meta { display: flex; gap: 16px; font-size: 0.9rem; color: var(--text-primary);}
.modal-meta-item { display: flex; align-items: center; gap: 6px;}
.tv-controls { margin-bottom: 0; background: var(--bg-accent); padding: 24px; border-radius: 12px; border: 1px solid var(--border-color);}
.controls-wrapper { display: flex; gap: 20px; flex-wrap: wrap;}
.control-group { flex: 1; min-width: 150px;}
.control-group label { display: block; color: var(--dark-pink-light); font-weight: 600; margin-bottom: 8px; font-size: 1rem;}
.tv-controls h3 { color: var(--dark-pink-light); font-size: 1.3rem; font-weight: 600; margin-bottom: 16px;}
.control-group select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; background-color: var(--bg-accent); color: var(--text-primary); font-family: inherit; font-size: 1rem; appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23c4a5b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: right 12px center; background-repeat: no-repeat; background-size: 16px; padding-right: 40px;}
.control-group select:focus { outline: none; border-color: var(--dark-pink); box-shadow: 0 0 0 2px rgba(139, 74, 122, 0.2);}
.player-section { background: var(--bg-accent); padding: 24px; border-radius: 12px; border: 1px solid var(--border-color);}
.player-section h3 { color: var(--dark-pink-light); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px;}
.player-note { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; padding: 12px; background: rgba(139, 74, 122, 0.1); border-radius: 8px; border-left: 3px solid var(--dark-pink);}
.player-sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;}
.player-source-container { display: flex; flex-direction: column; gap: 8px;}
.audio-pref-group { display: flex; gap: 6px; justify-content: center;}
.audio-pref-btn { flex: 1; padding: 10px 16px; background: var(--bg-secondary); border: 2px solid var(--border-color); border-radius: 8px; color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: inherit;}
.audio-pref-btn:hover { background: var(--dark-rose); border-color: var(--dark-pink); color: var(--text-primary);}
.audio-pref-btn.active { background: linear-gradient(135deg, var(--dark-pink), var(--dark-pink-light)); border-color: var(--dark-pink-light); color: var(--text-primary); box-shadow: 0 2px 8px rgba(139, 74, 122, 0.3);}
.recommended-tag { font-size: 0.75rem; color: #22c55e; font-weight: 600; text-align: center; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 4px; padding: 4px 8px; animation: subtle-glow 2s ease-in-out infinite alternate;}
@keyframes subtle-glow { from { box-shadow: 0 0 5px rgba(34, 197, 94, 0.2); } to { box-shadow: 0 0 10px rgba(34, 197, 94, 0.4); }}
.player-source { background: linear-gradient(135deg, rgba(139, 74, 122, 0.15), rgba(139, 74, 122, 0.08)); border: 2px solid var(--border-color); border-radius: 10px; padding: 20px; color: var(--text-primary); font-weight: 600; font-size: 1.05rem; transition: all 0.3s ease; cursor: pointer; text-align: center; display: flex; align-items: center; justify-content: center; text-decoration: none; min-height: 60px;}
.player-source:hover { background: linear-gradient(135deg, var(--dark-rose), rgba(139, 74, 122, 0.3)); border-color: var(--dark-pink); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(139, 74, 122, 0.3);}
.player-source.selected { border-color: var(--dark-pink-light); box-shadow: 0 0 15px rgba(139, 74, 122, 0.4); background: var(--dark-rose);}
.error-message { text-align: center; padding: 32px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 12px; color: var(--text-primary); grid-column: 1 / -1;}
.error-message h3 { color: #ef4444; font-size: 1.25rem; margin-bottom: 8px;}
.no-results { text-align: center; padding: 48px 24px; grid-column: 1 / -1; color: var(--text-secondary);}
.no-results h3 { font-size: 1.5rem; color: var(--dark-pink-light); margin-bottom: 8px;}
footer { text-align: center; padding: 30px; background-color: var(--bg-accent); color: var(--text-secondary); border-top: 2px solid var(--border-color);}
footer p { margin: 0 0 20px 0; font-weight: 600; font-size: 1.1rem; color: var(--text-primary);}
footer div { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;}
footer a { color: var(--dark-pink-light); text-decoration: none; font-size: 0.9rem; padding: 8px 16px; border-radius: 8px; transition: all 0.3s ease;}
footer a:hover { color: var(--text-primary); background-color: rgba(139, 74, 122, 0.1); transform: translateY(-1px);}
@keyframes theme-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; }}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); }}
/* Loading Skeletons */.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px;}
.skeleton-card { background-color: var(--bg-accent); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; aspect-ratio: 2/3; display: flex; flex-direction: column; animation: pulse 1.5s ease-in-out infinite;}
.skeleton-poster { flex: 1; background: linear-gradient( 90deg, rgba(139, 74, 122, 0.1) 25%, rgba(139, 74, 122, 0.2) 50%, rgba(139, 74, 122, 0.1) 75% ); background-size: 200% 100%; animation: shimmer 2s infinite;}
.skeleton-info { padding: 12px; background: rgba(0, 0, 0, 0.3); border-top: 1px solid var(--border-color);}
.skeleton-title { height: 14px; background: rgba(139, 74, 122, 0.3); border-radius: 4px; margin-bottom: 8px; width: 80%;}
.skeleton-meta { height: 10px; background: rgba(139, 74, 122, 0.2); border-radius: 4px; width: 50%;}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; }}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; }}
/* Poster Placeholder */.poster-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(139, 74, 122, 0.2), rgba(139, 74, 122, 0.05)); font-size: 3rem; color: var(--dark-pink);}
/* Preview Overlay */.movie-preview { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 80%, rgba(0, 0, 0, 0.85)); padding: 20px 12px 60px 12px; transform: translateY(calc(100% - 50px)); transition: transform 0.3s ease; z-index: 5; pointer-events: none;}
.movie-card:hover .movie-preview { transform: translateY(0);}
.preview-plot { font-size: 0.75rem; line-height: 1.4; color: var(--text-secondary); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
.preview-details { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.7rem;}
.preview-tag { background: var(--dark-rose); padding: 2px 6px; border-radius: 4px; color: var(--text-primary);}
/* Search Refinement Indicator */.refining-indicator { text-align: center; color: var(--dark-pink-light); font-size: 0.9rem; margin-top: 10px; opacity: 0; transition: opacity 0.2s ease;}
.refining-indicator.active { opacity: 1;}
/* Keyboard Navigation */.movie-card.focused { outline: 3px solid var(--dark-pink); outline-offset: 2px; box-shadow: 0 0 20px rgba(139, 74, 122, 0.5);}
/* Episode Items */.episode-item { display: flex; gap: 16px; padding: 16px; background: var(--bg-secondary); border: 2px solid var(--border-color); border-radius: 10px; margin-bottom: 12px; transition: all 0.3s ease; cursor: pointer;}
.episode-item:hover { background: var(--dark-rose); border-color: var(--dark-pink); transform: translateX(4px); box-shadow: 0 4px 12px rgba(139, 74, 122, 0.2);}
.episode-item.watched { opacity: 0.6; background: rgba(139, 74, 122, 0.1);}
.episode-thumbnail { width: 160px; height: 90px; border-radius: 8px; object-fit: cover; background: rgba(139, 74, 122, 0.2); flex-shrink: 0; border: 1px solid var(--border-color);}
.episode-thumbnail-placeholder { width: 160px; height: 90px; border-radius: 8px; background: linear-gradient(135deg, rgba(139, 74, 122, 0.2), rgba(139, 74, 122, 0.05)); display: flex; align-items: center; justify-content: center; color: var(--dark-pink); font-size: 2rem; flex-shrink: 0; border: 1px solid var(--border-color);}
.episode-info-detail { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px;}
.episode-title { font-weight: 600; color: var(--text-primary); font-size: 1rem; margin-bottom: 6px;}
.episode-overview { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.episode-meta-info { display: flex; gap: 8px; font-size: 0.75rem; color: var(--text-secondary);}
.episode-watched-badge { background: #22c55e; color: white; padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; font-weight: 600;}
/* Episode List Container */.episode-list-container { max-height: 600px; overflow-y: auto; padding-right: 8px; margin-top: 16px;}
.episode-list-container::-webkit-scrollbar { width: 8px;}
.episode-list-container::-webkit-scrollbar-track { background: var(--bg-accent); border-radius: 4px;}
.episode-list-container::-webkit-scrollbar-thumb { background: var(--dark-pink); border-radius: 4px;}
.episode-list-container::-webkit-scrollbar-thumb:hover { background: var(--dark-pink-light);}
/* Binge Mode Toggle */.binge-mode-toggle { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 12px; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 8px;}
.binge-mode-toggle input[type="checkbox"] { width: 40px; height: 20px; appearance: none; background: var(--bg-accent); border: 2px solid var(--border-color); border-radius: 10px; position: relative; cursor: pointer; transition: all 0.3s ease;}
.binge-mode-toggle input[type="checkbox"]:checked { background: #22c55e; border-color: #22c55e;}
.binge-mode-toggle input[type="checkbox"]::before { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 1px; left: 1px; background: white; transition: transform 0.3s ease;}
.binge-mode-toggle input[type="checkbox"]:checked::before { transform: translateX(20px);}
.binge-mode-label { color: var(--text-primary); font-weight: 600; font-size: 0.9rem;}
@media (max-width: 768px) { .search-wrapper { padding: 20px; gap: 15px; } .search-input { padding: 14px 20px; font-size: 1rem; } .search-btn { padding: 14px 24px; min-width: 120px; } .results-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; } .movie-title { font-size: 0.75rem; -webkit-line-clamp: 1; } .movie-info { padding: 8px; } .movie-meta { font-size: 0.65rem; } .type-badge { font-size: 0.6rem; padding: 2px 6px; } .controls-wrapper { flex-direction: column; gap: 15px; } .player-sources { grid-template-columns: 1fr; } .recommended-tag { font-size: 0.7rem; padding: 3px 6px; } .modal-content { margin: 8px; max-height: calc(100vh - 16px); max-width: 98%; }
.modal-header { padding: 16px; }
.modal-body { padding: 16px; gap: 16px; }
.episode-thumbnail, .episode-thumbnail-placeholder { width: 120px; height: 68px; }
.episode-item { padding: 12px; gap: 12px; }
.player-section, .tv-controls, .modal-details { padding: 16px; }
.player-source { padding: 16px; font-size: 0.95rem; min-height: 50px; }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242<!DOCTYPE html><html lang="en" class="scroll-smooth"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>404 - Page Not Found | EDUrocks</title> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> <link rel="icon" href="/filestorage/photos/favicon.ico" type="image/x-icon"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-bounce-slow: bounceSlow 2s ease-in-out infinite; --animate-float: float 3s ease-in-out infinite;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes bounceSlow { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-20px) } } @keyframes float { 0%, 100% { transform: translateY(0px) } 50% { transform: translateY(-10px) } } } </style> <style> body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .error-number { font-size: clamp(6rem, 20vw, 12rem); font-weight: 900; line-height: 1; background: linear-gradient(45deg, #F4154D, #FA0F71, #FF1F84); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .btn-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .btn-hover:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 20px 40px rgba(244, 21, 77, 0.3); } .image-container { max-width: 100%; max-height: 70vh; display: flex; justify-content: center; align-items: center; } .image-container img { max-width: 100%; max-height: 70vh; width: auto; height: auto; object-fit: contain; border-radius: 1rem; box-shadow: 0 10px 30px rgba(244, 21, 77, 0.2); } </style></head><body class="bg-edu-dark text-edu-text min-h-screen"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="/index.html" class="font-pacifico text-2xl md:text-3xl gradient-text"> EDUrocks 3.0 </a>
<div class="flex flex-wrap items-center justify-center gap-2"> <a href="/index.html" class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Home </a> <a href="/page1.html" class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Gxmes </a> <a href="/edum/index.html" class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Movies & TV </a> <a href="#" id="pr0xy-link" class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Site Unblocker </a> <a href="#" id="ai-chat-link" class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> AI Chat </a> <a href="/page2.html" class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Request </a> <a href="/page7.html" class="px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Apps </a> </div> </div> </div> </nav>
<div class="relative overflow-hidden min-h-[calc(100vh-200px)] flex items-center justify-center py-16"> <div class="absolute inset-0 bg-gradient-to-br from-edu-dark via-edu-dark-secondary to-edu-dark opacity-50"></div> <div class="absolute inset-0" style="background: radial-gradient(circle at 30% 70%, rgba(139, 74, 122, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(166, 90, 143, 0.1) 0%, transparent 50%);"></div>
<div class="relative z-10 max-w-4xl mx-auto px-4"> <div class="text-center animate-fade-in"> <div class="error-number mb-8 animate-bounce-slow"> 404 </div>
<div class="mb-12"> <h1 class="text-3xl md:text-5xl font-bold text-edu-text mb-4"> Oops! Page Not Found </h1> <p class="text-lg md:text-xl text-edu-text-secondary max-w-2xl mx-auto"> Yeah, we prob messed something up, we are sorry. </p> </div>
<div class="flex flex-col sm:flex-row gap-4 justify-center items-center mb-16"> <a href="/index.html" class="btn-hover px-8 py-4 rounded-full bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text text-lg font-bold transition-all shadow-lg"> <span class="flex items-center gap-2"> <span>🏠</span> <span>Go Home</span> </span> </a> <a href="/page1.html" class="btn-hover px-8 py-4 rounded-full bg-edu-dark-accent border-2 border-edu-pink text-edu-text text-lg font-bold transition-all hover:bg-edu-pink"> <span class="flex items-center gap-2"> <span>🎮</span> <span>Play Gxmes</span> </span> </a> </div>
<div class="bg-gradient-to-br from-edu-dark-accent/60 to-edu-dark-secondary/80 backdrop-blur-xl border border-edu-pink/20 rounded-3xl p-8 shadow-2xl"> <div class="image-container mb-4"> <img id="random-yaoi-image" src="" alt="Random yaoi image" class="animate-fade-in"> </div> <p class="text-edu-text-secondary text-lg text-center italic"> We apologize for the issue, for this here is some yaoi!!! </p> </div> </div> </div> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="text-center"> <p class="text-edu-text font-bold text-lg mb-2">EDUrocks 3.0</p> <div class="flex flex-wrap justify-center gap-6"> <a href="/page3.html" class="text-edu-pink-light hover:text-edu-text transition-colors">Contact Info</a> <a href="/page5.html" class="text-edu-pink-light hover:text-edu-text transition-colors">Support the Site</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="text-edu-pink-light hover:text-edu-text transition-colors">Uptime</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="text-edu-pink-light hover:text-edu-text transition-colors">Instagram</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="text-edu-pink-light hover:text-edu-text transition-colors">TikTok</a> <a href="/page6.html" class="text-edu-pink-light hover:text-edu-text transition-colors">Links</a> <a href="/page4.html" class="text-edu-pink-light hover:text-edu-text transition-colors">Updates</a> </div> </div> </div> </footer>
<script type="module"> import { initNavigationHandlers } from '/assets/js/navigation.js';
// Load random yaoi image async function loadRandomYaoiImage() { try { const response = await fetch('/filestorage/photos/yaoi-error/images.json'); const imageFiles = await response.json();
if (imageFiles.length > 0) { // Select random image const randomImage = imageFiles[Math.floor(Math.random() * imageFiles.length)]; const imgElement = document.getElementById('random-yaoi-image'); imgElement.src = `/filestorage/photos/yaoi-error/${randomImage}`; } else { console.error('No images found in yaoi-error folder'); } } catch (error) { console.error('Error loading random yaoi image:', error); } }
// Initialize navigation handlers if available document.addEventListener('DOMContentLoaded', () => { // This will handle proxy and AI chat links if the navigation module is available if (typeof initNavigationHandlers === 'function') { initNavigationHandlers(); }
// Load random yaoi image loadRandomYaoiImage(); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Loading Game...</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #011627; overflow: hidden; font-family: 'Inter', sans-serif; }
#gameFrame { position: fixed; top: 0; left: 0; width: 100%; height: 100%; border: none; }
#loadingScreen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #011627 0%, #3C1642 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease; }
#loadingScreen.hidden { opacity: 0; pointer-events: none; }
.loader { width: 60px; height: 60px; border: 4px solid rgba(244, 21, 77, 0.2); border-top-color: #F4154D; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { margin-top: 20px; color: #e8d5e0; font-size: 18px; font-weight: 600; }
.loading-info { margin-top: 10px; color: #c4a5b8; font-size: 14px; }
.sync-status { margin-top: 5px; color: #F4154D; font-size: 12px; } </style> <script src="/assets/js/aws-detection.js"></script></head><body> <div id="loadingScreen"> <div class="loader"></div> <div class="loading-text">Loading Game...</div> <div class="loading-info" id="gameInfo"></div> <div class="sync-status" id="syncStatus"></div> </div>
<iframe id="gameFrame" sandbox="allow-scripts allow-same-origin allow-pointer-lock allow-forms allow-popups allow-modals" allowfullscreen></iframe>
<script type="module" src="/assets/js/game-save-sync.js?v=2.1"></script>
<script> // Get game info from URL parameters const urlParams = new URLSearchParams(window.location.search); const gameUrl = urlParams.get('game'); const gameId = urlParams.get('id'); const gameName = urlParams.get('name') || 'Unknown Game';
if (!gameUrl) { document.getElementById('loadingScreen').innerHTML = ` <div class="loading-text" style="color: #ff6b6b;">Error: No game URL specified</div> <div class="loading-info">Please provide a game URL parameter</div> `; } else { // Update loading info document.getElementById('gameInfo').textContent = gameName;
// Check if user is logged in const authToken = localStorage.getItem('edurocks_auth_token'); if (authToken) { document.getElementById('syncStatus').textContent = '✓ Cloud save enabled'; } else { document.getElementById('syncStatus').textContent = 'ℹ Cloud save disabled (not logged in)'; }
// Store game info for the interceptor and save sync system window.EDUrocks = { currentGameId: gameId, currentGameName: gameName };
// Listen for save events from iframe window.addEventListener('message', (event) => { if (event.data && event.data.type === 'edurocks-save-event') { console.log('[EDUrocks Wrapper] Received save event:', event.data.action);
// Forward to save sync system if available if (window.EDUrocksSaveSync) { // The main save sync system handles these automatically // This just logs them for debugging if (event.data.action === 'unity-detected') { console.log('[EDUrocks Wrapper] Unity game detected, cloud save will track PlayerPrefs'); } } } });
// Load the game in iframe const iframe = document.getElementById('gameFrame');
iframe.onload = () => { // Inject the save sync script into the iframe try { const iframeDoc = iframe.contentDocument || iframe.contentWindow.document;
// Create script element const script = iframeDoc.createElement('script'); script.src = '/assets/js/game-save-interceptor.js'; script.onload = () => { console.log('[EDUrocks Wrapper] Save interceptor injected successfully'); document.getElementById('syncStatus').textContent = '✓ Cloud save active'; }; script.onerror = () => { console.error('[EDUrocks Wrapper] Failed to inject interceptor'); document.getElementById('syncStatus').textContent = '⚠ Cloud save (limited)'; };
// Inject before any other scripts to catch early saves const firstScript = iframeDoc.querySelector('script'); if (firstScript) { firstScript.parentNode.insertBefore(script, firstScript); } else { iframeDoc.head.appendChild(script); } } catch (error) { console.error('[EDUrocks Wrapper] Cross-origin iframe - using wrapper-level sync only'); document.getElementById('syncStatus').textContent = '✓ Cloud save (wrapper-level)'; }
// Hide loading screen after a short delay setTimeout(() => { document.getElementById('loadingScreen').classList.add('hidden'); }, 1000); };
// Set iframe src iframe.src = gameUrl; }
// Handle fullscreen document.addEventListener('keydown', (e) => { if (e.key === 'F11') { e.preventDefault(); if (!document.fullscreenElement) { document.documentElement.requestFullscreen(); } else { document.exitFullscreen(); } } }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659<!DOCTYPE html><html lang="en" class="scroll-smooth"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Gaming Dashboard - EDUrocks 3.0</title> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84; } </style> <style> body { background: linear-gradient(135deg, #011627 0%, #3C1642 50%, #011627 100%); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.glass-effect { background: rgba(60, 22, 66, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(244, 21, 77, 0.1); }
.stat-card { transition: all 0.3s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2); }
.game-card { transition: all 0.2s ease; }
.game-card:hover { transform: translateX(5px); border-color: rgba(255, 105, 180, 0.5); }
.gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen">
<nav class="glass-effect sticky top-0 z-50 border-b border-edu-pink/20"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4"> <div class="flex items-center justify-between"> <a href="index.html" class="text-2xl md:text-3xl font-black"> <span class="gradient-text"> EDUrocks </span> <span class="text-edu-text-secondary text-xl ml-2">/ Dashboard</span> </a>
<div class="flex items-center gap-3 md:gap-4"> <span id="usernameDisplay" class="hidden sm:inline text-edu-text-secondary text-sm">Loading...</span> <a href="page1.html" class="px-4 py-2 bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text rounded-full text-sm font-medium transition-all hover:shadow-lg hover:scale-105"> Browse Gxmes </a> </div> </div> </div> </nav>
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<section class="mb-8"> <h1 class="text-3xl md:text-4xl font-bold mb-2"> Welcome back, <span id="usernameWelcome" class="gradient-text">Player</span>! </h1> <p class="text-edu-text-secondary">Here's your gaming activity and stats</p> </section>
<section class="mb-10"> <h2 class="text-2xl font-bold mb-6 flex items-center gap-2"> <span>📊</span> <span>Your Stats</span> </h2> <div class="grid grid-cols-2 lg:grid-cols-4 gap-4 md:gap-6"> <div class="stat-card glass-effect rounded-2xl p-6 text-center"> <div class="text-5xl mb-3">⏱️</div> <div class="text-3xl md:text-4xl font-bold gradient-text" id="totalPlaytime"> <div class="animate-pulse">-</div> </div> <div class="text-sm text-edu-text-secondary mt-2">Total Playtime</div> </div>
<div class="stat-card glass-effect rounded-2xl p-6 text-center"> <div class="text-5xl mb-3">🎮</div> <div class="text-3xl md:text-4xl font-bold gradient-text" id="gamesPlayed"> <div class="animate-pulse">-</div> </div> <div class="text-sm text-edu-text-secondary mt-2">Gxmes Played</div> </div>
<div class="stat-card glass-effect rounded-2xl p-6 text-center"> <div class="text-5xl mb-3">⭐</div> <div class="text-3xl md:text-4xl font-bold gradient-text" id="favorites"> <div class="animate-pulse">-</div> </div> <div class="text-sm text-edu-text-secondary mt-2">Favorites</div> </div>
<div class="stat-card glass-effect rounded-2xl p-6 text-center"> <div class="text-5xl mb-3">💾</div> <div class="text-3xl md:text-4xl font-bold gradient-text" id="cloudSaves"> <div class="animate-pulse">-</div> </div> <div class="text-sm text-edu-text-secondary mt-2">Cloud Saves</div> </div> </div> </section>
<section class="mb-10"> <div class="flex items-center justify-between mb-6"> <h2 class="text-2xl font-bold flex items-center gap-2"> <span>🕐</span> <span>Recent Gxmes</span> </h2> <a href="page1.html" class="text-edu-pink hover:text-edu-pink-light transition-colors text-sm font-medium flex items-center gap-1"> Play More <span>→</span> </a> </div> <div id="recentGxmes" class="grid grid-cols-1 md:grid-cols-2 gap-4"> <div class="col-span-2 text-center py-12"> <div class="animate-pulse text-edu-text-secondary">Loading recent games...</div> </div> </div> </section>
<section class="mb-10"> <div class="flex items-center justify-between mb-6"> <h2 class="text-2xl font-bold flex items-center gap-2"> <span>💾</span> <span>Your Saved Gxmes</span> </h2> <button onclick="forceSyncAllGxmes()" class="text-edu-pink hover:text-edu-pink-light transition-colors text-sm font-medium flex items-center gap-1"> <span>🔄</span> Force Sync </button> </div> <div id="savedGxmes" class="space-y-3"> <div class="text-center py-12"> <div class="animate-pulse text-edu-text-secondary">Loading saved games...</div> </div> </div> </section>
</main>
<footer class="border-t border-edu-pink/20 py-6 mt-16"> <div class="container mx-auto px-4 md:px-6 text-center text-edu-text-secondary text-sm"> <p>© 2025 EDUrocks Group - Your data is synced across all devices</p> </div> </footer>
<script src="./assets/js/aws-detection.js"></script> <script type="module"> import { Auth } from './assets/js/auth.js'; window.Auth = Auth;
// Get API URL with domain detection function getGameApiUrl() { if (window.eduBackendOverride) { // Override is userauth/api.php, but we need userauth/game-api.php return window.eduBackendOverride.replace('api.php', 'game-api.php'); }
const hostname = window.location.hostname; const isIP = /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname) || /^[0-9a-fA-F:]+$/.test(hostname); const isLocal = hostname === 'localhost' || hostname.endsWith('.local') || hostname === '127.0.0.1' || hostname === '::1';
if (hostname === 'devbuild.edurocks.org' || isIP || isLocal) { return 'https://backendapi.edurocks.org/userauth/game-api.php'; }
const domain = hostname.replace(/^www\./, ""); return `https://backendapi.${domain}/userauth/game-api.php`; }
const GAME_API_URL = getGameApiUrl();
// Format helpers function formatPlaytime(seconds) { if (!seconds || seconds === 0) return '0s'; if (seconds < 60) return Math.floor(seconds) + 's'; if (seconds < 3600) return Math.floor(seconds / 60) + 'm'; const hours = Math.floor(seconds / 3600); const minutes = Math.floor((seconds % 3600) / 60); return minutes > 0 ? hours + 'h ' + minutes + 'm' : hours + 'h'; }
function formatDate(dateString) { if (!dateString) return 'Unknown';
// Parse date - handle both UTC and local timestamps let date; if (dateString.includes('Z') || dateString.includes('+') || dateString.includes('-')) { // ISO format with timezone date = new Date(dateString); } else { // Assume UTC if no timezone specified (MySQL TIMESTAMP format) date = new Date(dateString + ' UTC'); }
// Check if date is valid if (isNaN(date.getTime())) return 'Unknown';
// Get current time in user's timezone const now = new Date();
// Calculate difference in milliseconds const diffMs = now - date;
// If date is in the future (clock skew tolerance: 5 seconds) if (diffMs < -5000) return 'Just now'; if (diffMs < 0) return 'Just now';
// Calculate time units const diffSeconds = Math.floor(diffMs / 1000); const diffMinutes = Math.floor(diffMs / (1000 * 60)); const diffHours = Math.floor(diffMs / (1000 * 60 * 60)); const diffDays = Math.floor(diffMs / (1000 * 60 * 60 * 24)); const diffWeeks = Math.floor(diffDays / 7); const diffMonths = Math.floor(diffDays / 30); const diffYears = Math.floor(diffDays / 365);
// Return appropriate format based on time elapsed if (diffSeconds < 10) return 'Just now'; if (diffSeconds < 60) return diffSeconds + 's ago'; if (diffMinutes === 1) return '1 min ago'; if (diffMinutes < 60) return diffMinutes + ' min ago'; if (diffHours === 1) return '1 hour ago'; if (diffHours < 24) return diffHours + ' hours ago'; if (diffDays === 1) return 'Yesterday'; if (diffDays < 7) return diffDays + ' days ago'; if (diffWeeks === 1) return '1 week ago'; if (diffWeeks < 4) return diffWeeks + ' weeks ago'; if (diffMonths === 1) return '1 month ago'; if (diffMonths < 12) return diffMonths + ' months ago'; if (diffYears === 1) return '1 year ago'; return diffYears + ' years ago'; }
function formatBytes(bytes) { if (!bytes) return '0 B'; if (bytes < 1024) return bytes + ' B'; if (bytes < 1024 * 1024) return (bytes / 1024).toFixed(1) + ' KB'; return (bytes / 1024 / 1024).toFixed(1) + ' MB'; }
// Check authentication async function init() { console.log('[Dashboard] Initializing...');
if (!Auth.isLoggedIn()) { console.log('[Dashboard] Not logged in, redirecting...'); window.location.href = 'login.html'; return; }
const username = Auth.getUsername(); console.log('[Dashboard] Logged in as:', username);
document.getElementById('usernameDisplay').textContent = username; document.getElementById('usernameWelcome').textContent = username;
// Load all data await Promise.all([ loadStats(), loadRecentGxmes(), loadSavedGxmes() ]);
console.log('[Dashboard] All data loaded'); }
// Load user stats async function loadStats() { try { console.log('[Dashboard] Loading stats...'); const stats = await Auth.getUserStats(); console.log('[Dashboard] Stats received:', stats);
// Total playtime const playtime = stats.totalPlayTime || stats.total_play_time || 0; document.getElementById('totalPlaytime').textContent = formatPlaytime(parseInt(playtime));
// Gxmes played const gamesPlayed = stats.totalGxmesPlayed || stats.unique_games || 0; document.getElementById('gamesPlayed').textContent = parseInt(gamesPlayed).toLocaleString();
// Favorites count const favCount = stats.favoritesCount || stats.favorites_count || 0; document.getElementById('favorites').textContent = parseInt(favCount).toLocaleString();
// Get cloud saves count const token = Auth.getToken(); const response = await fetch(GAME_API_URL + '?action=listAllSaves&token=' + token, { credentials: 'include' }); const data = await response.json();
let saveCount = 0; if (data.success && data.games) { saveCount = data.games.reduce((acc, game) => acc + parseInt(game.save_count || 0), 0); }
document.getElementById('cloudSaves').textContent = saveCount.toLocaleString(); console.log('[Dashboard] Stats loaded successfully'); } catch (error) { console.error('[Dashboard] Failed to load stats:', error); document.getElementById('totalPlaytime').textContent = '0h'; document.getElementById('gamesPlayed').textContent = '0'; document.getElementById('favorites').textContent = '0'; document.getElementById('cloudSaves').textContent = '0'; } }
// Load recent games async function loadRecentGxmes() { try { console.log('[Dashboard] Loading recent games...'); const stats = await Auth.getUserStats(); const recentGxmesEl = document.getElementById('recentGxmes');
console.log('[Dashboard] Recent games data:', stats.recentGxmes);
if (stats.recentGxmes && stats.recentGxmes.length > 0) { recentGxmesEl.innerHTML = stats.recentGxmes.slice(0, 6).map(game => { const gameUrl = './filestorage/gd/' + encodeURIComponent(game.game_id) + '/index.html'; const gameIcon = game.game_image || './filestorage/gd/' + encodeURIComponent(game.game_id) + '/icon.png'; return '<a href="' + gameUrl + '" class="game-card glass-effect rounded-xl p-5 border border-edu-pink/10 block hover:bg-edu-rose transition-all">' + '<div class="flex items-center justify-between">' + '<div class="flex items-center gap-4">' + '<div class="w-14 h-14 rounded-xl overflow-hidden flex-shrink-0 bg-edu-dark-secondary">' + '<img src="' + gameIcon + '" alt="' + (game.game_name || game.game_id) + '" class="w-full h-full object-contain" onerror="var p=this.parentElement; p.innerHTML=\'🎮\'; p.classList.add(\'flex\', \'items-center\', \'justify-center\', \'text-2xl\');">' + '</div>' + '<div>' + '<div class="text-edu-text font-semibold text-lg">' + (game.game_name || game.game_id) + '</div>' + '<div class="text-sm text-edu-text-secondary">' + formatDate(game.last_played) + '</div>' + '</div>' + '</div>' + '<div class="text-right">' + '<div class="text-edu-pink font-bold text-lg">' + formatPlaytime(parseInt(game.total_time || 0)) + '</div>' + '<div class="text-xs text-edu-text-secondary">played</div>' + '</div>' + '</div>' + '</a>'; }).join(''); } else { recentGxmesEl.innerHTML = '<div class="col-span-2 glass-effect rounded-xl p-12 text-center border border-edu-pink/10">' + '<div class="text-6xl mb-4">🎮</div>' + '<div class="text-edu-text-secondary text-lg">No games played yet</div>' + '<a href="page1.html" class="inline-block mt-4 px-6 py-3 bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text rounded-full font-medium hover:shadow-lg transition-all">' + 'Browse Gxmes' + '</a>' + '</div>'; } console.log('[Dashboard] Recent games loaded'); } catch (error) { console.error('[Dashboard] Failed to load recent games:', error); document.getElementById('recentGxmes').innerHTML = '<div class="col-span-2 glass-effect rounded-xl p-8 text-center border border-red-500/20">' + '<div class="text-red-400">Failed to load recent games</div>' + '<div class="text-sm text-edu-text-secondary mt-2">' + error.message + '</div>' + '</div>'; } }
// Load all saved games async function loadSavedGxmes() { try { console.log('[Dashboard] Loading saved games...'); const token = Auth.getToken(); const response = await fetch(GAME_API_URL + '?action=listAllSaves&token=' + token, { credentials: 'include' }); const data = await response.json(); const savedGxmesEl = document.getElementById('savedGxmes');
console.log('[Dashboard] Saved games data:', data);
if (data.success && data.games && data.games.length > 0) { savedGxmesEl.innerHTML = data.games.map(game => '<div class="game-card glass-effect rounded-xl p-5 border border-edu-pink/10">' + '<div class="flex items-center justify-between">' + '<div class="flex items-center gap-4 flex-1">' + '<div class="w-12 h-12 bg-gradient-to-br from-edu-pink to-edu-pink-light rounded-xl flex items-center justify-center text-xl flex-shrink-0">💾</div>' + '<div class="flex-1">' + '<div class="text-edu-text font-semibold text-lg">' + game.game_id + '</div>' + '<div class="text-sm text-edu-text-secondary">' + game.save_count + ' save' + (parseInt(game.save_count) !== 1 ? 's' : '') + ' • ' + formatBytes(parseInt(game.total_size || 0)) + ' • ' + 'Updated ' + formatDate(game.last_modified) + '</div>' + '</div>' + '</div>' + '<button onclick="viewGameSaves(\'' + game.game_id + '\')" class="px-5 py-2.5 bg-edu-pink/20 text-edu-pink hover:bg-edu-pink hover:text-edu-text rounded-lg transition-all font-medium flex-shrink-0">' + 'View Saves' + '</button>' + '</div>' + '</div>').join(''); } else { savedGxmesEl.innerHTML = '<div class="glass-effect rounded-xl p-12 text-center border border-edu-pink/10">' + '<div class="text-6xl mb-4">💾</div>' + '<div class="text-edu-text-secondary text-lg mb-2">No saved games yet</div>' + '<div class="text-sm text-edu-text-secondary">Play some games to sync your saves automatically!</div>' + '</div>'; } console.log('[Dashboard] Saved games loaded'); } catch (error) { console.error('[Dashboard] Failed to load saved games:', error); document.getElementById('savedGxmes').innerHTML = '<div class="glass-effect rounded-xl p-8 text-center border border-red-500/20">' + '<div class="text-red-400">Failed to load saved games</div>' + '<div class="text-sm text-edu-text-secondary mt-2">' + error.message + '</div>' + '</div>'; } }
// View individual game saves window.viewGameSaves = async function(gameId) { try { console.log('[Dashboard] Loading saves for game:', gameId); const token = Auth.getToken(); const response = await fetch(GAME_API_URL + '?action=getGameSaves&gameId=' + encodeURIComponent(gameId) + '&token=' + token, { credentials: 'include' }); const data = await response.json();
console.log('[Dashboard] Game saves data:', data);
if (data.success && data.saves && data.saves.length > 0) { const savesHtml = data.saves.map(save => { let deviceInfo = ''; try { const device = JSON.parse(save.device_info || '{}'); deviceInfo = device.browser ? '<span>💻 ' + device.browser + '</span>' : ''; } catch (e) {}
return '<div class="bg-edu-dark/50 rounded-lg p-4 border border-edu-pink/10 hover:border-edu-pink/30 transition-all">' + '<div class="flex items-center justify-between">' + '<div class="flex-1">' + '<div class="text-edu-text font-medium mb-1">' + save.save_key.replace(/^(localStorage:|indexedDB:)/, '') + '</div>' + '<div class="text-xs text-edu-text-secondary flex items-center gap-3">' + '<span>📦 ' + formatBytes(parseInt(save.size || 0)) + '</span>' + '<span>🕐 ' + formatDate(save.last_modified) + '</span>' + deviceInfo + '</div>' + '</div>' + '<button onclick="viewSaveHistoryDashboard(\'' + gameId + '\', \'' + save.save_key + '\')" class="ml-3 px-4 py-2 bg-edu-pink/20 text-edu-pink hover:bg-edu-pink hover:text-edu-text rounded-lg transition-all text-sm font-medium">' + '📜 History' + '</button>' + '</div>' + '</div>'; }).join('');
// Show modal const modal = document.createElement('div'); modal.className = 'fixed inset-0 bg-black/80 backdrop-blur-sm z-50 flex items-center justify-center p-4'; modal.innerHTML = '<div class="glass-effect rounded-2xl max-w-2xl w-full max-h-[90vh] overflow-hidden flex flex-col">' + '<div class="bg-gradient-to-r from-edu-pink to-edu-pink-light p-5 flex items-center justify-between">' + '<h3 class="text-2xl font-bold text-edu-text">' + gameId + ' - Saved Data</h3>' + '<button onclick="this.closest(\'.fixed\').remove()" class="text-edu-text hover:text-white text-3xl leading-none transition-colors">×</button>' + '</div>' + '<div class="p-6 space-y-3 overflow-y-auto">' + '<div class="text-edu-text-secondary text-sm mb-4">' + data.saves.length + ' save' + (data.saves.length !== 1 ? 's' : '') + ' found' + '</div>' + savesHtml + '</div>' + '</div>'; modal.onclick = (e) => { if (e.target === modal) modal.remove(); }; document.body.appendChild(modal); } else { alert('No saves found for this game'); } } catch (error) { console.error('[Dashboard] Failed to load game saves:', error); alert('Failed to load saves for this game: ' + error.message); } };
window.refreshSaves = loadSavedGxmes;
// Force sync all games window.forceSyncAllGxmes = async function() { try { console.log('[Dashboard] Force sync requested'); const btn = event.target.closest('button'); const originalText = btn.innerHTML; btn.innerHTML = '<span>⏳</span> Syncing...'; btn.disabled = true;
// Just reload the saves - the sync happens automatically in games await loadSavedGxmes();
btn.innerHTML = '<span>✅</span> Synced!'; setTimeout(() => { btn.innerHTML = originalText; btn.disabled = false; }, 2000);
console.log('[Dashboard] Force sync complete'); } catch (error) { console.error('[Dashboard] Force sync error:', error); alert('Force sync failed: ' + error.message); } };
// View save history from dashboard window.viewSaveHistoryDashboard = async function(gameId, saveKey) { try { console.log('[Dashboard] Loading history for:', gameId, saveKey); const token = Auth.getToken(); const response = await fetch(GAME_API_URL + '?action=getHistory&gameId=' + encodeURIComponent(gameId) + '&saveKey=' + encodeURIComponent(saveKey) + '&token=' + token, { credentials: 'include' }); const data = await response.json();
console.log('[Dashboard] History data:', data);
if (!data.success || !data.history || data.history.length === 0) { alert('No history found for this save slot. History is created when you modify existing saves.'); return; }
const saveKeyDisplay = saveKey.replace(/^(localStorage:|indexedDB:)/, '');
// Build history list HTML const historyHtml = data.history.map(entry => { const timestamp = new Date(entry.saved_at).toLocaleString(); const clientTimestamp = entry.client_timestamp ? new Date(entry.client_timestamp).toLocaleString() : 'N/A';
return '<div class="bg-edu-dark/50 rounded-lg p-4 border border-edu-pink/10 hover:border-edu-pink/30 transition-all">' + '<div class="flex items-center justify-between">' + '<div class="flex-1">' + '<div class="text-edu-text font-semibold mb-1">Version #' + entry.id + '</div>' + '<div class="text-xs text-edu-text-secondary">' + '<div>🕐 Server: ' + timestamp + '</div>' + '<div>💻 Client: ' + clientTimestamp + '</div>' + '</div>' + '</div>' + '<button onclick="restoreFromHistoryDashboard(' + entry.id + ', \'' + gameId + '\', \'' + saveKey + '\')" class="ml-3 px-4 py-2 bg-green-500/20 text-green-400 hover:bg-green-500 hover:text-white rounded-lg transition-all text-sm font-bold">' + '↻ Restore' + '</button>' + '</div>' + '</div>'; }).join('');
// Show modal const modal = document.createElement('div'); modal.className = 'fixed inset-0 bg-black/80 backdrop-blur-sm z-50 flex items-center justify-center p-4'; modal.id = 'history-modal-dashboard'; modal.innerHTML = '<div class="glass-effect rounded-2xl max-w-2xl w-full max-h-[90vh] overflow-hidden flex flex-col">' + '<div class="bg-gradient-to-r from-edu-pink to-edu-pink-light p-5 flex items-center justify-between">' + '<div>' + '<h3 class="text-2xl font-bold text-edu-text">📜 History: ' + saveKeyDisplay + '</h3>' + '<div class="text-edu-text-secondary text-sm mt-1">' + gameId + '</div>' + '</div>' + '<button onclick="this.closest(\'.fixed\').remove()" class="text-edu-text hover:text-white text-3xl leading-none transition-colors">×</button>' + '</div>' + '<div class="p-6 space-y-3 overflow-y-auto">' + '<div class="text-edu-text-secondary text-sm mb-4">' + 'Found ' + data.history.length + ' previous version(s). Click "Restore" to load an older save.' + '</div>' + historyHtml + '</div>' + '</div>'; modal.onclick = (e) => { if (e.target === modal) modal.remove(); }; document.body.appendChild(modal);
} catch (error) { console.error('[Dashboard] Failed to load history:', error); alert('Failed to load history: ' + error.message); } };
// Restore from history in dashboard window.restoreFromHistoryDashboard = async function(historyId, gameId, saveKey) { if (!confirm('This will replace the current save with this older version. The game will need to be reloaded. Continue?')) { return; }
try { console.log('[Dashboard] Restoring history ID:', historyId); const token = Auth.getToken(); const response = await fetch(GAME_API_URL + '?action=restoreHistory', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + token }, credentials: 'include', body: JSON.stringify({ historyId }) });
const data = await response.json();
if (!data.success) { throw new Error(data.error || 'Failed to restore'); }
console.log('[Dashboard] Restore successful:', data);
// Close modal const modal = document.getElementById('history-modal-dashboard'); if (modal) modal.remove();
// Show success message alert('Save restored successfully! When you next load ' + gameId + ', it will use this restored save.');
// Refresh the saves list await loadSavedGxmes();
} catch (error) { console.error('[Dashboard] Failed to restore:', error); alert('Failed to restore save: ' + error.message); } };
// Initialize on load document.addEventListener('DOMContentLoaded', init); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415<!DOCTYPE html><html lang="en" class="scroll-smooth"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="title" content="HMH - Interactive Learning Resources"> <meta name="description" content="Truffled is an educational platform offering interactive activities, brain-training challenges, and creative learning tools for students."> <meta property="og:type" content="website"> <meta property="og:url" content="https://hmh.com/"> <meta property="og:title" content="HMH - Interactive Learning Resources"> <meta property="og:description" content="Explore engaging educational content, problem-solving challenges, and interactive tools designed to support learning."> <meta property="og:image" content="https://hmh.lol/png/logo.png"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:url" content="https://hmh.lol/"> <meta name="twitter:title" content="HMH - Interactive Learning Resources"> <meta name="twitter:description" content="A safe and clean educational site offering interactive activities and learning-focused tools."> <meta name="twitter:image" content="https://HMH.com/png/logo.png"> <link rel="canonical" href="https://HMH.com/"> <title>IXL - Dashboard</title> <meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Advanced Theoretical Lunchroom Logistics 401 | EduCorp</title><meta name="description" content="An exhaustive study into the thermodynamics of lukewarm pizza and the sociology of assigned seating in secondary education environments, covering grades K-12 through post-doc cafeteria analysis."><meta name="keywords" content="education, lunch, pizza, thermodynamics, seating charts, social anxiety, cafeteria, tray stacking, milk carton physics, straw mechanics, food fight theory, detention avoidance, nutritional lies, vending machine economics, janitorial appreciation, spork history, recess optimization, bell schedule algorithms, locker combination probability, gym sock entropy, chalkboard screeching acoustics, glue stick chemistry"><meta name="author" content="Professor J. P. McSloppy"><meta name="generator" content="EduSite MegaBuilder v9.2 (Beta)"><meta name="robots" content="index, follow, noarchive, nosnippet"><meta name="googlebot" content="notranslate"><meta property="og:type" content="website"><meta property="og:title" content="Syllabus: The Art of Napkin Folding in Higher Ed"><meta property="og:description" content="Discover the hidden curriculum of cafeteria etiquette and napkin geometry. Required reading for all incoming freshmen."><meta property="og:url" content="https://www.fake-edu-site.org/courses/lunch-401"><meta property="og:site_name" content="University of Nowhere"><meta property="og:image" content="https://www.fake-edu-site.org/assets/img/sad_sandwich.jpg"><meta property="og:image:alt" content="A very sad sandwich sitting alone on a plastic tray"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@EduCorp"><meta name="twitter:creator" content="@ProfMcSloppy"><meta name="twitter:title" content="10 Ways to Fail Recess"><meta name="twitter:description" content="Number 7 involves the swing set and a severe violation of Newtonian physics."><meta name="twitter:image" content="https://www.fake-edu-site.org/assets/img/swing_fail.png"><meta name="dcterms.title" content="Advanced Lunch Logistics"><meta name="dcterms.creator" content="McSloppy, J.P."><meta name="dcterms.subject" content="Cafeteria Science"><meta name="dcterms.description" content="A peer-reviewed study of tater tots and their impact on standardized testing scores."><meta name="dcterms.publisher" content="EduCorp Publishing"><meta name="dcterms.date" content="2025-01-01"><meta name="dcterms.type" content="Text"><meta name="dcterms.format" content="text/html"><meta name="dcterms.identifier" content="urn:isbn:978-0-123-45678-9"><meta name="dcterms.language" content="en"><meta name="dcterms.rights" content="Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported"><meta name="application-name" content="EduPortal V9"><meta name="msapplication-TileColor" content="#ff0000"><meta name="msapplication-config" content="/browserconfig.xml"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-title" content="Lunch 401"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="format-detection" content="telephone=no"><meta name="educational-level" content="Post-Graduate"><meta name="audience" content="Students, Teachers, Cafeteria Ladies, Janitors"><meta name="difficulty" content="Impossible"><meta name="time-required" content="P45M"><meta name="typical-age-range" content="18-99"><meta name="learning-resource-type" content="Syllabus"><meta name="interactivity-type" content="Expositive"><meta name="is-based-on-url" content="https://www.wikipedia.org/wiki/Spork"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta http-equiv="Content-Language" content="en-US"><meta http-equiv="Cache-Control" content="no-store"> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> @font-face { font-family: 'Verdana_ROT13'; src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('assets/fonts/Verdana_ROT13.woff') format('woff'), url('assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } .rot13 { font-family: 'Verdana_ROT13', Verdana, sans-serif; } </style>
</head><body class="bg-edu-dark text-edu-text min-h-screen">
<nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text"> EDUrocks 3.0 </a>
<div class="flex flex-wrap items-center justify-center gap-2"> <a href="index.html" class="rot13 px-4 py-2 rounded-full bg-edu-pink text-edu-text text-sm font-medium transition-all hover:bg-edu-pink-light hover:scale-105"> Ubzr </a> <a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Tnzrf </a> <a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Zbivrf & GI </a> <a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Cebkl </a> <a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> NV Pung </a> <a href="page2.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Erdhrfg </a> <a href="page7.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105"> Nccf </a> <button id="settings-btn" class="px-3 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105 flex items-center gap-1"> <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> </svg> </button> </div> </div> </div> </nav>
<div id="settings-modal" class="hidden fixed inset-0 z-50 flex items-center justify-center bg-black/70 backdrop-blur-sm p-4 overflow-y-auto"> <div class="bg-edu-dark-accent border-2 border-edu-pink/30 rounded-2xl sm:rounded-3xl p-4 sm:p-6 md:p-8 max-w-lg w-full shadow-2xl animate-fade-in my-auto max-h-[95vh] overflow-y-auto"> <div class="flex items-center justify-between mb-4 sm:mb-6 sticky top-0 bg-edu-dark-accent pb-2 border-b border-edu-pink/10"> <h2 class="rot13 text-xl sm:text-2xl font-bold text-edu-text">Frggvatf</h2> <button id="close-settings" class="text-edu-text-secondary hover:text-edu-text text-3xl leading-none transition-colors -mt-1">×</button> </div>
<div class="mb-4 sm:mb-6"> <h3 class="rot13 text-base sm:text-lg font-semibold text-edu-text mb-2 sm:mb-3">Gno Gvgyr</h3> <p class="rot13 text-xs sm:text-sm text-edu-text-secondary mb-3 sm:mb-4">qsfqfsf:</p>
<div class="space-y-1.5 sm:space-y-2 mb-3 sm:mb-4 max-h-[40vh] sm:max-h-none overflow-y-auto pr-1"> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Khan Academy - Dashboard" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Xuna Npnqrzl - Qnfuobneq</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Google Classroom" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Tbbtyr Pynffebbz</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Canvas Student" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Pnainf Fghqrag</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="IXL - Dashboard" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">VKY - Qnfuobneq</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Schoology" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Fpubbybtl</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Google Drive" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Tbbtyr Qevir</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Gmail" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Tznvy</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="random" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Enaqbz (qrsnhyg)</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="custom" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="rot13 text-edu-text text-sm sm:text-base">Phfgbz Gvgyr</span> </label> </div>
<div id="custom-title-input" class="hidden"> <input type="text" id="custom-title" placeholder="Enter custom title..." class="w-full px-3 sm:px-4 py-2 sm:py-3 text-sm sm:text-base bg-edu-dark text-edu-text border border-edu-pink/30 rounded-lg focus:outline-none focus:border-edu-pink transition-colors" maxlength="60"> </div> </div>
<div class="flex flex-col sm:flex-row gap-2 sm:gap-3 sticky bottom-0 bg-edu-dark-accent pt-2 border-t border-edu-pink/10"> <button id="save-settings" class="rot13 flex-1 bg-edu-pink hover:bg-edu-pink-light text-edu-text font-semibold py-2.5 sm:py-3 rounded-lg transition-all hover:scale-105 text-sm sm:text-base"> Fnir Frggvatf </button> <button id="cancel-settings" class="rot13 sm:px-6 bg-edu-dark-secondary hover:bg-edu-dark text-edu-text font-semibold py-2.5 sm:py-3 rounded-lg transition-all text-sm sm:text-base"> Pnapry </button> </div> </div> </div>
<div class="relative overflow-hidden py-16 md:py-24"> <div class="absolute inset-0 bg-gradient-to-br from-edu-dark via-edu-dark-secondary to-edu-dark opacity-50"></div> <div class="absolute inset-0" style="background: radial-gradient(circle at 30% 70%, rgba(139, 74, 122, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(166, 90, 143, 0.1) 0%, transparent 50%);"></div>
<div class="relative z-10 max-w-4xl mx-auto px-4"> <div class="bg-gradient-to-br from-edu-dark-accent/60 to-edu-dark-secondary/80 backdrop-blur-xl border border-edu-pink/20 rounded-3xl p-8 md:p-12 shadow-2xl animate-fade-in"> <div class="text-center"> <div id="quote-text" class="text-xl md:text-2xl text-edu-text font-medium italic leading-relaxed"> Loading quote... </div> </div> </div> </div> </div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 md:py-16"> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8"> <div data-url="page1.html" class="feature-card card-hover bg-gradient-to-br from-edu-dark-accent to-edu-dark-secondary/80 border border-edu-pink/20 rounded-2xl p-8 cursor-pointer group relative overflow-hidden"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity"></div> <div class="text-center"> <div class="text-5xl mb-4 transform group-hover:scale-110 transition-transform">🎮</div> <h3 class="rot13 text-xl font-bold text-edu-text mb-2 group-hover:text-edu-pink-light transition-colors">Tnzrf</h3> <p class="rot13 text-edu-text-secondary text-sm leading-relaxed">Bhe Yvoenel bs 800+ tnzrf, nyy haoybpxrq naq ernql gb cynl.</p> </div> <div class="absolute top-6 right-6 text-edu-pink-light text-2xl opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all">→</div> </div>
<div data-url="edum/index.html" class="feature-card card-hover bg-gradient-to-br from-edu-dark-accent to-edu-dark-secondary/80 border border-edu-pink/20 rounded-2xl p-8 cursor-pointer group relative overflow-hidden"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity"></div> <div class="text-center"> <div class="text-5xl mb-4 transform group-hover:scale-110 transition-transform">🎬</div> <h3 class="rot13 text-xl font-bold text-edu-text mb-2 group-hover:text-edu-pink-light transition-colors">Zbivrf & GI</h3> <p class="rot13 text-edu-text-secondary text-sm leading-relaxed">Jngpu lbhe snibevgr fubjf, zbivrf, naq navzr sbe serr.</p> </div> <div class="absolute top-6 right-6 text-edu-pink-light text-2xl opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all">→</div> </div>
<div data-action="proxy" class="feature-card card-hover bg-gradient-to-br from-edu-dark-accent to-edu-dark-secondary/80 border border-edu-pink/20 rounded-2xl p-8 cursor-pointer group relative overflow-hidden"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity"></div> <div class="text-center"> <div class="text-5xl mb-4 transform group-hover:scale-110 transition-transform">🔓</div> <h3 class="rot13 text-xl font-bold text-edu-text mb-2 group-hover:text-edu-pink-light transition-colors">Cebkl</h3> <p class="rot13 text-edu-text-secondary text-sm leading-relaxed">Npprff oybpxrq jrofvgrf jvgu bhe cebkl gbby.</p> </div> <div class="absolute top-6 right-6 text-edu-pink-light text-2xl opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all">→</div> </div>
<div data-action="ai-chat" class="feature-card card-hover bg-gradient-to-br from-edu-dark-accent to-edu-dark-secondary/80 border border-edu-pink/20 rounded-2xl p-8 cursor-pointer group relative overflow-hidden"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity"></div> <div class="text-center"> <div class="text-5xl mb-4 transform group-hover:scale-110 transition-transform">🤖</div> <h3 class="rot13 text-xl font-bold text-edu-text mb-2 group-hover:text-edu-pink-light transition-colors">RQHebpxf NV</h3> <p class="rot13 text-edu-text-secondary text-sm leading-relaxed">Nfx bhe NV gb uryc jvgu lbhe fpubbyjbex.</p> </div> <div class="absolute top-6 right-6 text-edu-pink-light text-2xl opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all">→</div> </div>
<div data-url="/filestorage/Apps/chat/index.html" class="feature-card card-hover bg-gradient-to-br from-edu-dark-accent to-edu-dark-secondary/80 border border-edu-pink/20 rounded-2xl p-8 cursor-pointer group relative overflow-hidden"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity"></div> <div class="text-center"> <div class="text-5xl mb-4 transform group-hover:scale-110 transition-transform">💬</div> <h3 class="rot13 text-xl font-bold text-edu-text mb-2 group-hover:text-edu-pink-light transition-colors">RQHebpxf Pung(jbexf ntnva)</h3> <p class="rot13 text-edu-text-secondary text-sm leading-relaxed">Pung jvgu bgure crbcyr va lbhe fpubby naq npebff gur jbeyq!</p> </div> <div class="absolute top-6 right-6 text-edu-pink-light text-2xl opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all">→</div> </div>
<div data-url="page7.html" class="feature-card card-hover bg-gradient-to-br from-edu-dark-accent to-edu-dark-secondary/80 border border-edu-pink/20 rounded-2xl p-8 cursor-pointer group relative overflow-hidden"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity"></div> <div class="text-center"> <div class="text-5xl mb-4 transform group-hover:scale-110 transition-transform">📱</div> <h3 class="rot13 text-xl font-bold text-edu-text mb-2 group-hover:text-edu-pink-light transition-colors">Nccf</h3> <p class="rot13 text-edu-text-secondary text-sm leading-relaxed">Gvxgbx, Lbhghor, Fcbgvsl, Fancpung naq zber!!!</p> </div> <div class="absolute top-6 right-6 text-edu-pink-light text-2xl opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all">→</div> </div> </div> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="text-center"> <p class="rot13 text-edu-text font-bold text-lg mb-2">RQHebpxf 3.0</p> <p class="rot13 text-edu-text-secondary mb-6">| Ynfg Hcqngrq | Qrp, 30gu 2025 | 21 Tnzrf |</p> <div class="flex flex-wrap justify-center gap-6"> <a href="page3.html" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">Pbagnpg Vasb</a> <a href="page5.html" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">Fhccbeg gur Fvgr</a> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">Bcra Fbhepr</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">Hcgvzr</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">Vafgntenz</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">GvxGbx</a> <a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">Yvaxf</a> <a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text transition-colors">Hcqngrf</a> </div> </div> </div> </footer>
<script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <script type="module"> import { displayQuote } from './assets/js/quotes.js'; import { initChromeOSDetection, isChromeOS } from './assets/js/chromeos-detect.js'; import { initNavigationHandlers } from './assets/js/navigation.js'; import { Auth } from './assets/js/auth.js'; import { initNavbarAuth } from './assets/js/navbar-auth.js'; import { showProfileModal } from './assets/js/user-profile.js'; import { BypassSettings } from './assets/js/bypass-settings.js';
window.Auth = Auth; window.BypassSettings = BypassSettings;
document.addEventListener('DOMContentLoaded', async () => { window.showProfileModal = showProfileModal;
const settingsBtn = document.getElementById('settings-btn'); if (settingsBtn && !isChromeOS()) { settingsBtn.style.display = 'none'; }
await initNavbarAuth();
const featureCards = document.querySelectorAll('.feature-card');
featureCards.forEach(card => { card.addEventListener('click', function() { const url = this.getAttribute('data-url'); const action = this.getAttribute('data-action');
if (url) { window.location.href = url; } else if (action === 'proxy') { document.getElementById('pr0xy-link').click(); } else if (action === 'ai-chat') { document.getElementById('ai-chat-link').click(); } }); }); }); </script> <script type="module" src="./assets/js/domain-utils.js"></script> <script src="./assets/js/live-update.js"></script></body></html>
<script>document.addEventListener("DOMContentLoaded", function() { /** * Constructs the dynamic API URL for the userauth service. * @returns {string} The fully constructed API URL. */ function getDynamicUserAuthApiEndpoint() { if (window.eduBackendOverride) { return window.eduBackendOverride; }
var hostname = window.location.hostname; if (hostname === "localhost" || hostname === "127.0.0.1") { console.log("Running on localhost. Using placeholder domain \"example.com\" for userauth API."); return "https://backendapi.example.com/userauth/api.php"; } var parts = hostname.split("."); var rootDomain = parts.length > 1 ? parts.slice(-2).join(".") : parts[0]; var apiUrl = "https://backendapi." + rootDomain + "/userauth/api.php"; return apiUrl; }
var dynamicUserAuthApiUrl = getDynamicUserAuthApiEndpoint();
console.log("The dynamically constructed User Auth API endpoint for index.html is:"); console.log(dynamicUserAuthApiUrl);
});</script>
1filestorage/gd/juggling-lab/patterns123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>IXL - Dashboard</title> <script src="./assets/js/ip-restriction.js"></script> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84; } </style> <style> .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } .animate-fade-in { animation: fadeIn 0.5s ease-in-out; } </style></head><body class="min-h-screen flex items-center justify-center bg-edu-dark font-sans"> <button id="settings-btn" class="fixed top-4 right-4 sm:top-6 sm:right-6 z-40 p-2.5 sm:p-3 rounded-full bg-edu-dark-secondary hover:bg-edu-dark-accent text-edu-text-secondary hover:text-edu-text transition-all hover:scale-110 shadow-lg border border-edu-pink/20"> <svg class="w-5 h-5 sm:w-6 sm:h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> </svg> </button>
<div id="settings-modal" class="hidden fixed inset-0 z-50 flex items-center justify-center bg-black/70 backdrop-blur-sm p-4 overflow-y-auto"> <div class="bg-edu-dark-accent border-2 border-edu-pink/30 rounded-2xl sm:rounded-3xl p-4 sm:p-6 md:p-8 max-w-lg w-full shadow-2xl animate-fade-in my-auto max-h-[95vh] overflow-y-auto"> <div class="flex items-center justify-between mb-4 sm:mb-6 sticky top-0 bg-edu-dark-accent pb-2 border-b border-edu-pink/10"> <h2 class="text-xl sm:text-2xl font-bold text-edu-text">Bypass Settings</h2> <button id="close-settings" class="text-edu-text-secondary hover:text-edu-text text-3xl leading-none transition-colors -mt-1">×</button> </div>
<div class="mb-4 sm:mb-6"> <h3 class="text-base sm:text-lg font-semibold text-edu-text mb-2 sm:mb-3">Tab Title Disguise</h3> <p class="text-xs sm:text-sm text-edu-text-secondary mb-3 sm:mb-4">Choose what title appears in your browser tab when using about:blank bypass:</p>
<div class="space-y-1.5 sm:space-y-2 mb-3 sm:mb-4 max-h-[40vh] sm:max-h-none overflow-y-auto pr-1"> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Khan Academy - Dashboard" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Khan Academy - Dashboard</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Google Classroom" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Google Classroom</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Canvas Student" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Canvas Student</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="IXL - Dashboard" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">IXL - Dashboard</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Schoology" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Schoology</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Google Drive" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Google Drive</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="Gmail" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Gmail</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="random" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Random (default)</span> </label> <label class="flex items-center p-2 sm:p-3 bg-edu-dark/50 rounded-lg cursor-pointer hover:bg-edu-dark transition-colors"> <input type="radio" name="title-option" value="custom" class="mr-2 sm:mr-3 accent-edu-pink flex-shrink-0"> <span class="text-edu-text text-sm sm:text-base">Custom Title</span> </label> </div>
<div id="custom-title-input" class="hidden"> <input type="text" id="custom-title" placeholder="Enter custom title..." class="w-full px-3 sm:px-4 py-2 sm:py-3 text-sm sm:text-base bg-edu-dark text-edu-text border border-edu-pink/30 rounded-lg focus:outline-none focus:border-edu-pink transition-colors" maxlength="60"> </div> </div>
<div class="flex flex-col sm:flex-row gap-2 sm:gap-3 sticky bottom-0 bg-edu-dark-accent pt-2 border-t border-edu-pink/10"> <button id="save-settings" class="flex-1 bg-edu-pink hover:bg-edu-pink-light text-edu-text font-semibold py-2.5 sm:py-3 rounded-lg transition-all hover:scale-105 text-sm sm:text-base"> Save Settings </button> <button id="cancel-settings" class="sm:px-6 bg-edu-dark-secondary hover:bg-edu-dark text-edu-text font-semibold py-2.5 sm:py-3 rounded-lg transition-all text-sm sm:text-base"> Cancel </button> </div> </div> </div>
<div class="bg-edu-dark-secondary p-10 rounded-3xl shadow-2xl max-w-lg w-full mx-4 text-center border border-edu-pink/20"> <div class="mb-6"> <div class="text-6xl mb-4">🎓</div> <h1 class="text-3xl font-bold mb-4 gradient-text">Site Access Portal</h1> </div> <p class="text-base leading-relaxed mb-8 text-edu-text-secondary"> Click the button below to access educational g-x-m-e-s, m-0-v-i-e-s, and more through our secure bypass system. </p> <button onclick="openBypass()" class="bg-edu-pink hover:bg-edu-pink-light active:bg-edu-pink/80 text-edu-text font-semibold px-8 py-4 rounded-full transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl"> Access Site </button> <button id="normal-tab-btn" onclick="openNormalTab()" class="hidden mt-3 bg-edu-dark-accent hover:bg-edu-dark border border-edu-pink/30 text-edu-text-secondary hover:text-edu-text font-medium px-6 py-2 rounded-full transition-all duration-300 text-sm"> Open in Normal Tab </button> <p class="text-xs text-edu-text-secondary mt-4"> Make sure pop-ups are enabled for the best experience. </p> <div class="mt-4 p-3 bg-edu-dark/50 rounded-lg border border-edu-pink/20"> <p class="text-xs text-edu-text-secondary mb-1">Current Tab Title:</p> <p id="current-title-display" class="text-sm text-edu-pink font-semibold">Loading...</p> </div> </div>
<script type="module"> import { BypassSettings } from './assets/js/bypass-settings.js'; import { isChromeOS, setBypassPreference, isActuallyChromeOS } from './assets/js/chromeos-detect.js'; window.BypassSettings = BypassSettings; window.setBypassPreference = setBypassPreference;
// Update current title display function updateTitleDisplay() { const settings = BypassSettings.getSettings(); const displayEl = document.getElementById('current-title-display');
if (displayEl) { let displayText = ''; if (settings.titleOption === 'random') { displayText = 'Random (changes each time)'; } else if (settings.titleOption === 'custom') { displayText = settings.customTitle || 'Custom (not set)'; } else { displayText = settings.titleOption; } displayEl.textContent = displayText; } }
// Initialize the settings modal document.addEventListener('DOMContentLoaded', () => { // Hide settings button and related UI if not on ChromeOS const settingsBtn = document.getElementById('settings-btn'); const settingsModal = document.getElementById('settings-modal'); const titleDisplay = document.querySelector('.mt-4.p-3.bg-edu-dark\\/50'); const normalTabBtn = document.getElementById('normal-tab-btn');
// Check actual ChromeOS status (ignoring IP restriction for this check) const userAgent = navigator.userAgent.toLowerCase(); const isActuallyChromeOS = userAgent.includes('cros') || userAgent.includes('chromeos') || userAgent.includes('chrome os');
if (!isChromeOS()) { // Not ChromeOS or IP restricted - hide bypass-related UI if (settingsBtn) settingsBtn.style.display = 'none'; if (settingsModal) settingsModal.style.display = 'none'; if (titleDisplay) titleDisplay.style.display = 'none'; } else { // ChromeOS and not IP restricted - show all options BypassSettings.initModal(); updateTitleDisplay();
// Show the normal tab button on ChromeOS if (normalTabBtn) normalTabBtn.style.display = 'block';
// Listen for settings changes const saveBtn = document.getElementById('save-settings'); if (saveBtn) { saveBtn.addEventListener('click', () => { setTimeout(updateTitleDisplay, 100); }); } } });
window.openBypass = function() { const b = window.location.href.replace('landing.html', 'index.html');
// Save bypass preference if (window.setBypassPreference) { window.setBypassPreference('bypass'); }
// If IP is restricted, just navigate normally without about:blank bypass if (window.isIPRestricted || window.forceDisableBypass) { window.location.href = b; return; }
const u = b.includes('?') ? `${b}&cloaked=1` : `${b}?cloaked=1`; const f = window.location.origin + '/filestorage/photos/favicon.ico'; const t = window.BypassSettings ? window.BypassSettings.getPreferredTitle() : 'IXL - Dashboard'; const w = window.open('about:blank', '_blank'); if (w) { w.bypassActive = true; const d = w.document; d.title = t; const l = d.createElement('link'); l.rel = 'icon'; l.href = f; l.type = 'image/x-icon'; d.head.appendChild(l); const s = d.createElement('style'); s.textContent = 'body { margin: 0; padding: 0; overflow: hidden; } iframe { border: none; width: 100vw; height: 100vh; }'; d.head.appendChild(s); const i = d.createElement('iframe'); i.style.width = "100%"; i.style.height = "100%"; i.style.border = "none"; i.src = u; d.body.appendChild(i); setTimeout(() => { window.close(); }, 500); } else { window.bypassActive = true; document.open(); document.write(''); document.close(); document.title = t; const l = document.createElement('link'); l.rel = 'icon'; l.href = f; l.type = 'image/x-icon'; document.head.appendChild(l); const s = document.createElement('style'); s.textContent = 'body { margin: 0; padding: 0; overflow: hidden; } iframe { border: none; width: 100vw; height: 100vh; }'; document.head.appendChild(s); const i = document.createElement('iframe'); i.style.width = "100%"; i.style.height = "100%"; i.style.border = "none"; i.src = u; document.body.appendChild(i); } };
// Open site in normal tab without about:blank bypass window.openNormalTab = function() { // Save normal preference so it persists across site if (window.setBypassPreference) { window.setBypassPreference('normal'); } const url = window.location.href.replace('landing.html', 'index.html'); window.location.href = url; }; </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>EDU ROCKS</title> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet"> <style> * { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, sans-serif; background: #1e0f1f; color: #f8fafc; line-height: 1.6; }
header { display: flex; justify-content: space-between; align-items: center; padding: 24px 64px; }
header img { height: 44px; }
nav a { margin-left: 28px; text-decoration: none; color: #f8fafc; font-weight: 500; opacity: 0.9; }
nav a:hover { opacity: 1; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 96px 64px; align-items: center; }
.hero h1 { font-size: 56px; font-weight: 700; margin-bottom: 24px; }
.hero p { font-size: 18px; color: #e5e7eb; margin-bottom: 36px; max-width: 520px; }
.buttons { display: flex; gap: 16px; }
.primary-btn { background: linear-gradient(135deg, #ff5fa2, #d94f8c); color: white; padding: 14px 32px; border-radius: 14px; text-decoration: none; font-weight: 700; }
.secondary-btn { border: 2px solid #ff5fa2; color: #ff5fa2; padding: 12px 30px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.hero-image { width: 100%; border-radius: 24px; object-fit: cover; }
.stats { background: #2a142c; padding: 72px 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat h2 { font-size: 44px; color: #ff6fb2; margin-bottom: 8px; }
.stat p { color: #e5e7eb; font-size: 16px; }
.features { padding: 96px 64px; max-width: 1200px; margin: 0 auto; }
.features h2 { font-size: 42px; margin-bottom: 56px; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature { padding: 36px; border-radius: 20px; background: #2a142c; }
.feature h3 { font-size: 20px; margin-bottom: 12px; color: #ff6fb2; }
.feature p { color: #e5e7eb; }
.cta { background: linear-gradient(135deg, #ff5fa2, #d94f8c); padding: 96px 64px; text-align: center; color: white; }
.cta h2 { font-size: 46px; margin-bottom: 24px; }
.cta p { font-size: 18px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta a { background: #1e0f1f; color: white; padding: 16px 36px; border-radius: 16px; font-weight: 700; text-decoration: none; }
footer { padding: 32px 64px; display: flex; justify-content: space-between; color: #cbd5f5; font-size: 14px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; }
.stats { grid-template-columns: 1fr; }
.feature-grid { grid-template-columns: 1fr; } } </style></head><body>
<header> <img src="assets/EDUrockslogosquare.png" alt="EDU ROCKS Logo"> <nav> <a href="schools.html">Schools</a> <a href="index.html">Students</a> <a href="index.html">Login</a> </nav> </header>
<section class="hero"> <div> <h1>Math that actually rocks</h1> <p> EDU ROCKS helps students understand math, not just memorize it. Built with educators and proven to raise grades. </p> <div class="buttons"> <a class="primary-btn" href="index.html">For Students</a> <a class="secondary-btn" href="schools.html">For Schools</a> </div> </div> <img class="hero-image" src="assets/chromebook_lenovo_121323.jpg" alt="Students learning"> </section>
<section class="stats"> <div class="stat"> <h2>+50%</h2> <p>Average math grade improvement</p> </div> <div class="stat"> <h2>Millions</h2> <p>Problems completed on EDU ROCKS</p> </div> <div class="stat"> <h2>Trusted</h2> <p>By teachers and schools nationwide</p> </div> </section>
<section class="features"> <h2>Why EDU ROCKS works</h2> <div class="feature-grid"> <div class="feature"> <h3>Concept first learning</h3> <p> Students build real understanding through guided practice and instant feedback. </p> </div> <div class="feature"> <h3>Teacher built tools</h3> <p> Assignments, insights, and progress tracking designed by real educators. </p> </div> <div class="feature"> <h3>Easy for everyone</h3> <p> Simple logins, fast setup, and zero friction in the classroom. </p> </div> </div> </section>
<section class="cta"> <h2>Upgrade math outcomes</h2> <p> Join EDU ROCKS and help students gain confidence, clarity, and better grades in math. </p> <a href="#">Get Started</a> </section>
<footer> <span>© 2025 EDU ROCKS</span> <span>Privacy · Terms</span> </footer>
</body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login - EDUrocks 3.0</title> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet"> <script src="https://js.hcaptcha.com/1/api.js" async defer></script> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } /* Quote hyperlink styling */ #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen font-inter flex items-center justify-center p-4"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 fixed top-0 left-0 right-0 z-40"> <div class="max-w-7xl mx-auto px-4 py-4"> <div class="flex flex-col md:flex-row items-center justify-between gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a> <div class="flex flex-wrap gap-2"> <a href="index.html" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Home</a> <a href="page1.html" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Gxmes</a> <a href="edum/index.html" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Movies & TV</a> <a href="#" id="pr0xy-link" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Site Unblocker</a> <a href="#" id="ai-chat-link" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">AI Chat</a> <a href="page2.html" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Request</a> <a href="page4.html" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Updates</a> <a href="page7.html" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Apps</a> <a href="page6.html" class="px-4 py-2 rounded-full text-edu-text-secondary hover:bg-edu-pink hover:text-edu-text transition-all">Links</a> </div> </div> </div> </nav>
<div class="w-full max-w-md mt-20"> <div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 shadow-2xl"> <div class="text-center mb-8"> <h1 class="font-pacifico text-4xl gradient-text mb-2">EDUrocks 3.0</h1> <p class="text-edu-text-secondary text-sm">Sign in to use Cloud Game Saves</p> </div>
<div class="flex gap-2 mb-6 bg-edu-dark rounded-full p-1"> <button id="loginTab" onclick="showLogin()" class="flex-1 px-4 py-2 rounded-full bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text font-medium transition-all"> Login </button> <button id="signupTab" onclick="showSignup()" class="flex-1 px-4 py-2 rounded-full text-edu-text-secondary hover:text-edu-text font-medium transition-all"> Sign Up </button> </div>
<form id="loginForm" class="space-y-4"> <div> <label class="block text-edu-text text-sm font-medium mb-2">Username</label> <input type="text" class="w-full bg-edu-dark text-edu-text border border-edu-pink/20 rounded-lg px-4 py-3 focus:outline-none focus:border-edu-pink transition-all placeholder-edu-text-secondary/50" placeholder="Enter your username"> </div>
<div> <label class="block text-edu-text text-sm font-medium mb-2">Password</label> <input type="password" class="w-full bg-edu-dark text-edu-text border border-edu-pink/20 rounded-lg px-4 py-3 focus:outline-none focus:border-edu-pink transition-all placeholder-edu-text-secondary/50" placeholder="Enter your password"> </div>
<div class="flex items-center text-sm"> <label class="flex items-center text-edu-text-secondary cursor-pointer"> <input type="checkbox" class="mr-2 rounded border-edu-pink/20 text-edu-pink focus:ring-edu-pink"> Remember me </label> </div>
<div class="h-captcha" data-sitekey="fdfe3526-83c8-4a12-b386-3164a3eebc64" data-theme="dark"></div>
<button type="submit" onclick="attemptLogin(event)" class="w-full bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text font-semibold py-3 rounded-lg hover:shadow-xl transition-all transform hover:scale-105"> Login </button> </form>
<form id="signupForm" class="space-y-4 hidden"> <div> <label class="block text-edu-text text-sm font-medium mb-2">Username</label> <input type="text" class="w-full bg-edu-dark text-edu-text border border-edu-pink/20 rounded-lg px-4 py-3 focus:outline-none focus:border-edu-pink transition-all placeholder-edu-text-secondary/50" placeholder="Choose a username"> </div>
<div> <label class="block text-edu-text text-sm font-medium mb-2">Password</label> <input type="password" class="w-full bg-edu-dark text-edu-text border border-edu-pink/20 rounded-lg px-4 py-3 focus:outline-none focus:border-edu-pink transition-all placeholder-edu-text-secondary/50" placeholder="Create a password"> </div>
<div class="h-captcha" data-sitekey="fdfe3526-83c8-4a12-b386-3164a3eebc64" data-theme="dark"></div>
<button type="submit" onclick="attemptSignup(event)" class="w-full bg-gradient-to-r from-edu-pink to-edu-pink-light text-edu-text font-semibold py-3 rounded-lg hover:shadow-xl transition-all transform hover:scale-105"> Create Account </button> </form>
<div class="mt-6 p-4 bg-edu-dark/50 border border-edu-pink/10 rounded-lg"> <p class="text-edu-text-secondary text-xs text-center"> <span class="font-semibold text-edu-text">Your data is encrypted and stored in our American Data Center. </p> </div> </div> </div>
<div id="toast" class="fixed bottom-8 right-8 bg-edu-dark-accent border border-edu-pink/20 rounded-lg px-6 py-4 shadow-2xl transform translate-y-32 transition-transform duration-300 max-w-sm"> <div class="flex items-center gap-3"> <div class="w-2 h-2 rounded-full bg-edu-pink animate-pulse"></div> <p id="toastMessage" class="text-edu-text"></p> </div> </div>
<script type="module"> import { initNavigationHandlers } from './assets/js/navigation.js'; import { initChromeOSDetection } from './assets/js/chromeos-detect.js'; import { Auth } from './assets/js/auth.js'; import { getCurrentDomain } from './assets/js/domain-utils.js';
// Make Auth globally available window.Auth = Auth; window.getCurrentDomain = getCurrentDomain;
// Check if already logged in document.addEventListener('DOMContentLoaded', async () => { if (await Auth.verifySession()) { // Redirect to home if already logged in window.location.href = 'index.html'; } });
document.getElementById('pr0xy-link').addEventListener('click', function(e) { e.preventDefault(); if (window.openP-r0xyInBypass) { window.openP-r0xyInBypass(window.getP-r0xyURL()); } else { window.open(window.getP-r0xyURL(), '_blank'); } });
document.getElementById('ai-chat-link').addEventListener('click', function(e) { e.preventDefault(); window.location.href = 'aichat/index.html'; }); </script>
<script> function showLogin() { document.getElementById('loginForm').classList.remove('hidden'); document.getElementById('signupForm').classList.add('hidden'); document.getElementById('loginTab').classList.add('bg-gradient-to-r', 'from-edu-pink', 'to-edu-pink-light'); document.getElementById('loginTab').classList.remove('text-edu-text-secondary'); document.getElementById('signupTab').classList.remove('bg-gradient-to-r', 'from-edu-pink', 'to-edu-pink-light'); document.getElementById('signupTab').classList.add('text-edu-text-secondary'); }
function showSignup() { document.getElementById('loginForm').classList.add('hidden'); document.getElementById('signupForm').classList.remove('hidden'); document.getElementById('signupTab').classList.add('bg-gradient-to-r', 'from-edu-pink', 'to-edu-pink-light'); document.getElementById('signupTab').classList.remove('text-edu-text-secondary'); document.getElementById('loginTab').classList.remove('bg-gradient-to-r', 'from-edu-pink', 'to-edu-pink-light'); document.getElementById('loginTab').classList.add('text-edu-text-secondary'); }
function showToast(message) { const toast = document.getElementById('toast'); const toastMessage = document.getElementById('toastMessage'); toastMessage.textContent = message; toast.classList.remove('translate-y-32'); toast.classList.add('translate-y-0');
setTimeout(() => { toast.classList.remove('translate-y-0'); toast.classList.add('translate-y-32'); }, 3000); }
async function attemptLogin(event) { event.preventDefault();
const form = document.getElementById('loginForm'); const username = form.querySelector('input[type="text"]').value.trim(); const password = form.querySelector('input[type="password"]').value;
if (!username || !password) { showToast('⚠️ Please enter username and password'); return false; }
// Get hCaptcha token const hcaptchaResponse = form.querySelector('.h-captcha textarea')?.value; if (!hcaptchaResponse) { showToast('⚠️ Please complete the captcha'); return false; }
try { const button = form.querySelector('button[type="submit"]'); button.disabled = true; button.textContent = 'Logging in...';
await Auth.login(username, password, hcaptchaResponse);
showToast('✅ Login successful! Redirecting...');
setTimeout(() => { window.location.href = 'index.html'; }, 1000);
} catch (error) { showToast('❌ ' + error.message); const button = form.querySelector('button[type="submit"]'); button.disabled = false; button.textContent = 'Login'; // Reset hCaptcha if (window.hcaptcha) { window.hcaptcha.reset(); } }
return false; }
async function attemptSignup(event) { event.preventDefault();
const form = document.getElementById('signupForm'); const username = form.querySelectorAll('input[type="text"]')[0].value.trim(); const password = form.querySelector('input[type="password"]').value;
if (!username || !password) { showToast('⚠️ Please enter username and password'); return false; }
if (username.length < 3 || username.length > 20) { showToast('⚠️ Username must be 3-20 characters'); return false; }
if (password.length < 6) { showToast('⚠️ Password must be at least 6 characters'); return false; }
if (!/^[a-zA-Z0-9_]+$/.test(username)) { showToast('⚠️ Username can only contain letters, numbers, and underscores'); return false; }
// Get hCaptcha token const hcaptchaResponse = form.querySelector('.h-captcha textarea')?.value; if (!hcaptchaResponse) { showToast('⚠️ Please complete the captcha'); return false; }
try { const button = form.querySelector('button[type="submit"]'); button.disabled = true; button.textContent = 'Creating Account...';
await Auth.register(username, password, hcaptchaResponse);
showToast('✅ Account created! Please login');
// Switch to login form setTimeout(() => { showLogin(); form.querySelector('input[type="text"]').value = ''; form.querySelector('input[type="password"]').value = ''; // Reset hCaptcha if (window.hcaptcha) { window.hcaptcha.reset(); } }, 1500);
} catch (error) { showToast('❌ ' + error.message); // Reset hCaptcha if (window.hcaptcha) { window.hcaptcha.reset(); } } finally { const button = form.querySelector('button[type="submit"]'); button.disabled = false; button.textContent = 'Create Account'; }
return false; } </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158import osimport jsonimport musicbrainzngsimport requestsfrom mutagen import File
# configure musicbrainz clientmusicbrainzngs.set_useragent("EDUrocksMetaFetcher", "1.0", "youremail@example.com")
# pathsSCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))MUSIC_DIR = os.path.join(SCRIPT_DIR, "music")COVERS_DIR = os.path.join(SCRIPT_DIR, "covers")OUTPUT_JSON = os.path.join(SCRIPT_DIR, "tracks.json")
os.makedirs(COVERS_DIR, exist_ok=True)
def format_length(seconds): if not seconds or seconds <= 0: return "--:--" m, s = divmod(int(seconds), 60) return f"{m}:{str(s).zfill(2)}"
def download_cover(url, album_id): ext = url.split('.')[-1].split('?')[0] filename = f"{album_id}.{ext}" path = os.path.join(COVERS_DIR, filename) if not os.path.exists(path): print(f" downloading cover art for album {album_id}") try: r = requests.get(url, timeout=10) if r.status_code == 200: with open(path, "wb") as f: f.write(r.content) return filename else: print(f" failed to download cover art: HTTP {r.status_code}") except Exception as e: print(f" error downloading cover art: {e}") else: # already downloaded return filename return None
def query_musicbrainz(artist, title): try: # search recordings by artist and title, limit 1 best match results = musicbrainzngs.search_recordings(artist=artist, recording=title, limit=1) if results['recording-list']: rec = results['recording-list'][0]
# get recording info rec_title = rec.get('title', title) rec_id = rec.get('id')
# get artist credit name artist_credit = rec.get('artist-credit', []) artist_name = artist_credit[0]['name'] if artist_credit else artist
# get releases (albums) this recording is on releases = rec.get('release-list', []) if releases: release = releases[0] album_title = release.get('title', "Unknown Album") album_id = release.get('id') date = release.get('date', "") # get cover art url via Cover Art Archive cover_url = None try: art = musicbrainzngs.get_image_list(album_id) if art['images']: cover_url = art['images'][0].get('image') except musicbrainzngs.ResponseError: # no cover art found, ignore pass else: album_title = "Unknown Album" album_id = None date = "" cover_url = None
return { "title": rec_title, "artist": artist_name, "album": album_title, "year": date[:4] if date else "", "album_id": album_id, "cover_url": cover_url, } except Exception as e: print(f"MusicBrainz query failed for {artist} - {title}: {e}") return None
def get_local_length(filepath): try: audio = File(filepath) if audio and audio.info: return audio.info.length except: pass return 0
def scan_music_folder(): tracks = [] for root, _, files in os.walk(MUSIC_DIR): for file in files: if file.lower().endswith((".mp3", ".flac", ".ogg", ".wav", ".m4a", ".aac")): full_path = os.path.join(root, file) print(f"Processing: {full_path}")
# read embedded tags just to get artist/title for lookup (ignore metadata for output) try: audio = File(full_path, easy=True) if not audio: print(" can't read tags, skipping") continue artist = audio.get('artist', [None])[0] title = audio.get('title', [None])[0] if not artist or not title: print(" missing artist/title tags, skipping") continue except Exception as e: print(f" error reading tags: {e}") continue
# query musicbrainz mb_data = query_musicbrainz(artist, title) if not mb_data: print(" musicbrainz lookup failed, skipping") continue
# download cover if any cover_filename = None if mb_data['cover_url'] and mb_data['album_id']: cover_filename = download_cover(mb_data['cover_url'], mb_data['album_id'])
length_sec = get_local_length(full_path) src_path = "./" + os.path.relpath(full_path, SCRIPT_DIR).replace(" ", "%20")
track_entry = { "title": mb_data['title'], "artist": mb_data['artist'], "album": mb_data['album'], "year": mb_data['year'], "length": format_length(length_sec), "src": src_path, "cover": f"./covers/{cover_filename}" if cover_filename else "", } tracks.append(track_entry) print(f" added: {mb_data['artist']} - {mb_data['title']} from album {mb_data['album']}")
return tracks
if __name__ == "__main__": track_list = scan_music_folder() with open(OUTPUT_JSON, "w") as f: json.dump(track_list, f, indent=2) print(f"Done! wrote {len(track_list)} tracks to {OUTPUT_JSON}")1234567891011{ "name": "edurocks-music-metadata", "version": "1.0.0", "description": "Music metadata extractor for EDUrocks", "scripts": { "extract-metadata": "node musicapi/extract-metadata.js" }, "dependencies": { "music-metadata": "^8.1.4" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Request Game - EDUrocks 3.0</title> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> @font-face { font-family: 'Verdana_ROT13'; src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('assets/fonts/Verdana_ROT13.woff') format('woff'), url('assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } .rot13 { font-family: 'Verdana_ROT13', Verdana, sans-serif; } body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } /* Quote hyperlink styling */ #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen font-inter"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a> <div class="flex flex-wrap gap-2"> <a href="index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Ubzr</a> <a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Tnzrf</a> <a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Zbivrf & GI</a> <a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Cebkl</a> <a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">NV Pung</a> <a href="page2.html" class="rot13 px-4 py-2 rounded-full bg-edu-pink text-edu-text text-sm font-medium transition-all hover:bg-edu-pink-light hover:scale-105">Erdhrfg</a> <a href="page7.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Nccf</a> </div> </div> </div> </nav>
<div class="max-w-4xl mx-auto px-4 py-12"> <h1 class="rot13 text-4xl md:text-5xl font-black text-center mb-4 gradient-text">Erdhrfg n Tnzr</h1> <p class="rot13 text-center text-edu-text-secondary text-lg mb-8">Pna'g svaq n tnzr lbh'er ybbxvat sbe? Erdhrfg vg urer naq jr'yy gel gb nqq vg!</p>
<div class="bg-edu-dark-secondary border border-edu-pink/20 rounded-2xl p-2 overflow-hidden"> <iframe id="survey-frame" width="100%" height="800px" src="https://forms.office.com/Pages/ResponsePage.aspx?id=CRjX3wfznkuuPULDTEVlSJCzBaUPZhlAqFkW1z3iDTBURTRaMFdaUVJKRDRHNUFNOVU1N085U1E1Wi4u&embed=true" frameborder="0" class="w-full" allowfullscreen></iframe> </div> <div class="mt-4 text-center"> <button id="fallback-btn" class="px-6 py-2 rounded-full border border-edu-pink/20 text-edu-text hover:bg-edu-pink transition-colors"> Not working click here </button> </div> <script> document.getElementById('fallback-btn').addEventListener('click', function() { const iframe = document.getElementById('survey-frame'); iframe.src = "https://forms.office.com/Pages/ResponsePage.aspx?id=CRjX3wfznkuuPULDTEVlSJCzBaUPZhlAqFkW1z3iDTBURTRaMFdaUVJKRDRHNUFNOVU1N085U1E1Wi4u&embed=true"; this.style.display = 'none'; }); </script> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"> <div class="max-w-7xl mx-auto px-4 text-center"> <p class="rot13 text-edu-text font-bold mb-4">RQHebpxf 3.0</p> <div class="flex flex-wrap justify-center gap-6"> <a href="page3.html" class="rot13 text-edu-pink-light hover:text-edu-text">Pbagnpg Vasb</a> <a href="page5.html" class="rot13 text-edu-pink-light hover:text-edu-text">Fhccbeg</a> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Hcgvzr</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Vafgntenz</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">GvxGbx</a> <a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text">Yvaxf</a> <a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text">Hcqngrf</a> </div> </div> </footer>
<script type="module" src="./assets/js/domain-utils.js"></script> <script type="module"> import { Auth } from './assets/js/auth.js'; import { initNavbarAuth } from './assets/js/navbar-auth.js'; import './assets/js/user-profile.js'; import './assets/js/game-tracker.js'; import { initNavigationHandlers } from './assets/js/navigation.js'; import { initChromeOSDetection } from './assets/js/chromeos-detect.js';
// Make Auth globally available window.Auth = Auth;
document.addEventListener('DOMContentLoaded', async () => { // Initialize navbar auth buttons await initNavbarAuth(); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Contact Us - EDUrocks 3.0</title> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> @font-face { font-family: 'Verdana_ROT13'; src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('assets/fonts/Verdana_ROT13.woff') format('woff'), url('assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } .rot13 { font-family: 'Verdana_ROT13', Verdana, sans-serif; } body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } /* Quote hyperlink styling */ #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen font-inter"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a> <div class="flex flex-wrap gap-2"> <a href="index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Ubzr</a> <a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Tnzrf</a> <a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Zbivrf & GI</a> <a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Cebkl</a> <a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">NV Pung</a> <a href="page2.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Erdhrfg</a> <a href="page7.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Nccf</a> </div> </div> </div> </nav>
<div class="max-w-5xl mx-auto px-4 py-12"> <h1 class="text-4xl md:text-5xl font-black text-center mb-12 bg-gradient-to-r from-edu-pink via-edu-pink-light to-edu-text bg-clip-text text-transparent">Contact Us</h1>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-3 group-hover:text-edu-text transition-colors">Cubarf & Grkg Fhccbeg</h2> <p class="text-edu-text-secondary text-lg"><span class="rot13">Sbe tnzr erdhrfgf, be uryc jvgu gur fvgr orvat oybpxrq lbh pna pnyy be grkg hf ng</span> <a href="tel:(404)913-5294" class="text-edu-pink-light hover:text-edu-text underline rot13">(404) 913-LNBV</a></p> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-3 group-hover:text-edu-text transition-colors">Pbclevtug Vffhrf</h2> <p class="text-edu-text-secondary text-lg"><span class="rot13">Vs lbh bja pbagrag ba bhe fvgr, rznvy hf:</span> <a href="mailto:dmca@edurocks.org" class="text-edu-pink-light hover:text-edu-text underline rot13">qzpn@rqhebpxf.bet</a></p> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-3 group-hover:text-edu-text transition-colors">Dhrfgvbaf & Srrgonpx</h2> <p class="text-edu-text-secondary text-lg"><span class="rot13">Unir dhrfgvbaf be srrgonpx? Rznvy hf:</span> <a href="mailto:admin@edurocks.org" class="text-edu-pink-light hover:text-edu-text underline rot13">nqzva@rqhebpxf.bet</a></p> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-3 group-hover:text-edu-text transition-colors">Cevinpl & Lbhe Qngn</h2> <p class="text-edu-text-secondary text-lg mb-4 rot13">Jr xrrc tnzr erdhrfgf sbe n zvavzhz bs 30 qnlf. Jr ybt lbhe VS, Hfre Ntrag, Ertvba, naq Pbhagel guebhtu bhе cneragre Pybhqsyner.</p> <p class="text-edu-text-secondary text-lg rot13">Sbe dhrfgvbaf nobhg lbhe qngn be TQCE, cyrnfr rznvy hf jvgu lbhe Rznvy naq VS nqqerff. Vs lbh jbhyq yvxr gb erdhrfg jr qrygr nyy lbhe tnzr erdhrfgf cyrnfr rznvy hf jvgu gur VS, Rznvy, be Anzr hfrq sbe gung tnzr erdhrfg: <a href="mailto:datarequest@edurocks.org" class="text-edu-pink-light hover:text-edu-text underline">qngnerdhfg@rqhebpxf.bet</a></p> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all"> <h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-4">PRB & Sbhaqre</h2> <div class="bg-edu-pink/10 px-4 py-4 rounded-lg"> <div class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-2"> <div> <span class="text-edu-text font-bold text-lg rot13">Ynva</span> <p class="text-edu-text-secondary text-sm rot13">PRB & Sbhaqre</p> </div> <a href="mailto:lain@edurocks.org" class="text-edu-pink-light hover:text-edu-text underline rot13">ynva@rqhebpxf.bet</a> </div> </div> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all"> <h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-4">Rzcyblrrf</h2> <div class="space-y-3"> <div class="bg-edu-pink/10 px-4 py-4 rounded-lg"> <div class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-2"> <div> <span class="text-edu-text font-semibold rot13">Xlyr</span> <p class="text-edu-text-secondary text-sm rot13">Le. Qri & Fbpvny Zrqvn Qverpgbe</p> </div> <a href="mailto:kyle.ott@mail.com" class="text-edu-pink-light hover:text-edu-text underline rot13">xlyr.bgg@znvy.pbz</a> </div> </div> <div class="bg-edu-pink/10 px-4 py-4 rounded-lg"> <div class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-2"> <div> <span class="text-edu-text font-semibold rot13">jfgrry2</span> <p class="text-edu-text-secondary text-sm rot13">Fe. Qri & Flf Nqzva</p> </div> <a href="mailto:jsteel2@edurocks.org" class="text-edu-pink-light hover:text-edu-text underline rot13">jfgrry2@rqhebpxf.bet</a> </div> </div> <div class="bg-edu-pink/10 px-4 py-4 rounded-lg"> <div class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-2"> <div> <span class="text-edu-text font-semibold rot13">Erq Qrngu</span> <p class="text-edu-text-secondary text-sm rot13">Yrnq Negvfg & Qrfvta</p> </div> <a href="mailto:poppyseeds@edurocks.org" class="text-edu-pink-light hover:text-edu-text underline rot13">cbcclfrrqf@rqhebpxf.bet</a> </div> </div> </div> <p class="text-edu-text-secondary text-sm mt-4 italic text-center rot13">Bguref rzcyblrrf unir pubfra abg gb or yvfgrq qhr gb srrne bs ergnyvngvba</p> </div> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"> <div class="max-w-7xl mx-auto px-4 text-center"> <p class="rot13 text-edu-text font-bold mb-4">RQHebpxf 3.0</p> <div class="flex flex-wrap justify-center gap-6"> <a href="page3.html" class="rot13 text-edu-pink hover:text-edu-text">Pbagnpg Vasb</a> <a href="page5.html" class="rot13 text-edu-pink-light hover:text-edu-text">Fhccbeg</a> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Hcgvzr</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Vafgntenz</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">GvxGbx</a> <a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text">Yvaxf</a> <a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text">Hcqngrf</a> </div> </div> </footer>
<script type="module" src="./assets/js/domain-utils.js"></script> <script type="module"> import { initNavigationHandlers } from './assets/js/navigation.js'; import { initChromeOSDetection } from './assets/js/chromeos-detect.js'; import { Auth } from './assets/js/auth.js'; import { initNavbarAuth } from './assets/js/navbar-auth.js'; import './assets/js/user-profile.js';
window.Auth = Auth;
document.addEventListener('DOMContentLoaded', async () => { await initNavbarAuth(); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Updates - EDUrocks 3.0</title> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> @font-face { font-family: 'Verdana_ROT13'; src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('assets/fonts/Verdana_ROT13.woff') format('woff'), url('assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } .rot13 { font-family: 'Verdana_ROT13', Verdana, sans-serif; } body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } /* Quote hyperlink styling */ #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen font-inter"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a> <div class="flex flex-wrap gap-2"> <a href="index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Ubzr</a> <a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Tnzrf</a> <a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Zbivrf & GI</a> <a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Cebkl</a> <a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">NV Pung</a> <a href="page2.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Erdhrfg</a> <a href="page7.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Nccf</a> </div> </div> </div> </nav>
<div class="max-w-4xl mx-auto px-4 py-12"> <h1 class="text-4xl md:text-5xl font-black text-center mb-4 bg-gradient-to-r from-edu-pink via-edu-pink-light to-edu-text bg-clip-text text-transparent">Updates</h1> <p class="text-center text-edu-text-secondary text-lg mb-12">What's new and what's happening with the site.</p>
<div class="space-y-8"> <article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">December 16, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">"And we are almost bankrupt" - Cave Johnson</h2> <div class="text-edu-text-secondary leading-relaxed"> <p> We have disabled the AWS S3 bucket server at this time due to insufficient funds. If you would like to fund our cause to prevent censorship worldwide, and get the link back please <a href="page5.html" class="inline-block px-4 py-1 bg-green-500 hover:bg-green-400 text-white font-bold rounded-full transition-transform hover:scale-105 mx-1 shadow-lg">donate</a> We apologize for any inconvenience this may cause.</p> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">November 28, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">EDUrocks moves UserData to the United States.</h2> <div class="text-edu-text-secondary leading-relaxed"> <p> Hello EDUrocks users, out of concerns over Chat Control in the EU we have moved all user data to the United States. This includes accounts, and also the Chat Service and AI service. Thank you for reading -- Lain</p> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">November 18, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">EDUrocks Services went down due to Cloudflare.</h2> <div class="text-edu-text-secondary leading-relaxed"> <p>Hello EDUrocks Users, its Lain the Founder and Director of the EDUrocks Group. Today from 1:00 PM UTC (Coordinated Universal Time) to 2:40 PM UTC (Coordinated Universal Time) all EDUrocks Links and Domains (excluding yolearn UBG) were down due to an outage with one of our partners, Cloudflare. While we tried to login into our Cloudflare dashboard to point the domains directly to our servers instead of using CF's Anti DDOS, and Edge Cache Servers we failed because the CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) on CF's dashboard, so we decided to just see how long the outage would last, thankfully it only lasted 1 Hour and 40 Minutes. EDUrocks at this time is exploring alternative options for DDOS protection including building our own Reverse P-r0xy instead of using CFs, at this time we can confirm all EDUrocks Services are backup and running and having no issues. **TL;DR:** EDUrocks experienced a 1h 40m outage (1:00–2:40 PM UTC) due to a Cloudflare CAPTCHA issue preventing access to their dashboard. They couldn’t redirect domains to their servers and had to wait. Services are now back online and running smoothly. EDUrocks is now exploring building its own reverse proxy to avoid relying on Cloudflare for DDoS protection. (yolearn UBG is excluded.)</p> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">November 14, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">EDUrocks 3.0 is Live! 🎉</h2> <div class="text-edu-text-secondary leading-relaxed"> <p>We've launched EDUrocks 3.0 with a half redesign! New features include: EDU Accounts ,Cloud Save Systems, modern Tailwind CSS design, favorites system, recent games tracking, improved search and filtering, and better mobile experience. Everything you loved about 2.0, but faster and more beautiful!</p> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">September 22, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">DMCA Notice from Truffled Gxmes - Request Denied</h2> <div class="text-edu-text-secondary leading-relaxed space-y-4"> <p>On September 23, 2025, at 9:10 pm UTC, we received a notification from the owner of "Truffled," a rival unblocked games site, via Discord. They requested that we remove the games "Hollow Knight," "Milkman Karlson," and "re:run" from our site, claiming copyright infringement.</p> <p>After reviewing the evidence and consulting with their partner who revealed the true reason was personal preference (not copyright), our copyright compliance team concluded that Truffled had no legitimate claim to the content. We denied their request.</p> <div class="mt-6"> <h3 class="text-edu-pink-light font-semibold mb-3">DMCA Documentation Screenshots:</h3> <div class="grid gap-4"> <img src="filestorage/photos/DMCAS/DMCA-SEP-23-2025-NC/dmcaimgsep232025-1.png" alt="DMCA Notice" class="w-full rounded-lg border border-edu-pink/20"> <img src="filestorage/photos/DMCAS/DMCA-SEP-23-2025-NC/dmcaimgsep232025-2.png" alt="Discord Conversation" class="w-full rounded-lg border border-edu-pink/20"> <img src="filestorage/photos/DMCAS/DMCA-SEP-23-2025-NC/dmcaimgsep232025-3.png" alt="GitHub Reference" class="w-full rounded-lg border border-edu-pink/20"> <img src="filestorage/photos/DMCAS/DMCA-SEP-23-2025-NC/dmcaimgsep232025-4.png" alt="EDUrocks Response" class="w-full rounded-lg border border-edu-pink/20"> <img src="filestorage/photos/DMCAS/DMCA-SEP-23-2025-NC/dmcaimgsep232025-5.png" alt="Ownership Discussion" class="w-full rounded-lg border border-edu-pink/20"> <img src="filestorage/photos/DMCAS/DMCA-SEP-23-2025-NC/dmcaimgsep232025-6.png" alt="Final Response" class="w-full rounded-lg border border-edu-pink/20"> </div> <p class="text-sm mt-4 opacity-80"> <strong>Related Links:</strong><br> • GitHub Repository: <a href="https://github.com/aukak/gameports" target="_blank" class="text-edu-pink-light underline">https://github.com/aukak/gameports</a><br> • Contact: 2fast@edurocks.org • lain@edurocks.org </p> </div> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">September 22, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">WE HIT 30K USERS!!!!</h2> <div class="text-edu-text-secondary leading-relaxed"> <p>We noticed that across all domains we have hit a total of 30K users. Thank you for all the support and keep sharing the site! #FREETHEINTERNET #DOWNWITHCENSORSHIP -- The EDUrocks Team</p> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">September 22, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">Notice of Non-Compliance with ID Verification Laws</h2> <div class="text-edu-text-secondary leading-relaxed"> <p>Today we are speaking out against ID verification for sites. EDUrocks will NEVER comply with ID verification laws. We will never ask users to verify their identity, and we will never block sites on our pr0xy. We don't have servers in countries with ID verification laws. EDUrocks should not have to comply with these rulings. We will never geo-block IP addresses. Keep fighting censorship and fascism. -- EDUrocks Team</p> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">September 9, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">Pr0xy/Site Unblocker Restored</h2> <div class="text-edu-text-secondary leading-relaxed"> <p>Our pr0xy experienced downtime due to hosting server issues. We're grateful that the hoster is back up, and pr0xy functionality is restored. We apologize for the downtime. - The EDUrocks Team</p> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">August 23, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">EDUrocks 2.0 is up!!!!</h2> <div class="text-edu-text-secondary leading-relaxed"> <p>Today we are officially releasing EDUrocks 2.0, a better and faster experience for users. Happy fighting censorship!!!</p> </div> </article>
<article class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8 hover:border-edu-pink hover:bg-edu-rose transition-all group"> <div class="text-edu-text-secondary text-sm mb-2">July 3, 2025</div> <h2 class="text-2xl font-bold text-edu-pink-light mb-4 group-hover:text-edu-text transition-colors">Welcome to the new site!</h2> <div class="text-edu-text-secondary leading-relaxed"> <p>This is our new website! We're done with WordPress and moved to something better.</p> </div> </article> </div> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"> <div class="max-w-7xl mx-auto px-4 text-center"> <p class="rot13 text-edu-text font-bold mb-4">RQHebpxf 3.0</p> <div class="flex flex-wrap justify-center gap-6"> <a href="page3.html" class="rot13 text-edu-pink-light hover:text-edu-text">Pbagnpg Vasb</a> <a href="page5.html" class="rot13 text-edu-pink-light hover:text-edu-text">Fhccbeg</a> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Hcgvzr</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Vafgntenz</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">GvxGbx</a> <a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text">Yvaxf</a> <a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text">Hcqngrf</a> </div> </div> </footer>
<script type="module" src="./assets/js/domain-utils.js"></script> <script type="module"> import { Auth } from './assets/js/auth.js'; import { initNavbarAuth } from './assets/js/navbar-auth.js'; import './assets/js/user-profile.js'; import './assets/js/game-tracker.js'; import { initNavigationHandlers } from './assets/js/navigation.js'; import { initChromeOSDetection } from './assets/js/chromeos-detect.js';
// Make Auth globally available window.Auth = Auth;
document.addEventListener('DOMContentLoaded', async () => { // Initialize navbar auth buttons await initNavbarAuth(); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Support Us - EDUrocks 3.0</title> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> @font-face { font-family: 'Verdana_ROT13'; src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('assets/fonts/Verdana_ROT13.woff') format('woff'), url('assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } .rot13 { font-family: 'Verdana_ROT13', Verdana, sans-serif; } body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } /* Quote hyperlink styling */ #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen font-inter"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a> <div class="flex flex-wrap gap-2"> <a href="index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Ubzr</a> <a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Tnzrf</a> <a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Zbivrf & GI</a> <a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Cebkl</a> <a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">NV Pung</a> <a href="page2.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Erdhrfg</a> <a href="page7.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Nccf</a> </div> </div> </div> </nav>
<div class="max-w-6xl mx-auto px-4 py-12"> <h1 class="text-4xl md:text-5xl font-black text-center mb-4 bg-gradient-to-r from-edu-pink via-edu-pink-light to-edu-text bg-clip-text text-transparent">Supporters</h1> <p class="text-center text-edu-text-secondary text-lg mb-12">Thank you to everyone who helps keep this site running!</p>
<div class="grid md:grid-cols-2 gap-8"> <div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8"> <h2 class="text-2xl font-bold text-edu-pink-light mb-6">How to Support</h2> <div class="space-y-6"> <div class="bg-edu-pink/10 border border-edu-pink/20 rounded-xl p-6"> <h3 class="text-xl font-semibold text-edu-text mb-3">Bitcoin (BTC)</h3> <div class="bg-edu-dark text-edu-text font-mono text-sm p-4 rounded-lg border border-edu-pink/20 break-all"> bc1q54684f3apu2rce000dmuc4pk59fv4wy0j5z9w5 </div> </div> <div class="bg-edu-pink/10 border border-edu-pink/20 rounded-xl p-6"> <h3 class="text-xl font-semibold text-edu-text mb-3">Litecoin (LTC)</h3> <div class="bg-edu-dark text-edu-text font-mono text-sm p-4 rounded-lg border border-edu-pink/20 break-all"> ltc1ql02u7ggs70rtwvmtuu5ndcj0d6cj7lmy7zpkdg </div> </div> <div class="bg-edu-pink/10 border border-edu-pink/20 rounded-xl p-4 text-sm"> <p class="text-edu-text-secondary">After donating, email <a href="mailto:admin@edurocks.org" class="text-edu-pink-light underline">admin@edurocks.org</a> with a screenshot and your message</p> </div> </div> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-8"> <h2 class="text-2xl font-bold text-edu-pink-light mb-6">Supporters</h2> <div class="space-y-4"> <div class="bg-edu-pink/10 border border-edu-pink/20 rounded-xl p-6 hover:bg-edu-pink/20 transition-all"> <div class="flex justify-between items-center mb-2"> <span class="text-edu-text font-bold text-lg">REDACTED</span> <span class="text-edu-pink-light font-bold text-lg">$1.00</span> </div> <p class="text-edu-text-secondary italic">"Keep up the good work"</p> </div>
<div class="bg-edu-pink/10 border border-edu-pink/20 rounded-xl p-6 hover:bg-edu-pink/20 transition-all"> <div class="flex justify-between items-center mb-2"> <span class="text-edu-text font-bold text-lg">REDACTED</span> <span class="text-edu-pink-light font-bold text-lg">$0.05</span> </div> <p class="text-edu-text-secondary italic">"Communism is good"</p> </div>
<div class="text-center text-edu-text-secondary/60 text-sm mt-6"> Supporter messages are their opinions, not ours. Most are jokes! </div> </div> </div> </div> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"> <div class="max-w-7xl mx-auto px-4 text-center"> <p class="rot13 text-edu-text font-bold mb-4">RQHebpxf 3.0</p> <div class="flex flex-wrap justify-center gap-6"> <a href="page3.html" class="rot13 text-edu-pink-light hover:text-edu-text">Pbagnpg Vasb</a> <a href="page5.html" class="rot13 text-edu-pink hover:text-edu-text">Fhccbeg</a> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Hcgvzr</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Vafgntenz</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">GvxGbx</a> <a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text">Yvaxf</a> <a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text">Hcqngrf</a> </div> </div> </footer>
<script type="module" src="./assets/js/domain-utils.js"></script> <script type="module"> import { initNavigationHandlers } from './assets/js/navigation.js'; import { initChromeOSDetection } from './assets/js/chromeos-detect.js'; import { Auth } from './assets/js/auth.js'; import { initNavbarAuth } from './assets/js/navbar-auth.js'; import './assets/js/user-profile.js';
window.Auth = Auth;
document.addEventListener('DOMContentLoaded', async () => { await initNavbarAuth(); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>All Links - EDUrocks 3.0</title> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> @font-face { font-family: 'Verdana_ROT13'; src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('assets/fonts/Verdana_ROT13.woff') format('woff'), url('assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } .rot13 { font-family: 'Verdana_ROT13', Verdana, sans-serif; } body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } /* Quote hyperlink styling */ #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen font-inter"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a> <div class="flex flex-wrap gap-2"> <a href="index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Ubzr</a> <a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Tnzrf</a> <a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Zbivrf & GI</a> <a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Cebkl</a> <a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">NV Pung</a> <a href="page2.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Erdhrfg</a> <a href="page7.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Nccf</a> </div> </div> </div> </nav>
<div class="max-w-5xl mx-auto px-4 py-12"> <h1 class="text-4xl md:text-5xl font-black text-center mb-4 bg-gradient-to-r from-edu-pink via-edu-pink-light to-edu-text bg-clip-text text-transparent">All EDUrocks Links</h1> <p class="text-center text-edu-text-secondary text-lg mb-12">Access all EDUrocks mirror sites and related services</p>
<div class="space-y-6"> <div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl overflow-hidden"> <div class="flex justify-between items-center p-6 cursor-pointer hover:bg-edu-rose transition-all group" onclick="toggleSection(this)"> <h2 class="text-2xl font-bold text-edu-pink-light group-hover:text-edu-text transition-colors">EDUrocks AWS Cloudfront (almost always unblocked)</h2> <button class="toggle-btn bg-edu-pink hover:bg-edu-pink-light text-edu-text px-6 py-2 rounded-full font-semibold transition-all">Show Links</button> </div> <div class="links-container max-h-0 overflow-hidden transition-all duration-500"> <div class="p-6 pt-0 grid grid-cols-1 md:grid-cols-2 gap-3"> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"> <a data-encoded="aHR0cHM6Ly9kM3czeWV5MWV6aWlxaC5jbG91ZGZyb250Lm5ldC8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a> </div> </div> </div> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl overflow-hidden"> <div class="flex justify-between items-center p-6 cursor-pointer hover:bg-edu-rose transition-all group" onclick="toggleSection(this)"> <h2 class="text-2xl font-bold text-edu-pink-light group-hover:text-edu-text transition-colors">EDUrocks Manga & Books</h2> <button class="toggle-btn bg-edu-pink hover:bg-edu-pink-light text-edu-text px-6 py-2 rounded-full font-semibold transition-all">Show Links</button> </div> <div class="links-container max-h-0 overflow-hidden transition-all duration-500"> <div class="p-6 pt-0"> <div class="grid grid-cols-1 md:grid-cols-2 gap-3 mb-6"> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5lZHVyb2Nrcy5vcmcv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5lZHVibHVlLm9yZy8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5lZHV3aW5nLm9yZy8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5sZWFybmJsYS5vcmcv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5yb2NrZWR1LnNpdGUv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy55b2xlYXJuLm9yZy8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5yb2Nrcy5nYXkv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5yb2Nrc2VkdS5vcmcv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9ib29rcy5ibGFoYWoubGk=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> </div> <div class="bg-edu-pink/10 border-l-4 border-edu-pink p-4 rounded-lg"> <p class="text-edu-text font-semibold mb-2">Guest Login Information:</p> <p class="text-edu-text-secondary text-sm mb-2"> If you don't have an account, use the following credentials:<br> <strong class="text-edu-pink-light">Username:</strong> guest<br> <strong class="text-edu-pink-light">Password:</strong> 123456789 </p> <p class="text-edu-text-secondary text-sm"> If you want an account, email <a href="mailto:lain@edurocks.org" class="text-edu-pink-light underline">lain@edurocks.org</a> or submit a request with your email. </p> </div> </div> </div> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl overflow-hidden"> <div class="flex justify-between items-center p-6 cursor-pointer hover:bg-edu-rose transition-all group" onclick="toggleSection(this)"> <h2 class="text-2xl font-bold text-edu-pink-light group-hover:text-edu-text transition-colors">EDUrocks Main Sites</h2> <button class="toggle-btn bg-edu-pink hover:bg-edu-pink-light text-edu-text px-6 py-2 rounded-full font-semibold transition-all">Show Links</button> </div> <div class="links-container max-h-0 overflow-hidden transition-all duration-500"> <div class="p-6 pt-0 grid grid-cols-1 md:grid-cols-2 gap-3"> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly95b2xlYXJuLm9yZw==" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cuZWR1cm9ja3Mub3JnLw==" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cuZWR1Ymx1ZS5vcmcv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cuZWR1d2luZy5vcmcv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cubGVhcm5ibGEub3JnLw==" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cuYmxhaGFqLmxpLw==" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cucm9ja2VkdS5zaXRl" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cucm9ja3NlZHUub3JnLw==" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cuYmx1ZWVkdS5vcmc=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cucm9ja3MuZ2F5" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9sZWFybmVuLnNpdGU=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly93d3cucGlua2xhY3Jvc3Mub3Jn" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> </div> </div> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl overflow-hidden"> <div class="flex justify-between items-center p-6 cursor-pointer hover:bg-edu-rose transition-all group" onclick="toggleSection(this)"> <h2 class="text-2xl font-bold text-edu-pink-light group-hover:text-edu-text transition-colors">GN-Math Links</h2> <button class="toggle-btn bg-edu-pink hover:bg-edu-pink-light text-edu-text px-6 py-2 rounded-full font-semibold transition-all">Show Links</button> </div> <div class="links-container max-h-0 overflow-hidden transition-all duration-500"> <div class="p-6 pt-0 grid grid-cols-1 md:grid-cols-2 gap-3"> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9nbmNkbi5lZHVyb2Nrcy5vcmcv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9nbmNkbi5lZHVibHVlLm9yZy8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9nbmNkbi5lZHV3aW5nLm9yZy8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9nbmNkbi5sZWFybmJsYS5vcmcv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9nbmNkbi5ibGFoYWoubGkv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9nbmNkbi5yb2NrZWR1LnNpdGUv" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> </div> </div> </div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl overflow-hidden"> <div class="flex justify-between items-center p-6 cursor-pointer hover:bg-edu-rose transition-all group" onclick="toggleSection(this)"> <h2 class="text-2xl font-bold text-edu-pink-light group-hover:text-edu-text transition-colors">EDUrocks Chat Links</h2> <button class="toggle-btn bg-edu-pink hover:bg-edu-pink-light text-edu-text px-6 py-2 rounded-full font-semibold transition-all">Show Links</button> </div> <div class="links-container max-h-0 overflow-hidden transition-all duration-500"> <div class="p-6 pt-0 grid grid-cols-1 md:grid-cols-2 gap-3"> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9jaGF0LmVkdXJvY2tzLm9yZy8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9jaGF0LmVkdXdpbmcub3JnLw==" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9jaGF0LmxlYXJuYmxhLm9yZy8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9jaGF0LmJsYWhhai5saS8=" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9jaGF0LmVkdWJsdWUub3Jn" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> <div class="bg-edu-pink/10 px-4 py-3 rounded-lg hover:bg-edu-pink/20 transition-all"><a data-encoded="aHR0cHM6Ly9jaGF0LnJvY2tlZHUuc2l0ZQ==" target="_blank" class="text-edu-pink-light hover:text-edu-text"></a></div> </div> </div> </div> </div> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"> <div class="max-w-7xl mx-auto px-4 text-center"> <p class="rot13 text-edu-text font-bold mb-4">RQHebpxf 3.0</p> <div class="flex flex-wrap justify-center gap-6"> <a href="page3.html" class="rot13 text-edu-pink-light hover:text-edu-text">Pbagnpg Vasb</a> <a href="page5.html" class="rot13 text-edu-pink-light hover:text-edu-text">Fhccbeg</a> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Hcgvzr</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Vafgntenz</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">GvxGbx</a> <a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text">Yvaxf</a> <a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text">Hcqngrf</a> </div> </div> </footer>
<script type="module" src="./assets/js/domain-utils.js"></script> <script type="module"> import { Auth } from './assets/js/auth.js'; import { initNavbarAuth } from './assets/js/navbar-auth.js'; import './assets/js/user-profile.js'; import './assets/js/game-tracker.js'; import { initNavigationHandlers } from './assets/js/navigation.js'; import { initChromeOSDetection } from './assets/js/chromeos-detect.js';
// Make Auth globally available window.Auth = Auth;
// Decode base64 links function decodeLinks() { const links = document.querySelectorAll('a[data-encoded]'); links.forEach(link => { const encoded = link.getAttribute('data-encoded'); const decoded = atob(encoded); link.href = decoded; link.textContent = decoded; }); }
// Toggle section visibility window.toggleSection = function(header) { const section = header.parentElement; const container = section.querySelector('.links-container'); const button = header.querySelector('.toggle-btn');
if (container.classList.contains('expanded')) { container.classList.remove('expanded'); container.style.maxHeight = '0'; button.textContent = 'Show Links'; } else { container.classList.add('expanded'); container.style.maxHeight = container.scrollHeight + 'px'; button.textContent = 'Hide Links'; } };
// Initialize on page load document.addEventListener('DOMContentLoaded', async () => { // Initialize navbar auth buttons await initNavbarAuth();
decodeLinks(); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Apps - EDUrocks 3.0</title> <link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <script src="./assets/js/aws-detection.js"></script> <script src="./assets/js/ip-restriction.js"></script> <style type="text/tailwindcss"> @theme { --color-edu-dark: #011627; --color-edu-dark-secondary: #3C1642; --color-edu-dark-accent: #58355E; --color-edu-text: #e8d5e0; --color-edu-text-secondary: #c4a5b8; --color-edu-pink: #F4154D; --color-edu-pink-light: #FA0F71; --color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive; --font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite; --animate-fade-in: fadeIn 0.5s ease-in-out; --animate-slide-down: slideDown 0.4s ease-out; --animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px) } 100% { opacity: 1; transform: translateY(0) } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px) } 100% { opacity: 1; transform: translateY(0) } } } </style> <style> @font-face { font-family: 'Verdana_ROT13'; src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'), url('assets/fonts/Verdana_ROT13.woff') format('woff'), url('assets/fonts/Verdana_ROT13.ttf') format('truetype'), url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg'); font-weight: normal; font-style: normal; } .rot13 { font-family: 'Verdana_ROT13', Verdana, sans-serif; } body { font-family: 'Inter', sans-serif; } .gradient-text { background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 6s ease infinite; } .card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .card-hover:hover { transform: translateY(-8px) scale(1.02); } /* Quote hyperlink styling */ #quote-text a { color: #FA0F71; text-decoration: underline; transition: color 0.3s ease; } #quote-text a:hover { color: #e8d5e0; } </style></head><body class="bg-edu-dark text-edu-text min-h-screen font-inter"> <nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4"> <a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a> <div class="flex flex-wrap gap-2"> <a href="index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Ubzr</a> <a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Tnzrf</a> <a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Zbivrf & GI</a> <a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Cebkl</a> <a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">NV Pung</a> <a href="page2.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Erdhrfg</a> <a href="page7.html" class="rot13 px-4 py-2 rounded-full bg-edu-pink text-edu-text text-sm font-medium transition-all hover:bg-edu-pink-light hover:scale-105">Nccf</a> </div> </div> </div> </nav>
<div class="max-w-7xl mx-auto px-4 py-12"> <h1 class="text-4xl md:text-5xl font-black text-center mb-4 bg-gradient-to-r from-edu-pink via-edu-pink-light to-edu-text bg-clip-text text-transparent">Apps</h1> <p class="text-center text-edu-text-secondary text-lg mb-12">Useful apps and tools for students and productivity.</p>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6"> <a href="filestorage/Apps/calculator/index.html" class="group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/calculator.png" alt="Calculator" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Calculator</p> </a>
<a href="filestorage/Apps/ExtPrint3r-main/index.html" class="group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/ExtPrint3r-main.png" alt="ExtPrint3r" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">ExtPrint3r</p> </a>
<a href="filestorage/Apps/fluidsim/index.html" class="group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/fluidsim.png" alt="Fluid Simulation" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Fluid Simulation</p> </a>
<a href="filestorage/Apps/SoundBoard/index.html" class="group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/SoundBoard.png" alt="SoundBoard" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">SoundBoard</p> </a>
<a href="filestorage/Apps/chat/index.html" class="group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="/filestorage/Apps/chat/EDUrockschat.png" alt="EDUrocks Chat" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">EDUrocks Chat</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9pbnN0YWdyYW0uY29t"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="/filestorage/photos/p-apps/insta-logo.png" alt="Instagram" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Instagram</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9yZWRkaXQuY29t"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="/filestorage/photos/p-apps/reddit-logo.webp" alt="Reddit" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Reddit</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly95b3V0dWJlLmNvbQ=="> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="/filestorage/photos/p-apps/youtube-logo.png" alt="YouTube" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">YouTube</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9waW50ZXJlc3QuY29t"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="/filestorage/photos/p-apps/pin-logo.png" alt="Pinterest" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Pinterest</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9zbmFwY2hhdC5jb20="> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="/filestorage/photos/p-apps/snapchat-logo.png" alt="Snapchat" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Snapchat</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9zcG90aWZ5LmNvbQ=="> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/p-apps/spotify-logo.png" alt="Spotify" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Spotify</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9tdXNpYy55b3V0dWJlLmNvbQ=="> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/p-apps/youtube-music-logo.png" alt="YouTube Music" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">YouTube Music</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9kaXNjb3JkLmNvbQ=="> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/p-apps/discord-logo.png" alt="Discord" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Discord</p> </a>
<a href="#" class="proxy-app group relative bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 transition-all hover:bg-edu-rose hover:border-edu-pink hover:-translate-y-2 hover:shadow-2xl block" data-url="aHR0cHM6Ly9iYXRvLnRv"> <div class="absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-edu-pink to-edu-pink-light opacity-0 group-hover:opacity-100 transition-opacity rounded-t-2xl"></div> <img src="filestorage/photos/p-apps/logo-batoto.png" alt="Bato" class="w-full h-28 object-contain rounded-lg mb-4 group-hover:scale-110 transition-transform"> <p class="text-center font-semibold text-edu-text-secondary group-hover:text-edu-text text-sm transition-colors">Bato</p> </a> </div> </div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16"> <div class="max-w-7xl mx-auto px-4 text-center"> <p class="rot13 text-edu-text font-bold mb-4">RQHebpxf 3.0</p> <div class="flex flex-wrap justify-center gap-6"> <a href="page3.html" class="rot13 text-edu-pink-light hover:text-edu-text">Pbagnpg Vasb</a> <a href="page5.html" class="rot13 text-edu-pink-light hover:text-edu-text">Fhccbeg</a> <a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a> <a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Hcgvzr</a> <a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Vafgntenz</a> <a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">GvxGbx</a> <a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text">Yvaxf</a> <a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text">Hcqngrf</a> </div> </div> </footer>
<script type="module" src="./assets/js/domain-utils.js"></script> <script type="module"> import { Auth } from './assets/js/auth.js'; import { initNavbarAuth } from './assets/js/navbar-auth.js'; import './assets/js/user-profile.js'; import './assets/js/game-tracker.js'; import { initNavigationHandlers } from './assets/js/navigation.js'; import { initChromeOSDetection } from './assets/js/chromeos-detect.js'; import { getProxyURL } from './assets/js/domain-utils.js'; import { openInBypass, isChromeOS } from './assets/js/chromeos-detect.js'; import { BypassSettings } from './assets/js/bypass-settings.js';
// Make Auth globally available window.Auth = Auth;
document.addEventListener('DOMContentLoaded', async () => { // Initialize navbar auth buttons await initNavbarAuth();
// P-r0xy app handlers - handle all proxy apps with data-url attribute const proxyApps = document.querySelectorAll('.proxy-app'); proxyApps.forEach(app => { app.addEventListener('click', (e) => { e.preventDefault();
// Get the base64 encoded URL from data attribute const encodedURL = app.getAttribute('data-url'); if (!encodedURL) return;
// Decode the base64 URL const targetURL = atob(encodedURL);
// Get the proxy URL (e.g., https://vedap.edurocks.org) const proxyBaseURL = getProxyURL();
// Get preferred title for ChromeOS bypass const preferredTitle = window.BypassSettings ? window.BypassSettings.getPreferredTitle() : 'Khan Academy - Dashboard';
// Construct full proxy URL with target, hide-nav, and title parameters const fullProxyURL = `${proxyBaseURL}?url=${encodeURIComponent(targetURL)}&hide-nav=true&bypass-title=${encodeURIComponent(preferredTitle)}`;
// Open in ChromeOS bypass if on ChromeOS, otherwise open normally if (isChromeOS()) { openInBypass(fullProxyURL); } else { window.open(fullProxyURL, '_blank'); } }); }); }); </script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Open Source Disclosures & Credit - EDUrocks 3.0</title>
<link rel="icon" href="filestorage/photos/favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<script src="./assets/js/aws-detection.js"></script>
<script src="./assets/js/ip-restriction.js"></script>
<style type="text/tailwindcss">
@theme {
--color-edu-dark: #011627;
--color-edu-dark-secondary: #3C1642;
--color-edu-dark-accent: #58355E;
--color-edu-text: #e8d5e0;
--color-edu-text-secondary: #c4a5b8;
--color-edu-pink: #F4154D;
--color-edu-pink-light: #FA0F71;
--color-edu-rose: #FF1F84;
--font-pacifico: 'Pacifico', cursive;
--font-inter: 'Inter', sans-serif;
--animate-gradient: gradient 6s ease infinite;
--animate-fade-in: fadeIn 0.5s ease-in-out;
--animate-slide-down: slideDown 0.4s ease-out;
--animate-slide-up: slideUp 0.3s ease-out;
@keyframes gradient {
0%, 100% { background-position: 0% 50% }
50% { background-position: 100% 50% }
}
@keyframes fadeIn {
0% { opacity: 0; transform: translateY(10px) }
100% { opacity: 1; transform: translateY(0) }
}
@keyframes slideDown {
0% { opacity: 0; transform: translateY(-20px) }
100% { opacity: 1; transform: translateY(0) }
}
@keyframes slideUp {
0% { opacity: 0; transform: translateY(20px) }
100% { opacity: 1; transform: translateY(0) }
}
}
</style>
<style>
@font-face {
font-family: 'Verdana_ROT13';
src: url('assets/fonts/Verdana_ROT13.eot?#iefix') format('embedded-opentype'),
url('assets/fonts/Verdana_ROT13.woff') format('woff'),
url('assets/fonts/Verdana_ROT13.ttf') format('truetype'),
url('assets/fonts/Verdana_ROT13.svg#Verdana_ROT13') format('svg');
font-weight: normal;
font-style: normal;
}
.rot13 {
font-family: 'Verdana_ROT13', Verdana, sans-serif;
}
body {
font-family: 'Inter', sans-serif;
}
.gradient-text {
background: linear-gradient(45deg, #F4154D, #FA0F71, #e8d5e0, #FA0F71, #F4154D);
background-size: 200% 200%;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation: gradient 6s ease infinite;
}
.card-hover {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
transform: translateY(-8px) scale(1.02);
}
/* Quote hyperlink styling */
#quote-text a {
color: #FA0F71;
text-decoration: underline;
transition: color 0.3s ease;
}
#quote-text a:hover {
color: #e8d5e0;
}
</style>
</head>
<body class="bg-edu-dark text-edu-text min-h-screen font-inter">
<nav class="bg-edu-dark-accent border-b-2 border-edu-pink/20 sticky top-0 z-40 backdrop-blur-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row items-center justify-between py-4 gap-4">
<a href="index.html" class="font-pacifico text-2xl md:text-3xl gradient-text">EDUrocks 3.0</a>
<div class="flex flex-wrap gap-2">
<a href="index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Ubzr</a>
<a href="page1.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Tnzrf</a>
<a href="edum/index.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Zbivrf & GI</a>
<a href="#" id="pr0xy-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Cebkl</a>
<a href="#" id="ai-chat-link" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">NV Pung</a>
<a href="page2.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Erdhrfg</a>
<a href="page7.html" class="rot13 px-4 py-2 rounded-full text-edu-text-secondary text-sm font-medium transition-all hover:bg-edu-pink hover:text-edu-text hover:scale-105">Nccf</a>
</div>
</div>
</div>
</nav>
<div class="max-w-5xl mx-auto px-4 py-12">
<h1 class="text-4xl md:text-5xl font-black text-center mb-12 bg-gradient-to-r from-edu-pink via-edu-pink-light to-edu-text bg-clip-text text-transparent">Open Source Disclosures & Credit</h1>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all group">
<h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-3 group-hover:text-edu-text transition-colors">RQHebpxf Tvguho</h2>
<p class="text-edu-text-secondary text-lg"><a href="https://github.com/EDUrocks-Group" target="_blank" class="text-edu-pink-light hover:text-edu-text underline">https://github.com/EDUrocks-Group</a></p>
</div>
<div class="bg-edu-dark-accent border border-edu-pink/20 rounded-2xl p-6 mb-6 hover:border-edu-pink hover:bg-edu-rose transition-all group">
<h2 class="rot13 text-2xl font-bold text-edu-pink-light mb-3 group-hover:text-edu-text transition-colors">Perqvg gb Envar Sbe Gur Znfpbg!!!</h2>
<p class="text-edu-text-secondary text-lg"><a href="https://www.tumblr.com/ruinsmetalbigtoe" target="_blank" class="text-edu-pink-light hover:text-edu-text underline">https://www.tumblr.com/ruinsmetalbigtoe</a></p>
</div>
</div>
<footer class="bg-edu-dark-accent border-t-2 border-edu-pink/20 py-12 mt-16">
<div class="max-w-7xl mx-auto px-4 text-center">
<p class="rot13 text-edu-text font-bold mb-4">RQHebpxf 3.0</p>
<div class="flex flex-wrap justify-center gap-6">
<a href="page3.html" class="rot13 text-edu-pink hover:text-edu-text">Pbagnpg Vasb</a>
<a href="page5.html" class="rot13 text-edu-pink-light hover:text-edu-text">Fhccbeg</a>
<a href="page9.html" class="rot13 text-edu-pink-light hover:text-edu-text">Bcra Fbhepr</a>
<a href="https://stats.uptimerobot.com/z62RCQTD5Q" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Hcgvzr</a>
<a href="https://www.instagram.com/inowana25/" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">Vafgntenz</a>
<a href="https://www.tiktok.com/@officialedurocks" target="_blank" class="rot13 text-edu-pink-light hover:text-edu-text">GvxGbx</a>
<a href="page6.html" class="rot13 text-edu-pink-light hover:text-edu-text">Yvaxf</a>
<a href="page4.html" class="rot13 text-edu-pink-light hover:text-edu-text">Hcqngrf</a>
</div>
</div>
</footer>
<script type="module" src="./assets/js/domain-utils.js"></script>
<script type="module">
import { initNavigationHandlers } from './assets/js/navigation.js';
import { initChromeOSDetection } from './assets/js/chromeos-detect.js';
import { Auth } from './assets/js/auth.js';
import { initNavbarAuth } from './assets/js/navbar-auth.js';
import './assets/js/user-profile.js';
window.Auth = Auth;
document.addEventListener('DOMContentLoaded', async () => {
await initNavbarAuth();
});
</script>
</body>
</html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127! function(e) { var n = {};
function t(o) { if (n[o]) return n[o].exports; var r = n[o] = { i: o, l: !1, exports: {} }; return e[o].call(r.exports, r, r.exports, t), r.l = !0, r.exports } t.m = e, t.c = n, t.d = function(e, n, o) { t.o(e, n) || Object.defineProperty(e, n, { enumerable: !0, get: o }) }, t.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, t.t = function(e, n) { if (1 & n && (e = t(e)), 8 & n) return e; if (4 & n && "object" == typeof e && e && e.__esModule) return e; var o = Object.create(null); if (t.r(o), Object.defineProperty(o, "default", { enumerable: !0, value: e }), 2 & n && "string" != typeof e) for (var r in e) t.d(o, r, function(n) { return e[n] }.bind(null, r)); return o }, t.n = function(e) { var n = e && e.__esModule ? function() { return e.default } : function() { return e }; return t.d(n, "a", n), n }, t.o = function(e, n) { return Object.prototype.hasOwnProperty.call(e, n) }, t.p = "", t(t.s = 68)}({ 68: function(e, n, t) { var o = new(function() { function e() { var e = this; this.queue = [], this.init = function(n) { return void 0 === n && (n = {}), new Promise((function(t, o) { e.enqueue("init", n, t, o) })) }, this.rewardedBreak = function() { return new Promise((function(e) { e(!1) })) }, this.noArguments = function(n) { return function() { e.enqueue(n) } }, this.oneArgument = function(n) { return function(t) { e.enqueue(n, t) } }, this.handleAutoResolvePromise = function() { return new Promise((function(e) { e() })) }, this.handleAutoResolvePromiseObj = function() { return new Promise((function(e) { e() })) }, this.throwNotLoaded = function() { console.debug("PokiSDK is not loaded yet. Not all methods are available.") } } return e.prototype.enqueue = function(e, n, t, o) { var r = { fn: e, options: n, resolveFn: t, rejectFn: o }; this.queue.push(r) }, e.prototype.dequeue = function() { for (var e = function() { var e = n.queue.shift(), t = e, o = t.fn, r = t.options; "function" == typeof window.PokiSDK[o] ? (null == e ? void 0 : e.resolveFn) || (null == e ? void 0 : e.rejectFn) ? window.PokiSDK[o](r).then((function() { for (var n = [], t = 0; t < arguments.length; t++) n[t] = arguments[t]; "function" == typeof e.resolveFn && e.resolveFn.apply(e, n) })).catch((function() { for (var n = [], t = 0; t < arguments.length; t++) n[t] = arguments[t]; "function" == typeof e.rejectFn && e.rejectFn.apply(e, n) })) : void 0 !== (null == e ? void 0 : e.fn) && window.PokiSDK[o](r) : console.error("Cannot execute " + e.fn) }, n = this; this.queue.length > 0;) e() }, e }()); window.PokiSDK = { init: o.init, initWithVideoHB: o.init, customEvent: o.throwNotLoaded, commercialBreak: o.handleAutoResolvePromise, rewardedBreak: o.rewardedBreak, displayAd: o.throwNotLoaded, destroyAd: o.throwNotLoaded, getLeaderboard: o.handleAutoResolvePromiseObj }, ["disableProgrammatic", "gameLoadingStart", "gameLoadingFinished", "gameInteractive", "roundStart", "roundEnd", "muteAd"].forEach((function(e) { window.PokiSDK[e] = o.noArguments(e) })), ["setDebug", "gameplayStart", "gameplayStop", "gameLoadingProgress", "happyTime", "setPlayerAge", "togglePlayerAdvertisingConsent", "toggleNonPersonalized", "setConsentString", "logError", "sendHighscore", "setDebugTouchOverlayController"].forEach((function(e) { window.PokiSDK[e] = o.oneArgument(e) })); var r = function() { var e, n = window.pokiSDKVersion; n || (n = (e = RegExp("[?&]" + "ab" + "=([^&]*)").exec(window.location.search)) && decodeURIComponent(e[1].replace(/\+/g, " ")) || "v2"); return "poki-sdk-core.js" }(), i = document.createElement("script"); i.setAttribute("src", r), i.setAttribute("type", "text/javascript"), i.onload = function() { return o.dequeue() }, document.head.appendChild(i) }});123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960User-agent: *Disallow: /
# Block all major search engine botsUser-agent: GooglebotDisallow: /
User-agent: BingbotDisallow: /
User-agent: SlurpDisallow: /
User-agent: DuckDuckBotDisallow: /
User-agent: BaiduspiderDisallow: /
User-agent: YandexBotDisallow: /
User-agent: facebookexternalhitDisallow: /
User-agent: TwitterbotDisallow: /
User-agent: LinkedInBotDisallow: /
User-agent: ia_archiverDisallow: /
User-agent: archive.org_botDisallow: /
User-agent: WaybackDisallow: /
User-agent: CCBotDisallow: /
User-agent: GPTBotDisallow: /
User-agent: ChatGPT-UserDisallow: /
User-agent: CCBotDisallow: /
User-agent: anthropic-aiDisallow: /
User-agent: Claude-WebDisallow: /
# Crawl-delay for any bot that ignores disallowCrawl-delay: 86400123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>EDU ROCKS for Schools</title> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet"> <style> * { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, sans-serif; background: #1e0f1f; color: #f8fafc; line-height: 1.6; }
header { display: flex; justify-content: space-between; align-items: center; padding: 24px 64px; }
header img { height: 44px; }
nav a { margin-left: 28px; text-decoration: none; color: #f8fafc; font-weight: 500; opacity: 0.9; }
nav a:hover { opacity: 1; }
.hero { padding: 96px 64px; max-width: 1100px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 56px; margin-bottom: 24px; }
.hero p { font-size: 18px; color: #e5e7eb; max-width: 720px; margin: 0 auto 40px; }
.hero a { background: linear-gradient(135deg, #ff5fa2, #d94f8c); padding: 16px 36px; border-radius: 16px; color: white; font-weight: 700; text-decoration: none; display: inline-block; }
.stats { background: #2a142c; padding: 72px 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat h2 { font-size: 44px; color: #ff6fb2; margin-bottom: 8px; }
.stat p { color: #e5e7eb; }
.content { padding: 96px 64px; max-width: 1200px; margin: 0 auto; }
.content h2 { font-size: 42px; margin-bottom: 48px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.card { background: #2a142c; padding: 36px; border-radius: 20px; }
.card h3 { font-size: 20px; margin-bottom: 12px; color: #ff6fb2; }
.card p { color: #e5e7eb; }
.admin-section { background: #120812; padding: 96px 64px; }
.admin-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.admin-inner h2 { font-size: 42px; margin-bottom: 24px; }
.admin-inner p { color: #e5e7eb; font-size: 18px; margin-bottom: 24px; }
.admin-inner ul { list-style: none; }
.admin-inner li { margin-bottom: 12px; color: #e5e7eb; }
.cta { background: linear-gradient(135deg, #ff5fa2, #d94f8c); padding: 96px 64px; text-align: center; }
.cta h2 { font-size: 46px; margin-bottom: 24px; }
.cta p { font-size: 18px; margin-bottom: 36px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta a { background: #1e0f1f; color: white; padding: 16px 36px; border-radius: 16px; font-weight: 700; text-decoration: none; }
footer { padding: 32px 64px; display: flex; justify-content: space-between; color: #cbd5f5; font-size: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr; }
.grid { grid-template-columns: 1fr; }
.admin-inner { grid-template-columns: 1fr; } } </style></head><body>
<header> <img src="EDUrockslogosquare.png" alt="EDU ROCKS Logo"> <nav> <a href="landing.html">Home</a> <a href="schools.html">Schools</a> <a href="index.html">Students</a> <a href="index.html">Login</a> </nav></header>
<section class="hero"> <h1>EDU ROCKS for Schools</h1> <p> A math platform designed to improve outcomes, save teacher time, and give administrators clear insight into student progress. </p> <a href="#">Request a Demo</a></section>
<section class="stats"> <div class="stat"> <h2>50%</h2> <p>Average math grade improvement</p> </div> <div class="stat"> <h2>Less Prep</h2> <p>Reduced teacher workload</p> </div> <div class="stat"> <h2>Clear Data</h2> <p>Actionable student insights</p> </div></section>
<section class="content"> <h2>Built with schools in mind</h2> <div class="grid"> <div class="card"> <h3>Standards aligned</h3> <p> Content aligned to curriculum standards to support district goals and assessments. </p> </div> <div class="card"> <h3>Teacher friendly tools</h3> <p> Assign work, track progress, and intervene early with minimal setup. </p> </div> <div class="card"> <h3>Student focused design</h3> <p> Clear feedback helps students learn from mistakes and build confidence. </p> </div> </div></section>
<section class="admin-section"> <div class="admin-inner"> <div> <h2>Powerful insights for administrators</h2> <p> EDU ROCKS gives schools a clear view into performance trends without overwhelming dashboards. </p> <ul> <li>Grade level and class level reporting</li> <li>Early identification of learning gaps</li> <li>Exportable data for reviews and meetings</li> </ul> </div> <div> <img src="assets/dashboard-placeholder.png" alt="Admin dashboard preview" style="width:100%; border-radius:24px;"> </div> </div></section>
<section class="cta"> <h2>Bring EDU ROCKS to your school</h2> <p> Join schools using EDU ROCKS to improve math understanding and academic confidence. </p> <a href="#">Contact Sales</a></section>
<footer> <span>© 2025 EDU ROCKS</span> <span>Privacy · Terms</span></footer>
</body></html>about/index.htmlAdded+387
aichat/aichat.htmlAdded+995
aichat/index.htmlAdded+349
aichat/robots.txtAdded+60
assets/js/auth.jsAdded+506
assets/js/bypass-settings.jsAdded+236
assets/js/favorites.jsAdded+229
assets/js/game-click-handler.jsAdded+15
assets/js/game-tracker.jsAdded+138
assets/js/live-update.jsAdded+60
assets/js/navigation.jsAdded+95
assets/js/notifications.jsAdded+240
assets/js/quotes.jsAdded+135
assets/js/recent-games.jsAdded+122
assets/js/security.jsAdded+143
assets/js/theme-manager.jsAdded+208
assets/js/user-profile.jsAdded+388
assets/js/version.jsAdded+16
downtime/index.htmlAdded+328
edum/index.htmlAdded+176
edum/script.jsAdded+719
edum/styles.cssAdded+1142
error-404.htmlAdded+242
game-wrapper.htmlAdded+198
gaming-dashboard.htmlAdded+659
index.htmlAdded+415
index.listAdded+1
landing.htmlAdded+281
landing1.html.backupAdded+279
login.htmlAdded+374
musicapi/generate_tracks.pyAdded+158
musicapi/tracks.jsonAdded
package.jsonAdded+11
page1.htmlAdded
page1.html.backup_20251229_190717Added
page1.html.backup_20251229_191015Added
page1.html.backup_20251229_192317Added
page1.html.backup_20251230_141308Added
page1.html.backup_20251230_190149Added
page1.html.backup_20260102_125506Added
page2.htmlAdded+165
page3.htmlAdded+219
page4.htmlAdded+266
page5.htmlAdded+199
page6.htmlAdded+293
page7.htmlAdded+287
page9.htmlAdded+157
poki-sdk.jsAdded+127
robots.txtAdded+60
schools.htmlAdded+304