1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="8c20d703-be36-4b19-81a2-bb3db32f99ed",e._sentryDebugIdIdentifier="sentry-dbid-8c20d703-be36-4b19-81a2-bb3db32f99ed")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3891],{3891:(e,s,a)=>{a.r(s),a.d(s,{CORRECT:()=>i,TcaBreakdown:()=>c});var t=a(95155);a(12115);var d=a(92823);let l="#10b981",n=[{id:"spread",label:"Spread",bps:3},{id:"impact",label:"Market impact",bps:11},{id:"timing",label:"Timing",bps:2},{id:"opportunity",label:"Opportunity",bps:4}],r=Math.max(...n.map(e=>e.bps)),i=n.reduce((e,s)=>s.bps>e.bps?s:e).id,o=n.map(e=>({id:e.id,label:e.label}));function c(e){let{pick:s,setPick:a,status:c,graded:b,canCheck:u,check:p,reset:m}=(0,d.Qc)(e,i);return(0,t.jsxs)(d.rl,{question:"You have to buy a block worth 18% of a day's volume. Which cost will hurt most?",status:c,onCheck:p,onReset:m,canCheck:u,feedback:"correct"===c?"a big footprint moves the price against you":"impact dominates: your own buying walks the price up",children:[(0,t.jsx)(d.Dn,{className:"p-3",children:b?(0,t.jsx)("div",{className:"flex flex-col gap-1.5",children:n.map(e=>{let s=e.id===i;return(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"w-24 shrink-0 text-xs font-medium text-foreground",children:e.label}),(0,t.jsx)("span",{className:"relative h-3 flex-1 overflow-hidden rounded bg-foreground
1/[0.06]",children:(0,t.jsx)("span",{className:"absolute left-0 top-0 h-3 rounded",style:{width:"".concat(e.bps/r*100,"%"),background:s?l:"rgba(148,163,184,0.55)",opacity:s?.9:.5}})}),(0,t.jsxs)("span",{className:"w-10 shrink-0 text-right text-xs font-semibold tabular-nums",style:{color:s?l:void 0},children:[e.bps," bp"]})]},e.id)})}):(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-1.5 text-[0.7rem] font-medium uppercase tracking-wide text-muted-foreground",children:"Your order vs a day's volume"}),(0,t.jsxs)("div",{className:"relative h-6 w-full overflow-hidden rounded-md bg-foreground/[0.06]",children:[(0,t.jsx)("div",{className:"h-6 rounded-md",style:{width:"".concat(18,"%"),background:"rgba(245,158,11,0.6)"}}),(0,t.jsx)("span",{className:"absolute inset-y-0 left-2 flex items-center text-[0.7rem] font-semibold text-foreground",children:"18% of ADV"})]})]})}),(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(d.yZ,{options:o,value:s,onSelect:a,columns:2,accent:l,revealed:b,correctId:i,disabled:b})})]})}}}]);
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.