Spaces:
Running
Running
File size: 21,604 Bytes
f93c1b8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Pathify re-verify</title>
<style>
:root{ color-scheme: light;
--bg:#f7f8fa; --card:#ffffff; --text:#111827; --muted:#6b7280; --line:#e5e7eb;
--accent:#0f766e; --accentbg:#e6f4f1;
--tumor:#b91c1c; --tumorbg:#fee2e2; --normal:#047857; --normalbg:#d1fae5;
--warn:#b45309; --warnbg:#fef3c7;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.5}
.wrap{max-width:760px;margin:0 auto;padding:22px 18px 44px}
h1{font-size:20px;margin:0}
.sub{color:var(--muted);font-size:13px;margin-top:4px}
.chip{display:inline-block;font-size:11px;padding:3px 9px;border-radius:999px;background:var(--accentbg);color:var(--accent);margin-top:8px}
.story{background:#eef6f4;border:1px solid #cfe7e1;border-radius:12px;padding:12px 14px;margin-top:14px;font-size:13px;color:#0f5f57}
.story b{color:#0b463f}
.scope{margin-top:12px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.scope summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--accent)}
.scope .scopebody{margin-top:8px}
.scope p{font-size:13px;margin:8px 0 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;margin-top:16px}
.step{display:flex;gap:10px;align-items:flex-start}
.num{flex:none;width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:1px}
.stitle{font-size:15px;font-weight:600}
.hint{font-size:12.5px;color:var(--muted);margin:2px 0 10px}
textarea,input[type=text]{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px;font-family:inherit;background:#fff;color:var(--text)}
textarea#report{min-height:150px;resize:vertical}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.btn{font-size:14px;padding:10px 16px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--text);cursor:pointer}
.btn:hover{border-color:var(--accent)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600;font-size:15px;padding:12px 20px}
.btn.primary:disabled{opacity:.5;cursor:default}
.btn.link{border:none;background:none;color:var(--accent);padding:4px 2px;cursor:pointer;font-size:13px}
input[type=file]{font-size:13px}
.seg{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.seg button{border:1.5px solid var(--line);background:#fff;border-radius:10px;padding:11px 12px;cursor:pointer;text-align:left}
.seg button .t{font-weight:600;font-size:14px} .seg button .d{font-size:12px;color:var(--muted)}
.seg button.on{border-color:var(--accent);background:var(--accentbg)}
.seg button.on.tumor{border-color:var(--tumor);background:var(--tumorbg)}
.seg button.on.normal{border-color:var(--normal);background:var(--normalbg)}
.seg button.on.warn{border-color:var(--warn);background:var(--warnbg)}
.orline{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:14px 0}
.orline::before,.orline::after{content:"";height:1px;background:var(--line);flex:1}
.detected{font-size:13px;margin-top:6px;color:var(--muted);min-height:20px}
.pill{display:inline-block;font-size:13px;font-weight:600;padding:4px 12px;border-radius:999px}
.pill.tumor{background:var(--tumorbg);color:var(--tumor)}
.pill.normal{background:var(--normalbg);color:var(--normal)}
.pill.warn{background:var(--warnbg);color:var(--warn)}
.pill.uncertain{background:#f3f4f6;color:#4b5563}
.confbar{height:9px;background:#eef0f2;border-radius:5px;overflow:hidden;max-width:280px;margin-top:5px}
.confbar>span{display:block;height:100%;width:0;background:var(--accent);transition:width .6s ease}
.why{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.why summary{cursor:pointer;font-size:13px;color:var(--accent);font-weight:600}
.term{display:inline-block;font-size:12px;padding:3px 9px;border-radius:999px;margin:4px 6px 0 0}
.term.mal{background:var(--tumorbg);color:var(--tumor)} .term.ben{background:var(--normalbg);color:var(--normal)}
.term.warn{background:var(--warnbg);color:var(--warn)} .term.nd{background:#f3f4f6;color:#4b5563}
.verdict{border-radius:14px;padding:18px;margin-top:16px;border:1.5px solid}
.verdict.ok{background:var(--normalbg);border-color:#a7f3d0}
.verdict.flag{background:var(--tumorbg);border-color:#fca5a5}
.verdict.soft{background:var(--warnbg);border-color:#f59e0b}
.verdict.info{background:#eef2ff;border-color:#c7d2fe}
.verdict h3{margin:0 0 6px;font-size:17px}
.verdict.ok h3{color:var(--normal)} .verdict.flag h3{color:var(--tumor)} .verdict.soft h3{color:var(--warn)} .verdict.info h3{color:#4338ca}
.action{margin-top:10px;font-size:14px;font-weight:600}
.imgs{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}
.imgs figure{margin:0;text-align:center}
.imgs img{width:150px;height:150px;object-fit:cover;border:1px solid var(--line);border-radius:10px;display:block}
figcaption{font-size:11px;color:var(--muted);margin-top:4px}
.foot{color:var(--muted);font-size:12px;margin-top:22px;line-height:1.6}
.muted{color:var(--muted)}
.spinner{display:inline-block;width:14px;height:14px;border:2px solid #cbd5e1;border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite;vertical-align:-2px;margin-right:6px}
@keyframes spin{to{transform:rotate(360deg)}}
</style>
</head>
<body>
<div class="wrap">
<h1>Pathify · re-verify a read</h1>
<div class="sub">A fast second-reader check for trainees and interns. It tells you whether a pathologist's read holds up, or whether the case is worth a second look. This is a QA aid, not a diagnosis.</div>
<div class="chip">Assist, not replace</div>
<div class="story"><b>How this fits your day:</b> the pathologist hands you their written read. You paste it here, tell Pathify what they concluded, and it independently re-checks the wording. If the two agree, you are done. If they differ, you take it back to the pathologist for a second look.</div>
<details class="scope">
<summary>What can Pathify analyze?</summary>
<div class="scopebody">
<p><b>Best for:</b> free-text histopathology and surgical pathology reports, the microscopic description and the impression/diagnosis line, across common specimens (colon, breast, skin, prostate, cervix, lymph node, and similar). It sorts the conclusion into one of five buckets: benign/negative, atypical/suspicious, dysplasia/pre-malignant, malignant/carcinoma, or non-diagnostic/insufficient. You can also add an H&E slide image for an optional stain-density check.</p>
<p class="muted"><b>Not built for (yet):</b> numeric lab panels, radiology reports, molecular/genetic reports, and cytology grading scales. On text, Pathify checks diagnostic wording in English, so it is a wording-consistency check, not a tissue judgment. Unusual phrasing can trip it up.</p>
</div>
</details>
<div class="card">
<div class="step"><div class="num">1</div><div style="flex:1">
<div class="stitle">Paste the pathologist's statement</div>
<div class="hint">Paste the report or the written impression. You can also upload a .txt file.</div>
<textarea id="report" placeholder="Paste the pathologist's report or impression here..."></textarea>
<div class="row">
<input type="file" id="reportFile" accept=".txt,text/plain">
<button class="btn link" id="example">Load example statement</button>
</div>
<div style="margin-top:14px" class="stitle">Add an H&E image <span class="muted" style="font-weight:400;font-size:13px">(optional)</span></div>
<div class="hint">If you have the slide image, Pathify adds a stain density check with a highlight overlay.</div>
<input type="file" id="imgFile" accept="image/*">
</div></div>
</div>
<div class="card">
<div class="step"><div class="num">2</div><div style="flex:1">
<div class="stitle">What did the pathologist conclude?</div>
<div class="hint">Tap the closest category, so Pathify can compare its read to theirs.</div>
<div class="seg" id="seg">
<button data-v="benign"><div class="t">Benign / negative</div><div class="d">no tumour</div></button>
<button data-v="atypical"><div class="t">Atypical / suspicious</div><div class="d">not sure, worrying features</div></button>
<button data-v="dysplasia"><div class="t">Dysplasia / pre-malignant</div><div class="d">abnormal, not yet cancer</div></button>
<button data-v="malignant"><div class="t">Malignant / carcinoma</div><div class="d">cancer present</div></button>
<button data-v="nondiag"><div class="t">Non-diagnostic / insufficient</div><div class="d">sample not adequate</div></button>
<button data-v="unknown"><div class="t">Not stated</div><div class="d">just want Pathify's read</div></button>
</div>
<div class="orline">or type it in their words</div>
<input type="text" id="free" placeholder='e.g. "atypical glandular cells, cannot exclude malignancy"'>
<div class="detected" id="detected"></div>
</div></div>
</div>
<div class="card">
<div class="step"><div class="num">3</div><div style="flex:1">
<div class="stitle">Re-verify</div>
<div class="hint">Pathify reads the statement on its own, then compares.</div>
<div class="row">
<button class="btn primary" id="run">Re-verify this case</button>
<button class="btn" id="reset" style="display:none">Check another case</button>
<span id="status" class="muted" style="font-size:13px"></span>
</div>
</div></div>
</div>
<div id="result"></div>
<div class="foot">Pathify only gives a re-check recommendation. It never changes a read and never makes a diagnosis. When in doubt, the pathologist decides. Everything runs on this device.</div>
</div>
<script>
"use strict";
const $=id=>document.getElementById(id);
let selected=null, imgData=null;
const CATS={
benign:{label:"benign / negative", cls:"normal", rank:0},
atypical:{label:"atypical / suspicious", cls:"warn", rank:1},
dysplasia:{label:"dysplasia / pre-malignant", cls:"warn", rank:2},
malignant:{label:"malignant / carcinoma", cls:"tumor", rank:3},
nondiag:{label:"non-diagnostic / insufficient", cls:"uncertain", rank:null},
uncertain:{label:"uncertain", cls:"uncertain", rank:null}
};
const pill=c=>`<span class="pill ${(CATS[c]||CATS.uncertain).cls}">${(CATS[c]||CATS.uncertain).label}</span>`;
const EXAMPLE=`SPECIMEN: Sigmoid colon, endoscopic biopsy.
MICROSCOPIC: Sections show colonic mucosa with irregular, back to back and cribriform glands lined by cells with enlarged, hyperchromatic, pleomorphic nuclei and frequent mitoses. There is loss of normal crypt architecture with desmoplastic stroma. Foci suggest infiltration into the submucosa.
IMPRESSION: Findings consistent with a moderately differentiated invasive adenocarcinoma.`;
$("example").onclick=()=>{ $("report").value=EXAMPLE; };
$("reportFile").onchange=e=>{const f=e.target.files[0]; if(!f)return; const r=new FileReader(); r.onload=()=>{$("report").value=r.result;}; r.readAsText(f);};
document.querySelectorAll("#seg button").forEach(b=>{ b.onclick=()=>{
selected=b.dataset.v; $("free").value=""; $("detected").textContent="";
document.querySelectorAll("#seg button").forEach(x=>x.className="");
b.className="on "+((CATS[selected]||{}).cls||"");
};});
$("free").oninput=()=>{
const v=$("free").value.trim();
document.querySelectorAll("#seg button").forEach(x=>x.className=""); selected=null;
if(!v){$("detected").textContent="";return;}
const c=classify(v).cat;
$("detected").innerHTML="Pathify reads your text as "+pill(c);
};
/* ---------- image stain density heuristic ---------- */
$("imgFile").onchange=e=>{const f=e.target.files[0]; if(!f){imgData=null;return;} const r=new FileReader();
r.onload=()=>{const im=new Image(); im.onload=()=>analyzeImage(im); im.src=r.result;}; r.readAsDataURL(f);};
function analyzeImage(im){
const S=160, cv=document.createElement("canvas"); cv.width=S; cv.height=S; const g=cv.getContext("2d"); g.drawImage(im,0,0,S,S);
const a=g.getImageData(0,0,S,S).data;
const ov=document.createElement("canvas"); ov.width=S; ov.height=S; const go=ov.getContext("2d"); go.drawImage(im,0,0,S,S);
const od=go.getImageData(0,0,S,S), oa=od.data; let nuclei=0,tissue=0;
for(let i=0;i<a.length;i+=4){const r=a[i],gr=a[i+1],b=a[i+2],br=(r+gr+b)/3; if(br>245)continue; tissue++;
if(b>70&&r>55&&gr<r-12&&gr<b-12&&br<175){nuclei++;oa[i]=220;oa[i+1]=30;oa[i+2]=30;}}
go.putImageData(od,0,0); const frac=tissue?nuclei/tissue:0;
imgData={frac,suspicion:Math.max(0,Math.min(1,(frac-0.06)/0.22)),overlayURL:ov.toDataURL(),thumbURL:cv.toDataURL()};
}
/* ---------- report classifier into 5 buckets (on device, transparent) ---------- */
function scoreCats(t){
t=" "+(t||"").toLowerCase().replace(/\s+/g," ")+" ";
const s={malignant:0,dysplasia:0,atypical:0,benign:0,nondiag:0}; const terms=[];
const add=(k,w,lab,side)=>{s[k]+=w; terms.push({label:lab,w,side});};
// non-diagnostic / adequacy
[[/non[- ]?diagnostic/g,2,"non-diagnostic"],[/insufficient|inadequate|scant|paucicellular|acellular/g,1.5,"insufficient sample"],
[/cannot be (assessed|evaluated|interpreted)/g,1.5,"cannot be assessed"],[/no (epithelial|diagnostic) (cells|material)/g,1.5,"no diagnostic material"]]
.forEach(([re,w,lab])=>{const m=t.match(re); if(m)add("nondiag",w*m.length,lab,"nd");});
// negated malignancy / dysplasia / atypia -> benign signal, then strip
const negMal=/(no|negative for|without|absence of|free of)\s+(evidence of\s+)?((?:\w+\s+){0,2})(malignan\w*|tumou?rs?|carcinoma|dysplasi\w*|atypi\w*|neoplas\w*)/g;
const neg=t.match(negMal); if(neg){neg.forEach(x=>add("benign",3,'"'+x.trim()+'"',"ben")); t=t.replace(negMal," ");}
// benign
[[/benign/g,2.5,"benign"],[/within normal limits/g,2.5,"within normal limits"],[/unremarkable/g,1.5,"unremarkable"],
[/reactive/g,1,"reactive changes"],[/preserved (crypt )?architecture/g,1.5,"preserved architecture"]]
.forEach(([re,w,lab])=>{const m=t.match(re); if(m)add("benign",w*m.length,lab,"ben");});
// malignant
[[/adenocarcinoma/g,4,"adenocarcinoma"],[/carcinoma/g,3,"carcinoma"],[/sarcoma/g,3,"sarcoma"],[/malignan\w*/g,3,"malignant"],
[/invasiv\w*|invasion/g,2,"invasion"],[/metasta\w*/g,3,"metastasis"]]
.forEach(([re,w,lab])=>{const m=t.match(re); if(m)add("malignant",w*m.length,lab,"mal");});
// dysplasia / pre-malignant (non-negated)
[[/high[- ]grade dysplasia/g,3,"high grade dysplasia"],[/low[- ]grade dysplasia/g,2,"low grade dysplasia"],
[/dysplas\w*/g,1.5,"dysplasia"],[/intraepithelial neoplasi\w*/g,2,"intraepithelial neoplasia"],[/\bcin\b|\bvin\b/g,2,"intraepithelial neoplasia"]]
.forEach(([re,w,lab])=>{const m=t.match(re); if(m)add("dysplasia",w*m.length,lab,"warn");});
// atypical / suspicious / indeterminate
[[/atypi\w*/g,1.5,"atypia"],[/suspicious/g,2,"suspicious"],[/cannot exclude|cannot rule out/g,1.5,"cannot exclude malignancy"],
[/indeterminate/g,1.5,"indeterminate"],[/favou?r/g,0.8,"favours a diagnosis"]]
.forEach(([re,w,lab])=>{const m=t.match(re); if(m)add("atypical",w*m.length,lab,"warn");});
return {s,terms};
}
function classify(t){
const base=scoreCats(t); const s={...base.s};
const idx=(t||"").toLowerCase().search(/impression|diagnosis|conclusion/);
if(idx>=0){const si=scoreCats(t.slice(idx)).s; for(const k in s) s[k]+=2*si[k];}
const axis=["malignant","dysplasia","atypical","benign"];
const total=Object.values(s).reduce((a,b)=>a+b,0);
if(total===0) return {cat:"uncertain",conf:0.45,terms:base.terms,s};
// adequacy dominates only if it clearly outweighs findings
const axisSum=axis.reduce((a,k)=>a+s[k],0);
if(s.nondiag>0 && s.nondiag>=axisSum) return {cat:"nondiag",conf:Math.min(0.95,s.nondiag/total+0.3),terms:base.terms,s};
const sorted=axis.map(k=>[k,s[k]]).sort((a,b)=>b[1]-a[1]);
const [topK,topV]=sorted[0], secV=sorted[1][1];
if(topV===0) return {cat:"uncertain",conf:0.5,terms:base.terms,s};
const conf=Math.min(0.96,Math.max(0.55,0.55+0.41*(topV-secV)/(axisSum||1)));
return {cat:topK,conf,terms:base.terms,s};
}
function getPatho(){
const ft=$("free").value.trim();
if(ft) return {cat:classify(ft).cat, src:"your typed conclusion"};
if(selected && selected!=="unknown") return {cat:selected, src:"your selection"};
if(selected==="unknown") return {cat:"unknown", src:"not stated"};
return null;
}
/* ---------- render ---------- */
function render(a){
const conf=Math.round(a.conf*100);
const terms=(a.terms||[]).slice().sort((x,y)=>y.w-x.w);
let why = terms.length
? `<details class="why" open><summary>What this is based on</summary>
<div class="hint" style="margin-top:6px">Pathify is reading the words in the statement here (it is not judging tissue). Terms it weighted:</div>
<div>${terms.map(t=>`<span class="term ${t.side}">${t.label} +${(+t.w).toFixed(1)}</span>`).join("")}</div></details>`
: `<div class="hint" style="margin-top:8px">No clear diagnostic terms were found in the text.</div>`;
let img="";
if(imgData&&imgData.overlayURL){
img=`<div class="stitle" style="margin-top:14px;font-size:14px">Image stain check</div>
<div class="hint">Dense nuclei area ${Math.round(imgData.frac*100)}% of tissue, suspicion ${Math.round(imgData.suspicion*100)}%.</div>
<div class="imgs"><figure><img src="${imgData.thumbURL}"><figcaption>uploaded</figcaption></figure>
<figure><img src="${imgData.overlayURL}"><figcaption>highlighted nuclei</figcaption></figure></div>`;
}
let html=`<div class="card"><div class="stitle">Pathify's independent read</div>
<div style="margin:8px 0 2px">${pill(a.cat)} <span class="muted">confidence ${conf}%</span></div>
<div class="confbar"><span id="cbar"></span></div>${why}${img}</div>`;
const patho=getPatho();
if(!patho || patho.cat==="unknown"){
html+=`<div class="verdict info"><h3>Read only</h3>
<div>Pick or type the pathologist's conclusion in step 2 to compare.</div></div>`;
} else if(a.cat==="uncertain"){
html+=`<div class="verdict info"><h3>Pathify is not sure</h3>
<div>Pathologist concluded ${pill(patho.cat)} (${patho.src}); Pathify could not read the text confidently.</div>
<div class="action">Add more of the report text, or confirm with the pathologist.</div></div>`;
} else if(a.cat==="nondiag" || patho.cat==="nondiag"){
const both=(a.cat==="nondiag"&&patho.cat==="nondiag");
html+= both
? `<div class="verdict ok"><h3>Both call it non-diagnostic</h3><div>You and Pathify agree the sample is not adequate.</div>
<div class="action">No discrepancy. Request a repeat or better sample as usual.</div></div>`
: `<div class="verdict soft"><h3>Adequacy mismatch</h3>
<div>One side reads non-diagnostic: pathologist ${pill(patho.cat)} vs Pathify ${pill(a.cat)}.</div>
<div class="action">Confirm sample adequacy with the pathologist before relying on the read.</div></div>`;
} else {
const gap=Math.abs(CATS[a.cat].rank - CATS[patho.cat].rank);
if(gap===0){
html+=`<div class="verdict ok"><h3>Matches the pathologist</h3>
<div>Pathologist ${pill(patho.cat)} (${patho.src}) and Pathify ${pill(a.cat)}.</div>
<div class="action">No discrepancy found. Safe to proceed and file as usual.</div></div>`;
} else if(gap===1){
html+=`<div class="verdict soft"><h3>Borderline difference</h3>
<div>Pathologist ${pill(patho.cat)} (${patho.src}), Pathify ${pill(a.cat)}. These are one step apart.</div>
<div class="action">Worth a quick confirm with the pathologist before sign-out.</div></div>`;
} else {
html+=`<div class="verdict flag"><h3>Clear discrepancy, second look needed</h3>
<div>Pathologist ${pill(patho.cat)} (${patho.src}), but Pathify ${pill(a.cat)}. These are ${gap} steps apart.</div>
<div class="action">Take this case back to the pathologist for a second look before sign-out. Do not change the read yourself.</div></div>`;
}
}
$("result").innerHTML=html;
requestAnimationFrame(()=>{const c=$("cbar"); if(c) c.style.width=conf+"%";});
$("reset").style.display="";
}
$("run").onclick=()=>{
const report=$("report").value.trim();
if(!report && !imgData){ $("status").textContent="Paste the statement first, or add an image."; return; }
$("run").disabled=true; $("status").innerHTML='<span class="spinner"></span>Re-verifying...'; $("result").innerHTML="";
setTimeout(()=>{
let a;
if(report){ a=classify(report); }
else { const s=imgData.suspicion; a={cat:s>=0.5?"malignant":s>0.25?"atypical":"benign",conf:Math.max(s,1-s),terms:[]}; }
render(a); $("status").textContent=""; $("run").disabled=false;
},350);
};
$("reset").onclick=()=>{
$("report").value=""; $("imgFile").value=""; $("free").value=""; $("detected").textContent="";
imgData=null; selected=null; document.querySelectorAll("#seg button").forEach(x=>x.className="");
$("result").innerHTML=""; $("reset").style.display="none"; $("status").textContent="";
window.scrollTo({top:0,behavior:"smooth"});
};
</script>
</body>
</html>
|