Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
99 lines (94 loc) · 5.01 KB
/
Copy pathindex.html
File metadata and controls
99 lines (94 loc) · 5.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!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>IsotopeAI | AI Study Planner, Focus Timer & Analytics for Students</title>
<meta name="description" content="AI-powered study planner, focus timer, progress tracking, and analytics for students preparing for JEE, NEET, CUET, boards, and more." />
<meta name="theme-color" content="#f97316" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="IsotopeAI" />
<meta name="mobile-web-app-capable" content="yes" />
<!--SEO_HEAD-->
<!--PRECONNECT_HINT-->
<link rel="icon" type="image/svg+xml" href="/icons/icon.svg" />
<link href="/fonts/fonts.css" rel="stylesheet" />
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest">
<link rel="stylesheet" crossorigin href="/assets/index-LkPKl--4.css">
<link rel="preload" href="/assets/vendor-katex-ASjZcBK0.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="/assets/vendor-katex-ASjZcBK0.css"></noscript>
<!-- Runtime auth bridge: must load synchronously before React/Auth interaction -->
<script>
/* Offline safety: 1) cap cross-origin fetches at 20s, 2) circuit-break
Supabase calls when offline — return instantly instead of hammering
the network and flooding console with ERR_INTERNET_DISCONNECTED. */
(function () {
try {
if (window.__isoFetchGuardInstalled) return;
window.__isoFetchGuardInstalled = true;
var origFetch = window.fetch.bind(window);
var lastOfflineLog = 0;
window.fetch = function (input, init) {
try {
var url = typeof input === 'string' ? input : (input && input.url) || '';
var u = new URL(url, location.href);
var isSupa = u.hostname.indexOf('supabase.co') !== -1;
if (!navigator.onLine && isSupa) {
if (Date.now() - lastOfflineLog > 5000) {
lastOfflineLog = Date.now();
console.info('[offline] Supabase fetch suppressed (offline):', u.pathname);
}
return Promise.reject(new TypeError('Failed to fetch (offline)'));
}
var hasSignal = (init && init.signal) || (input && input.signal);
if (u.origin !== location.origin && u.protocol === 'https:' && !hasSignal) {
var ctrl = new AbortController();
var tid = setTimeout(function () { ctrl.abort(); }, 20000);
init = Object.assign({}, init, { signal: ctrl.signal });
return origFetch(input, init).finally(function () { clearTimeout(tid); });
}
} catch (_) {}
return origFetch(input, init);
};
} catch (_) {}
})();
</script>
<script src="/auth-bridge.js?v=5"></script>
<style id="isotope-runtime-ui-fixes">
[data-radix-popper-content-wrapper],
[data-radix-tooltip-content],
[role="tooltip"] {
z-index: 2147482000 !important;
max-width: min(320px, calc(100vw - 24px)) !important;
}
[data-radix-tooltip-content],
[role="tooltip"] {
white-space: normal !important;
overflow-wrap: anywhere !important;
}
</style>
<link rel="modulepreload" crossorigin href="/assets/vendor-react-BWKHxYQy.js">
<!-- Boot recovery: handles stale asset cache errors on reload -->
<script src="/boot-recovery.js" defer></script>
<!-- UX setup: skips redundant onboarding steps after login -->
<script src="/ux-setup.js" defer></script>
<!-- Sync safety: normalizes backup formats and restores local stores deterministically -->
<script type="module" src="/sync/backup-normalizer.js"></script>
<script type="module" src="/sync/local-data-adapter.js"></script>
<!-- Restore & launch: clears stale data, routes to /onboarding or /dashboard -->
<script type="module" src="/restore-and-launch.js"></script>
</head>
<body>
<div id="root"></div>
<!-- Main app entry bundle (mounts React to #root) -->
<script type="module" src="/assets/index-D1Y5F8Lk.js"></script>
<!-- Focus background import: gallery image + video picker in Focus tab -->
<script src="/focus-bg-import.js" defer></script>
<!-- Update checker: polls GitHub when online, shows banner if new commit available -->
<script src="/update-checker.js" defer></script>
<!-- Local PWA support: registers service worker and shows honest offline/server status -->
<script src="/pwa-local.js" defer></script>
</body>
</html>