import{a as e,i as t,n,r,t as i}from"./_brand-C2V3ysl0.js";var a=`#1a1b1e`,o=`#e7e9ee`,s=`#8b9098`,c=`#2a2c33`,l={markStroke:o,wordmarkFg:o};function u(e,t){return{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,gap:`4px`},children:[{type:`span`,props:{style:{fontSize:`34px`,fontWeight:700,color:o,fontFamily:`JetBrains Mono`},children:e}},{type:`span`,props:{style:{fontSize:`14px`,color:s,textTransform:`uppercase`,letterSpacing:`0.16em`},children:t}}]}}}function d(d){let f=[t(d.sessionDate)];d.durationLabel&&f.push(d.durationLabel);let p=f.join(` · `),m=d.costDollars??`$—`,h=typeof d.cachedTokens==`number`&&d.cachedTokens>=1e5?`+ ${e(d.cachedTokens)} cached`:null,g=[n(l,`session receipt`),{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,gap:`8px`},children:[{type:`div`,props:{style:{fontSize:`44px`,fontWeight:700,color:o,lineHeight:1.15,wordBreak:`break-word`},children:d.sessionTitle}},{type:`div`,props:{style:{fontSize:`20px`,color:s},children:p}}]}},{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,padding:`32px 0`},children:[{type:`span`,props:{style:{fontSize:`180px`,fontWeight:700,color:i,fontFamily:`JetBrains Mono`,lineHeight:1,letterSpacing:`-0.04em`},children:m}},{type:`span`,props:{style:{marginTop:`16px`,fontSize:`16px`,color:s,textTransform:`uppercase`,letterSpacing:`0.24em`,fontWeight:600},children:`session cost`}}]}},{type:`div`,props:{style:{display:`flex`,width:`100%`,height:`1px`,backgroundColor:c}}},{type:`div`,props:{style:{display:`flex`,justifyContent:`space-between`,gap:`24px`},children:[u(String(d.messageCount),`msgs`),u(String(d.filesReferenced),`files`),u(String(d.toolCallCount),`tools`),u(d.model??`—`,`model`)]}}];return h&&g.push({type:`div`,props:{style:{fontSize:`14px`,color:s,fontFamily:`JetBrains Mono`,opacity:.7},children:h}}),d.verdict&&g.push({type:`div`,props:{style:{display:`flex`,fontSize:`24px`,fontStyle:`italic`,color:o,borderLeft:`3px solid ${i}`,paddingLeft:`20px`,marginTop:`8px`},children:`"${d.verdict}"`}}),g.push({type:`div`,props:{style:{display:`flex`,flex:1}}}),g.push(r(l)),{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,backgroundColor:a,padding:`64px 72px`,fontFamily:`Inter`,gap:`28px`},children:g}}}export{d as render};