Luca Celebrano
chore: align Independent Researcher affiliation, RUO framing, and preprint v2 DOI
a26e4a0 Download index.html from spatial-continuum-lab/spatial-oncology-simulator: direct link, hf CLI and curl.
- Browser
- Download file 246 kB
-
https://huggingface.co/spaces/spatial-continuum-lab/spatial-oncology-simulator/resolve/main/index.html
- Command line
-
hf download hf://spaces/spatial-continuum-lab/spatial-oncology-simulator/index.html
-
curl -L -o index.html https://huggingface.co/spaces/spatial-continuum-lab/spatial-oncology-simulator/resolve/main/index.html
246 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bedside CRI Decision Engine — Spatial Oncology Continuum</title>
<meta name="description" content="Interactive Bedside Composite Resistance Index (CRI) and Biophysical Reaction-Diffusion Sanctuary Simulator for EGFR-Mutant Lung Adenocarcinoma.">
<meta name="author" content="Luca Celebrano">
<!-- Open Graph -->
<meta property="og:title" content="Bedside CRI Decision Engine — Spatial Oncology Continuum">
<meta property="og:description" content="Predicting pharmacological sanctuaries, the post-ADAURA cessation dilemma, and SG-ADAURA trial allocation.">
<meta property="og:type" content="website">
<style>
:root {
--bg: #090d16;
--card-bg: rgba(17, 24, 39, 0.85);
--card-border: rgba(55, 65, 81, 0.6);
--accent-cyan: #06b6d4;
--accent-teal: #10b981;
--accent-amber: #f59e0b;
--accent-red: #ef4444;
--accent-purple: #8b5cf6;
--text-main: #f3f4f6;
--text-muted: #9ca3af;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg);
color: var(--text-main);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.5;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.container {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 1.5rem 1rem;
}
header {
border-bottom: 1px solid var(--card-border);
background: linear-gradient(180deg, rgba(13, 21, 38, 0.9) 0%, rgba(9, 13, 22, 0.95) 100%);
backdrop-filter: blur(12px);
position: sticky;
top: 0;
z-index: 50;
}
.badge-bar {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.75rem;
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.2rem 0.6rem;
font-size: 0.75rem;
font-weight: 600;
border-radius: 9999px;
text-decoration: none;
transition: all 0.2s ease;
}
.badge-teal { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.4); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.4); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.badge:hover { transform: translateY(-1px); filter: brightness(1.2); }
.grid-layout {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
margin-top: 1.5rem;
}
@media (min-width: 1024px) {
.grid-layout {
grid-template-columns: 420px 1fr;
}
}
.card {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 1rem;
padding: 1.5rem;
backdrop-filter: blur(8px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
.card-title {
font-size: 1.15rem;
font-weight: 700;
color: #fff;
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1.25rem;
border-bottom: 1px solid rgba(75, 85, 99, 0.4);
padding-bottom: 0.6rem;
}
.form-group {
margin-bottom: 1.25rem;
}
.form-label {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-muted);
margin-bottom: 0.4rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
select, input[type="range"] {
width: 100%;
}
select {
background-color: #1f2937;
border: 1px solid #374151;
color: #fff;
padding: 0.65rem 0.85rem;
border-radius: 0.5rem;
font-size: 0.9rem;
outline: none;
transition: border-color 0.2s;
}
select:focus {
border-color: var(--accent-cyan);
}
.range-wrap {
display: flex;
align-items: center;
gap: 1rem;
}
.range-val {
font-family: monospace;
font-size: 0.9rem;
font-weight: bold;
color: var(--accent-cyan);
min-width: 60px;
text-align: right;
}
/* Preset Buttons */
.presets {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-bottom: 1.25rem;
}
.preset-btn {
background: #1f2937;
color: var(--text-muted);
border: 1px solid #374151;
padding: 0.35rem 0.65rem;
border-radius: 0.4rem;
font-size: 0.75rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.preset-btn:hover {
color: #fff;
background: #374151;
border-color: var(--accent-cyan);
}
/* Gauge and CRI result box */
.result-hero {
text-align: center;
padding: 1.5rem;
border-radius: 0.75rem;
margin-bottom: 1.5rem;
border: 2px solid transparent;
transition: all 0.3s ease;
}
.tier-3 {
background: rgba(239, 68, 68, 0.12);
border-color: rgba(239, 68, 68, 0.6);
}
.tier-2 {
background: rgba(245, 158, 11, 0.12);
border-color: rgba(245, 158, 11, 0.6);
}
.tier-1 {
background: rgba(16, 185, 129, 0.12);
border-color: rgba(16, 185, 129, 0.6);
}
.cri-score {
font-size: 3.5rem;
font-weight: 800;
line-height: 1;
font-family: monospace;
margin: 0.25rem 0;
}
.cri-tier {
font-size: 1.2rem;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.action-box {
background: #111827;
border: 1px solid #374151;
border-radius: 0.75rem;
padding: 1.25rem;
margin-top: 1rem;
}
.action-header {
font-weight: bold;
font-size: 0.95rem;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
gap: 0.4rem;
}
/* Dual Synchronized Canvas Grid */
.dual-canvas-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1.25rem;
}
@media (max-width: 960px) {
.dual-canvas-grid {
grid-template-columns: 1fr;
}
}
.canvas-card {
background: #0f172a;
border: 1px solid #334155;
border-radius: 0.75rem;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}
.canvas-card-header {
padding: 0.55rem 0.85rem;
background: #1e293b;
border-bottom: 1px solid #334155;
font-size: 0.82rem;
font-weight: 700;
color: #e2e8f0;
display: flex;
justify-content: space-between;
align-items: center;
}
.canvas-card-body {
position: relative;
width: 100%;
height: 290px;
background: #0f172a;
}
.canvas-card-footer {
padding: 0.45rem 0.75rem;
background: rgba(15, 23, 42, 0.95);
border-top: 1px solid #1e293b;
font-size: 0.72rem;
color: #94a3b8;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.35rem;
}
canvas {
width: 100%;
height: 100%;
display: block;
}
/* Metrics Table */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 0.75rem;
margin-bottom: 1.5rem;
}
.stat-card {
background: #1e293b;
border: 1px solid #334155;
border-radius: 0.5rem;
padding: 0.75rem;
text-align: center;
}
.stat-label {
font-size: 0.75rem;
color: var(--text-muted);
text-transform: uppercase;
}
.stat-value {
font-size: 1.2rem;
font-weight: bold;
color: #fff;
font-family: monospace;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.65rem 1.25rem;
font-size: 0.9rem;
font-weight: 600;
border-radius: 0.5rem;
cursor: pointer;
border: none;
transition: all 0.2s;
text-decoration: none;
}
.btn-primary {
background: #0891b2;
color: #fff;
}
.btn-primary:hover {
background: #06b6d4;
}
.btn-outline {
background: transparent;
color: #cbd5e1;
border: 1px solid #475569;
}
.btn-outline:hover {
background: #334155;
color: #fff;
}
.btn-teal {
background: #0d9488;
color: #fff;
}
.btn-teal:hover {
background: #14b8a6;
}
/* Canvas Switcher Tabs */
.canvas-tabs {
display: flex;
gap: 0.5rem;
margin-bottom: 0.75rem;
}
.tab-btn {
flex: 1;
padding: 0.55rem 0.75rem;
font-size: 0.82rem;
font-weight: 600;
color: #94a3b8;
background: #1e293b;
border: 1px solid #334155;
border-radius: 0.4rem;
cursor: pointer;
transition: all 0.2s;
}
.tab-btn:hover {
color: #f1f5f9;
background: #334155;
}
.tab-btn.active {
color: #06b6d4;
background: rgba(6, 182, 212, 0.12);
border-color: #06b6d4;
}
/* Drag & Drop Patient Data Zone */
.drop-zone {
border: 2px dashed #475569;
border-radius: 0.6rem;
padding: 0.85rem;
text-align: center;
background: rgba(15, 23, 42, 0.6);
cursor: pointer;
transition: all 0.2s;
}
.drop-zone:hover, .drop-zone.dragover {
border-color: var(--accent-cyan);
background: rgba(6, 182, 212, 0.08);
}
/* Print Styles for Clinical PDF Report */
@media print {
body {
background: #ffffff !important;
color: #0f172a !important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
}
.no-print, header, footer, .presets, .range-wrap, select, .drop-zone, .canvas-tabs, .btn, .badge-bar, .action-box button {
display: none !important;
}
.container {
max-width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}
.card {
background: #ffffff !important;
border: 1px solid #cbd5e1 !important;
box-shadow: none !important;
color: #0f172a !important;
page-break-inside: avoid;
margin-bottom: 1rem !important;
}
.card-title, h1, h2, h3 {
color: #0f172a !important;
}
.result-hero {
background: #f8fafc !important;
border: 2px solid #0f172a !important;
color: #0f172a !important;
}
.cri-score {
color: #0f172a !important;
}
.cri-tier {
color: #475569 !important;
}
.stat-card {
background: #f8fafc !important;
border: 1px solid #cbd5e1 !important;
}
.stat-value {
color: #0f172a !important;
}
.action-box {
background: #f8fafc !important;
border: 1px solid #cbd5e1 !important;
}
.action-header, #trial-arm, #action-body {
color: #0f172a !important;
}
.dual-canvas-grid {
grid-template-columns: 1fr 1fr !important;
gap: 0.5rem !important;
}
.canvas-card {
border: 1px solid #cbd5e1 !important;
background: #ffffff !important;
box-shadow: none !important;
}
.canvas-card-header {
background: #f1f5f9 !important;
color: #0f172a !important;
border-bottom: 1px solid #cbd5e1 !important;
}
.canvas-card-body {
background: #ffffff !important;
height: 230px !important;
}
.canvas-card-footer {
background: #f8fafc !important;
color: #475569 !important;
border-top: 1px solid #cbd5e1 !important;
}
.print-report-header {
display: block !important;
border-bottom: 2px solid #0f172a;
padding-bottom: 1rem;
margin-bottom: 1.5rem;
}
}
.print-report-header {
display: none;
}
footer {
margin-top: auto;
border-top: 1px solid var(--card-border);
padding: 2rem 0;
text-align: center;
font-size: 0.85rem;
color: var(--text-muted);
}
/* PRIMARY MULTI-MODULE SCIENTIFIC PORTAL NAVIGATION */
.module-nav {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0.65rem;
margin-top: 1.25rem;
margin-bottom: 1.5rem;
}
@media (max-width: 1200px) {
.module-nav {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 768px) {
.module-nav {
grid-template-columns: 1fr;
}
}
@media (max-width: 1024px) {
.module-nav {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 640px) {
.module-nav {
grid-template-columns: 1fr;
}
}
.mod-nav-btn {
background: #111827;
border: 1px solid #374151;
border-radius: 0.75rem;
padding: 0.85rem 1rem;
color: #94a3b8;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.75rem;
text-align: left;
transition: all 0.2s ease;
}
.mod-nav-btn:hover {
background: #1e293b;
border-color: #64748b;
color: #f1f5f9;
transform: translateY(-2px);
}
.mod-nav-btn.active {
background: linear-gradient(135deg, rgba(8, 145, 178, 0.25), rgba(15, 23, 42, 0.95));
border-color: var(--accent-cyan);
color: #ffffff;
box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}
.mod-icon {
font-size: 1.6rem;
line-height: 1;
}
.mod-text strong {
display: block;
font-size: 0.88rem;
color: inherit;
}
.mod-text small {
display: block;
font-size: 0.72rem;
color: #94a3b8;
margin-top: 0.15rem;
}
.mod-nav-btn.active .mod-text small {
color: #67e8f9;
}
/* Visium Module Styling */
.vis-filter-btn {
background: #111827;
border: 1px solid #374151;
border-radius: 6px;
color: #94a3b8;
font-size: 0.75rem;
font-weight: 600;
padding: 0.35rem 0.65rem;
cursor: pointer;
transition: all 0.2s ease;
}
.vis-filter-btn:hover {
background: #1f2937;
color: #f1f5f9;
border-color: #4b5563;
}
.vis-filter-btn.active {
background: rgba(6, 182, 212, 0.2);
border-color: #06b6d4;
color: #38bdf8;
box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}
.vis-patient-row {
border-bottom: 1px solid rgba(55, 65, 81, 0.4);
transition: background 0.15s ease;
}
.vis-patient-row:hover {
background: rgba(30, 41, 59, 0.5);
}
/* Portal Module Containers */
.portal-module {
animation: fadeIn 0.25s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
/* Hub Resource Cards */
.hub-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.25rem;
margin-top: 1rem;
}
.hub-card {
background: #111827;
border: 1px solid #374151;
border-radius: 0.75rem;
padding: 1.25rem;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: all 0.2s ease;
}
.hub-card:hover {
border-color: var(--accent-cyan);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.code-block {
background: #030712;
border: 1px solid #1f2937;
border-radius: 0.5rem;
padding: 0.6rem 0.8rem;
font-family: monospace;
font-size: 0.8rem;
color: #38bdf8;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 0.5rem;
overflow-x: auto;
}
.copy-mini-btn {
background: #1f2937;
border: 1px solid #374151;
color: #e2e8f0;
border-radius: 4px;
padding: 0.2rem 0.5rem;
font-size: 0.72rem;
cursor: pointer;
transition: all 0.2s;
}
.copy-mini-btn:hover {
background: #374151;
color: #fff;
}
/* Game Matrix Table */
.payoff-table {
width: 100%;
border-collapse: collapse;
margin-top: 0.75rem;
margin-bottom: 0.75rem;
font-size: 0.85rem;
}
.payoff-table th, .payoff-table td {
border: 1px solid #374151;
padding: 0.5rem;
text-align: center;
}
.payoff-table th {
background: #1f2937;
color: #e2e8f0;
}
.payoff-input {
width: 65px;
background: #0f172a;
border: 1px solid #475569;
color: #38bdf8;
border-radius: 4px;
padding: 0.25rem;
text-align: center;
font-weight: bold;
}
</style>
</head>
<body>
<!-- HEADER -->
<header>
<div class="container" style="padding-top: 1rem; padding-bottom: 1rem;">
<div style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;">
<div>
<div style="font-size: 0.8rem; font-weight: 700; color: var(--accent-cyan); letter-spacing: 0.1em; text-transform: uppercase;">
TRANSLATIONAL ONCOLOGY & BIOPHYSICAL COMPUTATION
</div>
<h1 style="font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.2;">
The Spatial-Genomic Oncology Continuum
</h1>
<p style="font-size: 0.9rem; color: var(--text-muted); margin-top: 0.2rem;">
Exploratory Composite Resistance Index (CRI, RUO) · Bessel K₀ Sanctuary Engine · In Silico Simulation Suite
</p>
</div>
<div style="display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem;">
<div style="font-size: 0.85rem; text-align: right; font-weight: 600; color: #e2e8f0;">
Luca Celebrano
</div>
<div style="font-size: 0.78rem; text-align: right; color: var(--text-muted);">
Independent Researcher · MD Candidate · Naples, Italy
</div>
<a href="https://github.com/Lukecele/inflammatory-onco-physics" target="_blank" style="display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 700; color: #fbbf24; background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.4); padding: 0.2rem 0.65rem; border-radius: 9999px; text-decoration: none; margin-top: 0.2rem; transition: all 0.2s ease;">
<span>⭐ Star on GitHub</span>
</a>
</div>
</div>
<div class="badge-bar">
<a href="simulator.html" class="badge" style="background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #fff; border: 1px solid #38bdf8; box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);" title="Open 60 FPS Interactive In Silico Tumor Sanctuary Digital Twin">
<span>🚀 Live 60 FPS Digital Twin Simulator</span>
</a>
<a href="https://doi.org/10.21203/rs.3.rs-11695210/v2" target="_blank" class="badge badge-teal" title="Research Square Preprint v2 DOI">
<span>📄 Preprint v2 DOI: 10.21203/rs.3.rs-11695210/v2</span>
</a>
<a href="https://doi.org/10.21203/rs.3.rs-11695210/v2" target="_blank" class="badge badge-cyan" title="Open Research Square Preprint (v2)">
<span>🔬 Research Square Preprint (v2)</span>
</a>
<a href="https://doi.org/10.5281/zenodo.24212810" target="_blank" class="badge badge-purple" title="Zenodo Open Science Archive">
<span>📦 Zenodo: 24212810</span>
</a>
<span class="badge badge-amber" title="Pure Vanilla JS & Standard Web APIs">
<span>⚡ Pure Zero-Dependencies</span>
</span>
<span class="badge badge-cyan">
<span>🧪 Research Use Only (RUO)</span>
</span>
</div>
</div>
</header>
<!-- PRIMARY MULTI-MODULE SCIENTIFIC PORTAL NAVIGATION -->
<div class="container no-print" style="padding-bottom: 0;">
<nav class="module-nav">
<button id="mod-btn-1" class="mod-nav-btn active" onclick="switchMainModule('1')">
<span class="mod-icon">🩺</span>
<span class="mod-text">
<strong>Module 1: Bedside CRI Engine</strong>
<small>Bessel K₀ Diffusion · 2D Cord · A4 Consult Note</small>
</span>
</button>
<button id="mod-btn-2" class="mod-nav-btn" onclick="switchMainModule('2')">
<span class="mod-icon">🧬</span>
<span class="mod-text">
<strong>Module 2: 10x Visium HD Benchmark</strong>
<small>3,858 Spot Real Tissue · Sanctuary Zones · GSE301973</small>
</span>
</button>
<button id="mod-btn-3" class="mod-nav-btn" onclick="switchMainModule('3')">
<span class="mod-icon">🚀</span>
<span class="mod-text">
<strong>Module 3: 60 FPS Digital Twin</strong>
<small>In Silico Automaton · Month 36 Regrowth Dynamics</small>
</span>
</button>
<button id="mod-btn-4" class="mod-nav-btn" onclick="switchMainModule('4')">
<span class="mod-icon">🎲</span>
<span class="mod-text">
<strong>Module 4: InSituGame Evolutionary Assay</strong>
<small>Subclonal Payoffs · Replicator Phase-Plane · Adaptive</small>
</span>
</button>
<button id="mod-btn-5" class="mod-nav-btn" onclick="switchMainModule('5')">
<span class="mod-icon">📊</span>
<span class="mod-text">
<strong>Module 5: MSKCC 604 & Evidence Hub</strong>
<small>Kaplan-Meier Survival · Zenodo · Bioconda · Containers</small>
</span>
</button>
</nav>
</div>
<!-- MAIN APP -->
<main class="container">
<!-- PRINTABLE RESEARCH SUMMARY HEADER (VISIBLE ONLY IN PRINT / PDF) -->
<div class="print-report-header">
<div style="display: flex; justify-content: space-between; align-items: flex-start;">
<div>
<div style="font-size: 1.15rem; font-weight: 800; color: #0f172a; text-transform: uppercase;">
INDEPENDENT COMPUTATIONAL ONCOLOGY RESEARCH (RUO)
</div>
<div style="font-size: 0.9rem; font-weight: 600; color: #334155;">
Luca Celebrano · Independent Researcher · MD Candidate · Naples, Italy
</div>
<div style="font-size: 0.8rem; color: #64748b; margin-top: 0.2rem;">
Exploratory In Silico Biophysical Reaction-Diffusion Simulation (Research Use Only)
</div>
</div>
<div style="text-align: right; font-size: 0.8rem; color: #475569;">
<div><strong>Simulation Date:</strong> <span id="print-date"></span></div>
<div><strong>Model Ref:</strong> Celebrano (2026)</div>
<div><strong>DOI:</strong> 10.21203/rs.3.rs-11695210/v2</div>
</div>
</div>
<div style="margin-top: 0.8rem; padding: 0.6rem 0.8rem; background: #f1f5f9; border-left: 4px solid #0891b2; font-size: 0.82rem; color: #1e293b;">
<strong>Report Objective:</strong> Evaluation of Perivascular Pharmacological Sanctuary Risk (Bessel K₀ Reaction-Diffusion Model) and Composite Resistance Index (CRI) for Adjuvant Osimertinib / Post-ADAURA Protocol Allocation.
</div>
</div>
<div id="module-1" class="portal-module">
<div class="grid-layout">
<!-- LEFT COLUMN: INPUT CONTROLS -->
<section class="card">
<h2 class="card-title">
<span>🩺</span> Clinical Patient & Tumor Inputs
</h2>
<!-- Quick Presets -->
<div class="form-group">
<label class="form-label">Clinical Scenario Presets</label>
<div class="presets">
<button class="preset-btn" onclick="applyPreset('solid_adaura')">Post-ADAURA Solid (High Risk)</button>
<button class="preset-btn" onclick="applyPreset('triple_mut')">Triple Mutant (TP53+RB1)</button>
<button class="preset-btn" onclick="applyPreset('acinar_int')">Acinar Intermediate</button>
<button class="preset-btn" onclick="applyPreset('lepidic_curative')">Pure Lepidic (Curative)</button>
</div>
</div>
<!-- PATIENT DATA IMPORT (CSV/TSV) -->
<div class="form-group no-print" style="margin-top: 0.85rem; border-top: 1px dashed rgba(75, 85, 99, 0.4); padding-top: 0.85rem;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem;">
<label class="form-label" style="margin-bottom: 0;">📁 Import Patient Spatial Data (CSV/TSV)</label>
<span style="font-size: 0.72rem; color: #10b981; font-weight: 600;">100% Client-Side Privacy</span>
</div>
<div id="drop-zone" class="drop-zone" onclick="document.getElementById('file-input').click()" ondragover="handleFileDragOver(event)" ondragleave="handleFileDragLeave(event)" ondrop="handleFileDrop(event)">
<input type="file" id="file-input" accept=".csv,.tsv,.txt" style="display:none;" onchange="handleFileSelect(event)">
<span style="font-size: 1.2rem;">📥</span>
<div style="font-size: 0.82rem; color: #cbd5e1; margin-top: 0.2rem;">Drag & drop patient CSV/TSV, or <span style="color: var(--accent-cyan); text-decoration: underline; cursor: pointer;">browse files</span></div>
<div style="font-size: 0.72rem; color: #94a3b8; margin-top: 0.2rem;">Auto-maps spatial spot phenotypes (T_S, T_R, S_CAF) or clinical parameters (S, G, M)</div>
</div>
<div id="import-status" style="display: none; margin-top: 0.5rem; font-size: 0.8rem; padding: 0.5rem 0.75rem; border-radius: 6px;"></div>
</div>
<!-- 1. Spatial Histology (S) -->
<div class="form-group">
<label class="form-label" for="select-histology">1. Histological Architecture (S)</label>
<select id="select-histology" onchange="recalculate()">
<option value="1.00">Solid / Micropapillary Predominant (>50%, Severe Decoupling) — S = 1.00</option>
<option value="0.50">Acinar / Papillary Architecture (Intermediate Diffusion) — S = 0.50</option>
<option value="0.15">Lepidic Predominant / Mucinous (Intact Alveolar Capillaries) — S = 0.15</option>
</select>
<div style="font-size: 0.75rem; color: #94a3b8; margin-top: 0.3rem;">
Governs modified Bessel K₀ perivascular decay distance (λ ≈ 627.6 μm).
</div>
</div>
<!-- 2. Genomic Co-Mutations (G) -->
<div class="form-group">
<label class="form-label" for="select-genomics">2. Co-Genomics Risk Tier (G)</label>
<select id="select-genomics" onchange="recalculate()">
<option value="1.00">Triple Mutant (EGFR + TP53 + RB1, High Lineage Plasticity) — G = 1.00</option>
<option value="0.50" selected>Double Mutant (EGFR + TP53 co-mutant, Apoptotic Arrest Impaired) — G = 0.50</option>
<option value="0.40">Double Mutant (EGFR + RB1 co-mutant, Cell Cycle Bypass) — G = 0.40</option>
<option value="0.10">Canonical Monogenic (EGFR alone, Intact Checkpoints) — G = 0.10</option>
<option value="1.00">Off-target Bypass Driver (MET amp, HER2 amp, C797S) — G = 1.00</option>
</select>
<div style="font-size: 0.75rem; color: #94a3b8; margin-top: 0.3rem;">
Offin et al. JTO 2019 (N = 863): Triple co-mutations shorten TTD to 9.5 months.
</div>
</div>
<!-- 3. Stroma & IFP (M) -->
<div class="form-group">
<label class="form-label" for="select-stroma">3. Stromal Desmoplasia & IFP (M)</label>
<select id="select-stroma" onchange="recalculate()">
<option value="1.00" selected>Dense Collagen Desmoplasia (High IFP > 20 mmHg, Deff 2.96 um2/s) — M = 1.00</option>
<option value="0.50">Standard Cellular Stroma (Baseline IFP ~8.5 mmHg, Deff 59.29 um2/s) — M = 0.50</option>
<option value="0.10">Loose / Edematous Stroma (Low Resistance, Deff 252 um2/s) — M = 0.10</option>
</select>
<div style="font-size: 0.75rem; color: #94a3b8; margin-top: 0.3rem;">
Mori et al. 2015 (N = 215): Solid tumors exhibit elevated interstitial fluid pressure.
</div>
</div>
<!-- 4. Drug Concentration Slider -->
<div class="form-group" style="border-top: 1px solid rgba(75, 85, 99, 0.4); padding-top: 1rem;">
<label class="form-label">
Osimertinib Plasma Trough (C<sub>free</sub>)
</label>
<div class="range-wrap">
<input type="range" id="slider-cfree" min="5" max="50" step="1" value="29" oninput="recalculate()">
<div class="range-val" id="val-cfree">28.6 nM</div>
</div>
<div style="font-size: 0.75rem; color: #94a3b8; margin-top: 0.2rem;">
Standard 80 mg daily steady state: C<sub>free</sub> ≈ 28.6 nM (f<sub>u</sub> = 0.053).
</div>
</div>
<!-- 5. Tumor Doubling Time -->
<div class="form-group">
<label class="form-label">
Persister Doubling Time (T<sub>s</sub>)
</label>
<div class="range-wrap">
<input type="range" id="slider-ts" min="15" max="45" step="1" value="25" oninput="recalculate()">
<div class="range-val" id="val-ts">25 d</div>
</div>
<div style="font-size: 0.75rem; color: #94a3b8; margin-top: 0.2rem;">
Universal Regrowth Identity: Δt = T<sub>s</sub> · log₂(100) = 5.46 mo for T<sub>s</sub> = 25 d.
</div>
</div>
</section>
<!-- RIGHT COLUMN: RESULTS & SIMULATOR -->
<section class="card">
<h2 class="card-title">
<span>📊</span> Bedside Risk Stratification & Transport Physics
</h2>
<!-- CRI RESULT HERO -->
<div id="cri-hero" class="result-hero tier-3">
<div style="font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.9;">
Composite Resistance Index (CRI)
</div>
<div class="cri-score" id="cri-value">0.835</div>
<div class="cri-tier" id="cri-tier-label">TIER 3 · HIGH RESISTANCE & SANCTUARY RISK</div>
<div style="font-size: 0.85rem; margin-top: 0.4rem; opacity: 0.85;" id="cri-rfs-label">
Expected 5-Year Relapse-Free Survival: < 25% (High Sanctuary Persister Burden)
</div>
</div>
<!-- KEY QUANTITATIVE STATS -->
<div class="stats-grid">
<div class="stat-card">
<div class="stat-label">Critical Radius (r<sub>crit</sub>)</div>
<div class="stat-value" id="stat-rcrit">165.9 μm</div>
</div>
<div class="stat-card">
<div class="stat-label">Sanctuary Shell (Δr)</div>
<div class="stat-value" id="stat-deltar" style="color: #f87171;">34.1 μm</div>
</div>
<div class="stat-card">
<div class="stat-label">Cord Sanctuary Vol %</div>
<div class="stat-value" id="stat-volpct" style="color: #fbbf24;">31.3 %</div>
</div>
<div class="stat-card">
<div class="stat-label">Lead-Time Window (Δt)</div>
<div class="stat-value" id="stat-leadtime" style="color: #38bdf8;">5.46 mo</div>
</div>
</div>
<!-- DUAL SYNCHRONIZED VISUALIZATION GRID (1D BESSEL & 2D ANATOMICAL CORD) -->
<div class="dual-canvas-grid">
<!-- CARD 1: 1D BESSEL GRADIENT -->
<div class="canvas-card">
<div class="canvas-card-header">
<span>📈 1D Biophysical Diffusion</span>
<span style="font-size: 0.72rem; color: var(--accent-cyan); font-weight: 500;">Bessel K₀ Decay C(r)</span>
</div>
<div class="canvas-card-body">
<canvas id="bessel-canvas"></canvas>
</div>
<div class="canvas-card-footer">
<span>Capillary: r<sub>v</sub>=10μm</span>
<span style="color: #fbbf24; font-weight: 600;">Sanctuary (Δr)</span>
<span>Anoxia: r<sub>ox</sub>=200μm</span>
</div>
</div>
<!-- CARD 2: 2D PERIVASCULAR CORD CROSS-SECTION -->
<div class="canvas-card">
<div class="canvas-card-header">
<span>🎯 2D Perivascular Cord Anatomy</span>
<span style="font-size: 0.72rem; color: #f59e0b; font-weight: 500;">Sanctuary Sleeve & Persisters</span>
</div>
<div class="canvas-card-body">
<canvas id="cord-canvas"></canvas>
</div>
<div class="canvas-card-footer">
<span style="color: #f43f5e;">● Capillary</span>
<span style="color: #10b981;">● Kill Zone</span>
<span style="color: #fbbf24;">● Sanctuary</span>
<span style="color: #64748b;">● Necrosis</span>
</div>
</div>
</div>
<!-- EVIDENCE-BASED ACTION RECOMMENDATION -->
<div class="action-box">
<div class="action-header" id="action-title" style="color: #f87171;">
<span>🚨</span> Mandatory Bedside Recommendation: DO NOT DISCONTINUE AT MONTH 36
</div>
<p id="action-body" style="font-size: 0.88rem; color: #cbd5e1; line-height: 1.5;">
High probability of viable persister cells in the outer perivascular cord shell protected by Bessel K₀ decay.
Planned 3-year cessation will trigger post-ADAURA exponential recurrence surge within 5.4 months.
</p>
<div style="margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px dashed #374151;">
<div style="font-size: 0.8rem; font-weight: 700; color: var(--accent-cyan); text-transform: uppercase;">
Allocated SG-ADAURA Phase III Trial Arm:
</div>
<div id="trial-arm" style="font-weight: bold; font-size: 0.95rem; color: #fff; margin-top: 0.2rem;">
Arm B3 · Dual Vascular Normalization (Osimertinib 80mg + Ramucirumab Consolidation)
</div>
</div>
</div>
<!-- CONSULTATION NOTE COPY & PRINT BUTTONS -->
<div class="no-print" style="margin-top: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap;">
<button class="btn btn-primary" onclick="copyConsultNote()">
<span>📋</span> Copy Consultation Note
</button>
<button class="btn btn-teal" onclick="printClinicalReport()">
<span>🖨️</span> Print / Export Clinical PDF Report
</button>
<a href="https://github.com/Lukecele/spatial-continuum-oncology" target="_blank" class="btn btn-outline">
<span>🐙</span> Open-Source Code
</a>
<a href="01_MANOSCRITTO_NATURE_COMMUNICATIONS_CELEBRANO.pdf" target="_blank" class="btn btn-outline">
<span>📄</span> Manuscript (PDF)
</a>
</div>
</section>
</div>
<!-- PROTOCOL & METHODOLOGY SECTION -->
<section class="card" style="margin-top: 1.5rem;">
<h2 class="card-title">
<span>🧬</span> Theoretical Continuum & Proof Summary
</h2>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; font-size: 0.88rem; color: #cbd5e1;">
<div>
<h3 style="color: var(--accent-cyan); font-size: 0.95rem; margin-bottom: 0.4rem;">
1. Cylindrical Bessel K₀ Transport
</h3>
<p>
Governed by the steady-state Helmholtz equation ∇²C − λ⁻²C = 0 in an open domain with a permeable outer sink. The outward radial solution is C(r) = C₀ · K₀(r/λ) / K₀(r₀/λ). With r₀ = 10 μm, λ = 45.8 μm, and C₀ = 1369.1 nM, small-molecule osimertinib falls below C<sub>kill</sub> = 14.0 nM at r<sub>crit</sub> ≈ 165.9 μm, leaving a 34.1 μm outer shell (31.3% of the 200 μm cord volume) with sub-therapeutic drug exposure.
</p>
</div>
<div>
<h3 style="color: var(--accent-teal); font-size: 0.95rem; margin-bottom: 0.4rem;">
2. Invariant Lead-Time Kinetic Identity
</h3>
<p>
The 5.4-month clinical window between ctDNA molecular detection (10⁷ cells) and radiographic CT relapse (10⁹ cells) is an invariant mathematical identity of exponential volume doubling:
</p>
<div style="font-family: monospace; font-size: 0.95rem; color: #38bdf8; margin: 0.5rem 0; text-align: center; background: rgba(56, 189, 248, 0.08); padding: 0.5rem; border-radius: 6px;">
Δt = T<sub>s</sub> · log₂(100) = 6.6439 · T<sub>s</sub> ≈ 5.46 months
</div>
<p>
for doubling time T<sub>s</sub> = 24.6 days, exactly resolving the post-cessation ADAURA recurrence surge without de novo mutations.
</p>
</div>
<div>
<h3 style="color: var(--accent-purple); font-size: 0.95rem; margin-bottom: 0.4rem;">
3. The Composite Resistance Index (CRI)
</h3>
<div style="font-family: monospace; font-size: 0.95rem; color: #c084fc; margin: 0.5rem 0; text-align: center; background: rgba(192, 132, 252, 0.08); padding: 0.5rem; border-radius: 6px;">
CRI = 0.40 · S + 0.35 · G + 0.25 · M
</div>
<p>
Weights histological architecture (S), multi-gene co-mutation tier (G, Offin et al. JTO 2019), and stromal desmoplasia (M, Mori et al. 2015) to prospectively allocate patients into the Phase III SG-ADAURA clinical trial.
</p>
</div>
</div>
</section>
</div>
<!-- MODULE 2: INSITUGAME EVOLUTIONARY DYNAMICS -->
<!-- ================================================================= -->
<!-- MODULE 2: EXPERIMENTAL 10x VISIUM HD BENCHMARK & GSE301973 COHORT -->
<!-- ================================================================= -->
<div id="module-2" class="portal-module" style="display: none;">
<section class="card" style="margin-bottom: 1.5rem;">
<div style="display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem;">
<div>
<div style="display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem;">
<span style="font-size: 1.3rem;">🧬</span>
<h2 class="card-title" style="margin-bottom: 0;">Module 2: Experimental 10x Visium HD Spatial Benchmark</h2>
<span class="badge badge-cyan">Supplementary Fig. S1</span>
<span class="badge badge-teal">NCBI GEO: GSE301973</span>
</div>
<p style="font-size: 0.88rem; color: var(--text-muted); max-width: 920px; line-height: 1.5;">
Subcellular spatial transcriptomics validation (<strong style="color: #fff;">N = 3,858 sequenced spots</strong> at 2 µm resolution captured across intact human EGFR-mutated lung adenocarcinoma). Demonstrating that physical microvascular rarefaction leaves <strong style="color: #f97316;">>92% of the viable tumor mass beyond the critical osimertinib penetration radius</strong> (r<sub>crit</sub> ≈ 165.9 µm), creating a persistent in-situ pharmacological sanctuary that fuels post-cessation recurrence.
</p>
</div>
<div style="display: flex; gap: 0.5rem; flex-wrap: wrap;">
<a href="figure_scientifiche/Supplementary_Figure1_VisiumHD_Spatial_Validation.pdf" target="_blank" class="badge badge-purple" style="text-decoration: none; padding: 0.4rem 0.8rem; font-size: 0.8rem;">
<span>📄 Download Fig S1 Vector PDF</span>
</a>
<a href="figure_scientifiche/Supplementary_Figure1_VisiumHD_Spatial_Validation.png" target="_blank" class="badge badge-amber" style="text-decoration: none; padding: 0.4rem 0.8rem; font-size: 0.8rem;">
<span>🖼️ 300 DPI PNG</span>
</a>
</div>
</div>
</section>
<!-- 2-COLUMN LAYOUT: VISIUM TISSUE MAP (LEFT) & CLINICAL BENCHMARKS (RIGHT) -->
<div style="display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem;">
<!-- LEFT: INTERACTIVE 10x TISSUE CANVAS -->
<section class="card">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem;">
<div>
<h3 style="font-size: 1rem; color: #fff; font-weight: 700;">Intact Biopsy Spatial Map (3,858 Spots)</h3>
<small style="color: var(--text-muted);">Classified by measured distance from functional CD31+ capillaries</small>
</div>
<!-- FILTER BUTTONS -->
<div style="display: flex; gap: 0.35rem; flex-wrap: wrap;">
<button class="vis-filter-btn active" onclick="setVisiumFilter('all', this)">All Spots</button>
<button class="vis-filter-btn" onclick="setVisiumFilter('sanctuary', this)" style="border-color: rgba(249,115,22,0.5);">Sanctuary (>165 µm)</button>
<button class="vis-filter-btn" onclick="setVisiumFilter('endo', this)" style="border-color: rgba(244,63,94,0.5);">Capillaries (CD31+)</button>
<button class="vis-filter-btn" onclick="setVisiumFilter('tumor', this)" style="border-color: rgba(6,182,212,0.5);">All Tumor</button>
</div>
</div>
<!-- CANVAS WRAPPER -->
<div style="position: relative; background: #070a13; border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; display: flex; justify-content: center; align-items: center;">
<canvas id="visium-canvas" width="680" height="580" style="width: 100%; height: auto; max-height: 580px; display: block; cursor: crosshair;"></canvas>
<!-- HOVER TOOLTIP -->
<div id="visium-tooltip" style="position: absolute; bottom: 12px; left: 12px; background: rgba(15, 23, 42, 0.94); border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 6px; padding: 6px 12px; font-size: 0.75rem; color: #f1f5f9; pointer-events: none; backdrop-filter: blur(8px); display: none; box-shadow: 0 4px 12px rgba(0,0,0,0.5);">
<span id="visium-tooltip-text">Hover over spots to inspect</span>
</div>
</div>
<!-- LEGEND BAR -->
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.5rem; margin-top: 0.85rem; padding-top: 0.65rem; border-top: 1px solid rgba(55,65,81,0.5); font-size: 0.75rem;">
<div style="display: flex; align-items: center; gap: 0.4rem;">
<span style="width: 10px; height: 10px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 6px #f43f5e;"></span>
<span><strong>CD31+ Vessel</strong> (N=212)</span>
</div>
<div style="display: flex; align-items: center; gap: 0.4rem;">
<span style="width: 10px; height: 10px; border-radius: 50%; background: #f97316;"></span>
<span><strong>Sanctuary >165 µm</strong> (N=832)</span>
</div>
<div style="display: flex; align-items: center; gap: 0.4rem;">
<span style="width: 10px; height: 10px; border-radius: 50%; background: #eab308;"></span>
<span><strong>Attenuated 100-165 µm</strong> (N=64)</span>
</div>
<div style="display: flex; align-items: center; gap: 0.4rem;">
<span style="width: 10px; height: 10px; border-radius: 50%; background: #06b6d4;"></span>
<span><strong>Effective <100 µm</strong> (N=5)</span>
</div>
<div style="display: flex; align-items: center; gap: 0.4rem;">
<span style="width: 10px; height: 10px; border-radius: 50%; background: #6366f1;"></span>
<span><strong>Dense Stroma</strong> (N=2,119)</span>
</div>
</div>
</section>
<!-- RIGHT: QUANTITATIVE METRICS & CLINICAL CORRELATION -->
<div style="display: flex; flex-direction: column; gap: 1rem;">
<!-- SPOT QUANTIFICATION METRICS CARD -->
<section class="card">
<h3 style="font-size: 0.95rem; color: var(--accent-cyan); font-weight: 700; margin-bottom: 0.6rem;">Tissue Perivascular Burden Breakdown</h3>
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; text-align: center;">
<div style="background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.3); border-radius: 6px; padding: 0.6rem;">
<div style="font-size: 1.4rem; font-weight: 800; color: #f97316;">92.3%</div>
<div style="font-size: 0.72rem; color: #fed7aa;">Sanctuary Volume</div>
<div style="font-size: 0.65rem; color: var(--text-dim);">832 of 901 tumor spots</div>
</div>
<div style="background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.3); border-radius: 6px; padding: 0.6rem;">
<div style="font-size: 1.4rem; font-weight: 800; color: #eab308;">7.1%</div>
<div style="font-size: 0.72rem; color: #fef08a;">Attenuated Range</div>
<div style="font-size: 0.65rem; color: var(--text-dim);">64 of 901 tumor spots</div>
</div>
<div style="background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.3); border-radius: 6px; padding: 0.6rem;">
<div style="font-size: 1.4rem; font-weight: 800; color: #06b6d4;">0.6%</div>
<div style="font-size: 0.72rem; color: #a5f3fc;">Effective Cored</div>
<div style="font-size: 0.65rem; color: var(--text-dim);">5 of 901 tumor spots</div>
</div>
</div>
<p style="font-size: 0.78rem; color: var(--text-muted); margin-top: 0.6rem; line-height: 1.4;">
<strong style="color: #fff;">Key Biophysical Insight:</strong> In intact patient tumor tissue, microvascular rarefaction results in >92% of the viable tumor mass residing at distances >165.9 µm from CD31+ vessels, confirming that osimertinib monotherapy creates vast cytostatic persister reservoirs rather than tissue-wide sterilization.
</p>
</section>
<!-- GSE301973 CLINICAL VALIDATION SCATTER CHART -->
<section class="card">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;">
<h3 style="font-size: 0.95rem; color: var(--accent-teal); font-weight: 700; margin-bottom: 0;">Clinical Progression-Free Survival (GSE301973)</h3>
<span class="badge badge-teal" style="font-size: 0.7rem;">Spearman ρ = -0.95 · p = 0.048</span>
</div>
<div style="background: #070a13; border: 1px solid var(--card-border); border-radius: 6px; padding: 6px;">
<canvas id="visium-pfs-canvas" width="480" height="180" style="width: 100%; height: auto; display: block;"></canvas>
</div>
<div style="font-size: 0.72rem; color: var(--text-muted); margin-top: 0.4rem; text-align: center;">
Tumor-Endothelial Contact % is strongly associated with prolonged Progression-Free Survival (months).
</div>
</section>
</div>
</div>
<!-- BOTTOM FULL-WIDTH: PATIENT COHORT STRATIFICATION TABLE -->
<section class="card">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem;">
<div>
<h3 style="font-size: 1.05rem; color: #fff; font-weight: 700;">GSE301973 Patient Spatial Profiling & Bedside CRI Stratification</h3>
<small style="color: var(--text-muted);">Click "Apply to Module 1" to load any patient's histological profile directly into the Bedside CRI Decision Engine</small>
</div>
<span class="badge badge-purple">4 Prospective Visium HD Cases</span>
</div>
<div style="overflow-x: auto;">
<table style="width: 100%; border-collapse: collapse; font-size: 0.8rem; text-align: left;">
<thead>
<tr style="border-bottom: 1px solid var(--border-accent); color: var(--text-dim); text-transform: uppercase; font-size: 0.7rem;">
<th style="padding: 0.6rem 0.5rem;">Patient ID</th>
<th style="padding: 0.6rem 0.5rem;">Histologic Pattern</th>
<th style="padding: 0.6rem 0.5rem;">PFS (Months)</th>
<th style="padding: 0.6rem 0.5rem;">Endothelial Contact</th>
<th style="padding: 0.6rem 0.5rem;">Homotypic Packing</th>
<th style="padding: 0.6rem 0.5rem;">CRI Score</th>
<th style="padding: 0.6rem 0.5rem;">Risk Tier</th>
<th style="padding: 0.6rem 0.5rem;">Bedside Action</th>
<th style="padding: 0.6rem 0.5rem; text-align: right;">Action</th>
</tr>
</thead>
<tbody id="visium-patients-tbody">
<!-- Rendered via JS -->
</tbody>
</table>
</div>
</section>
</div>
<!-- ================================================================= -->
<!-- MODULE 3: 60 FPS IN SILICO TUMOR SANCTUARY & DIGITAL TWIN -->
<!-- ================================================================= -->
<div id="module-3" class="portal-module" style="display: none;">
<section class="card" style="margin-bottom: 1.25rem;">
<div style="display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem;">
<div>
<div style="display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem;">
<span style="font-size: 1.3rem;">🚀</span>
<h2 class="card-title" style="margin-bottom: 0;">Module 3: Live 60 FPS In Silico Digital Twin Simulator</h2>
<span class="badge badge-cyan">Biophysical Automaton</span>
<span class="badge badge-teal">Day 0 to 1825 (5 Years)</span>
</div>
<p style="font-size: 0.88rem; color: var(--text-muted); max-width: 900px; line-height: 1.5;">
Full 2D biophysical cross-section simulation running at 60 FPS. Simulating perivascular osimertinib diffusion (D<sub>eff</sub> = 85 µm²/s), interstitial fluid pressure (IFP = 18 mmHg), subclonal competition, Month 36 drug cessation, and post-cessation recurrence dynamics across ADAURA vs. SG-ADAURA protocols.
</p>
</div>
<div style="display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;">
<a href="simulator.html" target="_blank" class="badge" style="background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #fff; border: 1px solid #38bdf8; text-decoration: none; padding: 0.45rem 0.9rem; font-size: 0.82rem; font-weight: 700;">
<span>↗ Open Fullscreen Standalone App</span>
</a>
</div>
</div>
</section>
<!-- EMBEDDED DIGITAL TWIN RUNNER -->
<div style="width: 100%; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; background: #070a12; box-shadow: 0 8px 30px rgba(0,0,0,0.5);">
<iframe id="sim-frame" src="simulator.html" style="width: 100%; height: 880px; border: none; display: block;" title="60 FPS In Silico Tumor Sanctuary Digital Twin"></iframe>
</div>
</div>
<div id="module-4" class="portal-module" style="display: none;">
<div class="grid-layout">
<!-- LEFT: CONTROLS & PAYOFF MATRIX -->
<section class="card">
<h2 class="card-title">
<span>🎲</span> Evolutionary Game & Payoff Controls
</h2>
<p style="font-size: 0.85rem; color: #94a3b8; margin-bottom: 1rem; line-height: 1.4;">
Models subclonal competition between Drug-Sensitive (T<sub>S</sub>) and Drug-Tolerant Persister (T<sub>R</sub>)
tumor clones within the perivascular sanctuary shell.
</p>
<div class="form-group">
<label class="form-label">Therapeutic Protocols</label>
<div class="presets">
<button class="preset-btn" onclick="applyGamePreset('continuous')">Continuous Osimertinib 80mg (SOC)</button>
<button class="preset-btn" onclick="applyGamePreset('adaptive')">Adaptive Intermittent Pulsing</button>
<button class="preset-btn" onclick="applyGamePreset('stroma')">Dual + Anti-VEGFR2 Remodeling</button>
</div>
</div>
<div class="form-group">
<label class="form-label">Subclonal Interaction Payoff Matrix (Π)</label>
<table class="payoff-table">
<thead>
<tr>
<th>Focal Clone</th>
<th>vs Sensitive (T<sub>S</sub>)</th>
<th>vs Persister (T<sub>R</sub>)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="font-weight: 600; color: #38bdf8;">Sensitive (T<sub>S</sub>)</td>
<td><input type="number" step="0.1" id="payoff-a11" class="payoff-input" value="-0.74" onchange="runReplicatorSimulation()"></td>
<td><input type="number" step="0.1" id="payoff-a12" class="payoff-input" value="2.87" onchange="runReplicatorSimulation()"></td>
</tr>
<tr>
<td style="font-weight: 600; color: #f43f5e;">Persister (T<sub>R</sub>)</td>
<td><input type="number" step="0.1" id="payoff-a21" class="payoff-input" value="2.19" onchange="runReplicatorSimulation()"></td>
<td><input type="number" step="0.1" id="payoff-a22" class="payoff-input" value="-1.77" onchange="runReplicatorSimulation()"></td>
</tr>
</tbody>
</table>
<div style="font-size: 0.75rem; color: #94a3b8;">
Mutual Invasibility Condition: a<sub>12</sub> > a<sub>22</sub> (2.87 > -1.77) and a<sub>21</sub> > a<sub>11</sub> (2.19 > -0.74). Hawk-Dove / Snowdrift Coexistence Game.
</div>
</div>
<div class="form-group">
<label class="form-label">Initial Sensitive Frequency x₀(T<sub>S</sub>)</label>
<div class="range-wrap">
<input type="range" id="game-slider-x0" min="50" max="99" step="1" value="90" oninput="runReplicatorSimulation()">
<div class="range-val" id="game-val-x0">90%</div>
</div>
</div>
<div class="form-group">
<label class="form-label">Simulation Time Horizon</label>
<div class="range-wrap">
<input type="range" id="game-slider-tmax" min="36" max="72" step="6" value="60" oninput="runReplicatorSimulation()">
<div class="range-val" id="game-val-tmax">60 mo</div>
</div>
<div style="font-size: 0.75rem; color: #94a3b8; margin-top: 0.2rem;">
ADAURA adjuvant protocol cessates at Month 36 (marked by vertical dashed line).
</div>
</div>
<div style="background: rgba(30, 41, 59, 0.7); border: 1px solid #334155; border-radius: 8px; padding: 0.85rem; margin-top: 1rem;">
<div style="font-size: 0.8rem; font-weight: 700; color: #38bdf8; text-transform: uppercase;">
Darwinian Invariant:
</div>
<div style="font-size: 0.82rem; color: #cbd5e1; margin-top: 0.3rem; line-height: 1.4;">
Continuous 80 mg therapy exerts maximal selective pressure, wiping out competitors (T<sub>S</sub>) and accelerating competitive release of persisters (T<sub>R</sub>).
</div>
</div>
</section>
<!-- RIGHT: REPLICATOR TRAJECTORIES & LYAPUNOV PHASE PLANE -->
<section class="card">
<h2 class="card-title">
<span>📈</span> Replicator Dynamics & Lyapunov Stability
</h2>
<div class="stats-grid">
<div class="stat-card">
<div class="stat-label">Internal Nash (x*)</div>
<div class="stat-value" id="stat-game-nash" style="color: #38bdf8;">61.3 %</div>
</div>
<div class="stat-card">
<div class="stat-label">Lyapunov Eigenvalue (λ)</div>
<div class="stat-value" id="stat-game-lyap" style="color: #34d399;">-1.793</div>
</div>
<div class="stat-card">
<div class="stat-label">Stability Class</div>
<div class="stat-value" id="stat-game-class" style="color: #fbbf24; font-size: 1rem;">Attractor</div>
</div>
<div class="stat-card">
<div class="stat-label">Lead-Time (Δt)</div>
<div class="stat-value" style="color: #f87171;">5.46 mo</div>
</div>
</div>
<div class="dual-canvas-grid">
<div class="canvas-card">
<div class="canvas-card-header">
<span>Clonal Trajectories x(t)</span>
<span style="font-size: 0.72rem; color: #38bdf8;">Replicator ODE Evolution</span>
</div>
<div class="canvas-card-body">
<canvas id="replicator-canvas"></canvas>
</div>
<div class="canvas-card-footer">
<span style="color: #38bdf8;">● Sensitive T<sub>S</sub></span>
<span style="color: #f43f5e;">● Persister T<sub>R</sub></span>
<span style="color: #fbbf24;">┊ Month 36 Cessation</span>
</div>
</div>
<div class="canvas-card">
<div class="canvas-card-header">
<span>Phase Plane dx/dt vs x</span>
<span style="font-size: 0.72rem; color: #34d399;">Lyapunov Stability Basin</span>
</div>
<div class="canvas-card-body">
<canvas id="phase-canvas"></canvas>
</div>
<div class="canvas-card-footer">
<span style="color: #34d399;">● Nash Attractor x*</span>
<span style="color: #94a3b8;">dx/dt = x(1-x)(f_S - f_P)</span>
</div>
</div>
</div>
<div class="action-box" style="margin-top: 1rem;">
<div class="action-header" style="color: #38bdf8;">
<span>💡</span> Evolutionary Insight: The Cost of Continuous Depletion
</div>
<p style="font-size: 0.88rem; color: #cbd5e1; line-height: 1.5;">
Because the internal Nash equilibrium (x* ≈ 0.6133) is asymptotically stable (λ<sub>eig</sub> = -1.7934 < 0),
eradicating sensitive cells via unremitting therapy destroys natural ecological competition, guaranteeing an explosive relapse
once drug is withdrawn at month 36.
</p>
</div>
</section>
</div>
</div>
<!-- MODULE 3: MSKCC 604 CLINICAL COHORT EXPLORER -->
<div id="module-5" class="portal-module" style="display: none;">
<div class="grid-layout">
<!-- LEFT: COHORT STRATIFICATION CONTROLS -->
<section class="card">
<h2 class="card-title">
<span>📊</span> MSKCC Authentic Cohort (N = 604)
</h2>
<p style="font-size: 0.85rem; color: #94a3b8; margin-bottom: 1rem; line-height: 1.4;">
Clinical survival validation on N = 604 surgically resected EGFR-mutant lung adenocarcinoma patients
from Memorial Sloan Kettering Cancer Center (MSKCC 2020 cohort).
</p>
<div class="form-group">
<label class="form-label">IASLC Histological Architecture Subtypes</label>
<div style="display: flex; flex-direction: column; gap: 0.5rem;">
<label style="display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; padding: 0.5rem 0.75rem; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 6px; cursor: pointer;">
<span><strong style="color: #10b981;">● Lepidic Predominant</strong> (N = 88, 4.5% rec)</span>
<span style="font-size: 0.75rem; color: #10b981; font-weight: bold;">HR = 0.25 (p = 0.0084)</span>
</label>
<label style="display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; padding: 0.5rem 0.75rem; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 6px; cursor: pointer;">
<span><strong style="color: #38bdf8;">● Acinar Architecture</strong> (N = 368, 14.7% rec)</span>
<span style="font-size: 0.75rem; color: #38bdf8; font-weight: bold;">HR = 1.00 (Reference)</span>
</label>
<label style="display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; padding: 0.5rem 0.75rem; background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.4); border-radius: 6px; cursor: pointer;">
<span><strong style="color: #c084fc;">● Papillary Pattern</strong> (N = 43, 25.6% rec)</span>
<span style="font-size: 0.75rem; color: #c084fc; font-weight: bold;">HR = 1.34</span>
</label>
<label style="display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; padding: 0.5rem 0.75rem; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.4); border-radius: 6px; cursor: pointer;">
<span><strong style="color: #fbbf24;">● Micropapillary Pattern</strong> (N = 37, 21.6% rec)</span>
<span style="font-size: 0.75rem; color: #fbbf24; font-weight: bold;">HR = 1.82</span>
</label>
<label style="display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; padding: 0.5rem 0.75rem; background: rgba(244, 63, 94, 0.1); border: 1px solid rgba(244, 63, 94, 0.4); border-radius: 6px; cursor: pointer;">
<span><strong style="color: #f43f5e;">● Solid Predominant</strong> (N = 68, 30.9% rec)</span>
<span style="font-size: 0.75rem; color: #f43f5e; font-weight: bold;">HR = 2.45 (p = 0.0026)</span>
</label>
</div>
</div>
<div style="background: rgba(15, 23, 42, 0.9); border: 1px solid #334155; border-radius: 8px; padding: 1rem; margin-top: 1.25rem;">
<div style="font-size: 0.82rem; font-weight: 700; color: #f43f5e; text-transform: uppercase;">
Extreme Contrast: Solid/Micro vs Lepidic
</div>
<div style="font-size: 0.82rem; color: #cbd5e1; margin-top: 0.4rem; line-height: 1.45;">
Comparing compact high-sanctuary patterns (Solid + Micropapillary, N = 105) against intact alveolar architecture (Lepidic, N = 88) yields an exploratory hazard ratio of:
<div style="font-size: 1.2rem; font-weight: 800; color: #fbbf24; margin-top: 0.3rem;">
HR = 6.75 (95% CI: 2.28 – 19.97, Log-Rank p = 6.33 × 10⁻⁶)
</div>
</div>
</div>
<div style="margin-top: 1rem; text-align: center;">
<button class="btn btn-secondary" onclick="downloadMskccCsv()" style="width: 100%; justify-content: center;">
<span>📥</span> Download Full MSKCC CSV (N = 604)
</button>
</div>
</section>
<!-- RIGHT: KAPLAN-MEIER & HAZARD SURGE VISUALIZATIONS -->
<section class="card">
<h2 class="card-title">
<span>📉</span> Kaplan-Meier Disease-Free Survival & Hazard Rate
</h2>
<div class="stats-grid">
<div class="stat-card">
<div class="stat-label">Total Cohort</div>
<div class="stat-value" style="color: #38bdf8;">N = 604</div>
</div>
<div class="stat-card">
<div class="stat-label">Median Follow-Up</div>
<div class="stat-value" style="color: #34d399;">23.8 mo</div>
</div>
<div class="stat-card">
<div class="stat-label">IQR Follow-Up</div>
<div class="stat-value" style="color: #fbbf24; font-size: 0.95rem;">13.3 – 31.8 mo</div>
</div>
<div class="stat-card">
<div class="stat-label">Log-Rank p-value</div>
<div class="stat-value" style="color: #f87171; font-size: 0.95rem;">6.33 × 10⁻⁶</div>
</div>
</div>
<div class="dual-canvas-grid">
<div class="canvas-card">
<div class="canvas-card-header">
<span>Kaplan-Meier Survival S(t)</span>
<span style="font-size: 0.72rem; color: #38bdf8;">0 to 60 Months RFS</span>
</div>
<div class="canvas-card-body">
<canvas id="km-canvas"></canvas>
</div>
<div class="canvas-card-footer">
<span style="color: #10b981;">● Lepidic (95%)</span>
<span style="color: #38bdf8;">● Acinar (81%)</span>
<span style="color: #f43f5e;">● Solid/Micro (64%)</span>
<span style="color: #fbbf24;">┊ Month 36</span>
</div>
</div>
<div class="canvas-card">
<div class="canvas-card-header">
<span>Recurrence Hazard Rate h(t)</span>
<span style="font-size: 0.72rem; color: #f43f5e;">Post-Cessation Surge</span>
</div>
<div class="canvas-card-body">
<canvas id="hazard-canvas"></canvas>
</div>
<div class="canvas-card-footer">
<span style="color: #f43f5e;">● Solid Surge Peak</span>
<span style="color: #10b981;">● Lepidic Flat Baseline</span>
</div>
</div>
</div>
<div class="action-box" style="margin-top: 1rem;">
<div class="action-header" style="color: #10b981;">
<span>🔬</span> Histological Decoupling Governs Recurrence Risk
</div>
<p style="font-size: 0.88rem; color: #cbd5e1; line-height: 1.5;">
Patients with lepidic predominant growth have intact alveolar capillary networks that ensure continuous drug perfusion,
resulting in near-zero recurrence (4.55%) and validating definitive safe planned cessation after 36 months of adjuvant osimertinib.
</p>
</div>
</section>
</div>
</div>
<!-- MODULE 4: DATA, CODE & CONTAINERS HUB -->
<div id="module-5-hub" style="margin-top: 1.5rem;" class="portal-module" style="display: none;">
<section class="card">
<h2 class="card-title">
<span>📦</span> Open Science, Data & Computational Artifacts Hub
</h2>
<p style="font-size: 0.9rem; color: #94a3b8; margin-bottom: 1.5rem; line-height: 1.5;">
Perpetually reproducible artifacts, verified DOI preprints, containerized workflows, and raw clinical datasets.
100% Open Access under GNU General Public License v3.0 and Creative Commons BY 4.0.
</p>
<div class="hub-grid">
<!-- CARD 1: SPRINGER NATURE PREPRINT -->
<div class="hub-card">
<div>
<div style="font-size: 0.75rem; color: #38bdf8; font-weight: 700; text-transform: uppercase;">Primary Research Preprint</div>
<h3 style="font-size: 1.05rem; color: #fff; margin-top: 0.25rem;">Nature Portfolio / Research Square</h3>
<p style="font-size: 0.8rem; color: #94a3b8; margin-top: 0.5rem; line-height: 1.4;">
Full 17-page peer-reviewed format manuscript with 4 high-resolution multi-panel figures and complete mathematical formalization.
</p>
</div>
<div style="margin-top: 1rem;">
<div class="code-block">
<span>DOI: 10.21203/rs.3.rs-11695210/v2</span>
<button class="copy-mini-btn" onclick="navigator.clipboard.writeText('10.21203/rs.3.rs-11695210/v2'); alert('DOI copied!');">Copy</button>
</div>
<div style="display: flex; gap: 0.5rem; margin-top: 0.75rem;">
<a href="https://doi.org/10.21203/rs.3.rs-11695210/v2" target="_blank" class="btn btn-primary" style="flex: 1; justify-content: center; font-size: 0.78rem;">
<span>📖</span> Read Preprint (v2)
</a>
<a href="https://www.researchsquare.com/article/rs-11695210/v2.pdf" target="_blank" class="btn btn-secondary" style="font-size: 0.78rem;">
<span>📥</span> PDF
</a>
</div>
</div>
</div>
<!-- CARD 2: MSKCC 604 PATIENT DATASET -->
<div class="hub-card">
<div>
<div style="font-size: 0.75rem; color: #10b981; font-weight: 700; text-transform: uppercase;">Clinical Dataset</div>
<h3 style="font-size: 1.05rem; color: #fff; margin-top: 0.25rem;">MSKCC 2020 Real Cohort (N = 604)</h3>
<p style="font-size: 0.8rem; color: #94a3b8; margin-top: 0.5rem; line-height: 1.4;">
Complete clinical cohort: IASLC histological patterns, pathologic stages, EGFR mutational status, and reverse Kaplan-Meier RFS times.
</p>
</div>
<div style="margin-top: 1rem;">
<div class="code-block">
<span>File: mskcc_2020_real_cohort.csv (49 KB)</span>
</div>
<button class="btn btn-secondary" onclick="downloadMskccCsv()" style="width: 100%; justify-content: center; margin-top: 0.75rem; font-size: 0.78rem;">
<span>📥</span> Download Raw CSV (Client-Side)
</button>
</div>
</div>
<!-- CARD 3: BIOCONDA & PYPI PACKAGES -->
<div class="hub-card">
<div>
<div style="font-size: 0.75rem; color: #fbbf24; font-weight: 700; text-transform: uppercase;">Software Packages</div>
<h3 style="font-size: 1.05rem; color: #fff; margin-top: 0.25rem;">Bioconda Official Releases</h3>
<p style="font-size: 0.8rem; color: #94a3b8; margin-top: 0.5rem; line-height: 1.4;">
Bioconda distribution with native CLI interfaces for reproducible batch processing on HPC clusters.
</p>
</div>
<div style="margin-top: 1rem;">
<div class="code-block">
<span>conda install -c bioconda insitugame</span>
<button class="copy-mini-btn" onclick="navigator.clipboard.writeText('conda install -c bioconda insitugame'); alert('Command copied!');">Copy</button>
</div>
<div class="code-block">
<span>conda install -c bioconda spatial-continuum</span>
<button class="copy-mini-btn" onclick="navigator.clipboard.writeText('conda install -c bioconda spatial-continuum'); alert('Command copied!');">Copy</button>
</div>
</div>
</div>
<!-- CARD 4: NF-CORE MODULES & WAVE CONTAINERS -->
<div class="hub-card">
<div>
<div style="font-size: 0.75rem; color: #a855f7; font-weight: 700; text-transform: uppercase;">Nextflow & Containers</div>
<h3 style="font-size: 1.05rem; color: #fff; margin-top: 0.25rem;">nf-core & Seqera Wave Containers</h3>
<p style="font-size: 0.8rem; color: #94a3b8; margin-top: 0.5rem; line-height: 1.4;">
Official nf-core community modules (PR #13471) accompanied by deterministic Wave Docker and Singularity container images.
</p>
</div>
<div style="margin-top: 1rem;">
<div class="code-block">
<span>community.wave.seqera.io/library/insitugame:1.0.7</span>
<button class="copy-mini-btn" onclick="navigator.clipboard.writeText('community.wave.seqera.io/library/insitugame:1.0.7--8a968e208a8a3d71'); alert('URI copied!');">Copy</button>
</div>
<div style="display: flex; gap: 0.5rem; margin-top: 0.75rem;">
<a href="https://github.com/nf-core/modules/pull/13471" target="_blank" class="btn btn-secondary" style="width: 100%; justify-content: center; font-size: 0.78rem;">
<span>🐙</span> View nf-core PR #13471
</a>
</div>
</div>
</div>
<!-- CARD 5: CERN ZENODO ARCHIVE -->
<div class="hub-card">
<div>
<div style="font-size: 0.75rem; color: #f43f5e; font-weight: 700; text-transform: uppercase;">Permanent Open Archive</div>
<h3 style="font-size: 1.05rem; color: #fff; margin-top: 0.25rem;">CERN Zenodo Repository</h3>
<p style="font-size: 0.8rem; color: #94a3b8; margin-top: 0.5rem; line-height: 1.4;">
Complete digital archive with versioning, cryptographic checksums, and permanent metadata indexing on OpenAlex.
</p>
</div>
<div style="margin-top: 1rem;">
<div class="code-block">
<span>DOI: 10.5281/zenodo.23754999</span>
<button class="copy-mini-btn" onclick="navigator.clipboard.writeText('10.5281/zenodo.23754999'); alert('Zenodo DOI copied!');">Copy</button>
</div>
<a href="https://doi.org/10.5281/zenodo.23754999" target="_blank" class="btn btn-secondary" style="width: 100%; justify-content: center; margin-top: 0.75rem; font-size: 0.78rem;">
<span>🏛️</span> Open Zenodo Record
</a>
</div>
</div>
<!-- CARD 6: CITATION (BIBTEX) -->
<div class="hub-card">
<div>
<div style="font-size: 0.75rem; color: #38bdf8; font-weight: 700; text-transform: uppercase;">Academic Citation</div>
<h3 style="font-size: 1.05rem; color: #fff; margin-top: 0.25rem;">BibTeX & CFF Reference</h3>
<p style="font-size: 0.8rem; color: #94a3b8; margin-top: 0.5rem; line-height: 1.4;">
Cite Celebrano et al. (2026) in LaTeX, Zotero, Mendeley, or EndNote.
</p>
</div>
<div style="margin-top: 1rem;">
<button class="btn btn-secondary" onclick="copyBibtexCitation()" style="width: 100%; justify-content: center; font-size: 0.78rem;">
<span>📋</span> Copy BibTeX Citation
</button>
</div>
</div>
</div>
</section>
</div>
</main>
<!-- FOOTER -->
<footer>
<div class="container">
<p style="font-weight: 600; color: #e2e8f0;">
Luca Celebrano · Independent Researcher · MD Candidate · Naples, Italy
</p>
<p style="margin-top: 0.3rem;">
Exploratory In Silico Biophysical Modeling (Research Use Only · RUO) · <a href="https://lucacelebrano.me/" target="_blank" style="color: var(--accent-cyan);">lucacelebrano.me</a>
</p>
<p style="margin-top: 0.6rem; font-size: 0.78rem;">
Preprint v2 DOI: <a href="https://doi.org/10.21203/rs.3.rs-11695210/v2" target="_blank" style="color: var(--accent-cyan);">10.21203/rs.3.rs-11695210/v2</a> · <a href="https://github.com/Lukecele/inflammatory-onco-physics" target="_blank" style="color: #fbbf24; font-weight: 600; text-decoration: none;">⭐ Star on GitHub</a> · Pure Standard Library Architecture
</p>
</div>
</footer>
<!-- CORE LOGIC & VISUALIZATION (VANILLA JS, ZERO EXTERNAL DEPENDENCIES) -->
<script>
// Exact Modified Bessel Function of Second Kind K_0(x) via Simpson numerical integration
function K0_integral(x, n_steps = 800) {
if (x <= 0) return 1e6;
const u_max = Math.sqrt(36.0 / x);
const h = u_max / n_steps;
let s = 0.0;
for (let i = 0; i <= n_steps; i++) {
const u = i * h;
const f = 2.0 * Math.exp(-x * (1.0 + u * u)) / Math.sqrt(u * u + 2.0);
const weight = (i === 0 || i === n_steps) ? 1.0 : (i % 2 === 1 ? 4.0 : 2.0);
s += weight * f;
}
return (h / 3.0) * s;
}
// Preset Applicator
function applyPreset(preset) {
if (preset === 'solid_adaura') {
document.getElementById('select-histology').value = '1.00';
document.getElementById('select-genomics').value = '0.50';
document.getElementById('select-stroma').value = '1.00';
document.getElementById('slider-cfree').value = '29';
document.getElementById('slider-ts').value = '25';
} else if (preset === 'triple_mut') {
document.getElementById('select-histology').value = '1.00';
document.getElementById('select-genomics').value = '1.00';
document.getElementById('select-stroma').value = '1.00';
document.getElementById('slider-cfree').value = '29';
document.getElementById('slider-ts').value = '22';
} else if (preset === 'acinar_int') {
document.getElementById('select-histology').value = '0.50';
document.getElementById('select-genomics').value = '0.40';
document.getElementById('select-stroma').value = '0.50';
document.getElementById('slider-cfree').value = '29';
document.getElementById('slider-ts').value = '28';
} else if (preset === 'lepidic_curative') {
document.getElementById('select-histology').value = '0.15';
document.getElementById('select-genomics').value = '0.10';
document.getElementById('select-stroma').value = '0.10';
document.getElementById('slider-cfree').value = '29';
document.getElementById('slider-ts').value = '35';
}
recalculate();
}
function recalculate() {
// 1. Read Inputs
const S = parseFloat(document.getElementById('select-histology').value);
const G = parseFloat(document.getElementById('select-genomics').value);
const M = parseFloat(document.getElementById('select-stroma').value);
const C_free = parseFloat(document.getElementById('slider-cfree').value);
const Ts = parseFloat(document.getElementById('slider-ts').value);
document.getElementById('val-cfree').innerText = C_free.toFixed(1) + ' nM';
document.getElementById('val-ts').innerText = Ts.toFixed(0) + ' d';
// 2. Compute CRI Score
// CRI = 0.40 * S + 0.35 * G + 0.25 * M
const CRI = (0.40 * S) + (0.35 * G) + (0.25 * M);
document.getElementById('cri-value').innerText = CRI.toFixed(3);
// 3. Risk Tier & Bedside Recommendation
const hero = document.getElementById('cri-hero');
const tierLabel = document.getElementById('cri-tier-label');
const rfsLabel = document.getElementById('cri-rfs-label');
const actionTitle = document.getElementById('action-title');
const actionBody = document.getElementById('action-body');
const trialArm = document.getElementById('trial-arm');
hero.className = 'result-hero';
if (CRI >= 0.65) {
hero.classList.add('tier-3');
tierLabel.innerText = 'TIER 3 · HIGH RESISTANCE & SANCTUARY RISK';
tierLabel.style.color = '#f87171';
rfsLabel.innerText = 'Expected 5-Year Relapse-Free Survival: < 25% (High Sanctuary Persister Burden)';
actionTitle.style.color = '#f87171';
actionTitle.innerHTML = '<span>🚨</span> Mandatory Recommendation: DO NOT DISCONTINUE AT MONTH 36';
actionBody.innerHTML = `
High probability of viable persister cells in the outer perivascular cord shell protected by Bessel K₀ decay.
Planned 3-year cessation will trigger post-ADAURA exponential recurrence surge within 5.4 months.
<strong>Continuous suppression or microvascular remodeling consolidation required.</strong>
`;
if (G === 1.00 && S === 1.00) {
trialArm.innerText = 'Arm B3 · Dual Vascular Remodeling (Osimertinib 80mg + Ramucirumab / Anti-VEGFR2)';
} else {
trialArm.innerText = 'Arm B1 · Extended Indefinite Osimertinib Maintenance (80 mg/day indefinite)';
}
} else if (CRI >= 0.35) {
hero.classList.add('tier-2');
tierLabel.innerText = 'TIER 2 · INTERMEDIATE RESISTANCE RISK';
tierLabel.style.color = '#fbbf24';
rfsLabel.innerText = 'Expected 5-Year Relapse-Free Survival: 50% – 65%';
actionTitle.style.color = '#fbbf24';
actionTitle.innerHTML = '<span>⚠️</span> Intensive ctDNA Surveillance & Conditional Cessation';
actionBody.innerHTML = `
Moderate persister sanctuary risk. If planned cessation is considered at Month 36, mandatory serial monthly
ctDNA testing (limit of detection VAF < 0.005%) is required to intercept exponential molecular recurrence.
`;
trialArm.innerText = 'Arm B2 · ctDNA-Guided Pulse Consolidation (160 mg alternate days if ctDNA detected)';
} else {
hero.classList.add('tier-1');
tierLabel.innerText = 'TIER 1 · LOW RESISTANCE RISK (CURATIVE CANDIDATE)';
tierLabel.style.color = '#34d399';
rfsLabel.innerText = 'Expected 5-Year Relapse-Free Survival: > 85%';
actionTitle.style.color = '#34d399';
actionTitle.innerHTML = '<span>✅</span> Safe Planned Cessation Feasible at Month 36';
actionBody.innerHTML = `
Minimal pharmacological sanctuary volume. Intact alveolar microvasculature precludes sub-therapeutic shelters.
Patient is an optimal candidate for definitive curative cessation after 36 months of adjuvant osimertinib.
`;
trialArm.innerText = 'Arm A · Standard Planned Cessation at Month 36 (ADAURA Protocol)';
}
// 4. Biophysical Parameters
const r0 = 10.0; // capillary wall radius (um)
const r_ox = 200.0; // hypoxia necrosis limit (um)
const ic50 = 10.0; // osimertinib IC50 (nM)
// Stroma modulates effective diffusion length lambda
let lambda = 627.6; // baseline um
if (M === 1.00) lambda = 350.0; // severe desmoplasia reduces lambda
if (M === 0.10) lambda = 950.0; // loose stroma expands lambda
const K0_r0 = K0_integral(r0 / lambda);
const theta = ic50 / C_free;
// Find r_crit where C(r) = IC50
let rcrit = r0;
let low = r0;
let high = 500.0;
for (let step = 0; step < 40; step++) {
const mid = (low + high) / 2.0;
const val = K0_integral(mid / lambda) / K0_r0;
if (val > theta) {
low = mid;
} else {
high = mid;
}
}
rcrit = (low + high) / 2.0;
let delta_r = Math.max(0.0, r_ox - rcrit);
let vol_pct = 0.0;
if (delta_r > 0 && rcrit > r0) {
vol_pct = ((r_ox * r_ox - rcrit * rcrit) / (r_ox * r_ox - r0 * r0)) * 100.0;
}
// Lead time Delta t = Ts * log2(100)
const leadTimeMonths = (Ts * Math.log2(100.0)) / 30.4375;
// Update stat cards
document.getElementById('stat-rcrit').innerText = rcrit.toFixed(1) + ' μm';
document.getElementById('stat-deltar').innerText = delta_r.toFixed(1) + ' μm';
document.getElementById('stat-volpct').innerText = vol_pct.toFixed(1) + ' %';
document.getElementById('stat-leadtime').innerText = leadTimeMonths.toFixed(2) + ' mo';
// 5. Draw Dual Visualizations (1D Bessel Curve and 2D Perivascular Cord Cross-Section)
drawBesselCanvas(r0, r_ox, rcrit, lambda, C_free, ic50, delta_r);
drawCordCanvas(r0, r_ox, rcrit, delta_r, vol_pct, C_free, ic50);
}
function drawBesselCanvas(r0, r_ox, rcrit, lambda, C_free, ic50, delta_r) {
const canvas = document.getElementById('bessel-canvas');
const ctx = canvas.getContext('2d');
const dpr = window.devicePixelRatio || 1;
const width = canvas.parentElement.clientWidth;
const height = canvas.parentElement.clientHeight;
canvas.width = width * dpr;
canvas.height = height * dpr;
ctx.scale(dpr, dpr);
ctx.clearRect(0, 0, width, height);
const padLeft = 55;
const padRight = 35;
const padTop = 30;
const padBottom = 40;
const plotW = width - padLeft - padRight;
const plotH = height - padTop - padBottom;
const maxR = 220.0;
const maxC = Math.max(35.0, C_free * 1.05);
function toX(r) { return padLeft + (r / maxR) * plotW; }
function toY(c) { return padTop + plotH - (c / maxC) * plotH; }
// 1. Draw Sanctuary Zone Shading (r_crit to r_ox)
if (delta_r > 0 && rcrit < r_ox) {
const xStart = toX(rcrit);
const xEnd = toX(r_ox);
ctx.fillStyle = 'rgba(239, 68, 68, 0.25)';
ctx.fillRect(xStart, padTop, xEnd - xStart, plotH);
// Sanctuary label
ctx.fillStyle = '#f87171';
ctx.font = 'bold 11px sans-serif';
ctx.textAlign = 'center';
ctx.fillText(`Sanctuary (Δr = ${delta_r.toFixed(1)} μm)`, (xStart + xEnd) / 2, padTop + 20);
}
// 2. Draw Hypoxia/Necrosis zone beyond r_ox
const xOx = toX(r_ox);
ctx.fillStyle = 'rgba(15, 23, 42, 0.7)';
ctx.fillRect(xOx, padTop, width - padRight - xOx, plotH);
ctx.fillStyle = '#64748b';
ctx.font = '10px sans-serif';
ctx.textAlign = 'left';
ctx.fillText('Hypoxia/Necrosis', xOx + 4, padTop + 45);
// 3. Grid lines & axes
ctx.strokeStyle = '#334155';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(padLeft, padTop);
ctx.lineTo(padLeft, padTop + plotH);
ctx.lineTo(padLeft + plotW, padTop + plotH);
ctx.stroke();
// Axis labels
ctx.fillStyle = '#94a3b8';
ctx.font = '10px sans-serif';
ctx.textAlign = 'center';
for (let r = 0; r <= 200; r += 50) {
ctx.fillText(`${r} μm`, toX(r), padTop + plotH + 18);
}
ctx.textAlign = 'right';
for (let c = 0; c <= maxC; c += 10) {
ctx.fillText(`${c} nM`, padLeft - 8, toY(c) + 4);
}
// 4. IC50 Line (10 nM)
ctx.strokeStyle = '#f59e0b';
ctx.lineWidth = 1.5;
ctx.setLineDash([4, 4]);
ctx.beginPath();
ctx.moveTo(padLeft, toY(ic50));
ctx.lineTo(padLeft + plotW, toY(ic50));
ctx.stroke();
ctx.setLineDash([]);
ctx.fillStyle = '#f59e0b';
ctx.font = 'bold 10px sans-serif';
ctx.textAlign = 'left';
ctx.fillText('IC50 Threshold (10 nM)', padLeft + 6, toY(ic50) - 5);
// 5. Draw Concentration Curve C(r)
const K0_r0 = K0_integral(r0 / lambda);
ctx.strokeStyle = '#06b6d4';
ctx.lineWidth = 2.5;
ctx.beginPath();
let started = false;
for (let r = r0; r <= maxR; r += 2.0) {
const val = (K0_integral(r / lambda) / K0_r0) * C_free;
const x = toX(r);
const y = toY(val);
if (!started) {
ctx.moveTo(x, y);
started = true;
} else {
ctx.lineTo(x, y);
}
}
ctx.stroke();
// Capillary Wall Marker
ctx.fillStyle = '#38bdf8';
ctx.beginPath();
ctx.arc(toX(r0), toY(C_free), 4, 0, Math.PI * 2);
ctx.fill();
}
function copyConsultNote() {
const cri = document.getElementById('cri-value').innerText;
const tier = document.getElementById('cri-tier-label').innerText;
const rec = document.getElementById('action-title').innerText.replace('🚨 ', '').replace('⚠️ ', '').replace('✅ ', '');
const arm = document.getElementById('trial-arm').innerText;
const deltar = document.getElementById('stat-deltar').innerText;
const volpct = document.getElementById('stat-volpct').innerText;
const note = `====================================================================
COMPOSITE RESISTANCE INDEX (CRI) EXPLORATORY SIMULATION SUMMARY (RUO)
Study: Multiscale Biophysical Reaction-Diffusion Framework (Celebrano, 2026)
Preprint v2 DOI: 10.21203/rs.3.rs-11695210/v2 (Research Use Only)
====================================================================
• COMPOSITE RESISTANCE INDEX (CRI): ${cri} / 1.000
• RISK STRATIFICATION: ${tier}
• PHARMACOLOGICAL SANCTUARY SHELL: Δr = ${deltar} (Volume fraction: ${volpct})
• EXPLORATORY IN SILICO OUTPUT (RUO): ${rec}
• HYPOTHETICAL STRATIFICATION ARM: ${arm}
====================================================================`;
navigator.clipboard.writeText(note).then(() => {
alert('Consultation note copied to clipboard successfully!');
});
}
// 2D Perivascular Cord Cross-Section Rendering (Pure Vanilla Canvas)
function drawCordCanvas(r0, r_ox, rcrit, delta_r, vol_pct, C_free, ic50) {
const canvas = document.getElementById('cord-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
const dpr = window.devicePixelRatio || 1;
const width = canvas.parentElement.clientWidth;
const height = canvas.parentElement.clientHeight;
canvas.width = width * dpr;
canvas.height = height * dpr;
ctx.scale(dpr, dpr);
ctx.clearRect(0, 0, width, height);
const cx = width / 2;
const cy = height / 2;
const maxR = 230.0;
const R_max_px = Math.min(width, height) * 0.44;
function toPx(r) { return (r / maxR) * R_max_px; }
const px_r0 = toPx(r0);
const px_rcrit = toPx(rcrit);
const px_rox = toPx(r_ox);
const px_out = R_max_px;
// 1. Necrotic / Anoxic outer background
ctx.beginPath();
ctx.arc(cx, cy, px_out, 0, Math.PI * 2);
ctx.fillStyle = '#0f172a';
ctx.fill();
ctx.strokeStyle = '#334155';
ctx.lineWidth = 1;
ctx.stroke();
// 2. Viable Tumor Tissue boundary (r_ox)
ctx.beginPath();
ctx.arc(cx, cy, px_rox, 0, Math.PI * 2);
ctx.fillStyle = 'rgba(30, 41, 59, 0.9)';
ctx.fill();
// 3. Sub-therapeutic Pharmacological Sanctuary Sleeve (r_crit to r_ox)
if (delta_r > 0 && rcrit < r_ox) {
ctx.beginPath();
ctx.arc(cx, cy, px_rox, 0, Math.PI * 2);
ctx.fillStyle = 'rgba(245, 158, 11, 0.28)';
ctx.fill();
// Draw radial persister cells in the sanctuary sleeve
ctx.fillStyle = '#f59e0b';
const numPersisters = Math.min(60, Math.max(12, Math.round(vol_pct * 1.2)));
for (let i = 0; i < numPersisters; i++) {
const angle = (i / numPersisters) * Math.PI * 2 + (i % 3) * 0.2;
const radialFrac = 0.15 + 0.7 * ((i * 7) % 11) / 11;
const r_pos = px_rcrit + (px_rox - px_rcrit) * radialFrac;
const px = cx + Math.cos(angle) * r_pos;
const py = cy + Math.sin(angle) * r_pos;
ctx.beginPath();
ctx.arc(px, py, 2.2, 0, Math.PI * 2);
ctx.fill();
}
}
// 4. Effective Cytotoxic Kill Zone (r_v to r_crit)
ctx.beginPath();
ctx.arc(cx, cy, px_rcrit, 0, Math.PI * 2);
ctx.fillStyle = 'rgba(16, 185, 129, 0.25)';
ctx.fill();
ctx.strokeStyle = '#10b981';
ctx.lineWidth = 1.5;
ctx.stroke();
// 5. Capillary Lumen Core (r_v = 10 um)
ctx.beginPath();
ctx.arc(cx, cy, Math.max(4, px_r0), 0, Math.PI * 2);
ctx.fillStyle = '#e11d48';
ctx.fill();
ctx.strokeStyle = '#fda4af';
ctx.lineWidth = 1.5;
ctx.stroke();
// Capillary center dot
ctx.fillStyle = '#ffe4e6';
ctx.beginPath();
ctx.arc(cx, cy, 1.5, 0, Math.PI * 2);
ctx.fill();
// 6. Dashed boundary for r_ox (viable oxygen limit)
ctx.beginPath();
ctx.arc(cx, cy, px_rox, 0, Math.PI * 2);
ctx.strokeStyle = '#38bdf8';
ctx.setLineDash([4, 4]);
ctx.lineWidth = 1.2;
ctx.stroke();
ctx.setLineDash([]);
// 7. Radial Measurement Line and Annotations
ctx.strokeStyle = 'rgba(255, 255, 255, 0.6)';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(cx, cy);
ctx.lineTo(cx + px_rox + 20, cy);
ctx.stroke();
// Labels on measurement line
ctx.font = '10px sans-serif';
ctx.fillStyle = '#e2e8f0';
ctx.textAlign = 'center';
// r_crit marker tick
ctx.beginPath();
ctx.moveTo(cx + px_rcrit, cy - 6);
ctx.lineTo(cx + px_rcrit, cy + 6);
ctx.stroke();
ctx.fillText(`${rcrit.toFixed(0)} μm`, cx + px_rcrit, cy - 8);
// r_ox marker tick
ctx.beginPath();
ctx.moveTo(cx + px_rox, cy - 6);
ctx.lineTo(cx + px_rox, cy + 6);
ctx.stroke();
ctx.fillText(`200 μm`, cx + px_rox, cy - 8);
// Delta r banner
if (delta_r > 0 && rcrit < r_ox) {
ctx.fillStyle = '#fbbf24';
ctx.font = 'bold 11px sans-serif';
ctx.textAlign = 'left';
ctx.fillText(`Sanctuary Sleeve: Δr = ${delta_r.toFixed(1)} μm (${vol_pct.toFixed(1)}% cord vol)`, 12, 22);
} else {
ctx.fillStyle = '#34d399';
ctx.font = 'bold 11px sans-serif';
ctx.textAlign = 'left';
ctx.fillText(`Zero Sanctuary Sleeve (Complete Drug Penetration)`, 12, 22);
}
// Scale bar (50 um)
const scale50_px = toPx(50.0);
const sbX = width - scale50_px - 20;
const sbY = height - 16;
ctx.strokeStyle = '#e2e8f0';
ctx.lineWidth = 2;
ctx.beginPath();
ctx.moveTo(sbX, sbY);
ctx.lineTo(sbX + scale50_px, sbY);
ctx.stroke();
ctx.fillStyle = '#e2e8f0';
ctx.font = '9px sans-serif';
ctx.textAlign = 'center';
ctx.fillText('50 μm', sbX + scale50_px / 2, sbY - 4);
}
// Synchronized Dual Visualization (1D Bessel + 2D Cord Section)
function switchCanvasTab(tab) {
recalculate();
}
// Client-Side CSV/TSV Patient Data Parser
function handleFileDrop(e) {
e.preventDefault();
e.stopPropagation();
document.getElementById('drop-zone').classList.remove('dragover');
const files = e.dataTransfer.files;
if (files && files.length > 0) {
parsePatientFile(files[0]);
}
}
function handleFileDragOver(e) {
e.preventDefault();
e.stopPropagation();
document.getElementById('drop-zone').classList.add('dragover');
}
function handleFileDragLeave(e) {
e.preventDefault();
e.stopPropagation();
document.getElementById('drop-zone').classList.remove('dragover');
}
function handleFileSelect(e) {
const files = e.target.files;
if (files && files.length > 0) {
parsePatientFile(files[0]);
}
}
function parsePatientFile(file) {
const statusEl = document.getElementById('import-status');
statusEl.style.display = 'block';
statusEl.style.background = 'rgba(6, 182, 212, 0.15)';
statusEl.style.color = '#38bdf8';
statusEl.innerText = `Reading ${file.name}...`;
const reader = new FileReader();
reader.onload = function(evt) {
try {
const text = evt.target.result;
const lines = text.trim().split(/\r?\n/).filter(l => l.trim().length > 0);
if (lines.length < 2) throw new Error('File has no data rows');
const header = lines[0].toLowerCase().split(/[\t,;]/).map(h => h.trim().replace(/['"]/g, ''));
let S_val = null, G_val = null, M_val = null, C_val = null, T_val = null;
// Check if direct parameter columns exist
for (let i = 1; i < lines.length; i++) {
const cols = lines[i].split(/[\t,;]/).map(c => c.trim().replace(/['"]/g, ''));
header.forEach((h, idx) => {
const val = parseFloat(cols[idx]);
if (!isNaN(val)) {
if (h === 's' || h.includes('histol') || h.includes('archit')) S_val = Math.min(1.0, Math.max(0.1, val));
if (h === 'g' || h.includes('genom') || h.includes('tier') || h.includes('mut')) G_val = Math.min(1.0, Math.max(0.1, val));
if (h === 'm' || h.includes('strom') || h.includes('desmo') || h.includes('ifp')) M_val = Math.min(1.0, Math.max(0.1, val));
if (h.includes('cfree') || h.includes('c_free') || h.includes('conc')) C_val = Math.min(50.0, Math.max(10.0, val));
if (h.includes('ts') || h.includes('t_s') || h.includes('doubl')) T_val = Math.min(45.0, Math.max(15.0, val));
}
});
if (S_val !== null || G_val !== null) break;
}
// Check if spatial spot counts exist (T_S, T_R, S_CAF)
const tsIdx = header.indexOf('t_s');
const trIdx = header.indexOf('t_r');
const scafIdx = header.indexOf('s_caf');
if (tsIdx !== -1 && trIdx !== -1 && scafIdx !== -1) {
let sumTS = 0, sumTR = 0, sumSCAF = 0;
for (let i = 1; i < lines.length; i++) {
const cols = lines[i].split(/[\t,;]/).map(c => parseFloat(c.trim()));
if (!isNaN(cols[tsIdx])) sumTS += cols[tsIdx];
if (!isNaN(cols[trIdx])) sumTR += cols[trIdx];
if (!isNaN(cols[scafIdx])) sumSCAF += cols[scafIdx];
}
const total = sumTS + sumTR + sumSCAF;
if (total > 0) {
const fracTR = sumTR / total;
const fracSCAF = sumSCAF / total;
G_val = fracTR > 0.35 ? 1.00 : (fracTR > 0.15 ? 0.50 : (fracTR > 0.05 ? 0.30 : 0.10));
M_val = fracSCAF > 0.35 ? 1.00 : (fracSCAF > 0.15 ? 0.50 : 0.10);
S_val = (G_val >= 0.50) ? 1.00 : 0.50;
}
}
// Apply detected values
if (S_val !== null) document.getElementById('select-histology').value = S_val >= 0.8 ? '1.00' : (S_val >= 0.65 ? '0.75' : (S_val >= 0.35 ? '0.50' : (S_val >= 0.2 ? '0.25' : '0.15')));
if (G_val !== null) document.getElementById('select-genomics').value = G_val >= 0.8 ? '1.00' : (G_val >= 0.45 ? '0.50' : (G_val >= 0.25 ? '0.30' : '0.10'));
if (M_val !== null) document.getElementById('select-stroma').value = M_val >= 0.75 ? '1.00' : (M_val >= 0.35 ? '0.50' : '0.10');
if (C_val !== null) document.getElementById('slider-cfree').value = C_val;
if (T_val !== null) document.getElementById('slider-ts').value = T_val;
recalculate();
statusEl.style.background = 'rgba(16, 185, 129, 0.15)';
statusEl.style.color = '#34d399';
statusEl.innerHTML = `✅ Successfully imported <strong>${file.name}</strong> (${lines.length - 1} data records). CRI Recalibrated!`;
} catch (err) {
statusEl.style.background = 'rgba(239, 68, 68, 0.15)';
statusEl.style.color = '#f87171';
statusEl.innerText = `❌ Import error: ${err.message}`;
}
};
reader.readAsText(file);
}
// Print Official Clinical Consultation Report
function printClinicalReport() {
const now = new Date();
const dateStr = now.toLocaleDateString('en-GB', { day: 'numeric', month: 'short', year: 'numeric' }) + ' ' + now.toLocaleTimeString('en-GB', { hour: '2-digit', minute: '2-digit' });
const printDateEl = document.getElementById('print-date');
if (printDateEl) printDateEl.innerText = dateStr;
window.print();
}
// Initialize on load & resize
function handleInitialRoute() {
const hash = (window.location.hash || '').replace('#', '').toLowerCase();
if (hash === 'simulator' || hash === 'module-3' || hash === 'twin') {
switchMainModule('3', false);
} else if (hash === 'visium' || hash === 'module-2') {
switchMainModule('2', false);
} else if (hash === 'insitugame' || hash === 'game' || hash === 'module-4') {
switchMainModule('4', false);
} else if (hash === 'evidence' || hash === 'cohort' || hash === 'module-5') {
switchMainModule('5', false);
} else {
switchMainModule('1', false);
recalculate();
}
}
window.addEventListener('load', handleInitialRoute);
window.addEventListener('hashchange', handleInitialRoute);
window.addEventListener('resize', () => {
recalculate();
});
// ==========================================
// GRAND UNIFIED PORTAL: MODULE SWITCHER
// ==========================================
// 10x Visium HD Spots Data (N = 3,858 sequenced spots)
const VISIUM_SPOTS = [[13,185,2,985.0],[389,596,3,100.3],[364,361,5,0.0],[636,723,5,0.0],[338,344,5,0.0],[688,50,5,0.0],[844,84,5,0.0],[247,218,5,0.0],[792,67,5,0.0],[130,176,5,0.0],[1000,874,5,0.0],[506,874,1,0.0],[325,151,2,986.7],[234,126,5,0.0],[623,412,1,0.0],[234,647,2,558.1],[130,159,5,0.0],[493,378,5,0.0],[961,731,5,0.0],[117,605,5,0.0],[299,823,2,625.7],[610,907,5,0.0],[545,143,5,0.0],[818,689,5,0.0],[727,630,2,399.7],[545,328,5,0.0],[909,328,0,0.0],[831,983,5,0.0],[507,101,5,0.0],[649,849,5,0.0],[909,227,5,0.0],[987,698,3,100.0],[818,202,2,360.3],[766,101,5,0.0],[688,487,5,0.0],[273,218,0,0.0],[909,445,2,890.5],[662,471,5,0.0],[467,832,5,0.0],[104,680,5,0.0],[818,437,5,0.0],[221,369,5,0.0],[363,765,5,0.0],[532,924,0,0.0],[987,143,0,0.0],[493,664,1,0.0],[312,344,5,0.0],[753,597,5,0.0],[714,403,1,0.0],[182,647,2,360.6],[753,109,5,0.0],[454,840,2,173.3],[935,462,5,0.0],[130,210,2,529.3],[519,512,5,0.0],[844,504,0,0.0],[844,353,0,0.0],[311,815,2,530.0],[104,75,2,1345.3],[922,538,2,608.6],[208,92,0,0.0],[143,218,2,458.3],[221,588,5,0.0],[805,109,5,0.0],[338,697,5,0.0],[559,67,5,0.0],[519,647,5,0.0],[584,218,5,0.0],[935,395,2,655.5],[870,723,2,501.6],[273,437,5,0.0],[221,454,5,0.0],[338,227,5,0.0],[675,849,5,0.0],[558,386,0,0.0],[766,336,0,0.0],[143,672,5,0.0],[117,67,5,0.0],[143,622,5,0.0],[376,924,2,601.8],[675,950,5,0.0],[922,454,0,0.0],[195,285,5,0.0],[831,210,5,0.0],[636,588,2,624.7],[740,0,2,1472.9],[870,168,5,0.0],[974,857,5,0.0],[493,597,1,0.0],[610,118,5,0.0],[403,235,5,0.0],[260,613,2,400.0],[39,319,5,0.0],[766,588,2,529.1],[260,260,5,0.0],[623,210,5,0.0],[351,101,5,0.0],[948,874,5,0.0],[636,840,5,0.0],[169,218,2,458.1],[234,899,2,1251.3],[558,504,0,0.0],[364,126,5,0.0],[390,227,5,0.0],[273,134,5,0.0],[325,269,5,0.0],[948,723,5,0.0],[1000,269,5,0.0],[649,933,0,0.0],[792,555,2,459.3],[870,353,2,360.6],[740,605,5,0.0],[104,294,5,0.0],[415,815,2,200.6],[805,462,5,0.0],[221,823,2,1057.1],[559,134,5,0.0],[415,613,2,173.3],[649,143,5,0.0],[376,739,5,0.0],[169,823,2,1379.9],[558,286,5,0.0],[234,428,5,0.0],[740,723,2,173.3],[91,403,0,0.0],[779,882,2,531.3],[351,168,2,795.0],[1000,370,2,608.4],[753,882,5,0.0],[818,370,5,0.0],[195,453,0,0.0],[740,857,2,627.0],[351,588,2,264.9],[636,235,2,361.4],[636,202,5,0.0],[766,605,5,0.0],[675,378,1,0.0],[571,513,5,0.0],[948,420,5,0.0],[247,790,5,0.0],[792,756,5,0.0],[467,697,0,0.0],[701,630,0,0.0],[805,496,5,0.0],[558,235,0,0.0],[286,378,5,0.0],[636,420,0,0.0],[351,319,5,0.0],[325,622,2,520.0],[610,487,1,0.0],[117,353,5,0.0],[935,429,5,0.0],[766,471,2,265.1],[337,933,2,821.6],[974,807,1,0.0],[987,681,1,0.0],[831,109,5,0.0],[805,479,5,0.0],[273,672,2,702.0],[377,202,5,0.0],[636,252,5,0.0],[156,327,5,0.0],[480,622,0,0.0],[403,134,5,0.0],[623,664,2,459.3],[545,714,5,0.0],[675,429,5,0.0],[571,395,5,0.0],[597,92,0,0.0],[247,353,5,0.0],[156,311,0,0.0],[883,177,5,0.0],[779,76,5,0.0],[208,193,5,0.0],[519,546,1,0.0],[402,756,3,100.4],[454,975,1,0.0],[441,748,5,0.0],[753,513,0,0.0],[156,647,5,0.0],[467,496,0,0.0],[467,882,2,173.3],[597,597,0,0.0],[961,983,5,0.0],[78,159,5,0.0],[870,437,5,0.0],[662,67,2,1081.5],[584,907,0,0.0],[740,168,2,520.1],[221,722,2,872.2],[429,202,5,0.0],[610,655,2,436.6],[857,361,2,301.0],[831,580,2,346.8],[65,386,5,0.0],[779,462,0,0.0],[649,748,0,0.0],[234,445,5,0.0],[403,454,5,0.0],[662,202,5,0.0],[688,185,2,360.6],[714,286,0,0.0],[779,361,0,0.0],[312,445,5,0.0],[377,588,5,0.0],[221,470,5,0.0],[896,471,5,0.0],[350,975,0,0.0],[623,176,5,0.0],[805,42,5,0.0],[156,680,2,556.6],[675,395,0,0.0],[324,874,2,793.9],[428,907,5,0.0],[909,966,5,0.0],[857,882,5,0.0],[831,227,5,0.0],[441,849,2,264.5],[662,857,5,0.0],[922,672,5,0.0],[779,916,5,0.0],[974,235,0,0.0],[363,781,2,200.0],[104,143,5,0.0],[299,840,2,701.0],[247,672,2,722.5],[987,361,2,520.0],[467,781,1,0.0],[325,487,0,0.0],[480,756,2,173.5],[195,302,5,0.0],[740,639,5,0.0],[532,454,5,0.0],[260,546,1,0.0],[572,76,5,0.0],[572,59,5,0.0],[883,529,5,0.0],[883,714,5,0.0],[831,832,5,0.0],[441,412,5,0.0],[429,84,5,0.0],[870,857,0,0.0],[766,723,5,0.0],[26,311,0,0.0],[766,487,2,200.7],[260,327,5,0.0],[533,168,5,0.0],[234,664,2,625.7],[143,336,5,0.0],[234,748,2,869.7],[909,429,5,0.0],[961,126,0,0.0],[402,706,5,0.0],[195,823,5,0.0],[117,706,5,0.0],[286,462,5,0.0],[364,159,5,0.0],[156,361,5,0.0],[961,950,1,0.0],[701,193,5,0.0],[182,378,5,0.0],[117,336,1,0.0],[506,823,5,0.0],[377,67,5,0.0],[364,462,2,300.8],[779,647,5,0.0],[701,412,1,0.0],[610,538,2,300.0],[247,588,5,0.0],[78,311,5,0.0],[480,907,1,0.0],[649,496,3,100.0],[805,664,2,401.3],[156,294,1,0.0],[519,815,1,0.0],[285,882,5,0.0],[338,596,2,361.2],[91,252,5,0.0],[325,168,5,0.0],[688,941,5,0.0],[779,832,5,0.0],[753,345,0,0.0],[649,395,1,0.0],[247,773,2,797.0],[558,924,5,0.0],[688,723,5,0.0],[636,622,2,701.0],[312,731,5,0.0],[818,555,0,0.0],[52,176,5,0.0],[974,908,5,0.0],[234,815,5,0.0],[403,286,5,0.0],[376,790,2,264.7],[416,109,5,0.0],[896,219,5,0.0],[701,244,1,0.0],[935,261,0,0.0],[623,899,5,0.0],[870,874,5,0.0],[740,454,5,0.0],[623,832,0,0.0],[273,605,2,360.4],[65,285,5,0.0],[169,857,2,1457.5],[545,445,5,0.0],[870,639,0,0.0],[506,790,0,0.0],[13,168,0,0.0],[922,605,5,0.0],[831,496,5,0.0],[1000,689,0,0.0],[260,344,5,0.0],[584,403,5,0.0],[935,630,5,0.0],[441,933,2,264.7],[961,193,0,0.0],[1000,756,5,0.0],[195,336,5,0.0],[493,832,0,0.0],[299,790,5,0.0],[519,294,5,0.0],[260,630,5,0.0],[350,773,5,0.0],[390,462,5,0.0],[766,437,5,0.0],[974,555,2,360.6],[727,227,5,0.0],[1000,521,2,556.9],[818,420,2,459.3],[351,117,5,0.0],[974,269,0,0.0],[584,756,0,0.0],[987,849,5,0.0],[390,210,5,0.0],[896,487,2,889.0],[429,420,5,0.0],[792,134,5,0.0],[714,50,5,0.0],[416,210,5,0.0],[455,353,5,0.0],[273,622,5,0.0],[922,303,5,0.0],[454,958,0,0.0],[273,454,5,0.0],[792,504,0,0.0],[792,622,2,437.8],[390,143,5,0.0],[753,210,5,0.0],[662,571,2,556.5],[130,126,5,0.0],[701,613,5,0.0],[935,899,5,0.0],[598,59,5,0.0],[688,218,2,173.3],[766,521,0,0.0],[727,345,0,0.0],[221,403,2,200.7],[545,395,5,0.0],[753,563,5,0.0],[701,899,5,0.0],[533,134,5,0.0],[403,403,5,0.0],[753,966,5,0.0],[857,765,5,0.0],[896,840,5,0.0],[402,975,2,347.8],[389,680,2,301.0],[779,815,5,0.0],[182,327,0,0.0],[623,328,5,0.0],[299,689,2,501.5],[818,303,3,100.2],[844,151,2,655.6],[1000,336,5,0.0],[740,924,0,0.0],[766,0,2,1513.5],[714,454,0,0.0],[766,824,5,0.0],[130,596,5,0.0],[675,697,2,348.1],[922,706,0,0.0],[870,521,5,0.0],[675,160,5,0.0],[610,84,0,0.0],[402,622,2,199.7],[416,479,5,0.0],[402,991,0,0.0],[688,739,5,0.0],[623,950,2,437.8],[312,159,2,1017.4],[922,639,2,264.7],[948,487,5,0.0],[195,67,5,0.0],[805,177,5,0.0],[987,530,2,500.0],[234,92,2,1308.3],[857,244,0,0.0],[714,571,5,0.0],[325,571,2,300.0],[156,109,5,0.0],[558,756,5,0.0],[519,378,0,0.0],[65,235,5,0.0],[195,605,5,0.0],[143,84,5,0.0],[403,302,5,0.0],[363,798,5,0.0],[766,118,5,0.0],[286,243,5,0.0],[117,252,5,0.0],[1000,219,0,0.0],[234,395,2,301.0],[935,530,5,0.0],[909,479,2,955.0],[182,899,2,1514.0],[935,378,0,0.0],[883,76,2,1153.3],[844,975,5,0.0],[143,319,0,0.0],[701,160,5,0.0],[675,227,0,0.0],[753,260,5,0.0],[507,67,5,0.0],[636,185,5,0.0],[870,101,5,0.0],[831,311,1,0.0],[831,697,5,0.0],[195,470,5,0.0],[247,924,2,1309.4],[415,630,2,264.4],[922,269,1,0.0],[779,42,5,0.0],[987,748,1,0.0],[974,319,2,264.3],[338,412,5,0.0],[649,681,2,531.4],[0,311,5,0.0],[584,790,0,0.0],[506,605,0,0.0],[896,891,5,0.0],[701,731,5,0.0],[286,327,0,0.0],[727,798,5,0.0],[740,538,5,0.0],[792,269,0,0.0],[636,807,5,0.0],[273,655,2,655.5],[948,454,5,0.0],[467,596,5,0.0],[844,958,5,0.0],[312,412,5,0.0],[182,764,5,0.0],[195,403,0,0.0],[182,798,5,0.0],[623,344,5,0.0],[338,260,5,0.0],[390,109,5,0.0],[961,277,1,0.0],[247,269,5,0.0],[753,832,0,0.0],[805,849,5,0.0],[480,454,0,0.0],[532,857,5,0.0],[558,319,5,0.0],[974,924,5,0.0],[416,92,5,0.0],[506,370,5,0.0],[454,571,0,0.0],[506,975,5,0.0],[390,529,0,0.0],[844,134,2,754.8],[857,664,2,200.0],[766,874,5,0.0],[260,731,2,695.6],[208,680,2,608.6],[364,580,0,0.0],[779,966,5,0.0],[169,151,5,0.0],[831,1000,5,0.0],[909,42,0,0.0],[0,210,5,0.0],[974,672,0,0.0],[364,445,5,0.0],[416,260,5,0.0],[883,496,2,818.5],[78,378,5,0.0],[610,739,0,0.0],[584,706,0,0.0],[610,319,5,0.0],[948,891,5,0.0],[896,639,2,265.7],[571,933,5,0.0],[857,412,0,0.0],[532,353,0,0.0],[779,563,2,436.4],[195,319,5,0.0],[857,748,2,500.0],[792,420,5,0.0],[260,143,5,0.0],[182,714,0,0.0],[896,319,5,0.0],[935,580,5,0.0],[273,370,5,0.0],[429,319,5,0.0],[896,387,2,601.9],[805,748,2,601.8],[948,403,2,700.0],[415,882,2,460.1],[948,975,5,0.0],[286,781,2,558.8],[402,521,2,200.0],[727,445,0,0.0],[389,882,2,609.0],[753,42,5,0.0],[688,538,0,0.0],[350,857,5,0.0],[753,866,5,0.0],[922,84,5,0.0],[117,756,5,0.0],[805,815,5,0.0],[156,344,5,0.0],[571,496,0,0.0],[338,311,5,0.0],[104,664,5,0.0],[610,286,5,0.0],[156,193,2,599.7],[558,252,2,700.3],[52,311,0,0.0],[428,554,5,0.0],[455,235,5,0.0],[857,647,0,0.0],[428,958,2,200.6],[325,302,5,0.0],[870,67,5,0.0],[688,622,5,0.0],[416,395,5,0.0],[415,664,2,174.0],[779,765,5,0.0],[779,126,5,0.0],[429,403,5,0.0],[286,109,2,1348.0],[480,975,5,0.0],[610,941,2,348.1],[533,118,5,0.0],[338,143,2,965.8],[429,117,5,0.0],[260,580,5,0.0],[714,319,0,0.0],[974,454,5,0.0],[844,756,2,458.3],[636,958,0,0.0],[208,613,0,0.0],[91,302,5,0.0],[351,420,5,0.0],[779,143,5,0.0],[208,580,5,0.0],[662,151,5,0.0],[324,924,2,919.8],[520,143,5,0.0],[597,328,0,0.0],[481,269,5,0.0],[727,126,5,0.0],[467,865,2,173.8],[441,781,1,0.0],[558,571,0,0.0],[740,689,3,100.1],[260,798,2,757.7],[714,555,5,0.0],[909,563,5,0.0],[376,756,0,0.0],[662,101,2,888.7],[117,386,1,0.0],[65,134,5,0.0],[909,76,5,0.0],[935,832,0,0.0],[922,958,5,0.0],[922,336,2,346.8],[377,622,2,264.9],[896,437,5,0.0],[948,370,2,500.0],[324,722,5,0.0],[688,891,5,0.0],[454,924,5,0.0],[234,933,5,0.0],[13,218,0,0.0],[441,832,2,173.2],[338,496,5,0.0],[234,311,5,0.0],[597,445,1,0.0],[558,655,0,0.0],[649,865,5,0.0],[792,773,5,0.0],[896,656,5,0.0],[468,294,0,0.0],[221,117,5,0.0],[468,59,5,0.0],[753,227,5,0.0],[727,76,5,0.0],[0,193,2,964.8],[1000,840,5,0.0],[117,151,5,0.0],[883,950,5,0.0],[520,109,5,0.0],[429,437,5,0.0],[636,739,2,265.1],[91,386,5,0.0],[377,370,5,0.0],[182,882,5,0.0],[299,370,5,0.0],[753,8,0,0.0],[312,59,2,1474.6],[558,975,3,100.0],[688,874,5,0.0],[429,134,5,0.0],[429,269,1,0.0],[714,975,5,0.0],[402,689,5,0.0],[857,294,1,0.0],[662,588,2,655.5],[935,647,5,0.0],[506,454,5,0.0],[571,412,5,0.0],[260,176,5,0.0],[260,933,2,1301.3],[376,672,2,360.4],[701,462,0,0.0],[143,840,2,1509.6],[377,235,5,0.0],[338,210,5,0.0],[454,521,0,0.0],[623,613,2,693.4],[428,521,0,0.0],[623,193,5,0.0],[766,185,5,0.0],[909,59,5,0.0],[649,109,2,872.2],[39,235,0,0.0],[39,84,5,0.0],[221,185,5,0.0],[493,630,5,0.0],[299,622,2,458.0],[532,672,5,0.0],[364,546,5,0.0],[909,126,5,0.0],[740,353,0,0.0],[558,958,1,0.0],[883,882,5,0.0],[221,655,2,530.1],[350,958,2,702.8],[714,672,2,173.3],[831,193,5,0.0],[714,185,5,0.0],[182,781,5,0.0],[350,991,0,0.0],[364,378,5,0.0],[974,992,0,0.0],[312,647,5,0.0],[844,656,2,173.5],[584,454,1,0.0],[714,689,5,0.0],[364,227,5,0.0],[454,773,1,0.0],[519,966,0,0.0],[195,907,2,1476.6],[325,504,3,100.0],[532,504,0,0.0],[623,378,1,0.0],[961,832,1,0.0],[571,479,1,0.0],[273,117,0,0.0],[65,201,2,820.2],[857,849,5,0.0],[922,857,1,0.0],[844,891,5,0.0],[415,916,2,436.4],[662,840,5,0.0],[545,849,5,0.0],[727,176,2,436.1],[467,849,2,173.3],[766,908,5,0.0],[636,101,5,0.0],[195,437,0,0.0],[740,34,5,0.0],[415,714,5,0.0],[415,832,5,0.0],[26,75,0,0.0],[454,504,2,173.3],[390,344,5,0.0],[831,681,5,0.0],[948,118,2,916.5],[961,160,0,0.0],[156,630,5,0.0],[506,538,1,0.0],[857,277,0,0.0],[416,311,5,0.0],[130,143,5,0.0],[273,722,2,610.8],[701,429,5,0.0],[545,966,0,0.0],[91,134,5,0.0],[974,202,2,458.4],[169,386,0,0.0],[896,454,0,0.0],[662,454,5,0.0],[727,899,5,0.0],[766,370,1,0.0],[909,210,5,0.0],[870,975,5,0.0],[740,219,5,0.0],[532,386,0,0.0],[441,680,1,0.0],[623,361,5,0.0],[727,781,0,0.0],[338,613,2,436.3],[948,538,5,0.0],[507,235,5,0.0],[234,176,5,0.0],[273,857,2,890.5],[104,243,5,0.0],[428,807,3,100.3],[584,672,5,0.0],[922,656,0,0.0],[623,798,5,0.0],[467,681,0,0.0],[870,504,5,0.0],[922,202,5,0.0],[416,445,5,0.0],[247,185,5,0.0],[844,992,5,0.0],[792,958,5,0.0],[883,328,2,264.9],[909,277,0,0.0],[961,496,5,0.0],[610,857,5,0.0],[234,243,5,0.0],[299,521,1,0.0],[299,655,2,625.7],[636,471,5,0.0],[831,361,5,0.0],[987,866,5,0.0],[597,647,0,0.0],[896,958,5,0.0],[714,235,5,0.0],[52,193,5,0.0],[779,697,2,347.8],[909,866,0,0.0],[13,302,5,0.0],[273,67,5,0.0],[792,689,5,0.0],[740,655,5,0.0],[376,907,0,0.0],[312,680,2,459.1],[299,151,2,1116.3],[169,101,5,0.0],[649,412,1,0.0],[779,849,5,0.0],[558,420,5,0.0],[610,504,5,0.0],[610,924,2,362.1],[273,554,5,0.0],[52,126,5,0.0],[260,899,5,0.0],[649,378,5,0.0],[143,655,5,0.0],[169,941,2,1738.8],[909,345,2,436.1],[545,949,1,0.0],[208,277,5,0.0],[649,126,5,0.0],[441,479,0,0.0],[636,571,2,529.3],[558,823,0,0.0],[104,361,5,0.0],[727,429,0,0.0],[597,344,5,0.0],[701,227,0,0.0],[857,681,5,0.0],[636,538,2,346.7],[221,806,2,1018.6],[636,319,5,0.0],[805,143,5,0.0],[428,639,5,0.0],[571,378,5,0.0],[818,807,2,301.0],[883,899,1,0.0],[468,76,5,0.0],[792,521,2,361.9],[312,193,2,902.8],[792,101,5,0.0],[467,428,5,0.0],[623,681,2,401.2],[208,714,2,794.0],[390,479,2,264.5],[675,193,5,0.0],[455,319,5,0.0],[506,588,0,0.0],[234,697,2,781.8],[156,428,5,0.0],[740,874,5,0.0],[909,177,0,0.0],[337,798,5,0.0],[753,529,2,173.3],[299,134,2,1181.6],[286,277,5,0.0],[805,866,5,0.0],[208,395,2,173.5],[533,202,5,0.0],[935,311,2,173.3],[623,597,2,655.7],[182,277,5,0.0],[805,697,5,0.0],[442,193,5,0.0],[39,336,0,0.0],[507,134,5,0.0],[935,714,5,0.0],[792,941,5,0.0],[935,765,5,0.0],[831,933,5,0.0],[520,92,5,0.0],[454,487,5,0.0],[844,185,2,458.1],[766,387,0,0.0],[299,571,5,0.0],[441,714,1,0.0],[727,92,5,0.0],[403,353,5,0.0],[507,185,5,0.0],[312,126,5,0.0],[169,806,2,1299.7],[468,311,5,0.0],[454,907,5,0.0],[442,260,5,0.0],[610,336,5,0.0],[662,134,5,0.0],[428,773,1,0.0],[701,983,0,0.0],[870,151,2,700.3],[156,815,5,0.0],[351,672,2,360.3],[389,613,2,173.2],[779,899,5,0.0],[922,151,2,699.7],[312,243,5,0.0],[987,782,5,0.0],[584,622,0,0.0],[662,773,2,200.5],[364,143,5,0.0],[688,807,5,0.0],[688,353,1,0.0],[546,76,5,0.0],[584,84,5,0.0],[584,840,5,0.0],[169,622,2,200.0],[948,639,3,100.2],[922,773,5,0.0],[662,504,2,173.3],[987,580,2,200.0],[377,554,1,0.0],[948,756,5,0.0],[208,815,2,1117.5],[260,479,5,0.0],[675,361,1,0.0],[532,941,1,0.0],[78,109,5,0.0],[714,891,5,0.0],[610,134,5,0.0],[480,672,0,0.0],[480,874,5,0.0],[117,773,5,0.0],[247,134,0,0.0],[130,92,5,0.0],[351,370,5,0.0],[597,193,5,0.0],[337,865,2,721.1],[195,218,5,0.0],[779,613,2,531.4],[584,168,0,0.0],[935,966,5,0.0],[481,50,5,0.0],[1000,908,5,0.0],[506,655,1,0.0],[909,462,5,0.0],[857,445,5,0.0],[714,336,1,0.0],[1000,488,5,0.0],[234,865,2,1116.3],[169,689,2,600.0],[351,151,0,0.0],[545,613,0,0.0],[247,420,5,0.0],[208,176,5,0.0],[507,118,5,0.0],[935,193,0,0.0],[428,504,0,0.0],[312,143,2,1083.7],[857,798,5,0.0],[636,655,0,0.0],[402,790,5,0.0],[52,361,1,0.0],[442,109,5,0.0],[351,622,2,401.3],[974,286,5,0.0],[883,933,5,0.0],[623,496,3,100.0],[766,168,5,0.0],[974,706,2,173.3],[649,445,3,100.0],[312,109,2,1230.6],[402,924,5,0.0],[883,479,5,0.0],[285,849,2,795.2],[467,395,5,0.0],[78,294,5,0.0],[740,555,2,299.7],[156,143,5,0.0],[481,151,5,0.0],[312,361,5,0.0],[441,882,5,0.0],[831,177,5,0.0],[273,840,2,820.4],[169,235,2,360.7],[597,748,5,0.0],[402,840,5,0.0],[844,790,5,0.0],[376,655,2,436.1],[662,672,0,0.0],[727,479,5,0.0],[467,664,1,0.0],[623,815,5,0.0],[766,555,0,0.0],[701,697,2,174.0],[831,765,2,436.1],[792,471,2,401.5],[545,798,2,200.6],[312,781,2,401.1],[260,59,5,0.0],[675,664,0,0.0],[558,891,2,174.0],[0,159,0,0.0],[493,815,0,0.0],[857,126,2,818.5],[688,571,2,530.0],[571,311,0,0.0],[844,67,0,0.0],[221,605,2,362.0],[493,714,0,0.0],[714,521,2,200.6],[493,899,1,0.0],[130,613,5,0.0],[299,353,5,0.0],[961,748,1,0.0],[818,723,2,608.6],[662,218,5,0.0],[870,420,0,0.0],[350,840,2,556.6],[727,59,5,0.0],[351,84,5,0.0],[961,429,5,0.0],[351,302,5,0.0],[766,67,5,0.0],[442,244,5,0.0],[597,697,2,200.7],[688,370,0,0.0],[935,143,2,754.8],[896,403,2,657.5],[805,361,5,0.0],[753,294,2,174.0],[195,672,2,529.3],[324,907,5,0.0],[325,117,2,1137.3],[961,546,0,0.0],[857,933,5,0.0],[623,882,5,0.0],[779,311,4,99.7],[584,386,5,0.0],[117,655,2,530.0],[532,571,5,0.0],[260,697,2,723.9],[520,176,5,0.0],[493,748,2,264.4],[506,958,5,0.0],[532,655,5,0.0],[234,277,5,0.0],[208,664,2,520.0],[558,622,2,265.7],[675,92,5,0.0],[714,807,5,0.0],[792,151,5,0.0],[247,840,5,0.0],[909,832,5,0.0],[610,403,5,0.0],[792,84,5,0.0],[104,260,5,0.0],[935,76,5,0.0],[468,210,5,0.0],[792,370,5,0.0],[311,933,2,988.8],[597,244,5,0.0],[597,210,0,0.0],[182,227,2,436.1],[571,227,5,0.0],[792,50,5,0.0],[896,370,0,0.0],[247,252,5,0.0],[169,67,5,0.0],[415,748,0,0.0],[792,387,5,0.0],[506,319,5,0.0],[234,412,5,0.0],[26,143,5,0.0],[130,193,5,0.0],[766,756,2,436.4],[312,92,5,0.0],[805,580,5,0.0],[922,723,5,0.0],[870,605,5,0.0],[389,781,5,0.0],[844,101,5,0.0],[623,42,5,0.0],[104,227,5,0.0],[948,202,5,0.0],[948,286,1,0.0],[324,756,5,0.0],[520,260,5,0.0],[870,773,5,0.0],[649,597,5,0.0],[312,227,5,0.0],[792,672,2,460.0],[494,311,5,0.0],[546,109,5,0.0],[766,420,5,0.0],[104,613,2,460.0],[649,176,0,0.0],[455,134,5,0.0],[428,739,5,0.0],[117,672,5,0.0],[649,647,5,0.0],[844,235,5,0.0],[351,454,0,0.0],[117,285,5,0.0],[987,277,5,0.0],[156,781,5,0.0],[312,496,5,0.0],[286,680,2,601.7],[948,437,5,0.0],[454,622,0,0.0],[52,294,5,0.0],[753,916,5,0.0],[688,555,2,459.3],[169,790,2,1199.7],[364,311,5,0.0],[195,840,5,0.0],[298,907,2,1044.5],[260,311,5,0.0],[234,630,5,0.0],[299,722,5,0.0],[974,185,5,0.0],[675,597,0,0.0],[701,597,5,0.0],[247,201,5,0.0],[493,613,0,0.0],[390,193,5,0.0],[415,983,0,0.0],[221,638,2,459.3],[818,538,0,0.0],[805,8,0,0.0],[195,369,5,0.0],[532,403,5,0.0],[727,681,5,0.0],[299,454,0,0.0],[922,908,5,0.0],[130,378,0,0.0],[701,344,1,0.0],[156,714,2,754.8],[948,521,2,608.6],[714,134,5,0.0],[286,159,2,1156.4],[377,50,5,0.0],[974,723,0,0.0],[805,445,5,0.0],[454,470,1,0.0],[779,244,5,0.0],[338,512,0,0.0],[468,143,5,0.0],[870,84,0,0.0],[441,697,5,0.0],[675,916,5,0.0],[299,302,5,0.0],[844,50,0,0.0],[649,798,5,0.0],[468,244,5,0.0],[311,882,2,872.2],[532,706,5,0.0],[558,790,2,173.3],[234,143,5,0.0],[922,185,2,499.7],[597,681,2,265.1],[753,76,5,0.0],[532,319,5,0.0],[935,210,2,360.4],[143,689,5,0.0],[831,345,5,0.0],[623,311,0,0.0],[454,639,1,0.0],[909,681,5,0.0],[467,563,1,0.0],[623,227,0,0.0],[221,168,5,0.0],[818,672,5,0.0],[598,42,5,0.0],[0,294,5,0.0],[623,647,2,530.0],[480,437,5,0.0],[494,210,5,0.0],[818,740,2,608.6],[857,513,0,0.0],[688,588,2,609.0],[948,135,5,0.0],[662,286,5,0.0],[779,176,5,0.0],[376,941,2,558.7],[831,395,0,0.0],[818,992,5,0.0],[65,84,0,0.0],[273,739,2,610.8],[273,806,2,702.3],[649,580,0,0.0],[273,386,5,0.0],[714,353,0,0.0],[377,470,0,0.0],[286,630,5,0.0],[857,630,1,0.0],[467,731,5,0.0],[221,285,5,0.0],[974,790,1,0.0],[766,17,0,0.0],[273,823,2,757.1],[675,681,2,361.9],[376,689,2,264.5],[987,462,5,0.0],[377,117,5,0.0],[818,487,5,0.0],[571,849,5,0.0],[390,395,5,0.0],[662,168,5,0.0],[402,823,5,0.0],[701,378,0,0.0],[416,126,5,0.0],[247,319,0,0.0],[701,546,2,361.2],[883,210,5,0.0],[909,143,2,754.7],[896,605,5,0.0],[363,916,2,702.1],[156,697,2,655.6],[78,327,0,0.0],[935,849,0,0.0],[935,815,1,0.0],[441,580,1,0.0],[753,126,5,0.0],[740,672,5,0.0],[143,706,2,721.1],[714,370,0,0.0],[454,437,5,0.0],[208,361,5,0.0],[208,781,5,0.0],[740,286,0,0.0],[974,891,5,0.0],[363,933,2,658.2],[909,311,2,264.8],[454,756,5,0.0],[987,395,2,700.3],[480,958,5,0.0],[350,823,2,458.4],[285,916,2,1127.6],[377,504,5,0.0],[442,92,5,0.0],[415,966,0,0.0],[130,714,5,0.0],[792,437,5,0.0],[52,109,0,0.0],[831,613,2,200.7],[662,924,5,0.0],[130,411,0,0.0],[597,361,1,0.0],[156,227,2,400.0],[351,521,0,0.0],[467,647,0,0.0],[559,84,5,0.0],[974,740,3,100.0],[545,563,5,0.0],[714,538,5,0.0],[532,807,3,100.3],[299,168,0,0.0],[234,59,5,0.0],[896,504,2,793.9],[649,294,2,173.3],[325,454,0,0.0],[376,874,2,625.7],[935,479,5,0.0],[727,277,5,0.0],[571,832,5,0.0],[922,437,0,0.0],[286,445,5,0.0],[740,773,0,0.0],[169,890,2,1556.9],[987,496,5,0.0],[753,378,1,0.0],[454,723,5,0.0],[260,294,5,0.0],[0,243,0,0.0],[481,252,5,0.0],[273,588,0,0.0],[753,395,0,0.0],[1000,538,2,458.4],[987,731,3,100.0],[468,193,5,0.0],[286,596,2,299.7],[558,370,0,0.0],[818,588,2,361.4],[844,336,5,0.0],[818,756,2,520.2],[195,890,5,0.0],[182,176,5,0.0],[454,689,1,0.0],[675,748,5,0.0],[571,882,2,265.7],[545,260,5,0.0],[610,571,2,500.0],[818,857,5,0.0],[299,403,5,0.0],[403,252,5,0.0],[532,689,5,0.0],[974,756,1,0.0],[1000,639,1,0.0],[468,126,5,0.0],[948,958,1,0.0],[273,101,5,0.0],[104,327,5,0.0],[831,143,2,699.7],[272,907,2,1128.1],[935,412,5,0.0],[39,369,0,0.0],[208,916,5,0.0],[909,983,5,0.0],[662,353,0,0.0],[337,916,2,857.3],[558,470,0,0.0],[493,966,5,0.0],[662,958,5,0.0],[883,294,5,0.0],[610,874,2,361.4],[546,59,5,0.0],[571,664,0,0.0],[584,773,3,100.2],[805,882,5,0.0],[701,563,2,436.5],[519,529,0,0.0],[415,849,5,0.0],[467,765,3,100.0],[65,185,5,0.0],[195,773,5,0.0],[714,823,5,0.0],[675,765,2,301.0],[688,118,0,0.0],[350,790,5,0.0],[169,706,2,699.7],[805,798,5,0.0],[883,580,0,0.0],[701,143,0,0.0],[675,76,5,0.0],[558,269,5,0.0],[169,302,5,0.0],[221,67,2,1418.0],[65,151,5,0.0],[208,462,5,0.0],[662,487,3,100.2],[636,386,0,0.0],[870,924,5,0.0],[831,513,2,610.8],[286,260,5,0.0],[403,269,5,0.0],[480,857,5,0.0],[91,319,5,0.0],[779,950,5,0.0],[402,538,3,100.0],[506,739,0,0.0],[377,571,5,0.0],[337,882,2,818.5],[961,412,5,0.0],[831,899,5,0.0],[571,193,5,0.0],[818,656,0,0.0],[727,950,5,0.0],[610,521,5,0.0],[338,563,5,0.0],[481,185,5,0.0],[805,378,0,0.0],[441,731,1,0.0],[974,437,2,916.6],[1000,572,2,264.8],[247,638,5,0.0],[286,697,0,0.0],[662,605,2,701.0],[208,143,2,964.8],[870,891,5,0.0],[208,210,5,0.0],[883,429,5,0.0],[195,151,5,0.0],[156,848,2,1515.3],[753,479,0,0.0],[662,689,0,0.0],[169,874,2,1504.7],[844,622,0,0.0],[870,252,0,0.0],[701,529,5,0.0],[532,874,3,100.0],[442,361,5,0.0],[597,664,5,0.0],[584,67,5,0.0],[455,202,5,0.0],[649,630,5,0.0],[935,546,2,529.1],[325,554,5,0.0],[390,496,2,360.4],[273,874,2,965.7],[649,227,0,0.0],[78,260,5,0.0],[117,722,2,872.3],[299,554,5,0.0],[221,302,5,0.0],[636,790,1,0.0],[65,302,0,0.0],[312,697,2,401.2],[818,235,5,0.0],[169,369,5,0.0],[740,319,3,100.0],[623,731,5,0.0],[779,748,2,459.5],[494,59,5,0.0],[649,244,5,0.0],[104,395,0,0.0],[649,613,5,0.0],[844,857,5,0.0],[428,924,5,0.0],[351,655,2,458.0],[961,244,5,0.0],[402,857,2,436.5],[571,563,2,265.7],[753,933,0,0.0],[143,773,5,0.0],[130,227,2,436.1],[597,949,0,0.0],[844,118,5,0.0],[429,302,5,0.0],[169,353,5,0.0],[416,244,5,0.0],[792,840,5,0.0],[169,672,2,500.0],[883,160,5,0.0],[519,731,0,0.0],[480,302,5,0.0],[610,958,2,347.8],[584,470,1,0.0],[415,647,5,0.0],[844,269,0,0.0],[792,891,5,0.0],[844,303,5,0.0],[922,588,5,0.0],[481,118,5,0.0],[52,143,5,0.0],[623,76,0,0.0],[961,513,5,0.0],[948,185,2,529.2],[818,252,5,0.0],[896,723,5,0.0],[494,277,5,0.0],[909,193,2,458.0],[338,479,0,0.0],[571,899,2,264.8],[182,916,2,1575.4],[312,260,5,0.0],[428,672,5,0.0],[143,252,2,264.7],[468,277,5,0.0],[649,260,0,0.0],[182,92,0,0.0],[156,243,5,0.0],[675,59,5,0.0],[896,135,0,0.0],[506,773,5,0.0],[65,101,5,0.0],[247,722,2,784.1],[922,571,5,0.0],[610,420,5,0.0],[805,345,5,0.0],[480,571,5,0.0],[636,218,5,0.0],[857,378,2,361.4],[584,571,2,362.0],[390,311,5,0.0],[649,781,3,100.2],[714,168,5,0.0],[52,277,5,0.0],[571,210,5,0.0],[286,75,5,0.0],[195,756,5,0.0],[402,773,5,0.0],[533,185,5,0.0],[974,101,2,1053.4],[454,941,2,200.0],[351,386,5,0.0],[52,243,5,0.0],[857,93,5,0.0],[143,638,5,0.0],[390,328,5,0.0],[338,428,5,0.0],[987,193,2,529.4],[1000,924,5,0.0],[688,840,5,0.0],[455,302,5,0.0],[818,773,5,0.0],[857,899,5,0.0],[701,933,5,0.0],[351,202,2,657.3],[610,151,5,0.0],[584,252,5,0.0],[662,874,5,0.0],[467,933,2,173.5],[117,319,3,100.0],[805,714,2,531.4],[766,454,2,346.7],[519,832,1,0.0],[467,613,0,0.0],[922,824,1,0.0],[91,201,2,701.0],[584,689,0,0.0],[623,546,2,360.6],[454,706,1,0.0],[857,395,5,0.0],[325,470,2,299.7],[442,378,5,0.0],[130,311,0,0.0],[494,143,5,0.0],[428,538,0,0.0],[91,168,5,0.0],[506,420,5,0.0],[494,227,5,0.0],[558,689,3,100.3],[935,748,5,0.0],[130,327,0,0.0],[467,748,0,0.0],[675,328,1,0.0],[156,126,5,0.0],[584,521,0,0.0],[182,848,5,0.0],[493,462,5,0.0],[507,50,5,0.0],[649,479,1,0.0],[701,92,5,0.0],[987,832,0,0.0],[662,269,0,0.0],[896,67,2,1212.2],[779,546,5,0.0],[389,899,5,0.0],[195,722,2,818.6],[455,101,5,0.0],[779,445,2,361.4],[117,622,5,0.0],[662,437,2,173.5],[260,815,2,802.5],[234,260,5,0.0],[727,193,0,0.0],[441,395,5,0.0],[883,630,5,0.0],[416,277,5,0.0],[987,614,1,0.0],[662,387,1,0.0],[649,714,0,0.0],[454,891,2,200.7],[896,101,5,0.0],[792,252,5,0.0],[545,344,5,0.0],[870,824,0,0.0],[896,824,0,0.0],[844,874,5,0.0],[312,210,5,0.0],[818,874,0,0.0],[571,781,5,0.0],[480,840,5,0.0],[766,790,5,0.0],[987,244,5,0.0],[234,227,5,0.0],[532,286,0,0.0],[182,294,5,0.0],[130,243,2,346.7],[169,84,5,0.0],[753,311,2,173.5],[818,824,5,0.0],[286,311,5,0.0],[571,765,1,0.0],[753,143,5,0.0],[506,639,0,0.0],[792,353,5,0.0],[299,672,2,558.1],[649,916,5,0.0],[792,740,0,0.0],[415,933,5,0.0],[688,437,0,0.0],[442,328,5,0.0],[364,529,0,0.0],[519,613,0,0.0],[987,311,2,264.9],[143,185,5,0.0],[156,596,5,0.0],[961,765,1,0.0],[584,941,5,0.0],[571,681,2,200.0],[299,638,2,556.6],[260,277,5,0.0],[0,327,5,0.0],[454,588,1,0.0],[662,84,5,0.0],[922,622,5,0.0],[766,773,5,0.0],[818,840,5,0.0],[987,899,5,0.0],[403,470,5,0.0],[247,823,2,902.6],[519,344,2,531.4],[896,790,5,0.0],[974,656,5,0.0],[909,731,5,0.0],[844,471,0,0.0],[766,891,5,0.0],[377,185,5,0.0],[429,185,5,0.0],[376,840,2,501.6],[351,571,2,200.4],[364,294,5,0.0],[247,487,5,0.0],[39,269,0,0.0],[714,605,5,0.0],[480,689,5,0.0],[636,286,0,0.0],[961,798,1,0.0],[584,286,5,0.0],[870,303,5,0.0],[143,739,2,916.5],[766,571,5,0.0],[156,832,2,1452.1],[273,706,2,627.0],[831,261,1,0.0],[325,437,5,0.0],[260,159,5,0.0],[338,75,2,1300.9],[896,672,5,0.0],[610,101,5,0.0],[714,101,0,0.0],[1000,403,0,0.0],[117,84,5,0.0],[857,698,5,0.0],[247,302,5,0.0],[494,244,5,0.0],[494,260,5,0.0],[623,429,1,0.0],[507,168,5,0.0],[403,370,5,0.0],[896,622,2,265.6],[480,370,5,0.0],[351,218,5,0.0],[922,219,0,0.0],[182,697,5,0.0],[312,75,2,1390.8],[753,950,5,0.0],[571,176,5,0.0],[351,185,5,0.0],[455,252,5,0.0],[714,958,0,0.0],[195,874,2,1356.7],[597,513,5,0.0],[805,210,0,0.0],[831,916,5,0.0],[792,706,2,437.6],[662,739,0,0.0],[610,840,5,0.0],[324,958,2,875.5],[805,429,5,0.0],[390,176,5,0.0],[883,983,5,0.0],[740,487,5,0.0],[805,597,2,401.2],[649,882,5,0.0],[519,311,5,0.0],[1000,387,0,0.0],[494,176,5,0.0],[831,597,2,265.1],[169,403,5,0.0],[480,487,0,0.0],[857,832,1,0.0],[376,807,5,0.0],[818,958,5,0.0],[597,832,5,0.0],[480,554,1,0.0],[363,664,2,399.7],[299,386,5,0.0],[234,193,5,0.0],[403,437,1,0.0],[260,748,2,695.6],[857,731,5,0.0],[493,445,0,0.0],[584,118,5,0.0],[987,714,2,173.3],[104,109,5,0.0],[857,782,5,0.0],[208,412,5,0.0],[195,638,2,346.7],[26,227,0,0.0],[818,50,5,0.0],[701,311,4,99.7],[532,302,0,0.0],[402,874,2,520.1],[857,177,0,0.0],[156,916,2,1713.5],[325,84,2,1301.4],[481,67,5,0.0],[571,260,5,0.0],[870,370,2,401.2],[948,235,5,0.0],[753,361,0,0.0],[883,614,5,0.0],[441,983,3,100.1],[429,353,5,0.0],[935,445,2,953.7],[545,781,2,200.7],[987,177,0,0.0],[636,773,0,0.0],[896,185,2,529.3],[455,50,5,0.0],[909,950,5,0.0],[844,924,5,0.0],[909,698,5,0.0],[558,672,2,173.2],[260,596,0,0.0],[286,664,2,657.3],[558,302,5,0.0],[104,311,0,0.0],[636,504,0,0.0],[701,748,5,0.0],[701,664,2,265.1],[831,815,0,0.0],[169,739,5,0.0],[701,496,2,265.7],[753,630,5,0.0],[325,588,2,361.4],[558,403,5,0.0],[610,302,5,0.0],[402,588,1,0.0],[208,748,2,985.0],[286,210,2,1003.1],[441,529,2,200.9],[480,386,5,0.0],[260,395,5,0.0],[117,269,5,0.0],[376,857,2,558.1],[857,529,5,0.0],[415,798,5,0.0],[584,151,5,0.0],[377,101,5,0.0],[221,840,5,0.0],[1000,454,5,0.0],[792,403,5,0.0],[727,714,0,0.0],[935,361,0,0.0],[428,790,3,100.0],[844,689,5,0.0],[350,807,5,0.0],[1000,857,5,0.0],[363,899,2,757.0],[286,798,2,601.8],[896,555,5,0.0],[844,420,5,0.0],[896,336,2,360.3],[818,521,2,531.4],[792,336,5,0.0],[364,563,5,0.0],[701,126,0,0.0],[987,950,1,0.0],[649,76,0,0.0],[156,798,5,0.0],[234,75,0,0.0],[182,411,0,0.0],[364,512,5,0.0],[675,815,5,0.0],[610,269,0,0.0],[390,294,5,0.0],[688,202,2,264.7],[78,361,5,0.0],[792,487,5,0.0],[1000,319,5,0.0],[169,924,2,1674.4],[896,756,0,0.0],[610,555,2,400.0],[818,168,2,556.5],[753,160,5,0.0],[350,924,2,757.7],[896,874,5,0.0],[831,849,5,0.0],[792,34,5,0.0],[182,731,2,854.1],[428,622,2,200.7],[805,899,5,0.0],[883,731,5,0.0],[558,639,0,0.0],[13,84,0,0.0],[818,67,0,0.0],[545,529,5,0.0],[221,353,0,0.0],[13,201,0,0.0],[753,445,5,0.0],[572,42,5,0.0],[610,202,5,0.0],[727,143,5,0.0],[338,630,2,501.6],[286,731,5,0.0],[818,336,1,0.0],[584,807,5,0.0],[948,941,5,0.0],[117,101,5,0.0],[480,538,0,0.0],[506,504,0,0.0],[156,664,2,458.4],[156,260,5,0.0],[714,908,5,0.0],[896,269,3,100.2],[143,823,0,0.0],[390,512,2,264.7],[454,807,1,0.0],[143,235,2,360.6],[273,420,5,0.0],[883,345,2,346.7],[779,496,5,0.0],[390,445,5,0.0],[545,160,5,0.0],[688,756,5,0.0],[610,639,2,520.2],[351,504,5,0.0],[338,395,5,0.0],[532,235,5,0.0],[480,420,5,0.0],[494,126,5,0.0],[714,924,5,0.0],[428,756,1,0.0],[545,731,5,0.0],[91,185,2,781.8],[221,857,2,1156.4],[1000,202,2,520.2],[987,630,5,0.0],[493,344,5,0.0],[467,949,2,173.5],[1000,303,0,0.0],[312,462,2,301.2],[260,781,2,724.0],[389,714,5,0.0],[195,185,5,0.0],[805,950,5,0.0],[480,521,0,0.0],[597,899,0,0.0],[247,806,5,0.0],[520,160,5,0.0],[688,672,2,301.0],[312,277,5,0.0],[376,991,5,0.0],[390,546,0,0.0],[805,933,5,0.0],[545,580,5,0.0],[247,622,0,0.0],[286,714,2,531.1],[623,260,5,0.0],[364,176,2,700.9],[377,538,3,100.0],[740,521,5,0.0],[403,218,5,0.0],[714,218,0,0.0],[532,218,5,0.0],[415,731,0,0.0],[974,168,0,0.0],[455,84,5,0.0],[597,378,5,0.0],[441,765,1,0.0],[169,907,2,1613.6],[740,84,5,0.0],[922,403,2,721.1],[649,344,1,0.0],[520,210,5,0.0],[402,605,3,100.0],[519,949,5,0.0],[571,714,1,0.0],[571,126,5,0.0],[143,101,5,0.0],[455,269,5,0.0],[169,285,5,0.0],[130,294,5,0.0],[312,596,2,346.7],[390,361,5,0.0],[350,907,5,0.0],[896,521,0,0.0],[909,378,0,0.0],[701,580,2,520.1],[195,84,5,0.0],[961,714,5,0.0],[922,118,2,899.7],[273,151,2,1155.5],[883,361,0,0.0],[844,370,0,0.0],[298,924,2,1085.9],[428,941,2,264.9],[260,865,2,986.7],[948,387,0,0.0],[883,311,5,0.0],[39,201,5,0.0],[662,403,0,0.0],[766,84,5,0.0],[415,580,5,0.0],[909,647,5,0.0],[948,588,5,0.0],[337,815,2,436.0],[325,386,5,0.0],[870,672,2,264.7],[91,101,5,0.0],[52,327,0,0.0],[558,487,5,0.0],[429,286,5,0.0],[104,630,2,501.6],[156,731,5,0.0],[143,201,2,556.8],[597,529,0,0.0],[65,319,5,0.0],[688,504,2,301.0],[312,378,5,0.0],[779,513,0,0.0],[714,857,2,459.9],[559,151,5,0.0],[649,193,5,0.0],[922,101,5,0.0],[169,185,5,0.0],[260,412,5,0.0],[701,328,1,0.0],[857,227,5,0.0],[117,235,2,436.4],[623,563,2,458.3],[299,101,5,0.0],[364,260,5,0.0],[610,672,5,0.0],[260,916,2,1218.0],[208,75,5,0.0],[779,580,2,520.0],[143,386,5,0.0],[247,907,5,0.0],[454,454,0,0.0],[442,160,5,0.0],[948,706,5,0.0],[480,655,0,0.0],[727,412,5,0.0],[221,134,5,0.0],[65,218,2,755.1],[610,185,5,0.0],[1000,622,1,0.0],[584,924,5,0.0],[480,924,3,100.0],[896,252,2,173.3],[493,580,5,0.0],[260,445,5,0.0],[766,739,2,361.2],[779,731,5,0.0],[987,513,2,600.0],[234,916,5,0.0],[273,538,1,0.0],[766,857,5,0.0],[935,277,0,0.0],[558,202,5,0.0],[493,529,5,0.0],[558,437,5,0.0],[325,134,2,1060.0],[532,891,1,0.0],[572,92,5,0.0],[506,907,1,0.0],[208,882,5,0.0],[740,185,5,0.0],[519,597,0,0.0],[688,101,5,0.0],[649,731,5,0.0],[442,75,5,0.0],[507,202,5,0.0],[156,75,5,0.0],[740,134,5,0.0],[532,538,0,0.0],[688,706,2,265.7],[805,311,0,0.0],[324,790,5,0.0],[818,0,5,0.0],[247,403,5,0.0],[792,655,2,460.0],[844,454,0,0.0],[545,361,2,348.1],[974,521,2,556.8],[649,832,1,0.0],[169,252,5,0.0],[688,823,5,0.0],[610,790,5,0.0],[935,563,5,0.0],[870,487,0,0.0],[779,328,0,0.0],[636,403,0,0.0],[909,597,5,0.0],[831,92,5,0.0],[506,689,2,173.3],[987,227,5,0.0],[662,555,2,458.3],[1000,773,1,0.0],[987,446,5,0.0],[363,865,2,657.4],[636,941,0,0.0],[727,966,1,0.0],[883,109,5,0.0],[428,588,0,0.0],[506,622,0,0.0],[714,723,0,0.0],[831,647,2,200.7],[13,151,0,0.0],[195,588,5,0.0],[727,815,5,0.0],[286,428,5,0.0],[455,420,5,0.0],[961,647,5,0.0],[182,932,5,0.0],[831,429,5,0.0],[870,50,5,0.0],[325,403,5,0.0],[818,84,5,0.0],[364,344,5,0.0],[597,294,5,0.0],[247,655,2,655.9],[234,781,5,0.0],[623,277,0,0.0],[701,966,5,0.0],[130,697,5,0.0],[104,277,5,0.0],[831,782,5,0.0],[792,807,5,0.0],[766,958,5,0.0],[597,496,5,0.0],[831,866,5,0.0],[701,916,5,0.0],[208,764,5,0.0],[208,596,5,0.0],[480,639,1,0.0],[130,664,5,0.0],[753,983,0,0.0],[636,437,5,0.0],[273,168,5,0.0],[91,285,5,0.0],[286,395,5,0.0],[506,840,5,0.0],[78,126,5,0.0],[675,563,2,529.3],[546,126,5,0.0],[415,680,2,173.3],[857,109,5,0.0],[299,487,0,0.0],[182,596,3,100.2],[325,370,5,0.0],[597,630,5,0.0],[325,655,2,520.0],[779,160,5,0.0],[273,252,5,0.0],[870,740,2,556.5],[896,975,5,0.0],[922,252,0,0.0],[597,227,5,0.0],[65,336,5,0.0],[130,260,5,0.0],[883,866,5,0.0],[948,571,5,0.0],[441,512,2,264.8],[454,823,5,0.0],[91,336,0,0.0],[610,235,5,0.0],[597,76,0,0.0],[429,252,0,0.0],[286,529,1,0.0],[922,353,2,436.2],[922,51,2,1299.5],[195,235,5,0.0],[416,428,5,0.0],[351,487,2,264.9],[454,874,2,265.1],[273,319,5,0.0],[714,252,1,0.0],[818,319,3,100.0],[390,75,5,0.0],[169,336,5,0.0],[558,521,5,0.0],[325,353,5,0.0],[545,681,5,0.0],[559,50,0,0.0],[831,798,5,0.0],[545,630,0,0.0],[792,0,0,0.0],[688,403,0,0.0],[844,437,5,0.0],[416,378,5,0.0],[299,84,5,0.0],[480,588,5,0.0],[987,429,0,0.0],[818,118,5,0.0],[870,319,0,0.0],[338,109,2,1128.0],[792,286,1,0.0],[857,563,2,399.7],[571,529,2,265.5],[390,92,5,0.0],[727,849,2,531.1],[740,941,5,0.0],[286,815,2,657.4],[156,865,5,0.0],[312,580,2,264.9],[338,59,2,1390.1],[558,773,3,100.2],[779,261,5,0.0],[455,151,5,0.0],[896,118,5,0.0],[91,269,5,0.0],[506,269,5,0.0],[883,143,5,0.0],[363,613,2,301.1],[987,294,0,0.0],[403,168,5,0.0],[740,151,5,0.0],[792,874,5,0.0],[909,664,2,200.6],[753,546,2,264.7],[481,168,5,0.0],[247,437,5,0.0],[364,210,5,0.0],[130,75,5,0.0],[532,975,0,0.0],[195,706,2,721.2],[597,580,0,0.0],[104,697,5,0.0],[831,412,5,0.0],[571,462,0,0.0],[779,933,5,0.0],[948,168,2,624.5],[610,706,2,265.7],[701,714,2,200.7],[468,260,5,0.0],[351,269,5,0.0],[909,748,5,0.0],[974,958,0,0.0],[338,243,5,0.0],[948,622,5,0.0],[935,950,5,0.0],[273,689,0,0.0],[974,840,5,0.0],[753,25,5,0.0],[662,538,2,360.6],[273,235,5,0.0],[442,227,5,0.0],[805,227,5,0.0],[623,59,5,0.0],[636,924,2,531.3],[325,218,5,0.0],[416,294,5,0.0],[584,655,5,0.0],[857,815,5,0.0],[65,252,0,0.0],[39,185,5,0.0],[143,302,0,0.0],[403,151,5,0.0],[727,210,2,264.4],[623,580,5,0.0],[662,622,5,0.0],[714,303,0,0.0],[688,67,5,0.0],[662,370,0,0.0],[948,353,2,400.0],[727,378,0,0.0],[727,748,5,0.0],[727,866,2,558.6],[480,319,5,0.0],[532,554,1,0.0],[325,706,2,300.7],[182,159,5,0.0],[91,218,2,625.7],[156,210,2,500.0],[493,546,5,0.0],[870,454,5,0.0],[519,933,1,0.0],[636,336,1,0.0],[234,563,5,0.0],[571,277,5,0.0],[883,664,2,264.9],[675,866,5,0.0],[558,605,2,300.7],[948,908,5,0.0],[286,764,2,531.3],[467,714,5,0.0],[299,286,5,0.0],[974,151,0,0.0],[974,303,2,173.3],[441,899,0,0.0],[727,496,5,0.0],[299,319,0,0.0],[415,563,5,0.0],[156,378,1,0.0],[870,219,5,0.0],[662,756,2,265.1],[779,664,5,0.0],[558,857,5,0.0],[311,916,5,0.0],[610,471,1,0.0],[857,429,5,0.0],[636,891,5,0.0],[182,680,2,556.8],[545,210,5,0.0],[883,412,5,0.0],[273,470,5,0.0],[351,286,5,0.0],[299,185,2,1003.1],[987,563,2,300.0],[234,613,5,0.0],[338,445,5,0.0],[260,109,5,0.0],[481,218,5,0.0],[169,453,5,0.0],[935,59,5,0.0],[740,958,5,0.0],[974,370,2,529.3],[454,672,0,0.0],[935,698,5,0.0],[844,941,5,0.0],[688,235,5,0.0],[896,924,5,0.0],[558,454,5,0.0],[831,563,2,436.1],[714,773,5,0.0],[182,311,0,0.0],[740,403,1,0.0],[39,117,0,0.0],[325,420,5,0.0],[182,428,0,0.0],[169,420,5,0.0],[558,353,5,0.0],[961,462,5,0.0],[818,387,0,0.0],[1000,958,5,0.0],[870,471,5,0.0],[454,538,0,0.0],[13,235,5,0.0],[351,403,5,0.0],[299,269,5,0.0],[1000,740,1,0.0],[402,723,2,173.1],[584,538,2,346.8],[883,698,2,361.8],[455,67,5,0.0],[545,428,5,0.0],[428,723,3,100.0],[805,328,3,100.2],[402,554,1,0.0],[91,117,5,0.0],[545,865,5,0.0],[325,101,2,1218.0],[416,75,5,0.0],[169,638,5,0.0],[532,790,0,0.0],[805,160,5,0.0],[649,311,3,100.5],[727,613,5,0.0],[844,773,5,0.0],[545,176,5,0.0],[961,109,2,984.7],[506,521,0,0.0],[805,529,2,459.9],[870,622,3,100.2],[701,765,5,0.0],[416,176,5,0.0],[221,386,5,0.0],[584,891,2,346.6],[273,571,5,0.0],[299,218,5,0.0],[792,924,5,0.0],[338,664,0,0.0],[948,67,0,0.0],[896,992,5,0.0],[208,647,5,0.0],[506,336,0,0.0],[467,630,5,0.0],[675,832,5,0.0],[961,580,2,264.9],[753,193,5,0.0],[104,344,5,0.0],[507,151,5,0.0],[584,353,3,100.5],[454,655,0,0.0],[987,160,0,0.0],[740,202,5,0.0],[403,319,5,0.0],[91,353,5,0.0],[363,815,2,400.0],[143,285,5,0.0],[312,630,2,529.1],[623,160,5,0.0],[623,849,5,0.0],[520,277,5,0.0],[312,765,5,0.0],[416,227,5,0.0],[896,50,2,1311.3],[493,697,5,0.0],[831,664,2,265.1],[208,227,5,0.0],[844,487,5,0.0],[468,160,5,0.0],[1000,807,1,0.0],[467,580,0,0.0],[636,706,2,436.2],[714,420,0,0.0],[428,823,2,173.2],[584,319,0,0.0],[987,983,0,0.0],[571,109,2,1181.5],[727,933,0,0.0],[338,378,5,0.0],[377,454,0,0.0],[441,647,0,0.0],[480,353,5,0.0],[234,832,5,0.0],[623,630,5,0.0],[532,756,5,0.0],[909,395,0,0.0],[675,714,2,362.2],[364,59,5,0.0],[104,193,2,693.4],[286,92,5,0.0],[675,479,5,0.0],[636,84,0,0.0],[740,790,0,0.0],[402,672,2,264.9],[493,563,0,0.0],[961,76,5,0.0],[143,790,5,0.0],[350,689,2,264.7],[844,605,5,0.0],[961,445,5,0.0],[961,664,5,0.0],[961,479,5,0.0],[208,294,5,0.0],[363,731,1,0.0],[740,252,5,0.0],[389,630,2,264.5],[779,479,5,0.0],[870,588,5,0.0],[909,630,5,0.0],[558,588,2,265.1],[753,244,5,0.0],[662,336,1,0.0],[870,118,5,0.0],[441,445,5,0.0],[480,605,5,0.0],[818,286,0,0.0],[597,882,0,0.0],[610,252,5,0.0],[117,689,5,0.0],[909,798,0,0.0],[403,67,5,0.0],[740,588,0,0.0],[844,723,2,556.6],[844,286,0,0.0],[753,781,5,0.0],[896,773,5,0.0],[623,479,1,0.0],[493,731,2,301.1],[234,378,5,0.0],[766,706,2,265.7],[922,521,2,700.1],[0,176,0,0.0],[533,101,5,0.0],[260,832,2,856.7],[506,353,0,0.0],[662,807,5,0.0],[584,487,0,0.0],[117,134,5,0.0],[584,555,2,348.1],[506,807,0,0.0],[428,605,5,0.0],[311,832,5,0.0],[221,773,5,0.0],[532,639,3,100.2],[480,823,1,0.0],[649,563,2,499.7],[571,916,0,0.0],[571,748,3,100.0],[961,530,2,529.3],[584,336,5,0.0],[545,765,0,0.0],[935,93,5,0.0],[143,117,5,0.0],[182,462,0,0.0],[286,59,5,0.0],[65,369,5,0.0],[519,462,5,0.0],[961,916,5,0.0],[818,975,5,0.0],[519,916,5,0.0],[753,59,5,0.0],[753,765,0,0.0],[1000,286,5,0.0],[506,487,5,0.0],[104,92,5,0.0],[234,109,2,1217.3],[234,159,5,0.0],[974,487,5,0.0],[688,84,5,0.0],[688,420,5,0.0],[584,639,0,0.0],[532,269,5,0.0],[623,92,5,0.0],[805,782,5,0.0],[688,639,0,0.0],[519,882,3,100.2],[675,277,1,0.0],[195,386,2,200.0],[831,714,2,529.3],[909,849,1,0.0],[351,235,5,0.0],[337,765,5,0.0],[714,487,5,0.0],[338,580,2,300.8],[701,361,1,0.0],[662,706,5,0.0],[597,546,2,360.7],[26,294,5,0.0],[363,832,2,500.0],[169,773,5,0.0],[286,176,5,0.0],[143,67,5,0.0],[753,731,0,0.0],[247,336,5,0.0],[948,336,2,300.0],[675,513,2,264.9],[533,67,5,0.0],[376,773,5,0.0],[623,714,0,0.0],[1000,723,3,100.0],[896,286,5,0.0],[442,311,5,0.0],[260,462,5,0.0],[416,160,5,0.0],[338,714,5,0.0],[247,235,5,0.0],[597,714,0,0.0],[636,639,5,0.0],[130,798,5,0.0],[922,975,5,0.0],[260,75,5,0.0],[247,151,5,0.0],[169,840,5,0.0],[662,723,5,0.0],[662,50,0,0.0],[792,975,1,0.0],[143,756,5,0.0],[961,210,2,400.0],[195,117,5,0.0],[922,135,2,799.7],[26,159,5,0.0],[299,235,5,0.0],[312,546,5,0.0],[584,874,0,0.0],[0,227,0,0.0],[571,613,0,0.0],[350,874,2,754.8],[948,84,2,1113.2],[156,92,5,0.0],[299,470,5,0.0],[818,134,5,0.0],[688,605,5,0.0],[311,865,2,781.5],[805,412,5,0.0],[247,117,2,1213.5],[753,613,5,0.0],[675,462,0,0.0],[662,891,5,0.0],[415,596,0,0.0],[26,92,0,0.0],[1000,790,1,0.0],[584,823,5,0.0],[494,92,5,0.0],[234,344,5,0.0],[974,639,0,0.0],[338,361,5,0.0],[766,50,5,0.0],[636,370,5,0.0],[818,622,2,265.7],[182,143,5,0.0],[260,848,2,918.5],[688,975,0,0.0],[208,445,5,0.0],[467,512,5,0.0],[935,294,0,0.0],[39,134,5,0.0],[428,706,1,0.0],[883,815,0,0.0],[701,513,2,265.6],[260,882,2,1060.1],[78,210,5,0.0],[727,260,5,0.0],[558,706,4,99.7],[441,496,2,173.3],[740,975,0,0.0],[896,571,5,0.0],[935,126,2,854.2],[779,630,2,521.9],[208,378,5,0.0],[156,159,2,799.7],[857,950,5,0.0],[818,454,2,601.8],[377,252,5,0.0],[389,916,2,558.3],[545,832,5,0.0],[494,109,5,0.0],[130,647,5,0.0],[571,815,0,0.0],[805,681,2,459.3],[883,261,3,100.0],[429,218,5,0.0],[974,572,2,264.7],[883,193,5,0.0],[234,848,5,0.0],[727,697,1,0.0],[182,580,0,0.0],[364,328,5,0.0],[857,42,0,0.0],[688,286,0,0.0],[506,706,2,264.7],[545,697,1,0.0],[442,344,5,0.0],[363,714,5,0.0],[792,588,2,501.7],[532,907,1,0.0],[766,622,2,519.9],[325,185,2,856.6],[481,84,5,0.0],[727,546,5,0.0],[857,311,5,0.0],[675,445,5,0.0],[792,824,2,437.9],[909,882,5,0.0],[390,378,5,0.0],[299,201,5,0.0],[208,865,2,1256.6],[221,571,5,0.0],[792,639,2,437.8],[805,613,2,361.9],[688,302,1,0.0],[402,638,2,299.7],[195,739,2,916.3],[688,908,5,0.0],[675,529,2,346.7],[221,151,5,0.0],[351,336,5,0.0],[1000,252,5,0.0],[338,193,2,756.8],[493,479,5,0.0],[779,429,0,0.0],[311,949,2,968.3],[766,286,5,0.0],[987,345,2,435.9],[844,219,5,0.0],[896,168,5,0.0],[52,227,5,0.0],[922,689,0,0.0],[299,437,5,0.0],[506,672,5,0.0],[208,327,5,0.0],[389,798,2,300.0],[195,101,2,1178.8],[545,933,5,0.0],[649,42,5,0.0],[623,143,5,0.0],[363,680,0,0.0],[558,723,1,0.0],[260,764,2,703.0],[961,345,2,360.6],[325,319,5,0.0],[948,807,1,0.0],[532,487,1,0.0],[597,563,0,0.0],[701,277,1,0.0],[195,622,2,264.9],[597,143,5,0.0],[312,748,5,0.0],[909,714,5,0.0],[974,403,0,0.0],[571,647,2,346.6],[519,496,1,0.0],[818,908,5,0.0],[351,605,2,346.6],[519,681,5,0.0],[156,882,2,1604.9],[156,932,2,1773.7],[987,966,1,0.0],[442,143,5,0.0],[753,647,5,0.0],[467,546,1,0.0],[714,67,5,0.0],[714,639,2,360.4],[597,731,5,0.0],[818,403,5,0.0],[753,462,5,0.0],[247,554,5,0.0],[649,92,2,964.8],[675,613,5,0.0],[377,386,5,0.0],[883,59,0,0.0],[337,983,2,784.3],[208,731,2,889.0],[364,109,5,0.0],[571,294,5,0.0],[935,227,5,0.0],[831,42,5,0.0],[260,428,5,0.0],[636,269,0,0.0],[883,597,2,264.9],[883,832,1,0.0],[649,429,5,0.0],[1000,891,5,0.0],[753,849,2,702.8],[480,773,5,0.0],[117,739,2,964.8],[493,781,5,0.0],[532,958,5,0.0],[1000,504,2,655.8],[948,471,5,0.0],[532,773,2,264.5],[571,344,5,0.0],[662,185,5,0.0],[480,504,5,0.0],[675,966,5,0.0],[78,193,0,0.0],[26,126,0,0.0],[26,193,0,0.0],[493,933,5,0.0],[792,235,5,0.0],[480,807,1,0.0],[766,807,5,0.0],[260,210,5,0.0],[948,252,0,0.0],[91,84,5,0.0],[1000,605,5,0.0],[325,638,2,601.9],[909,782,5,0.0],[52,344,1,0.0],[740,420,3,100.0],[987,378,0,0.0],[831,479,0,0.0],[195,790,2,1157.8],[766,134,5,0.0],[377,269,5,0.0],[688,857,5,0.0],[922,504,0,0.0],[870,807,2,173.3],[286,143,2,1215.5],[389,815,5,0.0],[883,681,5,0.0],[909,916,5,0.0],[883,563,5,0.0],[455,386,5,0.0],[415,781,5,0.0],[727,244,5,0.0],[78,75,5,0.0],[533,151,5,0.0],[701,849,5,0.0],[727,513,3,100.2],[922,471,5,0.0],[961,294,4,99.7],[870,571,5,0.0],[740,17,5,0.0],[363,630,2,361.4],[922,992,1,0.0],[974,941,5,0.0],[532,723,5,0.0],[857,328,5,0.0],[909,496,0,0.0],[857,546,5,0.0],[78,92,5,0.0],[805,277,1,0.0],[377,487,2,346.6],[662,252,5,0.0],[753,580,0,0.0],[597,176,0,0.0],[338,328,5,0.0],[467,966,0,0.0],[857,462,0,0.0],[623,697,0,0.0],[714,739,5,0.0],[831,748,2,529.3],[416,344,5,0.0],[675,210,2,264.9],[182,210,2,529.3],[104,126,5,0.0],[208,243,5,0.0],[364,496,0,0.0],[311,899,2,964.7],[922,756,0,0.0],[558,554,2,174.0],[818,471,5,0.0],[247,285,5,0.0],[753,681,2,200.6],[1000,353,5,0.0],[779,92,5,0.0],[727,395,1,0.0],[65,353,0,0.0],[636,134,5,0.0],[389,748,1,0.0],[961,93,2,1081.5],[377,151,5,0.0],[364,92,5,0.0],[338,92,5,0.0],[922,319,0,0.0],[792,454,5,0.0],[571,160,5,0.0],[714,622,5,0.0],[480,891,0,0.0],[948,219,5,0.0],[1000,471,5,0.0],[779,395,0,0.0],[987,546,0,0.0],[506,756,5,0.0],[558,218,0,0.0],[805,59,2,1212.2],[130,764,5,0.0],[649,277,2,173.8],[52,75,2,1474.2],[364,479,2,361.2],[442,176,5,0.0],[156,764,5,0.0],[688,924,5,0.0],[130,344,5,0.0],[701,832,2,347.8],[221,739,5,0.0],[831,462,0,0.0],[961,261,0,0.0],[506,302,5,0.0],[935,681,1,0.0],[403,84,5,0.0],[415,949,5,0.0],[273,773,2,626.9],[844,319,5,0.0],[247,67,5,0.0],[389,983,0,0.0],[285,949,5,0.0],[831,950,5,0.0],[143,168,0,0.0],[221,101,2,1229.2],[285,933,2,1157.8],[363,697,2,199.7],[377,336,5,0.0],[493,647,0,0.0],[740,807,5,0.0],[753,496,3,100.2],[714,874,2,501.5],[208,848,2,1203.9],[143,857,2,1609.0],[428,975,2,173.8],[792,605,2,460.1],[169,201,2,556.6],[753,277,5,0.0],[325,605,2,436.6],[961,882,5,0.0],[377,437,5,0.0],[987,647,5,0.0],[623,513,0,0.0],[130,630,5,0.0],[948,857,5,0.0],[766,202,5,0.0],[779,227,0,0.0],[325,286,5,0.0],[714,941,5,0.0],[429,67,5,0.0],[519,765,5,0.0],[688,655,2,361.4],[714,471,2,264.9],[286,227,2,957.3],[805,193,2,436.1],[286,361,5,0.0],[558,874,2,200.7],[870,790,0,0.0],[195,201,2,608.6],[662,655,5,0.0],[247,874,5,0.0],[961,782,1,0.0],[260,378,5,0.0],[480,790,1,0.0],[260,714,0,0.0],[415,865,5,0.0],[545,378,2,362.2],[312,664,5,0.0],[519,865,3,100.2],[39,151,5,0.0],[429,168,5,0.0],[844,588,2,264.7],[896,706,5,0.0],[493,361,5,0.0],[623,765,3,100.5],[377,319,5,0.0],[402,941,0,0.0],[857,160,2,624.5],[870,706,2,458.3],[143,420,0,0.0],[221,756,5,0.0],[247,470,0,0.0],[519,412,5,0.0],[675,647,2,459.3],[428,874,5,0.0],[584,958,0,0.0],[584,420,5,0.0],[584,437,0,0.0],[532,336,5,0.0],[662,302,0,0.0],[13,336,0,0.0],[273,353,5,0.0],[610,807,5,0.0],[1000,437,5,0.0],[403,101,5,0.0],[532,588,5,0.0],[130,395,5,0.0],[377,302,5,0.0],[221,269,5,0.0],[922,168,5,0.0],[909,261,0,0.0],[467,983,5,0.0],[221,437,0,0.0],[312,176,2,956.6],[402,958,0,0.0],[506,924,3,100.0],[390,260,5,0.0],[143,403,1,0.0],[766,219,5,0.0],[325,689,5,0.0],[403,420,5,0.0],[870,656,0,0.0],[714,588,2,529.3],[896,807,0,0.0],[831,277,3,100.0],[779,277,5,0.0],[415,765,0,0.0],[286,412,5,0.0],[610,756,5,0.0],[234,210,5,0.0],[792,202,5,0.0],[740,269,5,0.0],[974,353,2,436.1],[714,151,5,0.0],[520,193,5,0.0],[467,462,0,0.0],[117,218,2,520.0],[169,134,5,0.0],[286,496,0,0.0],[519,630,1,0.0],[766,235,5,0.0],[844,571,0,0.0],[312,294,5,0.0],[273,638,2,556.6],[948,101,0,0.0],[649,529,2,300.0],[39,302,5,0.0],[428,991,5,0.0],[649,210,5,0.0],[753,798,5,0.0],[428,487,5,0.0],[727,664,0,0.0],[974,538,2,458.3],[376,722,5,0.0],[675,580,2,624.7],[610,50,5,0.0],[78,344,5,0.0],[532,521,1,0.0],[818,706,0,0.0],[65,168,5,0.0],[493,798,3,100.2],[857,597,5,0.0],[532,605,5,0.0],[857,983,5,0.0],[610,891,2,436.5],[831,378,2,264.7],[247,756,2,784.4],[740,908,2,360.7],[351,538,5,0.0],[273,285,5,0.0],[480,706,5,0.0],[363,949,0,0.0],[766,655,0,0.0],[130,680,5,0.0],[948,504,5,0.0],[1000,941,1,0.0],[896,740,5,0.0],[312,479,2,264.7],[285,865,2,873.1],[416,529,2,173.5],[325,201,5,0.0],[701,59,2,1099.7],[247,369,5,0.0],[766,924,5,0.0],[429,50,5,0.0],[169,319,5,0.0],[584,739,0,0.0],[753,714,2,200.5],[455,117,5,0.0],[675,882,5,0.0],[740,336,1,0.0],[221,319,5,0.0],[324,823,2,519.9],[727,563,5,0.0],[844,639,0,0.0],[961,143,2,793.9],[247,605,0,0.0],[870,958,5,0.0],[467,798,1,0.0],[78,243,5,0.0],[883,227,5,0.0],[857,613,5,0.0],[818,891,5,0.0],[272,924,5,0.0],[675,781,5,0.0],[195,353,5,0.0],[221,706,2,781.5],[519,395,5,0.0],[922,487,5,0.0],[195,941,2,1612.5],[337,832,2,529.2],[740,303,0,0.0],[402,891,5,0.0],[935,933,5,0.0],[701,798,5,0.0],[13,319,5,0.0],[701,781,5,0.0],[675,126,2,720.9],[727,311,0,0.0],[545,462,5,0.0],[792,303,0,0.0],[935,244,0,0.0],[441,563,0,0.0],[688,387,0,0.0],[636,555,0,0.0],[961,849,5,0.0],[312,714,0,0.0],[273,890,2,1045.2],[363,966,5,0.0],[805,832,0,0.0],[766,689,2,265.6],[260,92,2,1387.0],[974,588,0,0.0],[520,227,5,0.0],[597,277,5,0.0],[545,311,5,0.0],[571,966,3,100.2],[961,227,5,0.0],[455,286,5,0.0],[519,445,5,0.0],[935,496,5,0.0],[532,437,5,0.0],[883,765,5,0.0],[922,924,5,0.0],[857,193,2,436.1],[337,899,5,0.0],[182,613,2,173.3],[597,260,5,0.0],[507,218,5,0.0],[390,277,5,0.0],[363,983,2,610.8],[831,244,5,0.0],[870,992,5,0.0],[221,201,5,0.0],[532,823,0,0.0],[740,824,2,610.8],[299,420,5,0.0],[727,882,2,500.0],[350,739,0,0.0],[584,101,0,0.0],[623,294,5,0.0],[571,597,2,361.4],[987,933,0,0.0],[987,210,2,436.2],[623,865,5,0.0],[234,680,2,701.0],[948,51,5,0.0],[467,529,0,0.0],[208,932,2,1516.0],[429,336,5,0.0],[870,756,5,0.0],[779,866,5,0.0],[454,991,3,100.0],[714,118,5,0.0],[610,353,5,0.0],[441,664,1,0.0],[26,260,5,0.0],[883,647,5,0.0],[766,975,5,0.0],[740,840,2,610.8],[675,412,5,0.0],[480,403,5,0.0],[389,832,5,0.0],[701,681,2,200.7],[883,445,5,0.0],[143,605,5,0.0],[870,202,5,0.0],[896,941,5,0.0],[662,907,5,0.0],[597,765,0,0.0],[883,513,2,721.0],[324,891,2,889.0],[52,159,2,1060.0],[506,437,5,0.0],[675,630,2,530.1],[675,344,5,0.0],[818,924,5,0.0],[597,429,5,0.0],[883,277,1,0.0],[208,311,5,0.0],[766,353,0,0.0],[480,739,2,264.8],[429,101,5,0.0],[571,546,2,265.6],[701,76,5,0.0],[403,202,5,0.0],[636,857,5,0.0],[286,546,1,0.0],[195,924,0,0.0],[857,916,5,0.0],[350,706,5,0.0],[130,361,5,0.0],[493,865,1,0.0],[351,353,5,0.0],[948,269,0,0.0],[597,311,5,0.0],[935,916,5,0.0],[468,227,5,0.0],[818,790,5,0.0],[195,655,5,0.0],[610,823,5,0.0],[688,336,0,0.0],[818,504,5,0.0],[649,950,0,0.0],[350,722,5,0.0],[623,916,0,0.0],[636,521,2,264.7],[286,748,5,0.0],[273,790,2,658.0],[714,202,0,0.0],[961,597,2,200.0],[519,479,5,0.0],[701,950,5,0.0],[883,42,5,0.0],[519,714,0,0.0],[416,496,2,300.8],[714,756,5,0.0],[844,202,0,0.0],[701,866,2,401.2],[494,76,5,0.0],[779,294,1,0.0],[740,50,5,0.0],[714,504,2,174.0],[727,832,0,0.0],[467,361,5,0.0],[377,218,5,0.0],[338,126,2,1045.3],[714,84,5,0.0],[974,219,5,0.0],[325,672,5,0.0],[727,580,2,458.1],[182,126,5,0.0],[883,966,5,0.0],[870,689,5,0.0],[883,849,5,0.0],[805,546,5,0.0],[974,504,5,0.0],[325,252,5,0.0],[480,941,5,0.0],[883,378,0,0.0],[766,941,5,0.0],[480,723,0,0.0],[610,168,5,0.0],[117,369,5,0.0],[662,420,5,0.0],[935,664,0,0.0],[779,681,2,361.8],[468,109,5,0.0],[299,117,2,1251.3],[584,50,5,0.0],[883,395,0,0.0],[753,412,0,0.0],[610,67,5,0.0],[727,647,2,299.7],[740,67,5,0.0],[870,286,5,0.0],[324,941,2,892.4],[740,739,5,0.0],[221,84,5,0.0],[26,344,0,0.0],[883,782,5,0.0],[909,244,0,0.0],[169,117,5,0.0],[922,286,0,0.0],[675,244,0,0.0],[974,773,0,0.0],[675,260,0,0.0],[156,277,5,0.0],[779,25,5,0.0],[519,428,5,0.0],[364,243,5,0.0],[182,59,5,0.0],[935,866,5,0.0],[247,739,0,0.0],[935,109,5,0.0],[727,731,5,0.0],[350,756,3,100.2],[779,714,2,362.0],[701,260,5,0.0],[909,933,5,0.0],[974,471,5,0.0],[779,412,5,0.0],[377,420,5,0.0],[636,168,5,0.0],[597,126,5,0.0],[740,891,2,458.4],[610,454,0,0.0],[195,420,1,0.0],[740,235,5,0.0],[337,849,2,624.5],[39,101,2,1390.8],[324,773,5,0.0],[260,126,2,1218.0],[727,916,5,0.0],[688,773,5,0.0],[974,420,5,0.0],[922,740,5,0.0],[182,361,5,0.0],[117,302,5,0.0],[844,706,5,0.0],[104,176,2,781.5],[234,596,2,347.0],[688,790,5,0.0],[948,924,5,0.0],[766,672,0,0.0],[883,126,5,0.0],[493,395,5,0.0],[273,185,2,1017.3],[649,546,2,399.7],[831,160,2,599.7],[961,966,5,0.0],[208,344,5,0.0],[948,319,2,200.0],[766,34,5,0.0],[467,916,5,0.0],[922,874,1,0.0],[831,328,0,0.0],[532,739,5,0.0],[805,395,0,0.0],[208,697,2,700.3],[390,126,5,0.0],[234,327,2,559.0],[831,529,5,0.0],[519,361,0,0.0],[675,546,2,436.1],[649,328,5,0.0],[818,219,2,264.6],[441,546,5,0.0],[182,193,5,0.0],[844,824,5,0.0],[442,277,5,0.0],[610,370,0,0.0],[169,605,3,100.0],[935,160,0,0.0],[143,588,5,0.0],[649,59,5,0.0],[455,168,5,0.0],[857,345,2,264.9],[792,908,5,0.0],[662,941,5,0.0],[325,336,5,0.0],[909,614,5,0.0],[389,580,0,0.0],[493,916,1,0.0],[844,840,5,0.0],[909,580,5,0.0],[844,252,0,0.0],[299,605,2,360.4],[844,555,2,458.3],[662,790,5,0.0],[948,689,0,0.0],[363,849,2,600.0],[325,521,1,0.0],[675,143,5,0.0],[363,647,2,436.5],[584,605,2,459.3],[416,361,5,0.0],[312,327,5,0.0],[182,395,5,0.0],[961,378,5,0.0],[208,832,2,1157.1],[441,613,5,0.0],[130,748,5,0.0],[857,496,0,0.0],[636,487,5,0.0],[727,462,0,0.0],[675,294,1,0.0],[805,244,5,0.0],[169,588,1,0.0],[740,756,5,0.0],[1000,672,3,100.0],[844,387,0,0.0],[532,622,5,0.0],[169,655,2,400.0],[597,933,2,265.7],[701,647,2,346.7],[636,50,5,0.0],[208,630,5,0.0],[623,126,5,0.0],[519,328,5,0.0],[948,303,0,0.0],[818,353,5,0.0],[545,647,0,0.0],[545,244,5,0.0],[597,613,0,0.0],[766,269,5,0.0],[870,235,5,0.0],[584,723,0,0.0],[987,261,5,0.0],[896,353,0,0.0],[455,336,5,0.0],[922,387,2,624.5],[727,42,5,0.0],[415,899,5,0.0],[818,151,2,655.5],[65,269,5,0.0],[520,126,5,0.0],[468,328,5,0.0],[325,538,5,0.0],[429,386,5,0.0],[156,395,1,0.0],[857,714,0,0.0],[987,916,5,0.0],[337,949,2,796.8],[91,67,2,1417.8],[441,916,5,0.0],[571,865,0,0.0],[467,815,1,0.0],[208,126,5,0.0],[675,798,5,0.0],[324,739,5,0.0],[481,202,5,0.0],[493,765,2,173.3],[701,294,1,0.0],[338,748,2,173.8],[221,790,2,988.8],[506,571,1,0.0],[870,387,0,0.0],[1000,185,2,608.5],[740,504,1,0.0],[974,135,2,854.2],[740,437,0,0.0],[389,949,2,459.9],[441,966,3,100.2],[260,193,5,0.0],[753,748,2,346.7],[519,563,0,0.0],[532,252,5,0.0],[688,252,5,0.0],[636,756,2,200.0],[870,185,5,0.0],[403,386,5,0.0],[623,395,5,0.0],[506,891,1,0.0],[844,538,5,0.0],[870,269,0,0.0],[117,638,2,459.3],[260,680,2,757.6],[286,580,2,199.7],[364,428,5,0.0],[351,134,5,0.0],[247,706,0,0.0],[610,723,0,0.0],[844,807,0,0.0],[234,462,5,0.0],[324,806,2,436.3],[364,412,5,0.0],[584,302,5,0.0],[156,462,0,0.0],[182,243,5,0.0],[234,294,5,0.0],[363,882,2,722.5],[298,874,2,866.9],[247,571,5,0.0],[961,59,5,0.0],[779,59,5,0.0],[805,294,0,0.0],[298,891,2,954.7],[299,588,2,264.7],[312,395,5,0.0],[610,437,1,0.0],[896,202,2,436.1],[389,664,5,0.0],[338,462,2,360.4],[221,218,2,625.9],[818,269,0,0.0],[805,765,5,0.0],[169,437,1,0.0],[429,235,5,0.0],[688,151,2,556.8],[156,613,5,0.0],[597,815,5,0.0],[818,571,2,436.6],[234,882,2,1181.5],[870,135,2,793.8],[402,504,5,0.0],[286,479,5,0.0],[247,857,2,1017.3],[948,151,2,721.0],[324,840,5,0.0],[1000,975,0,0.0],[376,823,5,0.0],[545,513,0,0.0],[234,714,2,866.7],[727,294,0,0.0],[364,75,5,0.0],[727,160,5,0.0],[662,823,0,0.0],[948,740,0,0.0],[610,386,3,100.2],[688,454,0,0.0],[442,294,5,0.0],[597,462,0,0.0],[636,823,5,0.0],[389,697,5,0.0],[273,756,2,610.8],[727,765,5,0.0],[195,269,2,300.8],[935,731,5,0.0],[377,521,0,0.0],[429,151,5,0.0],[143,151,2,854.1],[481,101,5,0.0],[623,529,5,0.0],[740,622,2,458.1],[545,412,5,0.0],[571,428,5,0.0],[805,966,5,0.0],[506,723,2,301.0],[78,143,5,0.0],[493,496,0,0.0],[714,655,2,264.7],[1000,706,2,173.5],[701,395,0,0.0],[753,697,0,0.0],[234,764,5,0.0],[494,193,5,0.0],[870,555,5,0.0],[1000,420,5,0.0],[428,470,5,0.0],[961,630,1,0.0],[623,748,0,0.0],[987,479,5,0.0],[883,798,5,0.0],[805,563,2,530.1],[454,605,0,0.0],[481,235,5,0.0],[195,134,5,0.0],[78,176,5,0.0],[506,470,5,0.0],[221,420,0,0.0],[117,168,2,794.0],[519,899,5,0.0],[376,975,5,0.0],[520,76,5,0.0],[974,252,5,0.0],[922,555,2,520.0],[39,353,5,0.0],[273,269,5,0.0],[234,580,5,0.0],[597,849,2,362.1],[377,168,5,0.0],[377,403,5,0.0],[792,118,5,0.0],[299,756,5,0.0],[675,311,1,0.0],[208,159,5,0.0],[792,168,5,0.0],[559,168,5,0.0],[675,933,5,0.0],[779,597,2,558.9],[143,806,2,1311.1],[883,916,5,0.0],[896,303,5,0.0],[493,849,1,0.0],[701,445,0,0.0],[844,168,2,556.6],[507,84,5,0.0],[597,412,5,0.0],[286,613,2,399.7],[416,328,5,0.0],[571,580,2,301.0],[506,403,5,0.0],[454,739,0,0.0],[792,538,5,0.0],[338,680,2,346.7],[662,118,0,0.0],[584,134,5,0.0],[558,840,5,0.0],[961,311,2,173.3],[961,563,2,346.7],[779,378,5,0.0],[1000,824,5,0.0],[351,437,5,0.0],[221,252,5,0.0],[974,975,5,0.0],[909,513,2,781.5],[221,689,2,693.4],[662,521,2,264.7],[909,361,0,0.0],[221,622,5,0.0],[571,143,5,0.0],[350,891,2,820.2],[636,672,5,0.0],[753,664,2,264.9],[377,84,5,0.0],[857,59,0,0.0],[519,849,3,100.0],[597,479,0,0.0],[52,260,5,0.0],[909,294,5,0.0],[779,193,5,0.0],[467,899,5,0.0],[455,370,5,0.0],[376,706,5,0.0],[1000,656,1,0.0],[455,403,5,0.0],[688,319,1,0.0],[416,193,5,0.0],[338,647,2,529.0],[467,479,1,0.0],[364,193,5,0.0],[260,647,2,600.0],[286,647,2,599.7],[675,496,0,0.0],[273,302,5,0.0],[337,781,5,0.0],[896,84,0,0.0],[714,840,5,0.0],[338,159,2,890.4],[429,454,0,0.0],[740,387,1,0.0],[831,126,5,0.0],[896,235,5,0.0],[987,815,1,0.0],[299,252,5,0.0],[701,815,5,0.0],[311,798,5,0.0],[169,269,5,0.0],[182,865,2,1404.2],[636,151,5,0.0],[818,605,5,0.0],[857,580,5,0.0],[455,218,5,0.0],[559,101,5,0.0],[961,899,5,0.0],[377,605,5,0.0],[909,815,0,0.0],[649,664,5,0.0],[740,118,5,0.0],[558,739,5,0.0],[247,84,2,1390.1],[584,269,5,0.0],[792,723,0,0.0],[675,731,2,401.5],[831,882,5,0.0],[493,428,0,0.0],[636,874,5,0.0],[831,630,2,174.0],[546,92,5,0.0],[961,177,0,0.0],[584,185,5,0.0],[104,159,5,0.0],[182,445,1,0.0],[221,336,0,0.0],[442,210,5,0.0],[597,160,5,0.0],[324,975,2,869.7],[922,235,5,0.0],[610,773,1,0.0],[883,748,2,499.7],[26,243,2,624.7],[415,697,5,0.0],[909,765,5,0.0],[662,235,0,0.0],[221,941,2,1495.5],[416,512,2,264.8],[350,941,0,0.0],[961,933,5,0.0],[792,857,5,0.0],[896,588,5,0.0],[480,286,5,0.0],[312,311,5,0.0],[156,411,5,0.0],[272,941,2,1233.9],[922,420,5,0.0],[844,740,2,556.8],[766,403,2,173.5],[377,353,5,0.0],[545,479,0,0.0],[338,294,5,0.0],[351,67,5,0.0],[234,731,2,869.7],[65,117,5,0.0],[727,328,3,100.2],[441,462,5,0.0],[441,428,5,0.0],[533,84,5,0.0],[818,941,5,0.0],[779,798,5,0.0],[117,201,5,0.0],[870,538,5,0.0],[26,327,0,0.0],[195,689,2,624.7],[545,815,0,0.0],[831,546,5,0.0],[494,294,5,0.0],[78,227,5,0.0],[571,949,0,0.0],[182,664,2,458.3],[896,420,5,0.0],[312,529,3,100.2],[247,689,2,795.0],[922,840,1,0.0],[753,328,0,0.0],[377,286,5,0.0],[169,756,2,999.7],[428,655,5,0.0],[506,386,5,0.0],[792,790,5,0.0],[948,672,5,0.0],[883,244,5,0.0],[389,865,2,530.0],[454,857,2,264.5],[182,260,2,265.1],[390,244,5,0.0],[688,689,2,265.7],[883,462,5,0.0],[130,277,5,0.0],[896,151,0,0.0],[844,672,5,0.0],[649,513,5,0.0],[896,538,5,0.0],[299,773,5,0.0],[533,50,5,0.0],[922,941,5,0.0],[260,563,0,0.0],[792,571,2,530.1],[208,899,2,1378.0],[260,243,5,0.0],[520,59,5,0.0],[52,378,0,0.0],[454,554,0,0.0],[584,857,2,401.3],[468,92,5,0.0],[909,160,5,0.0],[701,210,0,0.0],[389,966,5,0.0],[805,647,0,0.0],[545,916,0,0.0],[312,613,2,436.1],[805,630,2,348.1],[13,252,2,608.6],[520,244,5,0.0],[351,554,5,0.0],[948,824,1,0.0],[545,227,5,0.0],[208,428,5,0.0],[389,647,5,0.0],[870,908,5,0.0],[91,151,5,0.0],[376,958,5,0.0],[364,596,2,264.4],[156,748,5,0.0],[390,428,5,0.0],[987,882,5,0.0],[636,353,5,0.0],[208,109,2,1153.3],[260,361,5,0.0],[286,126,2,1279.6],[506,941,5,0.0],[935,882,5,0.0],[104,378,5,0.0],[299,706,2,459.9],[130,731,2,889.0],[39,252,2,556.8],[26,109,0,0.0],[78,395,0,0.0],[545,496,5,0.0],[402,807,5,0.0],[143,369,0,0.0],[571,697,0,0.0],[805,916,5,0.0],[143,269,5,0.0],[532,370,0,0.0],[338,529,5,0.0],[467,445,5,0.0],[1000,555,2,360.7],[455,185,5,0.0],[909,412,5,0.0],[545,748,5,0.0],[428,689,0,0.0],[805,261,5,0.0],[857,261,0,0.0],[688,471,5,0.0],[974,387,5,0.0],[636,907,0,0.0],[675,176,5,0.0],[922,370,2,529.4],[571,731,5,0.0],[558,941,1,0.0],[299,336,0,0.0],[805,983,5,0.0],[39,218,5,0.0],[441,798,1,0.0],[182,75,5,0.0],[779,529,2,301.0],[571,244,5,0.0],[844,403,0,0.0],[545,277,5,0.0],[480,470,5,0.0],[571,798,5,0.0],[662,319,1,0.0],[273,201,2,956.6],[740,101,5,0.0],[506,554,0,0.0],[338,731,5,0.0],[247,168,5,0.0],[519,664,5,0.0],[389,933,2,501.6],[597,781,0,0.0],[182,344,5,0.0],[104,647,0,0.0],[623,445,0,0.0],[779,109,5,0.0],[247,890,5,0.0],[286,344,5,0.0],[351,470,0,0.0],[961,328,2,264.7],[688,269,1,0.0],[169,722,5,0.0],[948,840,0,0.0],[299,857,2,781.9],[857,966,5,0.0],[493,412,5,0.0],[558,336,5,0.0],[143,722,2,818.5],[403,50,5,0.0],[402,571,5,0.0],[545,597,5,0.0],[961,395,0,0.0],[935,983,5,0.0],[597,109,5,0.0],[857,76,2,1113.2],[597,916,5,0.0],[623,781,5,0.0],[623,244,0,0.0],[519,798,0,0.0],[221,672,2,608.9],[649,361,0,0.0],[779,345,1,0.0],[948,555,5,0.0],[766,538,2,264.9],[182,630,0,0.0],[636,689,2,460.1],[454,790,1,0.0],[870,336,5,0.0],[740,706,3,100.2],[442,59,5,0.0],[935,42,2,1352.3],[247,454,5,0.0],[805,513,0,0.0],[584,202,5,0.0],[117,117,5,0.0],[714,790,5,0.0],[753,176,5,0.0],[493,882,0,0.0],[376,891,2,701.0],[390,59,5,0.0],[312,512,0,0.0],[299,67,2,1481.7],[636,302,2,200.0],[766,504,5,0.0],[363,748,1,0.0],[545,664,5,0.0],[792,319,1,0.0],[857,866,1,0.0],[805,126,5,0.0],[416,59,5,0.0],[390,159,5,0.0],[558,538,2,200.6],[286,294,5,0.0],[428,891,5,0.0],[584,235,5,0.0],[740,571,2,399.7],[428,857,5,0.0],[182,109,5,0.0],[857,143,2,721.1],[441,865,2,346.6],[390,412,5,0.0],[494,160,5,0.0],[351,638,2,459.3],[922,67,5,0.0],[182,815,2,1281.6],[260,227,2,802.5],[416,462,2,173.3],[935,177,5,0.0],[273,336,5,0.0],[298,941,2,1062.5],[623,462,5,0.0],[974,824,5,0.0],[766,151,5,0.0],[974,622,5,0.0],[273,403,5,0.0],[701,479,5,0.0],[441,630,5,0.0],[779,210,5,0.0],[909,109,5,0.0],[818,639,5,0.0],[389,765,0,0.0],[701,176,5,0.0],[506,286,5,0.0],[130,781,5,0.0],[402,655,5,0.0],[337,966,2,784.1],[623,933,2,437.8],[52,92,5,0.0],[818,101,5,0.0],[415,546,5,0.0],[26,176,5,0.0],[402,907,5,0.0],[143,134,5,0.0],[403,117,5,0.0],[260,664,2,700.0],[584,504,5,0.0],[870,840,5,0.0],[1000,235,5,0.0],[649,765,2,173.3],[688,134,2,655.5],[273,487,1,0.0],[442,126,5,0.0],[987,412,0,0.0],[441,596,5,0.0],[688,521,0,0.0],[688,168,5,0.0],[104,210,5,0.0],[143,353,5,0.0],[714,269,0,0.0],[273,84,5,0.0],[870,941,5,0.0],[428,840,2,264.5],[597,798,5,0.0],[467,412,5,0.0],[961,866,5,0.0],[870,403,5,0.0],[299,538,5,0.0],[403,185,5,0.0],[234,798,5,0.0],[519,580,1,0.0],[545,899,3,100.2],[610,218,5,0.0],[831,59,5,0.0],[935,328,0,0.0],[519,748,5,0.0],[338,176,2,820.2],[766,840,5,0.0],[961,361,0,0.0],[221,874,5,0.0],[831,76,5,0.0],[545,882,5,0.0],[961,681,1,0.0],[389,849,2,459.3],[753,429,5,0.0],[688,958,5,0.0],[104,411,0,0.0],[402,739,3,100.1],[104,714,2,866.9],[584,588,0,0.0],[221,235,5,0.0],[260,496,0,0.0],[39,168,5,0.0],[779,781,5,0.0],[468,176,5,0.0],[558,185,5,0.0],[636,118,5,0.0],[234,479,5,0.0],[558,807,2,264.7],[325,235,5,0.0],[519,697,2,173.8],[338,277,5,0.0],[961,698,5,0.0],[909,546,2,608.9],[571,328,5,0.0],[195,806,5,0.0],[571,630,0,0.0],[883,546,5,0.0],[805,731,2,558.7],[623,109,5,0.0],[195,252,5,0.0],[195,857,5,0.0],[325,67,2,1386.8],[597,395,5,0.0],[299,739,5,0.0],[416,143,5,0.0],[701,882,5,0.0],[857,210,0,0.0],[714,387,1,0.0],[441,949,2,173.3],[389,731,4,99.7],[831,731,2,624.5],[753,92,5,0.0],[182,832,5,0.0],[792,219,5,0.0],[559,118,5,0.0],[221,907,5,0.0],[636,454,5,0.0],[818,185,5,0.0],[506,252,5,0.0],[987,765,1,0.0],[91,235,2,558.1],[649,160,0,0.0],[545,193,5,0.0],[597,865,0,0.0],[896,689,2,265.6],[221,924,5,0.0],[468,344,5,0.0],[519,781,2,199.7],[26,210,2,818.6],[948,656,0,0.0],[481,134,5,0.0],[792,185,5,0.0],[766,303,0,0.0],[675,109,5,0.0],[740,471,5,0.0],[324,857,2,700.3],[208,798,2,1085.8],[649,899,5,0.0],[377,638,2,346.6],[493,512,1,0.0],[416,412,5,0.0],[1000,588,2,173.5],[727,529,5,0.0],[221,890,2,1279.7],[909,529,2,693.4],[78,277,0,0.0],[662,639,5,0.0],[792,17,0,0.0],[156,176,2,699.7],[857,479,5,0.0],[610,689,2,301.0],[740,370,1,0.0],[753,899,5,0.0],[766,319,0,0.0],[935,513,5,0.0],[545,546,0,0.0],[727,597,2,556.6],[649,697,2,520.1],[286,193,2,1056.5],[532,470,5,0.0],[312,428,5,0.0],[935,345,2,360.7],[428,571,1,0.0],[312,563,5,0.0],[571,361,5,0.0],[403,487,5,0.0],[285,899,2,1040.0],[636,67,5,0.0],[441,815,5,0.0],[974,118,5,0.0],[831,966,5,0.0],[805,92,5,0.0],[883,93,0,0.0],[714,706,5,0.0],[571,445,5,0.0],[987,664,1,0.0],[649,462,1,0.0],[961,815,0,0.0],[493,681,0,0.0],[390,563,0,0.0],[130,109,5,0.0],[480,336,5,0.0],[91,369,5,0.0],[182,748,5,0.0],[117,403,1,0.0],[753,815,0,0.0],[675,899,5,0.0],[493,949,5,0.0],[896,857,1,0.0],[351,252,5,0.0],[805,76,5,0.0],[506,857,1,0.0],[377,134,5,0.0],[727,361,0,0.0],[727,109,5,0.0],[156,445,1,0.0],[156,899,0,0.0],[948,790,1,0.0],[403,336,5,0.0],[714,437,0,0.0],[987,328,2,346.5],[311,849,2,693.4],[584,370,5,0.0],[195,168,2,793.9],[779,8,2,1493.9],[286,563,5,0.0],[558,907,2,174.0],[909,93,0,0.0],[649,815,5,0.0],[52,210,5,0.0],[117,185,5,0.0],[831,294,0,0.0],[974,336,5,0.0],[766,252,5,0.0],[247,386,5,0.0],[208,260,5,0.0],[234,361,5,0.0],[844,521,5,0.0],[247,101,0,0.0],[844,908,5,0.0],[766,639,5,0.0],[532,420,5,0.0],[467,378,5,0.0],[299,806,2,558.1],[299,504,0,0.0],[701,109,5,0.0],[429,370,5,0.0],[169,168,5,0.0],[364,277,5,0.0],[285,832,2,722.7],[532,840,5,0.0],[493,328,5,0.0],[338,546,5,0.0],[545,294,5,0.0],[636,605,2,721.2],[987,798,1,0.0],[831,445,5,0.0],[364,395,5,0.0]];
// GSE301973 Clinical Patient Metadata
const GSE301973_PATIENTS = [
{
id: "s1_PFS_69",
pattern: "Lepidic / Acinar",
patternValue: "lepidic",
pfs: 69.0,
endo_pct: 22.93,
homo_pct: 60.96,
CRI: 0.094,
tier: "Tier 1",
tierColor: "#10b981",
action: "Safe Cessation at M36",
tp53: false,
rb1: false,
stromaValue: "low",
ctdnaValue: "negative"
},
{
id: "s2_PFS_22",
pattern: "Lepidic / Acinar",
patternValue: "acinar",
pfs: 22.0,
endo_pct: 12.63,
homo_pct: 67.69,
CRI: 0.327,
tier: "Tier 2",
tierColor: "#38bdf8",
action: "Serial ctDNA Surveillance",
tp53: true,
rb1: false,
stromaValue: "moderate",
ctdnaValue: "negative"
},
{
id: "s4_PFS_12",
pattern: "Solid / Micropapillary",
patternValue: "solid",
pfs: 12.0,
endo_pct: 21.84,
homo_pct: 64.03,
CRI: 0.601,
tier: "Tier 2/3",
tierColor: "#f59e0b",
action: "High Relapse Risk / Extend TKI",
tp53: true,
rb1: false,
stromaValue: "dense",
ctdnaValue: "positive"
},
{
id: "s3_PFS_15",
pattern: "Solid / Micropapillary",
patternValue: "solid",
pfs: 15.0,
endo_pct: 2.73,
homo_pct: 87.86,
CRI: 0.715,
tier: "Tier 3",
tierColor: "#ef4444",
action: "Escalate to SG-ADAURA (Anti-VEGFR2)",
tp53: true,
rb1: true,
stromaValue: "dense",
ctdnaValue: "positive"
}
];
let currentModuleId = '1';
let currentVisiumFilter = 'all';
function switchMainModule(modId, updateHash = true) {
currentModuleId = modId;
// Update Nav Buttons
for (let i = 1; i <= 5; i++) {
const btn = document.getElementById('mod-btn-' + i);
const mod = document.getElementById('module-' + i);
if (btn) btn.classList.remove('active');
if (mod) mod.style.display = 'none';
}
const activeBtn = document.getElementById('mod-btn-' + modId);
const activeMod = document.getElementById('module-' + modId);
const hubMod = document.getElementById('module-5-hub');
if (activeBtn) activeBtn.classList.add('active');
if (activeMod) activeMod.style.display = 'block';
if (hubMod) hubMod.style.display = (modId === '5' ? 'block' : 'none');
if (updateHash && window.history && window.history.replaceState) {
const hashMap = { '1': 'cri', '2': 'visium', '3': 'simulator', '4': 'insitugame', '5': 'evidence' };
window.history.replaceState(null, null, '#' + (hashMap[modId] || 'cri'));
}
// Trigger targeted canvas rendering upon module reveal
if (modId === '1') {
recalculate();
} else if (modId === '2') {
drawVisiumTissue();
drawVisiumPfsChart();
renderVisiumPatientsTable();
} else if (modId === '4') {
runReplicatorSimulation();
} else if (modId === '5') {
drawKaplanMeierCanvas();
drawHazardSurgeCanvas();
}
}
// ==========================================
// MODULE 2: 10x VISIUM HD BENCHMARK RENDERING
// ==========================================
function setVisiumFilter(filter, btn) {
currentVisiumFilter = filter;
document.querySelectorAll('.vis-filter-btn').forEach(b => b.classList.remove('active'));
if (btn) btn.classList.add('active');
drawVisiumTissue();
}
function drawVisiumTissue() {
const canvas = document.getElementById('visium-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
const W = canvas.width;
const H = canvas.height;
// Background
ctx.fillStyle = '#070a13';
ctx.fillRect(0, 0, W, H);
// Subtle coordinate grid
ctx.strokeStyle = 'rgba(51, 65, 85, 0.25)';
ctx.lineWidth = 1;
for (let x = 50; x < W; x += 60) {
ctx.beginPath(); ctx.moveTo(x, 0); ctx.lineTo(x, H); ctx.stroke();
}
for (let y = 50; y < H; y += 60) {
ctx.beginPath(); ctx.moveTo(0, y); ctx.lineTo(W, y); ctx.stroke();
}
const padX = 25;
const padY = 25;
const plotW = W - padX * 2;
const plotH = H - padY * 2;
// Draw spots
for (let i = 0; i < VISIUM_SPOTS.length; i++) {
const pt = VISIUM_SPOTS[i];
const nx = pt[0] / 1000.0;
const ny = pt[1] / 1000.0;
const type = pt[2];
const dist = pt[3];
// Apply filter
if (currentVisiumFilter === 'sanctuary' && type !== 2) continue;
if (currentVisiumFilter === 'endo' && type !== 1) continue;
if (currentVisiumFilter === 'tumor' && (type < 2 || type > 4)) continue;
const cx = padX + nx * plotW;
const cy = padY + ny * plotH;
ctx.beginPath();
if (type === 1) { // Endothelial
ctx.arc(cx, cy, 3.8, 0, Math.PI * 2);
ctx.fillStyle = '#f43f5e';
ctx.shadowColor = '#f43f5e';
ctx.shadowBlur = 4;
ctx.fill();
ctx.shadowBlur = 0;
} else if (type === 2) { // Tumor Sanctuary (>165 um)
ctx.arc(cx, cy, 2.6, 0, Math.PI * 2);
ctx.fillStyle = '#f97316';
ctx.fill();
} else if (type === 3) { // Tumor Attenuated (100-165 um)
ctx.arc(cx, cy, 2.8, 0, Math.PI * 2);
ctx.fillStyle = '#eab308';
ctx.fill();
} else if (type === 4) { // Tumor Effective (<100 um)
ctx.arc(cx, cy, 3.2, 0, Math.PI * 2);
ctx.fillStyle = '#06b6d4';
ctx.fill();
} else if (type === 5) { // Stroma
ctx.arc(cx, cy, 1.8, 0, Math.PI * 2);
ctx.fillStyle = 'rgba(99, 102, 241, 0.45)';
ctx.fill();
} else { // Other
ctx.arc(cx, cy, 1.4, 0, Math.PI * 2);
ctx.fillStyle = 'rgba(75, 85, 99, 0.25)';
ctx.fill();
}
}
// Scale bar (500 µm ~ 76 normalized units -> 76/1000 * plotW)
const barLen = (500 / 6550) * plotW;
const barX = W - padX - barLen - 10;
const barY = H - padY - 14;
ctx.fillStyle = 'rgba(15, 23, 42, 0.85)';
ctx.fillRect(barX - 10, barY - 18, barLen + 20, 28);
ctx.strokeStyle = '#38bdf8';
ctx.lineWidth = 1;
ctx.strokeRect(barX - 10, barY - 18, barLen + 20, 28);
ctx.strokeStyle = '#ffffff';
ctx.lineWidth = 3;
ctx.beginPath();
ctx.moveTo(barX, barY);
ctx.lineTo(barX + barLen, barY);
ctx.stroke();
ctx.fillStyle = '#ffffff';
ctx.font = 'bold 9.5px -apple-system, sans-serif';
ctx.textAlign = 'center';
ctx.fillText('500 µm', barX + barLen / 2, barY - 5);
}
// Visium Interactive Tooltip on Mouse Move
function initVisiumCanvasHover() {
const canvas = document.getElementById('visium-canvas');
const tooltip = document.getElementById('visium-tooltip');
const tooltipText = document.getElementById('visium-tooltip-text');
if (!canvas || !tooltip) return;
canvas.addEventListener('mousemove', function(e) {
const rect = canvas.getBoundingClientRect();
const scaleX = canvas.width / rect.width;
const scaleY = canvas.height / rect.height;
const mx = (e.clientX - rect.left) * scaleX;
const my = (e.clientY - rect.top) * scaleY;
const padX = 25; const padY = 25;
const plotW = canvas.width - padX * 2;
const plotH = canvas.height - padY * 2;
let closestSpot = null;
let minDistSq = 12 * 12; // 12px threshold
for (let i = 0; i < VISIUM_SPOTS.length; i++) {
const pt = VISIUM_SPOTS[i];
const cx = padX + (pt[0] / 1000.0) * plotW;
const cy = padY + (pt[1] / 1000.0) * plotH;
const distSq = (mx - cx) * (mx - cx) + (my - cy) * (my - cy);
if (distSq < minDistSq) {
minDistSq = distSq;
closestSpot = pt;
}
}
if (closestSpot) {
tooltip.style.display = 'block';
const typeNames = {
1: '<span style="color:#f43f5e;font-weight:700;">CD31+ Capillary Vessel</span>',
2: '<span style="color:#f97316;font-weight:700;">Tumor Cell in Pharmacological Sanctuary (>165 µm)</span>',
3: '<span style="color:#eab308;font-weight:700;">Tumor Cell in Attenuated Exposure (100–165 µm)</span>',
4: '<span style="color:#06b6d4;font-weight:700;">Tumor Cell at Full Effective Exposure (<100 µm)</span>',
5: '<span style="color:#818cf8;font-weight:700;">Dense Fibrous Stroma (COL1A1+)</span>',
0: '<span style="color:#94a3b8;">Normal / Alveolar Parenchyma</span>'
};
let desc = typeNames[closestSpot[2]] || 'Spot';
if (closestSpot[2] >= 2 && closestSpot[2] <= 4) {
desc += `<br>Distance to Nearest Vessel: <strong style="color:#fff;">${closestSpot[3]} µm</strong>`;
desc += closestSpot[2] === 2 ? ' · Exposure: <span style="color:#f97316;">Sub-therapeutic (2–8 nM)</span>' : ' · Exposure: <span style="color:#06b6d4;">Therapeutic (>10 nM)</span>';
}
tooltipText.innerHTML = desc;
} else {
tooltip.style.display = 'none';
}
});
canvas.addEventListener('mouseleave', function() {
tooltip.style.display = 'none';
});
}
// GSE301973 Progression-Free Survival Scatter Chart
function drawVisiumPfsChart() {
const canvas = document.getElementById('visium-pfs-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
const W = canvas.width;
const H = canvas.height;
ctx.fillStyle = '#070a13';
ctx.fillRect(0, 0, W, H);
const padL = 45; const padR = 20;
const padT = 20; const padB = 30;
const plotW = W - padL - padR;
const plotH = H - padT - padB;
// Axes
ctx.strokeStyle = '#334155';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(padL, padT); ctx.lineTo(padL, padT + plotH); ctx.lineTo(padL + plotW, padT + plotH);
ctx.stroke();
// Axis labels
ctx.fillStyle = '#94a3b8';
ctx.font = '9px -apple-system, sans-serif';
ctx.textAlign = 'center';
ctx.fillText('PFS (Months on Adjuvant Osimertinib)', padL + plotW / 2, H - 8);
ctx.save();
ctx.translate(14, padT + plotH / 2);
ctx.rotate(-Math.PI / 2);
ctx.fillText('Endo Contact %', 0, 0);
ctx.restore();
// Scale: X: 0 to 75 months, Y: 0 to 25%
const maxX = 75; const maxY = 26;
// Ticks
ctx.fillStyle = '#64748b';
ctx.textAlign = 'right';
for (let y = 0; y <= 25; y += 5) {
const py = padT + plotH - (y / maxY) * plotH;
ctx.fillText(y + '%', padL - 6, py + 3);
ctx.strokeStyle = 'rgba(51, 65, 85, 0.2)';
ctx.beginPath(); ctx.moveTo(padL, py); ctx.lineTo(padL + plotW, py); ctx.stroke();
}
ctx.textAlign = 'center';
for (let x = 0; x <= 70; x += 15) {
const px = padL + (x / maxX) * plotW;
ctx.fillText(x + 'm', px, padT + plotH + 15);
}
// Trendline (inverse contact vs short PFS trend)
ctx.strokeStyle = 'rgba(56, 189, 248, 0.4)';
ctx.lineWidth = 1.5;
ctx.setLineDash([4, 4]);
ctx.beginPath();
const x1 = padL + (10 / maxX) * plotW;
const y1 = padT + plotH - (8 / maxY) * plotH;
const x2 = padL + (70 / maxX) * plotW;
const y2 = padT + plotH - (23 / maxY) * plotH;
ctx.moveTo(x1, y1); ctx.lineTo(x2, y2);
ctx.stroke();
ctx.setLineDash([]);
// Draw Patient Points
GSE301973_PATIENTS.forEach(p => {
const px = padL + (p.pfs / maxX) * plotW;
const py = padT + plotH - (p.endo_pct / maxY) * plotH;
ctx.beginPath();
if (p.pfs > 20) {
ctx.arc(px, py, 6, 0, Math.PI * 2);
} else {
ctx.rect(px - 5, py - 5, 10, 10);
}
ctx.fillStyle = p.tierColor;
ctx.shadowColor = p.tierColor;
ctx.shadowBlur = 6;
ctx.fill();
ctx.shadowBlur = 0;
ctx.strokeStyle = '#ffffff';
ctx.lineWidth = 1.5;
ctx.stroke();
// Label
ctx.fillStyle = '#f8fafc';
ctx.font = 'bold 8.5px -apple-system, sans-serif';
ctx.textAlign = p.pfs > 40 ? 'right' : 'left';
ctx.fillText(p.id + ` (${p.pfs}m)`, p.pfs > 40 ? px - 9 : px + 9, py + 3);
});
}
// Render Patients Table
function renderVisiumPatientsTable() {
const tbody = document.getElementById('visium-patients-tbody');
if (!tbody) return;
tbody.innerHTML = GSE301973_PATIENTS.map(p => `
<tr class="vis-patient-row">
<td style="padding: 0.6rem 0.5rem; font-weight: 700; color: #fff;">${p.id}</td>
<td style="padding: 0.6rem 0.5rem; color: var(--text-muted);">${p.pattern}</td>
<td style="padding: 0.6rem 0.5rem; font-weight: 700; color: ${p.pfs >= 22 ? '#10b981' : '#f59e0b'};">${p.pfs} Months</td>
<td style="padding: 0.6rem 0.5rem; color: #f43f5e; font-weight: 600;">${p.endo_pct}%</td>
<td style="padding: 0.6rem 0.5rem; color: var(--text-muted);">${p.homo_pct}%</td>
<td style="padding: 0.6rem 0.5rem; font-weight: 800; color: ${p.tierColor};">${p.CRI.toFixed(3)}</td>
<td style="padding: 0.6rem 0.5rem;"><span class="badge" style="background: rgba(255,255,255,0.06); border: 1px solid ${p.tierColor}; color: ${p.tierColor}; font-size: 0.72rem; padding: 2px 6px;">${p.tier}</span></td>
<td style="padding: 0.6rem 0.5rem; font-size: 0.75rem; color: var(--text-muted);">${p.action}</td>
<td style="padding: 0.6rem 0.5rem; text-align: right;">
<button onclick="applyPatientToBedside('${p.id}')" class="badge badge-cyan" style="cursor: pointer; border: none; font-size: 0.72rem; padding: 4px 8px;">
<span>🩺 Apply to Module 1 →</span>
</button>
</td>
</tr>
`).join('');
}
function applyPatientToBedside(patientId) {
const p = GSE301973_PATIENTS.find(item => item.id === patientId);
if (!p) return;
const selHisto = document.getElementById('select-histology');
const selGeno = document.getElementById('select-genomics');
const selStroma = document.getElementById('select-stroma');
if (patientId === 's1_PFS_69') {
if (selHisto) selHisto.value = '0.15';
if (selGeno) selGeno.value = '0.10';
if (selStroma) selStroma.value = '0.10';
} else if (patientId === 's2_PFS_22') {
if (selHisto) selHisto.value = '0.50';
if (selGeno) selGeno.value = '0.50';
if (selStroma) selStroma.value = '0.50';
} else if (patientId === 's4_PFS_12') {
if (selHisto) selHisto.value = '1.00';
if (selGeno) selGeno.value = '0.50';
if (selStroma) selStroma.value = '1.00';
} else if (patientId === 's3_PFS_15') {
if (selHisto) selHisto.value = '1.00';
if (selGeno) selGeno.value = '1.00';
if (selStroma) selStroma.value = '1.00';
}
switchMainModule('1');
if (typeof recalculate === 'function') recalculate();
window.scrollTo({ top: 0, behavior: 'smooth' });
}
// ==========================================
// MODULE 2: IN SITU GAME REPLICATOR DYNAMICS
// ==========================================
function applyGamePreset(preset) {
if (preset === 'continuous') {
document.getElementById('payoff-a11').value = '-1.50';
document.getElementById('payoff-a12').value = '1.20';
document.getElementById('payoff-a21').value = '2.80';
document.getElementById('payoff-a22').value = '-0.50';
document.getElementById('game-slider-x0').value = '90';
} else if (preset === 'adaptive') {
document.getElementById('payoff-a11').value = '-0.74';
document.getElementById('payoff-a12').value = '2.87';
document.getElementById('payoff-a21').value = '2.19';
document.getElementById('payoff-a22').value = '-1.77';
document.getElementById('game-slider-x0').value = '85';
} else if (preset === 'stroma') {
document.getElementById('payoff-a11').value = '-0.50';
document.getElementById('payoff-a12').value = '1.80';
document.getElementById('payoff-a21').value = '1.10';
document.getElementById('payoff-a22').value = '-2.40';
document.getElementById('game-slider-x0').value = '90';
}
runReplicatorSimulation();
}
function runReplicatorSimulation() {
const a11 = parseFloat(document.getElementById('payoff-a11').value);
const a12 = parseFloat(document.getElementById('payoff-a12').value);
const a21 = parseFloat(document.getElementById('payoff-a21').value);
const a22 = parseFloat(document.getElementById('payoff-a22').value);
const x0 = parseFloat(document.getElementById('game-slider-x0').value) / 100.0;
const tmax = parseFloat(document.getElementById('game-slider-tmax').value);
document.getElementById('game-val-x0').innerText = (x0 * 100).toFixed(0) + '%';
document.getElementById('game-val-tmax').innerText = tmax.toFixed(0) + ' mo';
// 1. Compute Internal Nash Equilibrium
// x* = (a22 - a12) / [(a11 - a12) - (a21 - a22)]
const num = a22 - a12;
const den = (a11 - a12) - (a21 - a22);
let xStar = 0.5;
let isCoexistence = (a12 > a22 && a21 > a11);
if (Math.abs(den) > 1e-6) {
xStar = num / den;
}
xStar = Math.max(0.01, Math.min(0.99, xStar));
// Lyapunov Stability: alpha = (a11 - a12) - (a21 - a22)
const alpha = den;
const lyapEig = xStar * (1.0 - xStar) * alpha;
document.getElementById('stat-game-nash').innerText = (xStar * 100).toFixed(1) + ' %';
document.getElementById('stat-game-lyap').innerText = lyapEig.toFixed(3);
document.getElementById('stat-game-class').innerText = lyapEig < 0 ? 'Attractor' : 'Repeller';
document.getElementById('stat-game-class').style.color = lyapEig < 0 ? '#34d399' : '#f87171';
// 2. Numerical Integration (Forward Euler)
const dt = 0.1;
const steps = Math.round(tmax / dt);
const times = [];
const xs = [];
const xr = [];
let x = x0;
for (let s = 0; s <= steps; s++) {
const t = s * dt;
times.push(t);
xs.push(x);
xr.push(1.0 - x);
// Replicator equation: dx/dt = x*(1-x) * [(a11 - a21)*x + (a12 - a22)*(1-x)]
const f_S = a11 * x + a12 * (1.0 - x);
const f_R = a21 * x + a22 * (1.0 - x);
const f_avg = x * f_S + (1.0 - x) * f_R;
const dxdt = x * (f_S - f_avg);
x += dxdt * dt;
x = Math.max(0.001, Math.min(0.999, x));
}
drawReplicatorCanvas(times, xs, xr, tmax);
drawPhaseCanvas(a11, a12, a21, a22, xStar);
}
function drawReplicatorCanvas(times, xs, xr, tmax) {
const canvas = document.getElementById('replicator-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
const dpr = window.devicePixelRatio || 1;
const width = canvas.parentElement.clientWidth;
const height = canvas.parentElement.clientHeight;
canvas.width = width * dpr;
canvas.height = height * dpr;
ctx.scale(dpr, dpr);
ctx.clearRect(0, 0, width, height);
const padL = 45, padR = 25, padT = 25, padB = 35;
const pW = width - padL - padR;
const pH = height - padT - padB;
function toX(t) { return padL + (t / tmax) * pW; }
function toY(val) { return padT + pH - val * pH; }
// Month 36 marker
if (tmax >= 36) {
const x36 = toX(36.0);
ctx.strokeStyle = '#fbbf24';
ctx.setLineDash([4, 4]);
ctx.beginPath();
ctx.moveTo(x36, padT);
ctx.lineTo(x36, padT + pH);
ctx.stroke();
ctx.setLineDash([]);
ctx.fillStyle = '#fbbf24';
ctx.font = '10px sans-serif';
ctx.textAlign = 'center';
ctx.fillText('Month 36 (ADAURA Stop)', x36, padT + 12);
}
// Axes
ctx.strokeStyle = '#334155';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(padL, padT);
ctx.lineTo(padL, padT + pH);
ctx.lineTo(padL + pW, padT + pH);
ctx.stroke();
// Axis ticks
ctx.fillStyle = '#94a3b8';
ctx.font = '10px sans-serif';
ctx.textAlign = 'center';
for (let t = 0; t <= tmax; t += 12) {
ctx.fillText(t + ' mo', toX(t), padT + pH + 15);
}
ctx.textAlign = 'right';
for (let pct = 0; pct <= 100; pct += 25) {
ctx.fillText(pct + '%', padL - 8, toY(pct / 100) + 4);
}
// Plot Sensitive TS (cyan)
ctx.strokeStyle = '#38bdf8';
ctx.lineWidth = 2.5;
ctx.beginPath();
for (let i = 0; i < times.length; i++) {
const px = toX(times[i]);
const py = toY(xs[i]);
if (i === 0) ctx.moveTo(px, py);
else ctx.lineTo(px, py);
}
ctx.stroke();
// Plot Persister TR (rose)
ctx.strokeStyle = '#f43f5e';
ctx.lineWidth = 2.5;
ctx.beginPath();
for (let i = 0; i < times.length; i++) {
const px = toX(times[i]);
const py = toY(xr[i]);
if (i === 0) ctx.moveTo(px, py);
else ctx.lineTo(px, py);
}
ctx.stroke();
}
function drawPhaseCanvas(a11, a12, a21, a22, xStar) {
const canvas = document.getElementById('phase-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
const dpr = window.devicePixelRatio || 1;
const width = canvas.parentElement.clientWidth;
const height = canvas.parentElement.clientHeight;
canvas.width = width * dpr;
canvas.height = height * dpr;
ctx.scale(dpr, dpr);
ctx.clearRect(0, 0, width, height);
const padL = 45, padR = 25, padT = 25, padB = 35;
const pW = width - padL - padR;
const pH = height - padT - padB;
const yMid = padT + pH / 2;
// Axis
ctx.strokeStyle = '#334155';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(padL, yMid);
ctx.lineTo(padL + pW, yMid);
ctx.stroke();
// Compute dx/dt values
const pts = [];
let maxD = 0.01;
for (let i = 0; i <= 100; i++) {
const x = i / 100.0;
const f_S = a11 * x + a12 * (1.0 - x);
const f_R = a21 * x + a22 * (1.0 - x);
const d = x * (1.0 - x) * (f_S - f_R);
pts.push({ x, d });
if (Math.abs(d) > maxD) maxD = Math.abs(d);
}
function toX(x) { return padL + x * pW; }
function toY(d) { return yMid - (d / maxD) * (pH * 0.42); }
// Draw Curve
ctx.strokeStyle = '#34d399';
ctx.lineWidth = 2.5;
ctx.beginPath();
for (let i = 0; i < pts.length; i++) {
const px = toX(pts[i].x);
const py = toY(pts[i].d);
if (i === 0) ctx.moveTo(px, py);
else ctx.lineTo(px, py);
}
ctx.stroke();
// Draw Nash Attractor Dot
const nX = toX(xStar);
ctx.fillStyle = '#fbbf24';
ctx.beginPath();
ctx.arc(nX, yMid, 5, 0, Math.PI * 2);
ctx.fill();
ctx.fillStyle = '#e2e8f0';
ctx.font = 'bold 10px sans-serif';
ctx.textAlign = 'center';
ctx.fillText(`Nash Attractor: ${(xStar * 100).toFixed(1)}%`, nX, yMid - 10);
}
// ==========================================
// MODULE 3: MSKCC 604 CLINICAL COHORT
// ==========================================
const MSKCC_KM_DATA = {
Lepidic: [1.0, 1.0, 1.0, 1.0, 0.9861, 0.9579, 0.8663, 0.8663, 0.8663, 0.8663, 0.8663],
Acinar: [1.0, 0.9832, 0.9122, 0.8695, 0.8342, 0.8085, 0.7531, 0.706, 0.706, 0.353, 0.353],
Papillary: [1.0, 0.9767, 0.896, 0.868, 0.8286, 0.7694, 0.6348, 0.529, 0.529, 0.0, 0.0],
Micropapillary: [1.0, 0.9429, 0.9114, 0.785, 0.785, 0.785, 0.785, 0.785, 0.3925, 0.3925, 0.3925],
Solid: [1.0, 0.9851, 0.8363, 0.729, 0.6718, 0.6449, 0.6449, 0.4299, 0.4299, 0.4299, 0.4299],
Solid_Micro: [1.0, 0.9704, 0.8619, 0.7492, 0.7086, 0.6899, 0.6899, 0.5913, 0.3942, 0.3942, 0.3942]
};
function drawKaplanMeierCanvas() {
const canvas = document.getElementById('km-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
const dpr = window.devicePixelRatio || 1;
const width = canvas.parentElement.clientWidth;
const height = canvas.parentElement.clientHeight;
canvas.width = width * dpr;
canvas.height = height * dpr;
ctx.scale(dpr, dpr);
ctx.clearRect(0, 0, width, height);
const padL = 45, padR = 25, padT = 25, padB = 35;
const pW = width - padL - padR;
const pH = height - padT - padB;
function toX(m) { return padL + (m / 60.0) * pW; }
function toY(s) { return padT + (1.0 - s) * pH; }
// Shaded Post-ADAURA window (Month 36-60)
const x36 = toX(36);
const x60 = toX(60);
ctx.fillStyle = 'rgba(239, 68, 68, 0.12)';
ctx.fillRect(x36, padT, x60 - x36, pH);
// Month 36 marker line
ctx.strokeStyle = '#fbbf24';
ctx.setLineDash([4, 4]);
ctx.beginPath();
ctx.moveTo(x36, padT);
ctx.lineTo(x36, padT + pH);
ctx.stroke();
ctx.setLineDash([]);
// Axes
ctx.strokeStyle = '#334155';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(padL, padT);
ctx.lineTo(padL, padT + pH);
ctx.lineTo(padL + pW, padT + pH);
ctx.stroke();
// Axis ticks
ctx.fillStyle = '#94a3b8';
ctx.font = '10px sans-serif';
ctx.textAlign = 'center';
for (let m = 0; m <= 60; m += 12) {
ctx.fillText(m + ' mo', toX(m), padT + pH + 15);
}
ctx.textAlign = 'right';
for (let s = 0; s <= 100; s += 25) {
ctx.fillText(s + '%', padL - 8, toY(s / 100) + 4);
}
// Draw Subtypes (Step function)
const curves = [
{ name: 'Lepidic', color: '#10b981', lw: 3.0 },
{ name: 'Acinar', color: '#38bdf8', lw: 2.2 },
{ name: 'Solid_Micro', color: '#f43f5e', lw: 2.8 }
];
const timeGrid = [0, 6, 12, 18, 24, 30, 36, 42, 48, 54, 60];
curves.forEach(c => {
const surv = MSKCC_KM_DATA[c.name];
ctx.strokeStyle = c.color;
ctx.lineWidth = c.lw;
ctx.beginPath();
for (let i = 0; i < timeGrid.length; i++) {
const px = toX(timeGrid[i]);
const py = toY(surv[i]);
if (i === 0) {
ctx.moveTo(px, py);
} else {
const prevPx = toX(timeGrid[i - 1]);
const prevPy = toY(surv[i - 1]);
ctx.lineTo(px, prevPy); // step
ctx.lineTo(px, py);
}
}
ctx.stroke();
});
}
function drawHazardSurgeCanvas() {
const canvas = document.getElementById('hazard-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
const dpr = window.devicePixelRatio || 1;
const width = canvas.parentElement.clientWidth;
const height = canvas.parentElement.clientHeight;
canvas.width = width * dpr;
canvas.height = height * dpr;
ctx.scale(dpr, dpr);
ctx.clearRect(0, 0, width, height);
const padL = 45, padR = 25, padT = 25, padB = 35;
const pW = width - padL - padR;
const pH = height - padT - padB;
function toX(m) { return padL + (m / 60.0) * pW; }
function toY(h) { return padT + pH - (h / 0.12) * pH; }
// Month 36 marker
const x36 = toX(36);
ctx.strokeStyle = '#fbbf24';
ctx.setLineDash([4, 4]);
ctx.beginPath();
ctx.moveTo(x36, padT);
ctx.lineTo(x36, padT + pH);
ctx.stroke();
ctx.setLineDash([]);
ctx.fillStyle = '#fbbf24';
ctx.font = '10px sans-serif';
ctx.textAlign = 'center';
ctx.fillText('Month 36 Stop', x36, padT + 12);
// Axes
ctx.strokeStyle = '#334155';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(padL, padT);
ctx.lineTo(padL, padT + pH);
ctx.lineTo(padL + pW, padT + pH);
ctx.stroke();
// Axis labels
ctx.fillStyle = '#94a3b8';
ctx.font = '10px sans-serif';
ctx.textAlign = 'center';
for (let m = 0; m <= 60; m += 12) {
ctx.fillText(m + ' mo', toX(m), padT + pH + 15);
}
ctx.textAlign = 'right';
ctx.fillText('High', padL - 8, padT + 15);
ctx.fillText('Zero', padL - 8, padT + pH);
// Solid Hazard Curve (Spike after month 36)
ctx.strokeStyle = '#f43f5e';
ctx.lineWidth = 2.8;
ctx.beginPath();
for (let m = 0; m <= 60; m += 2) {
let h = 0.015;
if (m >= 36) {
// Surge modeling
const dt = m - 36;
h = 0.015 + 0.085 * Math.exp(-Math.pow(dt - 6.0, 2) / 28.0);
}
const px = toX(m);
const py = toY(h);
if (m === 0) ctx.moveTo(px, py);
else ctx.lineTo(px, py);
}
ctx.stroke();
// Lepidic Hazard Curve (Flat near zero)
ctx.strokeStyle = '#10b981';
ctx.lineWidth = 2.8;
ctx.beginPath();
for (let m = 0; m <= 60; m += 2) {
const h = 0.005;
const px = toX(m);
const py = toY(h);
if (m === 0) ctx.moveTo(px, py);
else ctx.lineTo(px, py);
}
ctx.stroke();
}
// ==========================================
// MODULE 4: CLIENT-SIDE DATASET & CITATION
// ==========================================
const EMBEDDED_MSKCC_CSV = "patientId,sampleId,PREDOMINANT_HISTOLOGIC_SUBTYPE,PATHOLOGIC_STAGE,IS_EGFR_MUTANT,RFS_MONTHS,RECURRENCE_EVENT,OS_MONTHS,OS_EVENT,SEX,SMOKING_HISTORY\nP-0000219,P-0000219-T01-IM3,Solid,3,1,24.56666667,1,83.8,0,Female,Ever Smoker\nP-0000280,P-0000280-T01-IM3,Acinar,1,1,14.86666667,1,77.43333333,0,Female,Never Smoker\nP-0000627,P-0000627-T02-IM5,Acinar,1,0,37.36666667,0,37.36666667,1,Female,Ever Smoker\nP-0000867,P-0000867-T01-IM3,Acinar,2,0,11.43333333,1,34.8,1,Male,Ever Smoker\nP-0001944,P-0001944-T01-IM3,Acinar,1,0,84.7,0,84.7,0,Female,Ever Smoker\nP-0002534,P-0002534-T01-IM3,Acinar,3,1,10.16666667,1,52.96666667,0,Female,Never Smoker\nP-0002544,P-0002544-T01-IM3,Acinar,1,0,49.26666667,0,49.26666667,0,Female,Ever Smoker\nP-0002557,P-0002557-T01-IM3,Acinar,1,1,1.733333333,1,53.13333333,1,Female,Never Smoker\nP-0002768,P-0002768-T02-IM6,Papillary,1,1,6.5,0,6.5,0,Female,Never Smoker\nP-0002880,P-0002880-T02-IM6,Acinar,1,1,29.1,0,29.1,0,Male,Never Smoker\nP-0002949,P-0002949-T01-IM3,Micropapillary,1,0,7.333333333,0,7.333333333,0,Male,Ever Smoker\nP-0003096,P-0003096-T01-IM5,Acinar,1,1,49.46666667,0,49.46666667,0,Female,Ever Smoker\nP-0003323,P-0003323-T01-IM5,Acinar,3,0,45.23333333,0,45.23333333,0,Female,Never Smoker\nP-0003489,P-0003489-T01-IM5,Acinar,1,0,49.36666667,0,49.36666667,0,Male,Ever Smoker\nP-0003573,P-0003573-T01-IM5,Acinar,1,1,53.86666667,0,53.86666667,0,Female,Never Smoker\nP-0003734,P-0003734-T01-IM5,Papillary,1,0,47.66666667,0,47.66666667,0,Male,Ever Smoker\nP-0003785,P-0003785-T01-IM5,Lepidic,2,0,41.43333333,0,41.43333333,0,Female,Ever Smoker\nP-0004105,P-0004105-T01-IM5,Acinar,1,1,44.93333333,0,44.93333333,1,Female,Ever Smoker\nP-0004271,P-0004271-T01-IM5,Acinar,2,0,22.46666667,1,48.03333333,0,Female,Never Smoker\nP-0004335,P-0004335-T01-IM5,Acinar,1,0,37.26666667,0,37.26666667,0,Female,Ever Smoker\nP-0004361,P-0004361-T01-IM5,Acinar,1,0,47.43333333,0,47.43333333,0,Female,Ever Smoker\nP-0004530,P-0004530-T02-IM6,Acinar,1,0,10.73333333,0,10.73333333,0,Female,Ever Smoker\nP-0004678,P-0004678-T01-IM5,Acinar,1,1,48.06666667,0,48.06666667,0,Male,Ever Smoker\nP-0004714,P-0004714-T01-IM5,Solid,1,1,47.36666667,0,47.36666667,0,Female,Ever Smoker\nP-0004730,P-0004730-T01-IM5,Papillary,1,1,43.46666667,0,43.46666667,0,Male,Never Smoker\nP-0004858,P-0004858-T01-IM5,Solid,1,0,12.26666667,1,47.86666667,0,Female,Ever Smoker\nP-0004860,P-0004860-T01-IM5,Acinar,3,0,16.93333333,1,26.3,1,Male,Ever Smoker\nP-0004878,P-0004878-T01-IM5,Acinar,1,0,43.76666667,0,43.76666667,0,Female,Ever Smoker\nP-0004882,P-0004882-T01-IM5,Acinar,1,0,37.23333333,0,37.23333333,0,Female,Ever Smoker\nP-0005094,P-0005094-T01-IM5,Acinar,1,1,49.83333333,0,49.83333333,0,Female,Ever Smoker\nP-0005170,P-0005170-T01-IM5,Lepidic,2,0,42.46666667,0,42.46666667,0,Male,Ever Smoker\nP-0005190,P-0005190-T01-IM5,Papillary,1,0,22.63333333,0,22.63333333,0,Male,Ever Smoker\nP-0005194,P-0005194-T01-IM5,Papillary,1,0,43.46666667,0,43.46666667,0,Female,Ever Smoker\nP-0005198,P-0005198-T01-IM5,Papillary,2,1,31.83333333,1,35.46666667,1,Female,Ever Smoker\nP-0005544,P-0005544-T02-IM5,Lepidic,3,0,38.43333333,0,38.43333333,0,Female,Ever Smoker\nP-0005567,P-0005567-T01-IM5,Solid,1,0,36.66666667,0,36.66666667,0,Female,Ever Smoker\nP-0005580,P-0005580-T01-IM5,Acinar,1,1,40.16666667,0,40.16666667,0,Female,Never Smoker\nP-0005694,P-0005694-T01-IM5,Acinar,1,0,43.0,0,43.0,0,Female,Ever Smoker\nP-0005845,P-0005845-T01-IM5,Acinar,1,1,53.9,1,93.36666667,0,Female,Ever Smoker\nP-0005873,P-0005873-T01-IM5,Lepidic,3,0,39.53333333,0,39.53333333,0,Female,Ever Smoker\nP-0005881,P-0005881-T02-IM5,Solid,1,0,38.33333333,0,38.33333333,0,Female,Ever Smoker\nP-0005927,P-0005927-T01-IM5,Papillary,1,0,22.73333333,1,32.8,1,Female,Ever Smoker\nP-0005942,P-0005942-T01-IM5,Acinar,1,0,39.2,0,39.2,0,Female,Ever Smoker\nP-0005975,P-0005975-T01-IM5,Acinar,3,0,15.73333333,1,21.0,1,Female,Ever Smoker\nP-0006002,P-0006002-T01-IM5,Acinar,1,1,37.13333333,0,37.13333333,0,Female,Never Smoker\nP-0006028,P-0006028-T01-IM5,Acinar,1,1,39.93333333,0,39.93333333,0,Female,Never Smoker\nP-0006060,P-0006060-T01-IM5,Solid,2,0,35.46666667,0,35.46666667,0,Female,Ever Smoker\nP-0006085,P-0006085-T01-IM5,Lepidic,1,0,37.16666667,0,37.16666667,0,Male,Ever Smoker\nP-0006115,P-0006115-T01-IM5,Acinar,3,1,21.63333333,1,44.36666667,0,Female,Ever Smoker\nP-0006127,P-0006127-T01-IM5,Solid,1,0,8.2,1,38.16666667,1,Male,Ever Smoker\nP-0006139,P-0006139-T01-IM5,Acinar,1,1,16.6,1,44.83333333,0,Female,Never Smoker\nP-0006140,P-0006140-T01-IM5,Acinar,1,0,40.36666667,0,40.36666667,0,Female,Ever Smoker\nP-0006210,P-0006210-T01-IM5,Acinar,1,1,35.76666667,1,49.23333333,0,Female,Ever Smoker\nP-0006343,P-0006343-T01-IM5,Solid,1,0,7.033333333,1,50.93333333,0,Female,Ever Smoker\nP-0006421,P-0006421-T01-IM5,Lepidic,1,0,45.0,0,45.0,0,Female,Ever Smoker\nP-0006485,P-0006485-T01-IM5,Acinar,3,0,14.7,0,14.86666667,1,Female,Ever Smoker\nP-0006640,P-0006640-T01-IM5,Acinar,1,1,33.53333333,0,33.53333333,0,Female,Ever Smoker\nP-0006747,P-0006747-T01-IM5,Acinar,1,0,40.33333333,0,40.33333333,0,Female,Ever Smoker\nP-0006768,P-0006768-T01-IM5,Acinar,3,0,10.86666667,1,40.36666667,1,Male,Ever Smoker\nP-0006793,P-0006793-T01-IM5,Acinar,2,0,12.1,1,13.93333333,0,Female,Ever Smoker\nP-0006912,P-0006912-T01-IM5,Acinar,2,1,19.7,1,43.26666667,0,Female,Never Smoker\nP-0006920,P-0006920-T01-IM5,Acinar,1,0,39.13333333,0,39.13333333,0,Male,Ever Smoker\nP-0006969,P-0006969-T01-IM5,Acinar,1,0,15.46666667,0,15.46666667,1,Male,Ever Smoker\nP-0007004,P-0007004-T01-IM5,Lepidic,1,0,39.36666667,0,39.36666667,0,Female,Ever Smoker\nP-0007050,P-0007050-T01-IM5,Micropapillary,3,0,42.06666667,0,42.06666667,0,Male,Ever Smoker\nP-0007074,P-0007074-T01-IM5,Acinar,1,0,34.8,0,34.8,0,Female,Ever Smoker\nP-0007080,P-0007080-T03-IM6,Acinar,1,1,24.56666667,0,24.56666667,0,Female,Never Smoker\nP-0007121,P-0007121-T01-IM5,Solid,3,0,6.533333333,1,41.7,0,Female,Ever Smoker\nP-0007328,P-0007328-T01-IM5,Solid,2,0,36.43333333,0,36.43333333,0,Male,Ever Smoker\nP-0007542,P-0007542-T01-IM5,Solid,1,0,43.76666667,0,43.76666667,0,Female,Ever Smoker\nP-0007545,P-0007545-T01-IM5,Acinar,2,1,38.3,0,38.3,0,Female,Ever Smoker\nP-0007638,P-0007638-T01-IM5,Micropapillary,3,0,40.86666667,0,40.86666667,0,Female,Ever Smoker\nP-0007776,P-0007776-T01-IM5,Micropapillary,3,0,2.833333333,1,30.76666667,1,Female,Ever Smoker\nP-0007779,P-0007779-T01-IM5,Lepidic,1,1,28.9,1,42.3,0,Female,Ever Smoker\nP-0007816,P-0007816-T01-IM5,Acinar,1,0,37.1,0,37.1,0,Female,Ever Smoker\nP-0007846,P-0007846-T01-IM5,Lepidic,1,1,37.83333333,0,37.83333333,0,Female,Ever Smoker\nP-0007896,P-0007896-T01-IM5,Acinar,1,1,19.93333333,1,38.26666667,1,Female,Never Smoker\nP-0007916,P-0007916-T01-IM5,Lepidic,3,0,34.4,1,37.8,1,Male,Ever Smoker\nP-0008002,P-0008002-T01-IM5,Solid,3,0,17.6,1,41.13333333,0,Male,Ever Smoker\nP-0008029,P-0008029-T01-IM5,Micropapillary,2,0,25.6,0,25.6,1,Male,Ever Smoker\nP-0008176,P-0008176-T01-IM5,Micropapillary,3,0,12.7,1,45.76666667,1,Female,Never Smoker\nP-0008292,P-0008292-T01-IM5,Lepidic,1,1,32.7,0,32.7,0,Female,Ever Smoker\nP-0008440,P-0008440-T01-IM5,Acinar,1,0,40.26666667,1,41.13333333,0,Female,Ever Smoker\nP-0008553,P-0008553-T01-IM5,Solid,1,0,36.5,0,36.5,0,Female,Ever Smoker\nP-0008576,P-0008576-T01-IM5,Acinar,2,0,37.76666667,0,37.76666667,0,Female,Ever Smoker\nP-0008577,P-0008577-T02-IM5,Papillary,1,1,39.33333333,1,39.36666667,0,Female,Ever Smoker\nP-0008601,P-0008601-T01-IM5,Acinar,1,1,13.8,1,36.96666667,0,Male,Never Smoker\nP-0008664,P-0008664-T01-IM5,Lepidic,1,1,39.2,0,39.2,0,Female,Never Smoker\nP-0008957,P-0008957-T01-IM5,Acinar,1,0,38.53333333,0,38.53333333,0,Male,Ever Smoker\nP-0009042,P-0009042-T01-IM5,Acinar,1,1,35.26666667,0,35.26666667,0,Female,Ever Smoker\nP-0009092,P-0009092-T01-IM5,Acinar,1,0,19.1,0,19.1,0,Female,Ever Smoker\nP-0009194,P-0009194-T01-IM5,Papillary,1,0,37.63333333,0,37.63333333,0,Male,Ever Smoker\nP-0009260,P-0009260-T01-IM5,Lepidic,1,1,35.5,0,35.5,0,Female,Ever Smoker\nP-0009289,P-0009289-T01-IM5,Acinar,1,0,30.36666667,0,30.36666667,0,Male,Ever Smoker\nP-0009312,P-0009312-T01-IM5,Acinar,2,0,30.36666667,1,39.3,0,Male,Ever Smoker\nP-0009313,P-0009313-T01-IM5,Acinar,1,0,38.96666667,0,38.96666667,0,Female,Ever Smoker\nP-0009358,P-0009358-T01-IM5,Papillary,2,0,9.3,1,12.8,1,Female,Ever Smoker\nP-0009422,P-0009422-T01-IM5,Lepidic,1,0,28.43333333,0,28.43333333,0,Female,Ever Smoker\nP-0009462,P-0009462-T01-IM5,Lepidic,2,0,35.56666667,0,35.56666667,0,Male,Ever Smoker\nP-0009590,P-0009590-T01-IM5,Acinar,1,0,37.46666667,0,37.46666667,0,Female,Ever Smoker\nP-0009633,P-0009633-T01-IM5,Acinar,1,0,37.43333333,0,37.43333333,0,Female,Ever Smoker\nP-0009643,P-0009643-T01-IM5,Lepidic,1,0,36.93333333,0,36.93333333,0,Male,Ever Smoker\nP-0009702,P-0009702-T01-IM5,Solid,1,0,9.033333333,1,9.033333333,1,Male,Ever Smoker\nP-0009742,P-0009742-T01-IM5,Lepidic,1,0,42.1,0,42.1,0,Male,Ever Smoker\nP-0009823,P-0009823-T01-IM5,Lepidic,1,0,30.3,0,30.3,0,Male,Ever Smoker\nP-0009894,P-0009894-T01-IM5,Acinar,1,0,38.7,0,38.7,0,Male,Ever Smoker\nP-0009920,P-0009920-T01-IM5,Acinar,1,0,38.76666667,0,38.76666667,0,Female,Ever Smoker\nP-0009937,P-0009937-T01-IM5,Lepidic,1,0,36.8,0,36.8,0,Female,Ever Smoker\nP-0009957,P-0009957-T01-IM5,Acinar,1,1,37.6,0,37.6,0,Female,Never Smoker\nP-0009963,P-0009963-T01-IM5,Acinar,3,0,8.1,1,38.26666667,0,Female,Ever Smoker\nP-0009975,P-0009975-T01-IM5,Acinar,1,0,28.66666667,0,28.66666667,0,Female,Ever Smoker\nP-0010131,P-0010131-T01-IM5,Lepidic,1,1,38.26666667,0,38.26666667,0,Female,Never Smoker\nP-0010133,P-0010133-T01-IM5,Acinar,1,1,35.3,0,35.3,0,Female,Never Smoker\nP-0010169,P-0010169-T01-IM5,Acinar,1,0,30.0,0,30.0,0,Male,Ever Smoker\nP-0010210,P-0010210-T02-IM5,Lepidic,1,0,33.0,0,33.0,0,Female,Ever Smoker\nP-0010253,P-0010253-T01-IM5,Acinar,1,0,35.06666667,0,35.06666667,0,Female,Ever Smoker\nP-0010300,P-0010300-T01-IM5,Acinar,2,0,10.86666667,1,27.1,1,Male,Never Smoker\nP-0010307,P-0010307-T01-IM5,Acinar,1,0,36.23333333,0,36.23333333,0,Male,Ever Smoker\nP-0010328,P-0010328-T01-IM5,Lepidic,1,0,37.3,0,37.3,0,Male,Never Smoker\nP-0010345,P-0010345-T01-IM5,Acinar,1,1,6.033333333,0,6.033333333,0,Male,Ever Smoker\nP-0010359,P-0010359-T01-IM5,Acinar,1,1,32.53333333,0,32.53333333,0,Male,Ever Smoker\nP-0010404,P-0010404-T01-IM5,Solid,3,1,34.03333333,0,34.03333333,0,Male,Ever Smoker\nP-0010507,P-0010507-T01-IM5,Acinar,3,0,11.83333333,1,38.93333333,0,Male,Never Smoker\nP-0010522,P-0010522-T01-IM5,Acinar,1,0,37.73333333,0,37.73333333,0,Male,Ever Smoker\nP-0010592,P-0010592-T01-IM5,Acinar,1,0,36.96666667,0,36.96666667,0,Male,Ever Smoker\nP-0010611,P-0010611-T01-IM5,Lepidic,1,0,31.76666667,0,31.76666667,0,Female,Ever Smoker\nP-0010632,P-0010632-T01-IM5,Acinar,1,0,36.6,0,36.6,0,Male,Ever Smoker\nP-0010675,P-0010675-T01-IM5,Acinar,1,1,37.03333333,0,37.03333333,0,Male,Ever Smoker\nP-0010741,P-0010741-T01-IM5,Acinar,1,0,35.03333333,0,35.03333333,0,Male,Ever Smoker\nP-0010785,P-0010785-T01-IM5,Acinar,1,0,22.7,0,22.7,1,Male,Ever Smoker\nP-0010841,P-0010841-T01-IM5,Solid,1,0,12.5,1,34.6,0,Female,Never Smoker\nP-0010927,P-0010927-T02-IM5,Solid,3,0,19.9,1,77.53333333,0,Female,Ever Smoker\nP-0010976,P-0010976-T01-IM5,Lepidic,1,1,33.43333333,0,33.43333333,0,Female,Ever Smoker\nP-0010980,P-0010980-T01-IM5,Acinar,3,0,21.7,1,37.13333333,0,Female,Ever Smoker\nP-0011005,P-0011005-T01-IM5,Papillary,1,0,37.36666667,0,37.36666667,0,Male,Ever Smoker\nP-0011041,P-0011041-T01-IM5,Acinar,1,0,37.4,0,37.4,0,Female,Ever Smoker\nP-0011150,P-0011150-T01-IM5,Acinar,1,0,20.36666667,1,34.8,0,Male,Ever Smoker\nP-0011157,P-0011157-T01-IM5,Acinar,3,0,1.433333333,1,33.9,1,Male,Ever Smoker\nP-0011183,P-0011183-T01-IM5,Solid,2,0,13.8,1,38.9,1,Female,Ever Smoker\nP-0011234,P-0011234-T02-IM5,Acinar,2,1,27.53333333,1,63.96666667,0,Female,Never Smoker\nP-0011236,P-0011236-T01-IM5,Acinar,2,0,31.3,0,31.3,0,Female,Ever Smoker\nP-0011327,P-0011327-T02-IM5,Acinar,1,0,32.3,0,32.3,0,Female,Never Smoker\nP-0011413,P-0011413-T01-IM5,Solid,2,1,36.5,0,36.5,0,Male,Never Smoker\nP-0011461,P-0011461-T01-IM5,Acinar,1,0,34.06666667,0,34.06666667,0,Female,Ever Smoker\nP-0012056,P-0012056-T01-IM5,Solid,3,1,7.566666667,1,18.56666667,1,Male,Ever Smoker\nP-0012065,P-0012065-T01-IM5,Acinar,2,0,25.5,0,25.5,0,Male,Ever Smoker\nP-0012079,P-0012079-T01-IM5,Acinar,1,1,33.63333333,0,33.63333333,0,Female,Ever Smoker\nP-0012088,P-0012088-T01-IM5,Solid,1,0,26.56666667,0,26.56666667,0,Male,Ever Smoker\nP-0012089,P-0012089-T01-IM5,Acinar,1,1,27.1,0,27.1,0,Female,Never Smoker\nP-0012111,P-0012111-T01-IM5,Lepidic,1,0,36.13333333,0,36.13333333,0,Female,Never Smoker\nP-0012151,P-0012151-T01-IM5,Acinar,2,0,31.23333333,0,31.23333333,0,Male,Ever Smoker\nP-0012161,P-0012161-T01-IM5,Acinar,2,0,34.56666667,0,34.56666667,0,Male,Ever Smoker\nP-0012308,P-0012308-T01-IM5,Acinar,1,0,32.4,0,32.4,0,Male,Ever Smoker\nP-0012439,P-0012439-T01-IM5,Lepidic,1,1,30.6,0,30.6,0,Female,Ever Smoker\nP-0012456,P-0012456-T01-IM5,Lepidic,2,0,4.333333333,0,4.333333333,1,Male,Ever Smoker\nP-0012476,P-0012476-T02-IM6,Acinar,2,0,32.03333333,1,51.26666667,1,Female,Ever Smoker\nP-0012540,P-0012540-T01-IM5,Solid,1,0,32.06666667,0,32.06666667,0,Male,Ever Smoker\nP-0012569,P-0012569-T01-IM5,Acinar,1,0,26.2,0,26.2,0,Female,Ever Smoker\nP-0012592,P-0012592-T01-IM5,Micropapillary,3,1,34.76666667,0,34.76666667,0,Female,Never Smoker\nP-0012648,P-0012648-T01-IM5,Acinar,1,0,27.6,0,27.6,0,Male,Never Smoker\nP-0012649,P-0012649-T01-IM5,Acinar,1,0,33.4,0,33.4,0,Female,Ever Smoker\nP-0012664,P-0012664-T01-IM5,Papillary,1,1,34.5,0,34.5,0,Female,Never Smoker\nP-0012739,P-0012739-T02-IM6,Acinar,1,0,4.4,0,4.4,0,Male,Ever Smoker\nP-0012746,P-0012746-T01-IM5,Acinar,1,0,1.266666667,0,1.266666667,0,Female,Ever Smoker\nP-0012757,P-0012757-T01-IM5,Lepidic,1,0,28.5,0,28.5,0,Female,Ever Smoker\nP-0012788,P-0012788-T01-IM5,Acinar,3,1,32.13333333,0,32.13333333,0,Female,Ever Smoker\nP-0012894,P-0012894-T01-IM5,Acinar,2,0,10.26666667,1,17.7,1,Female,Ever Smoker\nP-0012913,P-0012913-T01-IM5,Micropapillary,1,0,9.0,0,9.0,0,Female,Ever Smoker\nP-0012922,P-0012922-T01-IM5,Acinar,1,1,32.23333333,0,32.23333333,0,Female,Ever Smoker\nP-0013016,P-0013016-T01-IM5,Papillary,3,1,12.16666667,1,27.4,1,Female,Never Smoker\nP-0013142,P-0013142-T01-IM5,Solid,1,0,29.4,0,29.4,0,Female,Ever Smoker\nP-0013273,P-0013273-T02-IM5,Acinar,2,0,28.9,0,28.9,0,Female,Never Smoker\nP-0013295,P-0013295-T01-IM5,Acinar,1,0,29.23333333,0,29.23333333,0,Female,Ever Smoker\nP-0013338,P-0013338-T01-IM5,Solid,1,0,6.9,1,12.06666667,1,Female,Ever Smoker\nP-0013376,P-0013376-T01-IM5,Lepidic,1,0,33.36666667,0,33.36666667,0,Female,Ever Smoker\nP-0013460,P-0013460-T02-IM5,Acinar,1,0,35.53333333,0,35.53333333,0,Male,Ever Smoker\nP-0013509,P-0013509-T01-IM5,Lepidic,1,0,27.96666667,0,27.96666667,0,Female,Ever Smoker\nP-0013511,P-0013511-T01-IM5,Acinar,1,0,33.66666667,0,33.66666667,0,Male,Ever Smoker\nP-0013531,P-0013531-T01-IM5,Solid,1,1,24.63333333,0,24.63333333,0,Male,Ever Smoker\nP-0013534,P-0013534-T01-IM5,Lepidic,1,1,34.06666667,0,34.06666667,0,Female,Ever Smoker\nP-0013696,P-0013696-T01-IM5,Papillary,1,0,23.06666667,0,23.06666667,0,Male,Ever Smoker\nP-0013701,P-0013701-T01-IM5,Lepidic,1,0,29.6,0,29.6,0,Female,Ever Smoker\nP-0013702,P-0013702-T01-IM5,Acinar,1,0,28.63333333,0,28.63333333,0,Female,Ever Smoker\nP-0013705,P-0013705-T01-IM5,Lepidic,1,1,27.3,0,27.3,0,Male,Ever Smoker\nP-0013708,P-0013708-T01-IM5,Acinar,1,1,30.13333333,0,30.13333333,0,Female,Never Smoker\nP-0013710,P-0013710-T01-IM5,Lepidic,1,0,28.86666667,0,28.86666667,0,Female,Ever Smoker\nP-0013752,P-0013752-T01-IM5,Lepidic,1,0,26.86666667,0,26.86666667,0,Female,Ever Smoker\nP-0013759,P-0013759-T01-IM5,Lepidic,1,1,29.63333333,0,29.63333333,0,Female,Never Smoker\nP-0013794,P-0013794-T01-IM5,Acinar,1,0,29.43333333,0,29.43333333,0,Male,Ever Smoker\nP-0013813,P-0013813-T01-IM5,Acinar,1,1,25.73333333,0,25.73333333,1,Male,Ever Smoker\nP-0013825,P-0013825-T01-IM5,Solid,1,0,31.76666667,0,31.76666667,0,Female,Never Smoker\nP-0013867,P-0013867-T01-IM5,Acinar,1,0,14.63333333,0,14.63333333,0,Male,Ever Smoker\nP-0013872,P-0013872-T01-IM5,Lepidic,1,1,22.26666667,0,22.26666667,0,Female,Ever Smoker\nP-0013900,P-0013900-T01-IM5,Lepidic,1,0,30.93333333,0,30.93333333,0,Male,Ever Smoker\nP-0013919,P-0013919-T01-IM5,Lepidic,1,0,27.83333333,0,27.83333333,0,Female,Ever Smoker\nP-0013966,P-0013966-T01-IM5,Acinar,1,0,25.0,0,25.0,0,Female,Never Smoker\nP-0013978,P-0013978-T02-IM6,Lepidic,1,0,30.16666667,0,30.16666667,0,Male,Ever Smoker\nP-0013993,P-0013993-T01-IM5,Acinar,1,1,31.6,0,31.6,0,Female,Ever Smoker\nP-0014011,P-0014011-T01-IM5,Acinar,2,0,31.6,0,31.6,0,Female,Never Smoker\nP-0014089,P-0014089-T01-IM5,Acinar,1,0,24.53333333,0,24.53333333,0,Female,Ever Smoker\nP-0014135,P-0014135-T02-IM5,Acinar,1,0,35.73333333,0,35.73333333,0,Female,Ever Smoker\nP-0014221,P-0014221-T01-IM6,Acinar,1,0,31.93333333,1,33.36666667,0,Male,Ever Smoker\nP-0014222,P-0014222-T01-IM6,Acinar,1,1,25.6,0,25.6,0,Female,Ever Smoker\nP-0014223,P-0014223-T02-IM6,Acinar,2,1,30.13333333,0,30.13333333,0,Female,Never Smoker\nP-0014232,P-0014232-T01-IM6,Acinar,1,0,9.133333333,1,32.93333333,0,Male,Ever Smoker\nP-0014239,P-0014239-T01-IM6,Micropapillary,2,0,31.06666667,0,31.06666667,0,Male,Ever Smoker\nP-0014257,P-0014257-T01-IM6,Papillary,1,0,26.06666667,0,26.06666667,0,Female,Ever Smoker\nP-0014266,P-0014266-T01-IM6,Lepidic,1,1,27.96666667,0,27.96666667,0,Female,Ever Smoker\nP-0014285,P-0014285-T03-IM6,Solid,1,0,8.9,1,34.53333333,0,Female,Ever Smoker\nP-0014297,P-0014297-T01-IM6,Lepidic,1,0,27.66666667,0,27.66666667,0,Male,Ever Smoker\nP-0014413,P-0014413-T01-IM6,Lepidic,1,0,26.56666667,0,26.56666667,0,Female,Ever Smoker\nP-0014430,P-0014430-T01-IM6,Solid,1,0,29.7,0,29.7,0,Female,Ever Smoker\nP-0014437,P-0014437-T01-IM6,Micropapillary,2,0,30.7,0,30.7,0,Female,Never Smoker\nP-0014453,P-0014453-T02-IM6,Papillary,1,0,25.5,0,25.5,0,Male,Ever Smoker\nP-0014496,P-0014496-T01-IM6,Micropapillary,1,0,28.7,0,28.7,0,Male,Ever Smoker\nP-0014502,P-0014502-T01-IM6,Acinar,2,1,31.96666667,0,31.96666667,0,Female,Never Smoker\nP-0014525,P-0014525-T01-IM6,Acinar,1,1,30.33333333,0,30.33333333,0,Female,Never Smoker\nP-0014572,P-0014572-T01-IM6,Acinar,1,1,26.63333333,0,26.63333333,0,Female,Ever Smoker\nP-0014612,P-0014612-T01-IM6,Acinar,1,1,25.46666667,0,25.46666667,0,Male,Ever Smoker\nP-0014614,P-0014614-T01-IM6,Solid,3,0,4.4,1,30.1,0,Female,Ever Smoker\nP-0014688,P-0014688-T01-IM6,Acinar,1,0,25.03333333,0,25.03333333,0,Female,Never Smoker\nP-0014805,P-0014805-T01-IM6,Lepidic,1,0,35.8,0,35.8,0,Female,Ever Smoker\nP-0014817,P-0014817-T02-IM6,Acinar,1,0,28.7,0,28.7,0,Female,Ever Smoker\nP-0014875,P-0014875-T01-IM6,Acinar,2,1,32.16666667,0,32.16666667,0,Female,Never Smoker\nP-0014878,P-0014878-T01-IM6,Acinar,1,1,27.73333333,0,27.73333333,0,Male,Never Smoker\nP-0014906,P-0014906-T01-IM6,Acinar,1,0,25.43333333,0,25.43333333,0,Male,Ever Smoker\nP-0014990,P-0014990-T01-IM6,Solid,1,0,32.96666667,0,32.96666667,0,Female,Ever Smoker\nP-0014996,P-0014996-T01-IM6,Papillary,1,1,43.03333333,0,43.03333333,1,Male,Ever Smoker\nP-0015018,P-0015018-T01-IM6,Acinar,1,0,23.36666667,0,23.36666667,0,Female,Ever Smoker\nP-0015056,P-0015056-T01-IM6,Lepidic,1,0,25.93333333,0,25.93333333,0,Female,Ever Smoker\nP-0015073,P-0015073-T01-IM6,Acinar,2,0,25.7,0,25.7,0,Male,Ever Smoker\nP-0015112,P-0015112-T01-IM6,Acinar,1,0,25.33333333,0,25.33333333,0,Female,Ever Smoker\nP-0015256,P-0015256-T01-IM6,Acinar,2,0,26.53333333,0,26.53333333,0,Female,Ever Smoker\nP-0015332,P-0015332-T01-IM6,Papillary,3,1,49.06666667,1,80.93333333,0,Female,Ever Smoker\nP-0015352,P-0015352-T01-IM6,Acinar,1,0,26.93333333,0,26.93333333,0,Male,Ever Smoker\nP-0015358,P-0015358-T01-IM6,Micropapillary,1,0,7.5,1,8.433333333,0,Female,Ever Smoker\nP-0015360,P-0015360-T02-IM6,Acinar,2,0,1.733333333,1,33.63333333,0,Male,Ever Smoker\nP-0015368,P-0015368-T01-IM6,Acinar,1,0,11.16666667,1,40.8,0,Male,Ever Smoker\nP-0015388,P-0015388-T01-IM6,Acinar,2,0,12.9,1,17.73333333,1,Male,Ever Smoker\nP-0015431,P-0015431-T01-IM6,Acinar,1,0,29.36666667,0,29.36666667,0,Male,Ever Smoker\nP-0015454,P-0015454-T01-IM6,Solid,3,0,28.86666667,0,28.86666667,0,Male,Ever Smoker\nP-0015470,P-0015470-T01-IM6,Lepidic,1,1,24.5,0,24.5,0,Male,Never Smoker\nP-0015576,P-0015576-T02-IM6,Acinar,3,0,25.4,0,25.4,0,Male,Ever Smoker\nP-0015578,P-0015578-T01-IM6,Micropapillary,2,0,30.56666667,0,30.56666667,0,Male,Ever Smoker\nP-0015592,P-0015592-T01-IM6,Acinar,1,0,27.5,0,27.5,0,Male,Ever Smoker\nP-0015601,P-0015601-T01-IM6,Acinar,2,0,30.3,0,30.3,0,Male,Never Smoker\nP-0015677,P-0015677-T01-IM6,Acinar,1,0,27.96666667,0,27.96666667,0,Female,Ever Smoker\nP-0015815,P-0015815-T01-IM6,Papillary,1,0,9.6,1,42.26666667,0,Male,Ever Smoker\nP-0015862,P-0015862-T01-IM6,Solid,1,0,26.43333333,0,26.43333333,0,Male,Ever Smoker\nP-0015934,P-0015934-T01-IM6,Solid,1,0,32.26666667,0,32.26666667,0,Female,Ever Smoker\nP-0015973,P-0015973-T01-IM6,Acinar,1,0,28.63333333,0,28.63333333,0,Female,Ever Smoker\nP-0016021,P-0016021-T01-IM6,Acinar,1,1,25.4,0,25.4,0,Female,Ever Smoker\nP-0016026,P-0016026-T01-IM6,Papillary,1,0,31.8,0,31.8,0,Male,Ever Smoker\nP-0016036,P-0016036-T01-IM6,Acinar,3,0,10.0,0,10.0,1,Female,Ever Smoker\nP-0016043,P-0016043-T02-IM6,Solid,2,0,29.1,0,29.1,0,Male,Ever Smoker\nP-0016050,P-0016050-T01-IM6,Micropapillary,1,0,28.86666667,0,28.86666667,0,Female,Ever Smoker\nP-0016165,P-0016165-T01-IM6,Papillary,1,0,29.26666667,0,29.26666667,0,Male,Never Smoker\nP-0016172,P-0016172-T01-IM6,Acinar,1,0,27.43333333,0,27.43333333,0,Female,Ever Smoker\nP-0016173,P-0016173-T01-IM6,Micropapillary,1,0,24.23333333,0,24.23333333,0,Female,Ever Smoker\nP-0016204,P-0016204-T01-IM6,Lepidic,1,1,25.63333333,0,25.63333333,0,Female,Never Smoker\nP-0016250,P-0016250-T01-IM6,Acinar,1,0,26.73333333,0,26.73333333,0,Female,Ever Smoker\nP-0016309,P-0016309-T01-IM6,Acinar,1,1,25.4,0,25.4,0,Female,Ever Smoker\nP-0016368,P-0016368-T01-IM6,Lepidic,1,0,23.33333333,0,23.33333333,0,Female,Ever Smoker\nP-0016378,P-0016378-T01-IM6,Lepidic,1,1,25.16666667,0,25.16666667,0,Female,Never Smoker\nP-0016398,P-0016398-T01-IM6,Lepidic,1,0,28.66666667,0,28.66666667,0,Female,Ever Smoker\nP-0016464,P-0016464-T01-IM6,Micropapillary,2,0,28.73333333,0,28.73333333,0,Male,Ever Smoker\nP-0016471,P-0016471-T01-IM6,Papillary,1,0,25.06666667,0,25.06666667,0,Female,Ever Smoker\nP-0016504,P-0016504-T01-IM6,Acinar,1,0,29.53333333,0,29.53333333,0,Male,Ever Smoker\nP-0016527,P-0016527-T01-IM6,Acinar,1,0,23.4,0,23.4,0,Male,Ever Smoker\nP-0016539,P-0016539-T01-IM6,Acinar,1,0,23.1,0,23.1,0,Female,Ever Smoker\nP-0016544,P-0016544-T01-IM6,Acinar,1,0,22.86666667,0,22.86666667,0,Female,Ever Smoker\nP-0016613,P-0016613-T04-IM6,Solid,2,0,27.73333333,0,27.73333333,0,Female,Ever Smoker\nP-0016736,P-0016736-T01-IM6,Solid,1,0,20.66666667,0,20.66666667,0,Male,Never Smoker\nP-0016781,P-0016781-T01-IM6,Acinar,2,0,11.63333333,1,22.06666667,0,Female,Ever Smoker\nP-0016867,P-0016867-T01-IM6,Solid,1,0,27.8,0,27.8,0,Female,Ever Smoker\nP-0017038,P-0017038-T01-IM6,Lepidic,1,1,28.66666667,0,28.66666667,0,Male,Never Smoker\nP-0017049,P-0017049-T01-IM6,Acinar,1,0,25.63333333,0,25.63333333,0,Female,Ever Smoker\nP-0017231,P-0017231-T01-IM6,Acinar,1,1,25.93333333,0,25.93333333,0,Female,Ever Smoker\nP-0017321,P-0017321-T01-IM6,Lepidic,1,1,26.7,0,26.7,0,Female,Never Smoker\nP-0017322,P-0017322-T03-IM6,Acinar,1,0,11.63333333,1,12.86666667,0,Female,Ever Smoker\nP-0017324,P-0017324-T01-IM6,Acinar,1,0,27.5,0,27.5,0,Female,Ever Smoker\nP-0017328,P-0017328-T01-IM6,Acinar,1,1,26.13333333,0,26.13333333,0,Female,Ever Smoker\nP-0017369,P-0017369-T01-IM6,Lepidic,1,0,23.86666667,0,23.86666667,0,Female,Ever Smoker\nP-0017389,P-0017389-T01-IM6,Acinar,1,0,28.03333333,0,28.03333333,0,Female,Ever Smoker\nP-0017437,P-0017437-T01-IM6,Acinar,1,0,1.0,1,25.33333333,1,Female,Ever Smoker\nP-0017448,P-0017448-T01-IM6,Acinar,3,0,28.73333333,0,28.73333333,0,Female,Ever Smoker\nP-0017500,P-0017500-T01-IM6,Acinar,1,0,26.4,0,26.4,0,Female,Ever Smoker\nP-0017523,P-0017523-T02-IM6,Acinar,2,0,27.5,0,27.5,0,Male,Ever Smoker\nP-0017534,P-0017534-T01-IM5,Acinar,1,1,26.16666667,0,26.16666667,0,Female,Never Smoker\nP-0017546,P-0017546-T01-IM5,Acinar,1,0,26.0,0,26.0,0,Female,Ever Smoker\nP-0017594,P-0017594-T01-IM5,Acinar,2,1,27.36666667,0,27.36666667,0,Female,Never Smoker\nP-0017633,P-0017633-T01-IM5,Lepidic,1,0,27.76666667,0,27.76666667,0,Female,Never Smoker\nP-0017780,P-0017780-T01-IM6,Micropapillary,1,1,25.33333333,0,25.33333333,0,Female,Ever Smoker\nP-0017803,P-0017803-T01-IM6,Acinar,1,0,27.56666667,0,27.56666667,0,Male,Ever Smoker\nP-0017904,P-0017904-T01-IM6,Acinar,1,1,22.63333333,0,22.63333333,0,Female,Never Smoker\nP-0017915,P-0017915-T01-IM6,Acinar,1,0,27.43333333,0,27.43333333,0,Female,Ever Smoker\nP-0017973,P-0017973-T01-IM6,Acinar,1,0,26.33333333,0,26.33333333,0,Female,Ever Smoker\nP-0017976,P-0017976-T01-IM6,Micropapillary,3,0,16.6,1,22.1,0,Female,Never Smoker\nP-0017991,P-0017991-T01-IM6,Acinar,1,0,26.9,0,26.9,0,Male,Ever Smoker\nP-0018007,P-0018007-T01-IM6,Acinar,1,0,28.36666667,1,41.46666667,1,Male,Never Smoker\nP-0018043,P-0018043-T01-IM6,Acinar,3,0,11.93333333,1,20.4,1,Female,Ever Smoker\nP-0018047,P-0018047-T01-IM6,Acinar,1,0,24.26666667,0,24.26666667,0,Female,Ever Smoker\nP-0018069,P-0018069-T01-IM6,Solid,1,0,27.66666667,0,27.66666667,0,Male,Never Smoker\nP-0018171,P-0018171-T01-IM6,Acinar,1,0,26.53333333,0,26.53333333,0,Female,Ever Smoker\nP-0018196,P-0018196-T01-IM6,Acinar,1,1,26.03333333,1,26.03333333,0,Female,Ever Smoker\nP-0018201,P-0018201-T01-IM6,Lepidic,1,1,26.6,0,26.6,0,Female,Ever Smoker\nP-0018327,P-0018327-T01-IM6,Solid,2,0,21.43333333,0,21.43333333,0,Female,Ever Smoker\nP-0018460,P-0018460-T01-IM6,Lepidic,1,1,19.1,0,19.1,0,Female,Never Smoker\nP-0018476,P-0018476-T02-IM6,Acinar,1,0,16.03333333,0,16.03333333,1,Female,Never Smoker\nP-0018654,P-0018654-T02-IM6,Solid,2,0,17.6,1,87.26666667,0,Male,Ever Smoker\nP-0018692,P-0018692-T01-IM6,Acinar,1,0,0.4,0,0.4,1,Female,Ever Smoker\nP-0018761,P-0018761-T01-IM6,Acinar,1,0,15.4,0,15.4,0,Female,Ever Smoker\nP-0018881,P-0018881-T01-IM6,Acinar,3,0,6.466666667,1,23.06666667,1,Female,Never Smoker\nP-0018967,P-0018967-T01-IM6,Lepidic,2,0,16.63333333,0,16.63333333,0,Female,Ever Smoker\nP-0018969,P-0018969-T01-IM6,Lepidic,1,0,25.23333333,0,25.23333333,0,Female,Never Smoker\nP-0018972,P-0018972-T01-IM6,Lepidic,1,0,26.8,0,26.8,0,Female,Ever Smoker\nP-0019023,P-0019023-T03-IM6,Acinar,1,0,19.3,0,19.3,0,Male,Never Smoker\nP-0019111,P-0019111-T01-IM6,Solid,2,0,23.93333333,0,23.93333333,0,Female,Ever Smoker\nP-0019131,P-0019131-T01-IM6,Papillary,1,1,22.93333333,0,22.93333333,0,Female,Never Smoker\nP-0019329,P-0019329-T01-IM6,Acinar,1,1,19.7,0,19.7,0,Female,Ever Smoker\nP-0019418,P-0019418-T01-IM6,Acinar,1,0,22.56666667,0,22.56666667,0,Female,Ever Smoker\nP-0019426,P-0019426-T01-IM6,Micropapillary,1,0,12.86666667,0,12.86666667,0,Male,Ever Smoker\nP-0019436,P-0019436-T01-IM6,Acinar,1,0,3.533333333,0,3.533333333,0,Female,Ever Smoker\nP-0019444,P-0019444-T01-IM6,Solid,2,0,23.76666667,0,23.76666667,0,Male,Ever Smoker\nP-0019469,P-0019469-T01-IM6,Acinar,1,0,21.93333333,0,21.93333333,0,Female,Ever Smoker\nP-0019495,P-0019495-T01-IM6,Acinar,1,0,19.03333333,0,19.03333333,0,Female,Ever Smoker\nP-0019558,P-0019558-T01-IM6,Acinar,1,0,25.3,0,25.3,0,Male,Ever Smoker\nP-0019564,P-0019564-T01-IM6,Lepidic,1,0,23.76666667,0,23.76666667,0,Female,Ever Smoker\nP-0019597,P-0019597-T01-IM6,Acinar,2,0,22.2,0,22.2,0,Female,Never Smoker\nP-0019612,P-0019612-T02-IM6,Papillary,2,0,23.5,0,23.5,0,Male,Never Smoker\nP-0019676,P-0019676-T01-IM6,Acinar,1,1,20.56666667,0,20.56666667,0,Female,Ever Smoker\nP-0019802,P-0019802-T01-IM6,Acinar,1,1,19.5,0,19.5,0,Female,Never Smoker\nP-0019857,P-0019857-T01-IM6,Acinar,3,1,11.8,1,24.13333333,0,Female,Never Smoker\nP-0019897,P-0019897-T01-IM6,Lepidic,1,1,20.83333333,0,20.83333333,0,Female,Ever Smoker\nP-0019904,P-0019904-T01-IM6,Solid,1,0,6.633333333,1,11.23333333,0,Female,Ever Smoker\nP-0019936,P-0019936-T01-IM6,Lepidic,1,1,22.76666667,0,22.76666667,0,Female,Ever Smoker\nP-0019950,P-0019950-T01-IM6,Lepidic,3,0,18.4,1,27.76666667,0,Female,Ever Smoker\nP-0019982,P-0019982-T01-IM6,Lepidic,1,0,19.63333333,0,19.63333333,0,Female,Ever Smoker\nP-0020014,P-0020014-T01-IM6,Acinar,1,0,25.73333333,0,25.73333333,0,Male,Ever Smoker\nP-0020158,P-0020158-T01-IM6,Acinar,1,0,22.9,0,22.9,0,Female,Ever Smoker\nP-0020177,P-0020177-T01-IM6,Acinar,3,1,21.5,0,21.5,0,Female,Never Smoker\nP-0020437,P-0020437-T02-IM6,Acinar,1,0,23.23333333,0,23.23333333,0,Female,Ever Smoker\nP-0020438,P-0020438-T01-IM6,Papillary,1,0,30.6,1,58.26666667,1,Female,Ever Smoker\nP-0020503,P-0020503-T01-IM6,Acinar,1,0,13.03333333,1,26.1,0,Male,Ever Smoker\nP-0020521,P-0020521-T01-IM6,Acinar,1,0,24.7,0,24.7,0,Female,Ever Smoker\nP-0020570,P-0020570-T01-IM6,Acinar,1,0,13.1,0,13.1,0,Male,Ever Smoker\nP-0020717,P-0020717-T01-IM6,Acinar,1,0,19.9,0,19.9,0,Female,Ever Smoker\nP-0020776,P-0020776-T01-IM6,Papillary,1,0,23.76666667,0,23.76666667,0,Female,Ever Smoker\nP-0020779,P-0020779-T01-IM6,Acinar,1,0,23.6,0,23.6,0,Male,Ever Smoker\nP-0020780,P-0020780-T01-IM6,Acinar,1,0,22.73333333,0,22.73333333,0,Female,Never Smoker\nP-0020782,P-0020782-T01-IM6,Acinar,1,0,23.7,0,23.7,0,Female,Ever Smoker\nP-0020828,P-0020828-T01-IM6,Acinar,1,0,22.46666667,0,22.46666667,0,Female,Ever Smoker\nP-0020883,P-0020883-T01-IM6,Acinar,1,0,21.96666667,0,21.96666667,0,Male,Ever Smoker\nP-0020966,P-0020966-T01-IM6,Acinar,1,0,22.43333333,0,22.43333333,0,Female,Ever Smoker\nP-0021062,P-0021062-T01-IM6,Acinar,1,1,19.9,0,19.9,0,Male,Ever Smoker\nP-0021105,P-0021105-T01-IM6,Lepidic,1,1,17.2,0,17.2,0,Female,Ever Smoker\nP-0021191,P-0021191-T01-IM6,Acinar,1,0,23.3,0,23.3,0,Female,Ever Smoker\nP-0021227,P-0021227-T01-IM6,Acinar,1,0,23.0,0,23.0,0,Female,Ever Smoker\nP-0021236,P-0021236-T01-IM6,Lepidic,1,0,7.033333333,0,7.033333333,0,Female,Ever Smoker\nP-0021329,P-0021329-T01-IM6,Solid,2,0,23.26666667,0,23.26666667,0,Male,Ever Smoker\nP-0021422,P-0021422-T01-IM6,Acinar,1,1,24.33333333,0,24.33333333,0,Male,Ever Smoker\nP-0021429,P-0021429-T01-IM6,Acinar,1,1,15.66666667,0,15.66666667,0,Female,Never Smoker\nP-0021438,P-0021438-T01-IM6,Acinar,1,1,19.8,0,19.8,0,Female,Never Smoker\nP-0021539,P-0021539-T01-IM6,Acinar,1,0,22.33333333,0,22.33333333,0,Female,Ever Smoker\nP-0021628,P-0021628-T01-IM6,Acinar,1,0,22.23333333,0,22.23333333,0,Male,Ever Smoker\nP-0021691,P-0021691-T01-IM6,Lepidic,1,1,24.1,0,24.1,0,Female,Ever Smoker\nP-0021718,P-0021718-T01-IM6,Acinar,1,0,23.76666667,0,23.76666667,0,Female,Ever Smoker\nP-0021778,P-0021778-T01-IM6,Papillary,1,0,14.76666667,0,14.76666667,0,Male,Ever Smoker\nP-0021849,P-0021849-T01-IM6,Acinar,1,0,20.6,0,20.6,0,Male,Ever Smoker\nP-0021861,P-0021861-T01-IM6,Solid,1,0,22.1,0,22.1,0,Male,Ever Smoker\nP-0021987,P-0021987-T01-IM6,Micropapillary,2,0,20.0,0,20.0,0,Female,Ever Smoker\nP-0022186,P-0022186-T01-IM6,Acinar,2,0,17.96666667,0,17.96666667,0,Female,Ever Smoker\nP-0022247,P-0022247-T01-IM6,Acinar,1,0,19.36666667,0,19.36666667,0,Male,Ever Smoker\nP-0022251,P-0022251-T01-IM6,Solid,2,0,23.43333333,0,23.43333333,0,Female,Ever Smoker\nP-0022303,P-0022303-T01-IM6,Acinar,1,1,17.9,0,17.9,0,Female,Never Smoker\nP-0022353,P-0022353-T01-IM6,Acinar,1,1,4.4,0,4.4,0,Female,Never Smoker\nP-0022424,P-0022424-T01-IM6,Micropapillary,2,1,1.4,0,1.4,0,Female,Never Smoker\nP-0022427,P-0022427-T01-IM6,Micropapillary,1,0,89.36666667,1,111.0333333,0,Male,Never Smoker\nP-0022450,P-0022450-T01-IM6,Solid,1,0,8.166666667,1,24.53333333,0,Female,Ever Smoker\nP-0022453,P-0022453-T01-IM6,Acinar,1,1,19.63333333,0,19.63333333,0,Female,Ever Smoker\nP-0022505,P-0022505-T01-IM6,Acinar,1,0,18.96666667,0,18.96666667,0,Male,Ever Smoker\nP-0022527,P-0022527-T01-IM6,Acinar,1,0,23.63333333,0,23.63333333,0,Female,Never Smoker\nP-0022578,P-0022578-T02-IM6,Lepidic,1,0,83.13333333,0,83.13333333,0,Female,Never Smoker\nP-0022579,P-0022579-T01-IM6,Acinar,1,1,19.06666667,0,19.06666667,0,Female,Ever Smoker\nP-0022830,P-0022830-T01-IM6,Micropapillary,2,1,17.6,1,21.2,0,Female,Ever Smoker\nP-0022844,P-0022844-T02-IM6,Micropapillary,1,0,12.46666667,0,12.46666667,0,Male,Ever Smoker\nP-0022848,P-0022848-T01-IM6,Acinar,1,1,22.33333333,0,22.33333333,0,Female,Ever Smoker\nP-0022881,P-0022881-T01-IM6,Acinar,3,1,12.73333333,1,23.16666667,0,Male,Ever Smoker\nP-0023102,P-0023102-T01-IM6,Acinar,3,1,19.33333333,0,19.33333333,0,Female,Never Smoker\nP-0023153,P-0023153-T01-IM6,Micropapillary,2,0,5.566666667,0,5.566666667,0,Female,Ever Smoker\nP-0023161,P-0023161-T01-IM6,Solid,1,0,40.16666667,1,78.6,0,Female,Never Smoker\nP-0023206,P-0023206-T01-IM6,Papillary,3,1,12.13333333,0,12.13333333,0,Male,Never Smoker\nP-0023207,P-0023207-T01-IM6,Acinar,1,0,18.93333333,0,18.93333333,0,Male,Ever Smoker\nP-0023219,P-0023219-T01-IM6,Acinar,3,1,20.2,0,20.2,1,Male,Ever Smoker\nP-0023248,P-0023248-T01-IM6,Acinar,1,1,22.13333333,0,22.13333333,0,Male,Never Smoker\nP-0023319,P-0023319-T01-IM6,Acinar,1,0,23.3,0,23.3,0,Female,Ever Smoker\nP-0023366,P-0023366-T01-IM6,Solid,2,0,20.73333333,0,20.73333333,0,Male,Ever Smoker\nP-0023406,P-0023406-T02-IM6,Solid,2,0,19.06666667,0,19.06666667,0,Female,Ever Smoker\nP-0023471,P-0023471-T01-IM6,Acinar,1,0,21.63333333,0,21.63333333,0,Female,Ever Smoker\nP-0023481,P-0023481-T01-IM6,Acinar,2,0,21.16666667,0,21.16666667,0,Female,Ever Smoker\nP-0023552,P-0023552-T01-IM6,Acinar,1,0,22.66666667,0,22.66666667,0,Male,Ever Smoker\nP-0023574,P-0023574-T01-IM6,Solid,2,1,13.23333333,1,19.3,0,Female,Never Smoker\nP-0023602,P-0023602-T01-IM6,Micropapillary,3,0,21.86666667,0,21.86666667,0,Male,Ever Smoker\nP-0023704,P-0023704-T01-IM6,Papillary,1,1,19.03333333,0,19.03333333,0,Female,Never Smoker\nP-0023745,P-0023745-T01-IM6,Acinar,1,1,15.96666667,0,15.96666667,0,Female,Never Smoker\nP-0023780,P-0023780-T01-IM6,Acinar,2,0,20.63333333,0,20.63333333,0,Female,Ever Smoker\nP-0023859,P-0023859-T01-IM6,Acinar,3,0,19.5,0,19.5,0,Male,Ever Smoker\nP-0024035,P-0024035-T01-IM6,Acinar,1,0,14.86666667,0,14.86666667,0,Female,Ever Smoker\nP-0024045,P-0024045-T01-IM6,Acinar,1,1,19.4,0,19.4,0,Male,Never Smoker\nP-0024066,P-0024066-T01-IM6,Acinar,1,0,17.56666667,0,17.56666667,0,Male,Ever Smoker\nP-0024090,P-0024090-T01-IM6,Acinar,1,0,11.46666667,0,11.46666667,0,Male,Ever Smoker\nP-0024136,P-0024136-T01-IM6,Acinar,1,0,21.43333333,0,21.43333333,0,Female,Ever Smoker\nP-0024178,P-0024178-T01-IM6,Micropapillary,1,1,13.33333333,0,13.33333333,0,Female,Ever Smoker\nP-0024200,P-0024200-T01-IM6,Acinar,1,0,8.0,0,8.0,0,Female,Ever Smoker\nP-0024225,P-0024225-T01-IM6,Micropapillary,1,0,17.46666667,0,17.46666667,0,Female,Ever Smoker\nP-0024228,P-0024228-T01-IM6,Acinar,1,0,4.566666667,0,4.566666667,0,Female,Ever Smoker\nP-0024401,P-0024401-T01-IM6,Lepidic,1,0,24.46666667,0,24.46666667,0,Female,Never Smoker\nP-0024483,P-0024483-T01-IM6,Lepidic,1,0,19.9,0,19.9,0,Female,Ever Smoker\nP-0024567,P-0024567-T01-IM6,Papillary,3,0,7.033333333,1,7.033333333,0,Male,Ever Smoker\nP-0024571,P-0024571-T01-IM6,Acinar,1,0,19.33333333,0,19.33333333,0,Female,Ever Smoker\nP-0024737,P-0024737-T01-IM6,Acinar,2,0,1.533333333,0,1.533333333,0,Female,Ever Smoker\nP-0024758,P-0024758-T01-IM6,Solid,3,0,19.63333333,1,20.06666667,0,Male,Ever Smoker\nP-0024834,P-0024834-T01-IM6,Acinar,1,0,15.06666667,0,15.06666667,0,Female,Ever Smoker\nP-0024843,P-0024843-T01-IM6,Micropapillary,3,0,21.46666667,0,21.46666667,0,Female,Never Smoker\nP-0024949,P-0024949-T01-IM6,Acinar,1,0,20.5,1,20.8,0,Female,Ever Smoker\nP-0025107,P-0025107-T01-IM6,Papillary,1,0,18.9,0,18.9,0,Female,Never Smoker\nP-0025330,P-0025330-T06-IM6,Micropapillary,1,0,43.83333333,1,52.83333333,0,Female,Ever Smoker\nP-0025354,P-0025354-T01-IM6,Acinar,3,0,17.7,0,17.7,0,Female,Ever Smoker\nP-0025409,P-0025409-T01-IM6,Acinar,1,0,16.6,0,16.6,0,Female,Ever Smoker\nP-0025411,P-0025411-T01-IM6,Solid,1,0,19.9,0,19.9,0,Female,Ever Smoker\nP-0025451,P-0025451-T01-IM6,Acinar,1,1,14.4,0,14.4,0,Female,Ever Smoker\nP-0025546,P-0025546-T01-IM6,Acinar,1,0,17.06666667,0,17.06666667,0,Female,Ever Smoker\nP-0025566,P-0025566-T01-IM6,Lepidic,2,1,21.26666667,0,21.26666667,0,Female,Ever Smoker\nP-0025569,P-0025569-T01-IM6,Solid,1,0,18.73333333,1,20.1,0,Female,Ever Smoker\nP-0025575,P-0025575-T01-IM6,Lepidic,1,1,18.93333333,0,18.93333333,0,Female,Ever Smoker\nP-0025652,P-0025652-T01-IM6,Acinar,1,1,14.26666667,0,14.26666667,0,Female,Never Smoker\nP-0025722,P-0025722-T01-IM6,Acinar,1,0,19.2,0,19.2,0,Female,Ever Smoker\nP-0025833,P-0025833-T01-IM6,Papillary,1,1,17.93333333,0,17.93333333,0,Female,Never Smoker\nP-0025852,P-0025852-T01-IM6,Acinar,1,0,17.93333333,0,17.93333333,0,Female,Never Smoker\nP-0025872,P-0025872-T01-IM6,Lepidic,1,0,19.5,0,19.5,0,Male,Ever Smoker\nP-0025918,P-0025918-T01-IM6,Acinar,1,1,5.233333333,0,5.233333333,0,Male,Ever Smoker\nP-0025931,P-0025931-T01-IM6,Acinar,1,0,9.2,0,9.2,0,Female,Ever Smoker\nP-0025936,P-0025936-T01-IM6,Acinar,3,0,16.96666667,0,16.96666667,0,Female,Ever Smoker\nP-0025956,P-0025956-T01-IM6,Acinar,3,0,8.933333333,1,14.46666667,1,Female,Ever Smoker\nP-0026029,P-0026029-T01-IM6,Acinar,2,0,17.5,0,17.5,0,Male,Ever Smoker\nP-0026045,P-0026045-T01-IM6,Acinar,2,1,15.6,0,15.6,0,Male,Never Smoker\nP-0026120,P-0026120-T01-IM6,Acinar,2,0,16.43333333,0,16.43333333,0,Female,Ever Smoker\nP-0026187,P-0026187-T01-IM6,Solid,3,0,19.63333333,0,19.63333333,0,Female,Ever Smoker\nP-0026206,P-0026206-T01-IM6,Acinar,1,0,13.1,0,13.1,0,Female,Ever Smoker\nP-0026262,P-0026262-T02-IM6,Acinar,1,0,26.46666667,0,26.46666667,0,Female,Ever Smoker\nP-0026292,P-0026292-T01-IM6,Acinar,1,1,18.03333333,0,18.03333333,0,Female,Never Smoker\nP-0026426,P-0026426-T01-IM6,Acinar,1,0,15.13333333,0,15.13333333,0,Female,Ever Smoker\nP-0026688,P-0026688-T01-IM6,Papillary,1,0,4.466666667,1,18.2,0,Female,Ever Smoker\nP-0026697,P-0026697-T01-IM6,Acinar,2,0,10.26666667,0,10.26666667,0,Female,Ever Smoker\nP-0026708,P-0026708-T01-IM6,Papillary,1,0,14.96666667,0,14.96666667,0,Male,Ever Smoker\nP-0026777,P-0026777-T02-IM6,Acinar,1,0,13.86666667,0,13.86666667,0,Male,Never Smoker\nP-0026778,P-0026778-T01-IM6,Lepidic,1,1,13.8,0,13.8,0,Female,Ever Smoker\nP-0026786,P-0026786-T01-IM6,Acinar,1,1,0.5,0,0.5,0,Female,Ever Smoker\nP-0026830,P-0026830-T03-IM6,Acinar,1,0,14.43333333,0,14.43333333,0,Female,Ever Smoker\nP-0026968,P-0026968-T01-IM6,Acinar,1,0,14.66666667,0,14.66666667,0,Male,Ever Smoker\nP-0026987,P-0026987-T01-IM6,Micropapillary,1,0,12.16666667,0,12.16666667,0,Male,Ever Smoker\nP-0027018,P-0027018-T01-IM6,Papillary,1,0,13.3,0,13.3,0,Male,Ever Smoker\nP-0027071,P-0027071-T01-IM6,Acinar,1,1,13.06666667,0,13.06666667,0,Female,Ever Smoker\nP-0027093,P-0027093-T01-IM6,Lepidic,1,0,15.23333333,0,15.23333333,0,Female,Ever Smoker\nP-0027131,P-0027131-T01-IM6,Lepidic,1,1,13.26666667,0,13.26666667,0,Female,Never Smoker\nP-0027187,P-0027187-T01-IM6,Acinar,1,0,3.633333333,0,3.633333333,0,Female,Ever Smoker\nP-0027196,P-0027196-T01-IM6,Micropapillary,1,0,5.3,1,5.3,0,Male,Ever Smoker\nP-0027353,P-0027353-T01-IM6,Acinar,1,1,12.13333333,0,12.13333333,0,Female,Ever Smoker\nP-0027523,P-0027523-T01-IM6,Acinar,1,0,13.33333333,0,13.33333333,0,Male,Never Smoker\nP-0027531,P-0027531-T01-IM6,Acinar,1,1,6.666666667,1,14.5,0,Female,Never Smoker\nP-0027615,P-0027615-T02-IM6,Acinar,1,1,13.1,0,13.1,0,Male,Ever Smoker\nP-0027709,P-0027709-T01-IM6,Acinar,1,0,7.5,0,7.5,0,Male,Ever Smoker\nP-0027812,P-0027812-T01-IM6,Acinar,2,0,8.766666667,1,19.56666667,0,Male,Ever Smoker\nP-0027817,P-0027817-T01-IM6,Papillary,1,0,28.7,1,36.26666667,0,Female,Ever Smoker\nP-0027826,P-0027826-T01-IM6,Acinar,2,0,15.13333333,0,15.13333333,0,Male,Ever Smoker\nP-0027848,P-0027848-T01-IM6,Micropapillary,1,0,8.166666667,0,8.166666667,0,Male,Ever Smoker\nP-0027860,P-0027860-T01-IM6,Acinar,1,0,12.86666667,0,12.86666667,0,Female,Ever Smoker\nP-0028012,P-0028012-T01-IM6,Acinar,3,0,14.86666667,0,14.86666667,0,Female,Never Smoker\nP-0028092,P-0028092-T01-IM6,Solid,3,1,12.86666667,0,12.86666667,0,Male,Ever Smoker\nP-0028096,P-0028096-T01-IM6,Solid,1,0,13.23333333,0,13.23333333,0,Male,Ever Smoker\nP-0028111,P-0028111-T01-IM6,Micropapillary,1,0,12.96666667,0,12.96666667,0,Female,Ever Smoker\nP-0028162,P-0028162-T01-IM6,Acinar,1,1,15.03333333,0,15.03333333,0,Male,Ever Smoker\nP-0028245,P-0028245-T01-IM6,Acinar,2,0,16.1,1,16.6,0,Male,Ever Smoker\nP-0028377,P-0028377-T01-IM6,Acinar,2,1,14.56666667,0,14.56666667,0,Female,Never Smoker\nP-0028486,P-0028486-T01-IM6,Acinar,1,1,34.93333333,0,34.93333333,0,Male,Never Smoker\nP-0028627,P-0028627-T01-IM6,Acinar,1,0,16.36666667,0,16.36666667,0,Female,Ever Smoker\nP-0028694,P-0028694-T01-IM6,Acinar,1,0,13.0,0,13.0,0,Female,Ever Smoker\nP-0028746,P-0028746-T01-IM6,Lepidic,1,1,22.33333333,0,22.33333333,0,Female,Never Smoker\nP-0028809,P-0028809-T04-IM6,Acinar,3,0,6.6,0,6.6,0,Female,Ever Smoker\nP-0028841,P-0028841-T01-IM6,Acinar,1,0,0.3,0,0.3,0,Female,Ever Smoker\nP-0028906,P-0028906-T01-IM6,Acinar,1,0,15.3,0,15.3,0,Male,Ever Smoker\nP-0028916,P-0028916-T02-IM6,Solid,1,0,19.36666667,0,19.36666667,0,Female,Ever Smoker\nP-0028936,P-0028936-T01-IM6,Acinar,1,1,11.93333333,0,11.93333333,0,Female,Never Smoker\nP-0028947,P-0028947-T01-IM6,Acinar,2,0,11.83333333,1,15.1,0,Female,Never Smoker\nP-0029016,P-0029016-T01-IM6,Lepidic,1,1,50.96666667,0,50.96666667,0,Female,Ever Smoker\nP-0029115,P-0029115-T01-IM6,Acinar,1,0,15.13333333,0,15.13333333,0,Female,Never Smoker\nP-0029180,P-0029180-T02-IM6,Lepidic,1,0,9.2,0,9.2,0,Female,Ever Smoker\nP-0029224,P-0029224-T02-IM6,Acinar,1,0,5.5,1,7.766666667,1,Male,Ever Smoker\nP-0029294,P-0029294-T01-IM6,Acinar,1,0,12.53333333,0,12.53333333,0,Male,Ever Smoker\nP-0029324,P-0029324-T01-IM6,Acinar,1,1,0.733333333,0,0.733333333,0,Female,Ever Smoker\nP-0029357,P-0029357-T02-IM6,Acinar,2,0,9.866666667,0,9.866666667,0,Male,Ever Smoker\nP-0029396,P-0029396-T01-IM6,Papillary,2,0,13.63333333,0,13.63333333,0,Male,Ever Smoker\nP-0029402,P-0029402-T01-IM6,Acinar,1,1,3.866666667,0,3.866666667,0,Female,Never Smoker\nP-0029451,P-0029451-T01-IM6,Lepidic,1,1,12.86666667,0,12.86666667,0,Female,Ever Smoker\nP-0029545,P-0029545-T01-IM6,Papillary,2,0,12.4,0,12.4,0,Male,Ever Smoker\nP-0029561,P-0029561-T01-IM6,Acinar,1,1,12.86666667,0,12.86666667,0,Female,Never Smoker\nP-0029583,P-0029583-T01-IM6,Acinar,2,1,12.43333333,0,12.43333333,0,Male,Ever Smoker\nP-0029585,P-0029585-T01-IM6,Acinar,1,0,12.76666667,0,12.76666667,0,Male,Ever Smoker\nP-0029624,P-0029624-T01-IM6,Acinar,2,0,6.966666667,0,6.966666667,0,Female,Ever Smoker\nP-0029663,P-0029663-T01-IM6,Acinar,1,0,3.7,0,3.7,0,Female,Ever Smoker\nP-0029977,P-0029977-T01-IM6,Acinar,2,0,1.233333333,0,1.233333333,0,Male,Ever Smoker\nP-0030094,P-0030094-T03-IM6,Acinar,1,1,4.8,0,4.8,0,Female,Ever Smoker\nP-0030104,P-0030104-T01-IM6,Acinar,1,1,12.03333333,0,12.03333333,0,Female,Ever Smoker\nP-0030317,P-0030317-T01-IM6,Acinar,1,0,12.53333333,0,12.53333333,0,Female,Ever Smoker\nP-0030453,P-0030453-T01-IM6,Acinar,3,0,12.23333333,0,12.23333333,0,Male,Ever Smoker\nP-0030626,P-0030626-T01-IM6,Micropapillary,1,0,6.166666667,0,6.166666667,0,Female,Ever Smoker\nP-0030694,P-0030694-T01-IM6,Micropapillary,3,1,2.433333333,0,2.433333333,1,Female,Ever Smoker\nP-0030710,P-0030710-T01-IM6,Acinar,1,1,11.23333333,0,11.23333333,0,Female,Ever Smoker\nP-0030869,P-0030869-T01-IM6,Acinar,1,0,12.9,0,12.9,0,Female,Ever Smoker\nP-0030893,P-0030893-T01-IM6,Micropapillary,1,0,15.2,0,15.2,0,Female,Ever Smoker\nP-0030990,P-0030990-T03-IM6,Acinar,3,0,8.766666667,0,8.766666667,0,Female,Never Smoker\nP-0031010,P-0031010-T01-IM6,Acinar,1,1,13.2,0,13.2,0,Male,Never Smoker\nP-0031031,P-0031031-T01-IM6,Acinar,1,1,12.86666667,0,12.86666667,0,Female,Ever Smoker\nP-0031046,P-0031046-T01-IM6,Lepidic,1,1,13.13333333,0,13.13333333,0,Female,Never Smoker\nP-0031081,P-0031081-T01-IM6,Acinar,1,1,12.63333333,0,12.63333333,0,Male,Ever Smoker\nP-0031090,P-0031090-T01-IM6,Acinar,1,0,9.7,0,9.7,0,Female,Ever Smoker\nP-0031096,P-0031096-T01-IM6,Acinar,2,0,11.13333333,0,11.13333333,0,Female,Ever Smoker\nP-0031139,P-0031139-T01-IM6,Acinar,2,0,10.6,1,13.1,0,Female,Ever Smoker\nP-0031267,P-0031267-T01-IM6,Lepidic,1,1,35.66666667,1,49.43333333,0,Female,Ever Smoker\nP-0031283,P-0031283-T01-IM6,Acinar,1,0,0.666666667,0,0.666666667,0,Female,Ever Smoker\nP-0031442,P-0031442-T01-IM6,Solid,1,1,6.666666667,0,6.666666667,0,Male,Ever Smoker\nP-0031526,P-0031526-T01-IM6,Acinar,1,0,11.1,0,11.1,0,Male,Never Smoker\nP-0031694,P-0031694-T01-IM6,Acinar,3,1,12.5,1,12.5,0,Female,Never Smoker\nP-0031707,P-0031707-T01-IM6,Acinar,1,1,6.6,0,6.6,0,Male,Ever Smoker\nP-0031737,P-0031737-T01-IM6,Acinar,2,0,1.2,1,11.83333333,0,Male,Ever Smoker\nP-0031740,P-0031740-T01-IM6,Acinar,1,1,9.766666667,0,9.766666667,0,Female,Never Smoker\nP-0032008,P-0032008-T01-IM6,Solid,2,0,12.2,0,12.2,0,Female,Ever Smoker\nP-0032029,P-0032029-T01-IM6,Acinar,1,0,11.36666667,0,11.36666667,0,Male,Ever Smoker\nP-0032112,P-0032112-T01-IM6,Acinar,1,0,6.666666667,0,6.666666667,0,Male,Ever Smoker\nP-0032170,P-0032170-T01-IM6,Acinar,3,0,10.1,1,11.93333333,0,Male,Never Smoker\nP-0032177,P-0032177-T01-IM6,Acinar,2,0,9.633333333,0,9.633333333,0,Male,Never Smoker\nP-0032231,P-0032231-T01-IM6,Papillary,1,1,6.633333333,0,6.633333333,0,Male,Ever Smoker\nP-0032444,P-0032444-T01-IM6,Acinar,1,0,6.466666667,0,6.466666667,0,Female,Ever Smoker\nP-0032476,P-0032476-T01-IM6,Acinar,1,0,7.1,0,7.1,0,Female,Ever Smoker\nP-0032479,P-0032479-T01-IM6,Acinar,1,0,6.133333333,0,6.133333333,0,Female,Ever Smoker\nP-0032532,P-0032532-T01-IM6,Acinar,1,0,6.733333333,0,6.733333333,0,Female,Ever Smoker\nP-0032534,P-0032534-T01-IM6,Solid,1,0,6.433333333,0,6.433333333,0,Female,Ever Smoker\nP-0032635,P-0032635-T01-IM6,Solid,1,1,6.5,0,6.5,0,Male,Never Smoker\nP-0032644,P-0032644-T01-IM6,Acinar,1,1,5.733333333,0,5.733333333,0,Female,Never Smoker\nP-0032645,P-0032645-T01-IM6,Lepidic,1,1,6.966666667,0,6.966666667,0,Male,Ever Smoker\nP-0032676,P-0032676-T01-IM6,Acinar,1,0,6.7,0,6.7,0,Male,Never Smoker\nP-0032682,P-0032682-T01-IM6,Acinar,1,1,10.63333333,0,10.63333333,0,Female,Never Smoker\nP-0032689,P-0032689-T01-IM6,Acinar,1,0,10.0,0,10.0,0,Female,Ever Smoker\nP-0032862,P-0032862-T01-IM6,Acinar,1,0,5.866666667,0,5.866666667,0,Female,Ever Smoker\nP-0033068,P-0033068-T01-IM6,Solid,1,0,7.133333333,0,7.133333333,0,Female,Ever Smoker\nP-0033072,P-0033072-T01-IM6,Acinar,2,0,0.9,0,0.9,0,Female,Ever Smoker\nP-0033325,P-0033325-T01-IM6,Papillary,1,0,6.733333333,0,6.733333333,0,Male,Ever Smoker\nP-0033379,P-0033379-T01-IM6,Acinar,3,0,6.866666667,1,10.26666667,0,Male,Never Smoker\nP-0033380,P-0033380-T01-IM6,Acinar,1,0,4.366666667,0,4.366666667,0,Female,Ever Smoker\nP-0033406,P-0033406-T01-IM6,Acinar,2,0,10.33333333,0,10.33333333,0,Female,Ever Smoker\nP-0033508,P-0033508-T01-IM6,Acinar,2,1,7.3,0,7.3,0,Female,Never Smoker\nP-0033579,P-0033579-T01-IM6,Lepidic,1,1,6.6,0,6.6,0,Female,Never Smoker\nP-0033581,P-0033581-T01-IM6,Acinar,1,0,6.8,0,6.8,0,Female,Ever Smoker\nP-0033615,P-0033615-T01-IM6,Acinar,1,0,6.1,0,6.1,0,Male,Ever Smoker\nP-0033631,P-0033631-T01-IM6,Acinar,1,0,6.7,0,6.7,0,Female,Ever Smoker\nP-0033749,P-0033749-T01-IM6,Papillary,2,1,5.1,0,5.1,0,Male,Never Smoker\nP-0033766,P-0033766-T01-IM6,Solid,1,0,9.133333333,0,9.133333333,0,Female,Ever Smoker\nP-0033823,P-0033823-T01-IM6,Acinar,1,0,10.36666667,0,10.36666667,0,Female,Ever Smoker\nP-0033841,P-0033841-T01-IM6,Acinar,1,0,4.566666667,0,4.566666667,0,Female,Ever Smoker\nP-0033926,P-0033926-T01-IM6,Acinar,1,0,4.466666667,0,4.466666667,0,Female,Ever Smoker\nP-0034215,P-0034215-T01-IM6,Acinar,1,0,7.2,0,7.2,0,Male,Ever Smoker\nP-0034604,P-0034604-T01-IM6,Lepidic,1,1,6.566666667,0,6.566666667,0,Female,Never Smoker\nP-0034643,P-0034643-T01-IM6,Papillary,1,1,8.233333333,0,8.233333333,0,Male,Never Smoker\nP-0034948,P-0034948-T01-IM6,Acinar,1,0,6.7,0,6.7,0,Female,Ever Smoker\nP-0035026,P-0035026-T01-IM6,Acinar,1,1,6.366666667,0,6.366666667,0,Female,Ever Smoker\nP-0035135,P-0035135-T01-IM6,Acinar,1,1,6.566666667,0,6.566666667,0,Female,Never Smoker\nP-0035139,P-0035139-T01-IM6,Acinar,1,0,2.3,0,2.3,0,Female,Ever Smoker\nP-0035140,P-0035140-T01-IM6,Acinar,1,0,7.5,0,7.5,0,Male,Ever Smoker\nP-0035240,P-0035240-T01-IM6,Acinar,1,0,6.6,0,6.6,0,Male,Ever Smoker\nP-0035244,P-0035244-T01-IM6,Acinar,1,1,4.1,0,4.1,0,Female,Ever Smoker\nP-0035278,P-0035278-T01-IM6,Acinar,1,0,6.566666667,0,6.566666667,0,Female,Ever Smoker\nP-0035280,P-0035280-T01-IM6,Acinar,1,0,3.433333333,0,3.433333333,0,Male,Never Smoker\nP-0035293,P-0035293-T01-IM6,Acinar,1,0,6.566666667,0,6.566666667,0,Female,Ever Smoker\nP-0035431,P-0035431-T01-IM6,Solid,3,1,4.733333333,0,4.733333333,1,Female,Ever Smoker\nP-0035469,P-0035469-T01-IM6,Solid,1,0,5.5,0,5.5,0,Male,Ever Smoker\nP-0035488,P-0035488-T01-IM6,Papillary,1,1,6.566666667,0,6.566666667,0,Female,Never Smoker\nP-0035494,P-0035494-T01-IM6,Acinar,1,0,6.7,0,6.7,0,Female,Ever Smoker\nP-0035731,P-0035731-T01-IM6,Acinar,2,0,3.4,0,3.4,0,Female,Ever Smoker\nP-0035869,P-0035869-T01-IM6,Lepidic,1,1,6.7,0,6.7,0,Female,Ever Smoker\nP-0035922,P-0035922-T01-IM6,Lepidic,1,1,6.8,0,6.8,0,Female,Ever Smoker\nP-0036032,P-0036032-T01-IM6,Acinar,1,1,7.066666667,0,7.066666667,0,Female,Never Smoker\nP-0036225,P-0036225-T01-IM6,Solid,2,0,4.966666667,0,4.966666667,0,Female,Ever Smoker\nP-0036267,P-0036267-T01-IM6,Acinar,2,1,7.766666667,0,7.766666667,0,Male,Never Smoker\nP-0036310,P-0036310-T01-IM6,Acinar,2,0,7.3,0,7.3,0,Female,Ever Smoker\nP-0036387,P-0036387-T01-IM6,Acinar,1,0,5.9,0,5.9,0,Male,Never Smoker\nP-0036513,P-0036513-T01-IM6,Acinar,1,1,4.3,0,4.3,0,Female,Ever Smoker\nP-0036637,P-0036637-T01-IM6,Acinar,1,0,7.066666667,0,7.066666667,0,Female,Never Smoker\nP-0036639,P-0036639-T01-IM6,Acinar,1,0,7.033333333,0,7.033333333,0,Female,Ever Smoker\nP-0036744,P-0036744-T01-IM6,Lepidic,1,0,6.333333333,0,6.333333333,0,Male,Ever Smoker\nP-0036810,P-0036810-T02-IM6,Acinar,1,0,3.566666667,0,3.566666667,0,Male,Ever Smoker\nP-0036891,P-0036891-T01-IM6,Acinar,1,1,5.266666667,0,5.266666667,0,Female,Ever Smoker\nP-0037833,P-0037833-T01-IM6,Acinar,1,0,4.4,0,4.4,0,Female,Ever Smoker\nP-0038206,P-0038206-T01-IM6,Solid,1,1,0.533333333,0,0.533333333,0,Male,Never Smoker\nP-0038834,P-0038834-T01-IM6,Acinar,2,1,6.3,0,6.3,0,Female,Ever Smoker\n";
function downloadMskccCsv() {
const blob = new Blob([EMBEDDED_MSKCC_CSV], { type: 'text/csv;charset=utf-8;' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'mskcc_2020_real_cohort_celebrano.csv';
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
URL.revokeObjectURL(url);
}
function copyBibtexCitation() {
const bibtex = `@article{Celebrano2026SpatialContinuum,
author = {Celebrano, Luca},
title = {A Multiscale Biophysical Reaction-Diffusion Framework Coupling Histological Architecture, Interstitial Transport, and Inflammatory Tension in Solid Tumors: An Exploratory In Silico and Retrospective Multi-Cohort Analysis},
journal = {Research Square},
year = {2026},
doi = {10.21203/rs.3.rs-11695210/v2},
url = {https://doi.org/10.21203/rs.3.rs-11695210/v2}
}`;
navigator.clipboard.writeText(bibtex).then(() => {
alert('BibTeX citation copied to clipboard!');
});
}
// Resize handler re-renders active module
window.addEventListener('resize', () => {
if (currentModuleId === '1') recalculate();
else if (currentModuleId === '2') runReplicatorSimulation();
else if (currentModuleId === '3') {
drawKaplanMeierCanvas();
drawHazardSurgeCanvas();
}
});
</script>
</body>
</html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bedside CRI Decision Engine — Spatial Oncology Continuum</title>
<meta name="description" content="Interactive Bedside Composite Resistance Index (CRI) and Biophysical Reaction-Diffusion Sanctuary Simulator for EGFR-Mutant Lung Adenocarcinoma.">
<meta name="author" content="Luca Celebrano">
<!-- Open Graph -->
<meta property="og:title" content="Bedside CRI Decision Engine — Spatial Oncology Continuum">
<meta property="og:description" content="Predicting pharmacological sanctuaries, the post-ADAURA cessation dilemma, and SG-ADAURA trial allocation.">
<meta property="og:type" content="website">
<style>
:root {
--bg: #090d16;
--card-bg: rgba(17, 24, 39, 0.85);
--card-border: rgba(55, 65, 81, 0.6);
--accent-cyan: #06b6d4;
--accent-teal: #10b981;
--accent-amber: #f59e0b;
--accent-red: #ef4444;
--accent-purple: #8b5cf6;
--text-main: #f3f4f6;
--text-muted: #9ca3af;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg);
color: var(--text-main);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.5;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.container {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 1.5rem 1rem;
}
header {
border-bottom: 1px solid var(--card-border);
background: linear-gradient(180deg, rgba(13, 21, 38, 0.9) 0%, rgba(9, 13, 22, 0.95) 100%);
backdrop-filter: blur(12px);
position: sticky;
top: 0;
z-index: 50;
}
.badge-bar {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.75rem;
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.2rem 0.6rem;
font-size: 0.75rem;
font-weight: 600;
border-radius: 9999px;
text-decoration: none;
transition: all 0.2s ease;
}
.badge-teal { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.4); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.4); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.badge:hover { transform: translateY(-1px); filter: brightness(1.2); }
.grid-layout {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
margin-top: 1.5rem;
}
@media (min-width: 1024px) {
.grid-layout {
grid-template-columns: 420px 1fr;
}
}
.card {
background: var(--card-bg);
border: 1px solid var(--card-border);