PageSourceSearch

https://wepc.io/_nuxt/EPXGATve.js

js wepc.io collected 2026-10-08 09:44:59 UTC 2,903 bytes, 1 lines download raw bytes

1import{j as F,k as L,s as _,l as $,y as M,c as m,o as y,a as t,b as c,n as a,F as S,x as T,w,t as k,e as z,z as q,p as i,_ as D}from"./4eUF_KIF.js";import{u as G,_ as H}from"./DiNBa7ay.js";import{u}from"./Ci-3CYKV.js";import{e as R}from"./B77HAoWr.js";import{C as Q}from"./BT93mW51.js";const V={class:"faq mb-8"},W={class:"faq__container"},Z={class:"questions-list mt-6"},E={class:"question flex align-items-center p-4"},I={class:"flex-grow-1"},U={class:"nav flex-shrink-0"},Y=F({__name:"index",setup(J){const o=L(),{page:p,perPage:d,pageNumbers:x,toPage:C,total:f}=G(),n=_(()=>(o.query.cid??"-1")=="-1"?null:+(o.query.cid??"0")),g=_(()=>o.query.client_id??null),{wrapAsyncCall:l}=$(),{data:K}=u(async()=>{const{posts:e}=await l(()=>i("/posts",{perPage:1e6,sticky:!0,showed:!0,sort:"sticky_priority",type:"faq",category_id:n.value}));return e},{watch:[n]},"$3WrGGHbU0_"),{data:h}=u(async()=>{const{posts:e,total:s}=await l(()=>i("/posts",{page:p.value,perPage:d.value,sticky:!1,showed:!0,category_id:n.value,type:"faq",client_only:g.value}));return{posts:e,total:s}},{watch:[p,d,n,g]},"$6Fp7zB1RPi"),{data:P}=u(async()=>await l(()=>i("posts-category").then(e=>e.filter(s=>s.type=="faq"))),"$m87351mH9j"),{data:b}=u(async()=>await l(()=>i("/client/public")),"$ZeFj7R17Y4"),A=_(()=>{var e;return(e=h.value)==null?void 0:e.posts});M(h,e=>f.value=(e==null?void 0:e.total)??0);const N=e=>{q({name:"faq",query:{...o.query,cid:e,page:1}})},j=e=>{q({query:{...o.query,client_id:e,page:1}})};return(e,s)=>{const v=z,B=H;return y(),m("div",V,[t("div",W,[s[1]||(s[1]=t("h1",{class:"article-header text-center"},"FAQ",-1)),c(Q,{"selected-client":g.value,clients:a(b)??[],categories:a(P)??[],"selected-category":n.value,onSelectCategory:N,onSelectClient:j,allTitle:"All articles"},null,8,["selected-client","clients","categories","selected-category"]),t("div",Z,[(y(!0),m(S,null,T(A.value,r=>(y(),m("div",E,[t("div",I,[c(v,{to:{name:"single-faq",params:{slug:r.slug}}},{default:w(()=>[t("h2",null,k(r.title),1)]),_:2},1032,["to"]),t("p",null,k(a(R)(r.content,200)),1)]),t("div",U,[c(v,{to:{name:"single-faq",params:{slug:r.slug}}},{default:w(()=>s[0]||(s[0]=[t("svg",{width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M25 5C36.0457 5 45 13.9543 45 25C45 36.0457 36.0457 45 25 45C13.9543 45 5 36.0457 5 25C5 13.9543 13.9543 5 25 5Z",stroke:"#4A50C6","stroke-width":"10","stroke-miterlimit":"10","stroke-linejoin":"bevel","stroke-dasharray":"1 3"}),t("path",{d:"M20.286 25.0002H29.714M29.714 25.0002L25 20.2861M29.714 25.0002L25 29.7142",stroke:"black","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),_:2},1032,["to"])])]))),256))]),c(B,{page:a(p),perPage:a(d),pageNumbers:a(x),total:a(f),onToPage:a(C),class:"mt-6"},null,8,["page","perPage","pageNumbers","total","onToPage"])])])}}}),ae=D(Y,[["__scopeId","data-v-b20acda6"]]);export{ae 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.