1import{_ as y}from"./pPAik5Mw.js";import{d as A,u as C,w as B,c as p,b as m,r as c,k as N,o,f as P,h as d,F as E,v as F,g as v,I as L,e as f,_ as R,j as U}from"./CWoPGWPY.js";import{_ as V}from"./DhJRJNfg.js";import"./CZqCHNJ9.js";import"./C8gK0VkS.js";import"./iuSlkyKU.js";import"./C29XrcW9.js";import"./NoeOmWcP.js";const b={class:"flex flex-col gap-6"},j={key:0,class:"flex justify-center mt-8 md:mt-14"},r=10,H=A({__name:"reviews",async setup(S){let a,i;const{$api:_}=C(),e=c([]),n=c(1),l=c(!1),{data:g}=([a,i]=B(()=>N(()=>_.review.getAll({page:n.value,perPage:r}),"$uJyCsg5hUs")),a=await a,i(),a);e.value=g.value||[],n.value++,e.value.length<r&&(l.value=!0);async function w(){const t=await _.review.getAll({page:n.value,perPage:r});if(e.value=[...e.value,...t],t.length<r){l.value=!0;return}n.value++}function h(t){return t.children[0]}return(t,$)=>{const u=y,x=R,k=V;return o(),p(k,{title:"ÐÑзÑвÑ"},{default:m(()=>[P("div",b,[(o(!0),d(E,null,F(v(e),s=>(o(),p(u,{key:s.id,review:s},L({_:2},[s.children?.length?{name:"answer",fn:m(()=>[f(u,{review:h(s),"is-answer":""},null,8,["review"])]),key:"0"}:void 0]),1032,["review"]))),128))]),v(l)?U("",!0):(o(),d("div",j,[f(x,{label:"ÐоказаÑÑ ÐµÑе",class:"!text-dark",outline:"",onClick:w})]))]),_:1})}}});
1export{H 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.