1import{R as c,j as r,S as u,t as n,B as d,L as l,a as f}from"./index-DRTTVO6y.js";function j(){const e=c.useSearch(),t=c.useLoaderData(),a=t?t.status:e.status,i=t?t.rating:e.rating,o=t?.podcast?.slug??e.pod,m=t?.podcast?.name??e.name,x=a==="ok";return r.jsx("main",{className:"page narrow-page",children:r.jsxs("section",{className:"mx-auto max-w-xl rounded-2xl border border-border bg-card p-8 text-center shadow-[var(--shadow)]",children:[x&&i>0?r.jsx("div",{className:"mb-4 flex justify-center gap-1",children:[1,2,3,4,5].map(s=>r.jsx(u,{size:28,"aria-hidden":!0,className:s<=i?"fill-accent text-accent":"text-border"},s))}):null,r.jsx("h1",{className:"m-0 text-2xl",children:n(`rating.${p(a)}`)}),r.jsx("p",{className:"mx-auto mt-2 mb-0 max-w-md text-pretty text-muted-foreground",children:n(`rating.${h(a)}`)}),r.jsx("div",{className:"mt-6",children:o?r.jsx(d,{asChild:!0,variant:"accent",size:"lg",children:r.jsx(l,{to:"/pod/$slug",params:{slug:o},className:"hover:no-underline",children:m||n("rating.back-to-podcast")})}):r.jsx(d,{asChild:!0,variant:"accent",size:"lg",children:r.jsx(l,{to:"/",className:"hover:no-underline",children:f.siteName})})})]})})}function p(e){return e==="ok"?"confirmed-title":e==="expired"?"confirm-expired-title":e==="invalid"?"confirm-invalid-title":"confirm-error-title"}function h(e){return e==="ok"?"confirmed-detail":e==="expired"?"confirm-expired-detail":e==="invalid"?"confirm-invalid-detail":"confirm-error-detail"}export{j as component};
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.