1import{_ as N}from"./31nY_Pv6.js";import{u as f,a as V,_ as q}from"./DUpExT3s.js";import{_ as z}from"./BLRUKKk8.js";import{d as C,c as g,o,f as d,C as v,v as c,x as w,h as n,g as P,y as M,G as W,_ as A,a as U,w as I,r as $,A as D,W as G,F as X,B as E,z as J,L as B,i as O,H as Q}from"./tP_neK1T.js";import{u as Y}from"./B6_m7RZ8.js";import"./DjxsCAPF.js";import"./CFGQ3OJB.js";import"./BGrOwa8j.js";const K=""+new URL("enterprise-greece.BaGV5I9T.png",import.meta.url).href,Z={class:"flex lg:flex-row flex-col gap-8 lg:gap-24 rounded-2xl bg-slate-100 px-6 lg:px-11 py-7 lg:py-12 font-manrope"},tt={key:1,src:K,width:"690",height:"428",alt:"",class:"object-contain flex-shrink-0 lg:max-w-[20rem] lg:w-1/3"},et={class:"flex gap-6 flex-col justify-between grow"},at={class:"flex flex-col gap-[14px] lg:gap-6"},nt={class:"text-paragraph-m lg:text-paragraph text-neutral-600"},st=["innerHTML"],ot=["innerHTML"],rt=C({__name:"ResultsItem",props:{data:Object},setup(s){const t=s,l=g(()=>{var e;return(e=t.data)==null?void 0:e.title}),b=g(()=>{var e;return(e=t.data)==null?void 0:e.title}),i=e=>e.substring(0,10);return(e,k)=>{var _,r,p;const y=z,u=A;return o(),d("div",Z,[(_=s.data)!=null&&_.featured_media?(o(),v(y,{key:0,image:(r=s.data)==null?void 0:r.featured_media,class:"[&>img]:object-contain lg:[&>img]:max-w-[20rem] lg:[&>img]:w-1/3 flex-shrink-0"},null,8,["image"])):(o(),d("img",tt)),c("div",et,[c("div",at,[c("p",nt,w(i(((p=s.data)==null?void 0:p.date)||"")),1),c("h2",{class:"text-h4-m lg:text-h4 text-neutral-950",innerHTML:n(l)},null,8,st),c("div",{class:"text-paragraph-m lg:text-paragraph text-neutral-700",innerHTML:n(b)},null,8,ot)]),P(u,{to:`${s.data.url}`,class:"size-lg self-end"},{default:M(()=>[W(w(e.$t("read_more")),1)]),_:1},8,["to"])])])}}}),ct={class:"px-3.5 py-20 space-y-20"}
1,lt={class:"max-w-screen mx-auto space-y-15"},it={key:0,class:"mt-3 error max-w-screen mx-auto flex gap-1.5 lg:gap-7 items-center px-2.5 py-3 lg:px-11 lg:py-3 relative z-20"},L=C({__name:"search",async setup(s){let t,l;const b=O(),i=U({useScope:"local"}),{t:e}=i;[t,l]=I(()=>i.finalizePendingLocaleChange()),await t,l();const k=g(()=>`${b.public.apiBase}/wp-json/wp/v2/search/`),y=$(1),u=D("totalItems",()=>1),_=f("page","1"),r=g({get:()=>parseInt(_.value),set:a=>{_.value=a.toString()}}),{data:p}=([t,l]=I(()=>Y(k,{query:{acf_format:"standard",per_page:25,page:r,lang:i.locale,search:f("q")},onResponse({response:a}){var m,h;y.value=parseInt(((m=a==null?void 0:a.headers)==null?void 0:m.get("X-WP-TotalPages"))||"1"),u.value=parseInt(((h=a==null?void 0:a.headers)==null?void 0:h.get("X-WP-Total"))||"0")}},"$FS6C8xp6JY")),t=await t,l(),t);G();const T=$("");T.value=f("q").value||"";const F=g(()=>[{title:e("searchResults")+": "+f("q").value,resolved_path:"search"}]);return(a,m)=>{const h=N,S=V,j=rt,H=q;return o(),d("main",null,[P(h,{title:a.$t("searchResults")},null,8,["title"]),P(S,{breadcrumbs:n(F)},null,8,["breadcrumbs"]),c("div",ct,[c("div",lt,[(o(!0),d(X,null,E(n(p),x=>(o(),v(j,{key:x.id,data:x},null,8,["data"]))),128)),n(u)>25?(o(),v(H,{key:0,"current-page":n(r),"total-items":n(u),"per-page":25,"onUpdate:currentPage":m[0]||(m[0]=x=>J(r)?r.value=x:null)},null,8,["current-page","total-items"])):B("",!0)]),n(p).length?B("",!0):(o(),d("div",it,w(n(e)("notFound")),1))])])}}});function R(s){const t=s;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{el:{search:{t:0,b:{t:2,i:[{t:3}],s:"ÎναζήÏηÏη"}},notFound:{t:0,b:{t:2,i:[{t:3}],s:"Îεν βÏÎθηκαν αÏοÏελÎÏμαÏα. ΠαÏÎ±ÎºÎ±Î»Ï Î´Î¿ÎºÎ¹Î¼Î¬ÏÏε ξανά."}}},en:{search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},notFound:{t:0,b:{t:2,i:[{t:3}],s:"No matches. Please try again."}}}}})}typeof R=="function"&&R(L);
1const ft=Q(L,[["__scopeId","data-v-902b8994"]]);export{ft 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.