PageSourceSearch

https://andalusiaksa.com/_nuxt/CzqplAXb.js

js andalusiaksa.com collected 2026-10-09 05:16:21 UTC 2,508 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C0t3397Z.js","./1d5GO-a5.js","./entry.B6UX6uhr.css","./DzcaEV3W.js","./CxWQqcyX.js","./BSjtgMDc.js","./XfQF6peo.js"])))=>i.map(i=>d[i]);
2import{s as q,u as C,a as F,r as n,w as I,c as T,b as f,d as h,e as L,f as s,g as p,h as P,i as w,j as _,_ as l,o as r}from"./1d5GO-a5.js";import{u as B}from"./C2KVriA4.js";import{u as O}from"./Dy_40vUN.js";const R=_(()=>l(()=>import("./C0t3397Z.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(t=>t.default||t)),b=_(()=>l(()=>import("./DzcaEV3W.js"),__vite__mapDeps([3,1,2]),import.meta.url).then(t=>t.default||t)),N=_(()=>l(()=>import("./CxWQqcyX.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(t=>t.default||t)),Q=_(()=>l(()=>import("./BSjtgMDc.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(t=>t.default||t)),$=_(()=>l(()=>import("./XfQF6peo.js"),__vite__mapDeps([6,1,2]),import.meta.url).then(t=>t.default||t)),j={class:"bg-white py-5 lg:py-10"},M={class:"container mx-auto px-5 xl:px-20"},G={key:0,class:""},H={key:1,class:"flex w-full items-center justify-center mt-6"},J={class:"hidden rtl:flex"},K={class:"hidden ltr:flex"},Z={__name:"faqs",async setup(t){let g,v;q("static-page");const{t:U}=C(),E=F(),o=n([]),y=n({}),m=n({}),c=n(1),i=n(!1),x=async(a=1,u=!1)=>{try{i.value=!0;const{data:e}=await E.get(`/api/settings/faqs?paginate=true&limit=20&page=${a}`);if(e&&e.data){const d=e.data.data||[];u?o.value=[...o.value,...d]:o.value=d,y.value=e.data.seo_data||{},m.value={last_page:e.data.last_page||1,current_page:e.data.current_page||1,total:e.data.total||0}}}catch(e){console.error("Error fetching FAQs:",e)}finally{i.value=!1}};[g,v]=I(()=>x(1,!1)),await g,v();const S=()=>{const a=m.value?.last_page||1;c.value+1>a||(c.value+=1,x(c.value,!0))},k=T(()=>{const a=m.value?.last_page||1,u=c.value;return a>1&&u<a});B({seoData:y});const{updatePageSlugs:z}=O();return z({slug_ar:"الأسئلة-الشائعة",slug_en:"faqs"}),(a,u)=>{const e=R,d=b,A=N,D=Q,V=$;return r(),f("div",j,[h("div",M,[s(o)?.length>0?(r(),f("div",G,[p(e,{faq:s(o),"has-title":!1},null,8,["faq"]),s(i)&&s(o)?.length?(r(),L(d,{key:0})):P("",!0),s(k)&&!s(i)?(r(),f("div",H,[p(D,{class:"!py-2 rtl:flex-row-reverse",text:a.$t("view-more"),onClick:S},{"icon-left":w(()=>[h("div",J,[p(A,{class:"stroke-0 rotate-180"})])]),"icon-right":w(()=>[h("div",K,[p(A,{class:"stroke-0"})])]),_:1},8,["text"])])):P("",!0)])):(r(),L(V,{key:1,"custom-title":a.$t("noFaqsAvailable")},null,8,["custom-title"]))])])}}};export{Z 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.