1import{az as g,i as e,o as i,f as c,w as l,b as s,a as p,t as m,bi as u,j as b,E as d,e as x}from"./CZFxAyXy.js";import{e as h}from"./DPguVKzR.js";import{r as y}from"./CK3HiLVi.js";import{r as f}from"./BxxK3u7X.js";import{r as w}from"./BxOEC-cN.js";const C={class:"flex-1 text-sm font-bold"},B={class:"flex-1 text-sm font-bold"},I=Object.assign({inheritAttrs:!1},{__name:"TaskPendingBanner",setup(z){const{t:r}=g(),{taskClaimableCount:_,taskIncompleteCount:k}=h(),t=d(()=>_.value),a=d(()=>k.value);return(n,N)=>{const o=x;return e(t)>0?(i(),c(o,u({key:0,to:"/user/task"},n.$attrs,{class:"w-full flex items-center gap-2.5 rounded-xl border border-warning/30 bg-warning/10 px-4 py-3 text-warning transition-colors hover:bg-warning/15 cursor-pointer"}),{default:l(()=>[s(e(y),{class:"size-5 shrink-0"}),p("span",C,m(e(r)("tasks.pendingBanner.claimable",{count:e(t)})),1),s(e(f),{class:"size-4 shrink-0"})]),_:1},16)):e(a)>0?(i(),c(o,u({key:1,to:"/user/task"},n.$attrs,{class:"w-full flex items-center gap-2.5 rounded-xl border border-primary/30 bg-primary/10 px-4 py-3 text-primary transition-colors hover:bg-primary/15 cursor-pointer"}),{default:l(()=>[s(e(w),{class:"size-5 shrink-0"}),p("span",B,m(e(r)("tasks.pendingBanner.incomplete",{count:e(a)})),1),s(e(f),{class:"size-4 shrink-0"})]),_:1},16)):b("",!0)}}});export{I as _};
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.