PageSourceSearch

https://www.sprind.org/_nuxt/Y6_RPcDb.js

js sprind.org collected 2026-09-24 08:54:44 UTC 1,531 bytes, 1 lines download raw bytes

1import{u as y,i as x,b as k}from"./DrctnP21.js";import{k as F,h as Y,r as q,o as w,f as l,i,A as f,u as c,F as C,B,e as u,n as E}from"./CdHCLhiy.js";const S={class:"flex flex-col w-full"},$={class:"border-silver-300 lg:px-m py-m border-t"},z={class:"text-s uppercase tracking-wide"},A={class:"flex flex-wrap gap-s lg:px-m py-m h-min"},D=["aria-label","onClick"],m=F({__name:"FilterYear",props:{filter:{type:Array,required:!0}},emits:["update:filter"],setup(n,{emit:a}){const v=n,h=a,o=y(),b=Y(()=>{const e=[];return v.filter.forEach(r=>{const s=new Date(r.attributes.date).getFullYear();e.includes(s)||e.push(s)}),e.reverse()}),t=q([]),p=x(`magazineFilter-${o.path}`,()=>({}));w(()=>{o.query.q?t.value=JSON.parse(o.query.q).tag:p.value.year?.length&&p.value.year.forEach(e=>{d(e)})});const d=e=>{t.value.includes(e)?t.value=t.value.filter(r=>r!==e):t.value.push(e),h("update:filter",t.value)},{t:g}=k({useScope:"global"});return(e,r)=>(u(),l("div",S,[i("div",$,[i("div",z,f(c(g)("tags.year")),1)]),i("div",A,[(u(!0),l(C,null,B(c(b),s=>(u(),l("button",{key:s,"aria-label":e.$t("tags.year"),class:E(["border-silver-300 bg-white hover:bg-silver-100 px-m py-xs border rounded-full uppercase",{invert:c(t).includes(s)}]),onClick:J=>d(s)},f(s),11,D))),128))])]))}});function _(n){const a=n;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{en:{year:{t:0,b:{t:2,i:[{t:3}],s:"Year"}}},de:{year:{t:0,b:{t:2,i:[{t:3}],s:"Jahr"}}}}})}typeof _=="function"&&_(m);const j=Object.assign(m,{__name:"UtilsFilterYear"});export{j 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.