1import{_ as S}from"./BdSBwQoF.js";import{d as V,G as q,w as x,a4 as C,o as l,e as f,F as y,r as O,b as i,j as $,D as k,l as n,q as P,c as W}from"./BE0kib61.js";import{V as b}from"./DIZ2rWVE.js";const c=10,j=V({__name:"WordStoryOverview",props:{filters:{type:Object,required:!0}},async setup(v){let u,m;const o=n();o.value=v.filters;const{findWordStories:w}=P(),d=n([]),a=n(1),p=n(1),r=q();[u,m]=x(()=>s()),await u,m(),C(()=>r.query,()=>{o.value={$or:[{title:{$containsi:r.query.search}},{content:{$containsi:r.query.search}}]},s()});async function s(){const{data:_,meta:t}=await w({start:(a.value-1)*c,limit:c},o.value);d.value=_,p.value=Math.ceil(t.pagination.total/c)}async function g(){await s(),window.scrollTo({top:0})}return(_,t)=>{const h=S;return l(),f(y,null,[(l(!0),f(y,null,O(i(d),e=>(l(),W(h,{wsAttrs:e,type:"standard",key:e.id},null,8,["wsAttrs"]))),128)),$(b,{modelValue:i(a),"onUpdate:modelValue":[t[0]||(t[0]=e=>k(a)?a.value=e:null),t[1]||(t[1]=e=>g())],length:i(p),class:"mt-5"},null,8,["modelValue","length"])],64)}}}),D=Object.assign(j,{__name:"WordStoryOverview"});export{D 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.