1import{E as e,G as t,O as n,Q as r,R as i,X as a,at as o,ct as s,d as c,gt as l,j as u,k as d,lt as f,o as p,u as m,w as h}from"./5kvwrIzC.js";import{i as g}from"./BXiaQxS6.js";import"./xihTtKlq.js";import{t as _}from"./CApqWRK1.js";import{t as v}from"./Cr5saeLj.js";import{t as y}from"./BJ1aLYYt2.js";import{t as b}from"./ByzbUd982.js";var x=u(`<span class="-ml-[3px]">,</span>`),S=u(`<span class="text-works-card-text text-mierune-dark"><a class="pointer-events-auto cursor-pointer hover:underline"> </a> <!></span>`),C=u(`<p class="pointer-events-none col-start-1 col-end-1 row-start-3 row-end-4 flex flex-wrap gap-1"></p>`),w=u(`<div><a class="group col-start-1 col-end-1 row-start-1 row-end-4 grid grid-rows-subgrid gap-3.5 rounded-lg transition-opacity duration-300 hover:opacity-80"><!> <div class="flex flex-col"><p class="text-works-card-text"> </p> <h2 class="text-works-card-title underline-offset-2 group-hover:underline"> </h2></div></a> <!></div>`);function T(u,T){f(T,!0);let E=p(T,[`$$slots`,`$$events`,`$$legacy`,`class`,`item`]);var D=w();m(D,e=>({class:e,...E}),[()=>b(`grid`,T.class)]);var O=a(D),k=a(O),A=e=>{{let t=o(()=>_({title:T.item.title}));y(e,{get image(){return T.item.coverImage},get alt(){return i(t)},class:`aspect-video h-auto w-full rounded-lg object-cover transition-shadow group-hover:shadow-xl`,get style(){return`view-transition-name: works-cover-image-${T.item.id??``}`}})}};e(k,e=>{T.item.coverImage&&e(A)});var j=r(k,2),M=a(j),N=a(M,!0);l(M);var P=r(M,2),F=a(P,!0);l(P),l(j),l(O);var I=r(O,2),L=i=>{var o=C();h(o,20,()=>T.item.tags,e=>e,(i,o)=>{var s=S(),u=a(s),f=a(u,!0);l(u);var p=r(u,2),m=e=>{d(e,x())};e(p,e=>{T.item.tags[T.item.tags.length-1]!==o&&e(m)}),l(s),t((e,t)=>{c(u,`href`,e),n(f,t)},[()=>g(`/works?${o.category.toLowerCase()}=${o.id}`),()=>v(o.id,o.title)]),d(i,s)}),l(o),d(i,o)};e(I,e=>{T.item.tags&&T.item.tags.length>0&&e(L)}),l(D),t(e=>{c(O,`href`,e),c(O,`target`,T.item.url?`_blank`:void 0),c(O,`rel`,T.item.url?`noopener noreferrer`:void 0),n(N,T.item.client),n(F,T.item.title)},[()=>T.item.url??g(`/works/${T.item.id}`)]),d(u,D),s()}export{T 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.