1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c9195d34-687f-53be-b867-44f4b2b7d257")}catch(e){}}(); 3import{A as e,Ct as t,Gt as s,I as r,It as o,Jt as a,L as l,M as n,O as i,Xt as u,Zt as c,it as d,j as m,k as f,z as p}from"./CV1VnGLa.js";import{b as x,mt as b}from"./BzqjePJz.js";import{r as g}from"./7n0wwqSa.js";import{a as h,t as k}from"./DOC6J3Zw2.js";import{t as v}from"./BjLgj-0u2.js";import{t as y}from"./RZRLb6of2.js";import{t as j}from"./CgdX9bvZ2.js";var w=["textContent"],C={class:"flex gap-1"},z=["textContent"],_=["textContent"],I={class:"text-xl font-medium text-black"},R={key:2,class:"pointer-events-none aspect-video overflow-hidden rounded-xl"},A=["alt","loading","src"],L="rounded-md bg-green-60 px-2 py-1 text-xs font-medium text-white",O=p({__name:"ColorCard",props:{resource:{},loading:{default:"lazy"},task:{}},setup(p){const O=p,{getTitle:S}=b(),{buildResourceUrl:D}=x(),{getDescriptor:G}=v(),{t:J}=g(),M=o(),{backgroundStyle:N}=h({identifier:O.resource.locationId,elementRef:M}),P=i(()=>S(O.resource)),T=i(()=>D(O.resource)),U=G(O.resource);return(o,i)=>(d(),n("article",{ref_key:"elementRef",ref:M,style:u(s(N)),class:"group animate-fade relative flex h-[17.5rem] flex-col justify-between space-y-2 rounded-xl p-4 hover:shadow-lg has-focus-visible:ring"},[p.task?.homework?(d(),e(j,{key:0})):p.resource.new?(d(),n("aside",{key:1,class:"bg-green-40 pointer-events-none absolute top-0 right-0 z-20 rounded-bl-2xl p-1.5 pl-2 text-sm font-medium tracking-wider text-white uppercase",textContent:c(s(J)("newShort"))},null,8,w)):m("",!0),f("div",C,[f("span",{class:a(L),textContent:c(s(U))},null,8,z),p.resource.tiered?(d(),n("span",{key:0,class:a(L),textContent:c(s(J)("search.checkboxes.tiered"))},null,8,_)):m("",!0)]),f("h3",I,[l(y,{link:T.value,class:"line-clamp-3 outline-0 before:absolute before:inset-0 before:rounded-2xl before:transition before:hover:shadow-lg"},{default:t(()=>[r(c(P.value),1)]),_:1},8,["link"])]),p.resource.thumbnail?(d(),n("div",R,[f("img",{alt:p.resource.thumbnailAlt||"",loading:p.loading,src:p.resource.thumbnail,class:"size-full rounded-xl object-cover transition duration-200 group-hover:scale-110"},null,8,A)])):m("",!0),l(k,{resource:p.resource,"toggle-shade":"dark","button-classes":"z-10 mb-0"},null,8,["resource"])],4))}});export{O as t}; 4//# debugId=c9195d34-687f-53be-b867-44f4b2b7d257
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.