https://www.nootropics.com/_next/static/chunks/172zkbr0esy3b.js?dpl=dpl_7GpNTJRqxVQWoeNt9VzLGtkitz9X
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,s,a)=>{s.exports=e.r(76562)},24380,e=>{"use strict";var s=e.i(43476),a=e.i(22016),l=e.i(18566),t=e.i(71645);e.s(["ComparePicker",0,function({substances:e,pairs:r}){let n=(0,l.useRouter)(),[o,c]=(0,t.useState)(""),[i,u]=(0,t.useState)(""),[d,m]=(0,t.useState)(!1),h=new Set(r),p=s=>e.find(e=>e.slug===s)?.name??s,b="w-full h-10 rounded border border-[var(--input)] bg-[color:var(--card)] px-2 text-sm";return(0,s.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),!o||!i||o===i)return;let s=h.has(`${o}-vs-${i}`)?`${o}-vs-${i}`:h.has(`${i}-vs-${o}`)?`${i}-vs-${o}`:null;s?n.push(`/compare/${s}`):m(!0)},className:"grid sm:grid-cols-[1fr_auto_1fr_auto] gap-3 items-end",children:[(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"block text-sm font-semibold mb-1",children:"First substance"}),(0,s.jsxs)("select",{className:b,value:o,onChange:e=>{c(e.target.value),m(!1)},children:[(0,s.jsx)("option",{value:"",children:"Choose"}),e.map(e=>(0,s.jsx)("option",{value:e.slug,children:e.name},e.slug))]})]}),(0,s.jsx)("span",{className:"hidden sm:block pb-2 text-[color:var(--muted-foreground)]",children:"vs"}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"block text-sm font-semibold mb-1",children:"Second substance"}),(0,s.jsxs)("select",{className:b,value:i,onChange:e=>{u(e.target.value),m(!1)},children:[(0,s.jsx)("option",{value:"",children:"Choose"}),e.map(e=>(0,s.jsx)("option",{value:e.slug,children:e.name},e.slug))]})]}),(0,s.jsx)("button",{type:"submit",className:"btn-primary h-10",disabled:!o||!i||o===i,children:"Compare"}),d?(0,s.jsxs)("p",{className:"sm:col-span-4 text-sm",role:"status",children:["There is no comparison page for ",p(o)," and ",p(i)," yet. Read the two entries:"," ",(0,s.jsx)(a.default,{prefetch:!1,href:`/substances/${o}`,className:"underline text-[color:var(--primary)]",children:p(o)}),","," ",(0,s.jsx)(a.default,{prefetch:!1,href:`/substances/${i}`,className:"underline text-[color:var(--primary)]",children:p(i)}),"."]}):null]})}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.