PageSourceSearch

https://purvine.app/assets/RewardsUI-Cs9CF7YM.js

js purvine.app collected 2026-10-09 02:51:43 UTC 1,695 bytes, 1 lines download raw bytes

1import{t as e}from"./jsx-runtime-DGeXAQPT.js";import{C as t,y as n}from"./index-qYtQbyiG.js";var r=e();function i({url:e,name:n,size:i=36,className:a=``}){let o={width:i,height:i};return e?(0,r.jsx)(`img`,{src:e,alt:n?`${n}'s profile picture`:`Profile picture`,style:o,className:`shrink-0 rounded-full border border-border object-cover `+a}):(0,r.jsx)(`span`,{"aria-hidden":!0,style:{...o,fontSize:Math.max(10,i*.36)},className:`flex shrink-0 items-center justify-center rounded-full border border-border bg-[color:var(--champagne)] font-semibold uppercase tracking-wide text-[color:var(--maroon)] `+a,children:t(n)})}function a({approved:e,className:t=``}){let i=n(e);return i?(0,r.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded-full bg-[color:var(--champagne)] px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-[color:var(--maroon)] `+t,title:`${i.name} · ${e} approved wine${e===1?``:`s`}`,children:[(0,r.jsx)(`span`,{"aria-hidden":!0,children:i.icon}),i.name]}):null}function o({value:e,max:t,label:n}){let i=Math.max(0,Math.min(100,t>0?e/t*100:0));return(0,r.jsxs)(`div`,{className:`space-y-1.5`,children:[n&&(0,r.jsxs)(`div`,{className:`flex items-baseline justify-between text-xs text-muted-foreground`,children:[(0,r.jsx)(`span`,{children:n}),(0,r.jsxs)(`span`,{className:`font-semibold text-[color:var(--maroon)]`,children:[e,` / `,t]})]}),(0,r.jsx)(`div`,{className:`h-2.5 w-full overflow-hidden rounded-full bg-[color:var(--champagne)]`,children:(0,r.jsx)(`div`,{className:`h-full rounded-full bg-[linear-gradient(90deg,var(--rose),var(--maroon))] transition-[width] duration-700 ease-out`,style:{width:`${i}%`}})})]})}export{o as n,i as r,a as t};

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.