1import{_ as f}from"./AppLayout.vue_vue_type_script_setup_true_lang-BvhncCaL.js";import{h as g,l as x}from"./app-1To86AzH.js";import{d as _,U as i,O as c,_ as t,u as r,F as d,V as v,K as l,L as b,M as a,a3 as w,ck as y,cl as k,cj as C,b7 as M,c0 as B,a0 as N,$ as o,b5 as V}from"./icons-Bgx76RDF.js";import"./utils-CDN07tui.js";import"./reka-ui-CxQDcGDz.js";import"./index-B_Re349R.js";import"./SheetTrigger.vue_vue_type_script_setup_true_lang-ClJRYQsn.js";import"./index-DgDhoHPE.js";import"./TooltipTrigger.vue_vue_type_script_setup_true_lang-XzAgB0RT.js";import"./useInitials-C0AQeawK.js";import"./index-DRJF5lkF.js";import"./index-DQD3-gx9.js";import"./Label.vue_vue_type_script_setup_true_lang-CQc2ZaV7.js";import"./index-ypZ4j5CC.js";import"./useStaffSidebar-DBxGPlKt.js";const P={class:"mx-auto w-full max-w-6xl px-4 py-8"},R={class:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3"},S={class:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground group-hover:text-primary"},$={class:"min-w-0 flex-1"},j={class:"flex items-center gap-2 font-semibold"},D={class:"mt-0.5 block text-sm text-muted-foreground"},F={class:"mt-2 block text-xs text-muted-foreground tabular-nums"},X=_({layout:f,__name:"Metadata",props:{types:{}},setup(m){const p={locations:B,guides:M,camops:C,species:k,characters:y},u={locations:"Reserves and areas the drives visit.",guides:"Guides who present the drives.",camops:"Camera operators on the drives.",species:"Species Jev tags shows with.",characters:"Named animals and groups, such as prides and coalitions."},h=s=>s==="species"||s==="characters"?route(`content.metadata.${s}.index`):route("content.metadata.show",{type:s});return(s,n)=>(a(),i(d,null,[c(r(g),{title:"Metadata"}),t("div",P,[n[0]||(n[0]=t("div",{class:"mb-6"},[t("h1",{class:"text-2xl font-bold"},"Metadata"),t("p",{class:"text-sm text-muted-foreground"}," The lists that shows, crew and tags are picked from. Inactive items stay attached to existing content but are hidden from new selections. ")],-1)),t("div",R,[(a(!0),i(d,null,v(m.types,e=>(a(),l(r(x),{key:e.type,href:h(e.type),class:"group flex items-start gap-4 roun
1ded-xl border border-border bg-card p-5 transition-colors hover:border-primary/50 hover:bg-muted/40"},{default:b(()=>[t("span",S,[(a(),l(w(p[e.type]),{class:"h-5 w-5"}))]),t("span",$,[t("span",j,[N(o(e.label)+" ",1),c(r(V),{class:"ml-auto h-4 w-4 text-muted-foreground transition-transform group-hover:translate-x-0.5"})]),t("span",D,o(u[e.type]),1),t("span",F,o(e.count)+" ("+o(e.active)+" active) ",1)])]),_:2},1032,["href"]))),128))])])],64))}});export{X as default};
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.