PageSourceSearch

https://greeklegend.gr/_nuxt/CxpHFmIR.js

js greeklegend.gr collected 2026-10-07 18:06:23 UTC 11,230 bytes, 1 lines download raw bytes

1import{_ as X,I as ee,a as n,c as u,b as e,t as o,f as k,g as E,j as te,T as se,w as ie,h as A,J as oe,u as s,K as ae,r as p,l as ce,L as le,m as ne,p as re,q,o as ue,s as _e,n as T,F as C,d as w,x as de,y as W,G as he,e as pe,A as ge}from"./B0eYydTV.js";import{O as me}from"./DD43T435.js";import{g as Z,S as fe}from"./B2uKOqL4.js";import{V as P}from"./DOLO1TKq.js";import{p as ve}from"./VC2j3Pxu.js";const Ce=""+new URL("oneLineLogoWhite.17a4lps9.svg",import.meta.url).href,we="data:image/svg+xml,%3csvg%20width='298'%20height='124'%20viewBox='0%200%20298%20124'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M57.5664%2037.9168H45.0746V27.4408H71.2466V55.7728H60.7705V47.7448C57.8545%2053.6848%2052.3104%2056.7448%2043.8144%2056.7448C28.4064%2056.7448%2018.3266%2045.1888%2018.3266%2028.7728C18.3266%2012.5368%2029.6666%200.800781%2045.7586%200.800781C58.9346%200.800781%2069.0866%208.36078%2070.7786%2020.4568L57.4586%2020.9968C56.3786%2015.0568%2051.7705%2011.4568%2045.6865%2011.4568C37.0465%2011.4568%2031.6824%2018.2248%2031.6824%2028.7728C31.6824%2039.5728%2036.8305%2046.1968%2045.6865%2046.1968C51.4825%2046.2328%2056.1264%2043.1368%2057.5664%2037.9168Z'%20fill='white'/%3e%3cpath%20d='M112.611%2034.5328L125.714%2055.8088H111.314L100.227%2037.0888H91.0106V55.8088H78.2304V1.88078H105.518C116.678%201.88078%20124.166%209.11677%20124.166%2019.3048C124.166%2026.4328%20119.703%2031.9768%20112.611%2034.5328ZM103.611%2026.4328C107.931%2026.4328%20111.098%2023.5888%20111.098%2019.4848C111.098%2015.3088%20107.931%2012.3928%20103.611%2012.3928H91.0106V26.3968H103.611V26.4328Z'%20fill='white'/%3e%3cpath%20d='M131.079%201.88078H171.291V13.0408H144.039V22.9768H169.166V33.7768H144.039V44.6488H171.686V55.8088H131.079V1.88078Z'%20fill='white'/%3e%3cpath%20d='M177.591%201.88078H217.803V13.0408H190.551V22.9768H215.679V33.7768H190.551V44.6488H218.199V55.8088H177.591V1.88078Z'%20fill='white'/%3e%3cpath%20d='M224.102%201.88078H237.027V23.3008L256.898%201.88078H272.847L248.366%2027.5488L273.17%2055.8088H256.934L237.063%2033.3808V55.8088H224.102V1.88078Z'%20fill='white'/%3e%3cpath%20d='M13.3586%2068.8408V111.429H37.2626V122.769H0.398438V68.8408H13.3586Z'%20fill='white'/%3e%3cpath%20d='M43.4906%2068.8408H83.7025V80.0008H56.4505V89.9368H81.5786V100.737H56.4505V111.609H84.0984V122.769H43.4906V68.8408Z'%20fill='white'/%3e%3cpath%20d='M125.966%20104.877H113.475V94.4008H139.647V122.733H129.171V114.705C126.255%20120.645%20120.71%20123.705%20112.214%20123.705C96.8064%20123.705%2086.7266%20112.149%2086.7266%2095.7328C86.7266%2079.4968%2098.0666%2067.7608%20114.159%2067.7608C127.335%2067.7608%20137.487%2075.3208%20139.179%2087.4168L125.859%2087.9568C124.779%2082.0168%20120.17%2078.4168%20114.086%2078.4168C105.446%2078.4168%20100.082%2085.1848%20100.082%2095.7328C100.082%20106.533%20105.23%20113.157%20114.086%20113.157C119.882%20113.193%20124.526%20110.097%20125.966%20104.877Z'%20fill='white'/%3e%3cpath%20d='M146.343%2068.8408H186.555V80.0008H159.302V89.9368H184.43V100.737H159.302V111.609H186.95V122.769H146.343V68.8408Z'%20fill='white'/%3e%3cpath%20d='M192.855%20122.733V68.8048H207.866L229.647%20106.245V68.8048H241.202V122.733H226.118L204.411%2085.3648V122.733H192.855Z'%20fill='white'/%3e%3cpath%20d='M247.539%20122.733V68.8048H270.723C286.275%2068.8048%20297.363%2079.8928%20297.363%2095.7688C297.363%20111.573%20286.275%20122.733%20270.723%20122.733H247.539ZM269.966%20112.113C278.678%20112.113%20284.366%20105.813%20284.366%2095.7688C284.366%2085.7608%20278.679%2079.4248%20269.895%2079.4248H260.498V112.077H269.966V112.113Z'%20fill='white'/%3e%3c/svg%3e",He={class:"card"},Ve={class:"card-front__title"},ke=["src","alt"],xe={class:"card-front__title-h6 caption"},be={class:"card-front__text greek-caption"},ye={class:"card-back desktop"},Se={class:"card-back-row"},Te=["src","alt"],Le={class:"card-back__title caption"},Ie={class:"card-back__text antique"},$e={class:"card-popup mobile"},Me={class:"card-popup__icon"},Oe=["src","alt"],Be={class:"card-popup__icon-h6 caption"},qe={class:"card-popup__text greek-caption"},We={class:"card-popup__content"},Ze={class:"card-popup__content-row"},Pe=["src","alt"],Ee={class:"card-popup__content-text antique"},Ae={__name:"PagesEssenceCard",props:{title:{type:String,require:!0},text:{type:String,require:!0},iconWhite:{type:String,require:!0},iconBrown:{type:String,require:!0},reversedTitle:{type:String,require:!0},reversedImg:{type:String,require:!0},reversedText:{type:String,require:!0},customClass:{type:String,default:""},lastChild:{type:Boolean,default:!1}},setup(a){const _=ee(),h=p(!1);function r(){h.value=!0,_.changeIsPopupOpen(!0)}function H(){h.value=!1,_.changeIsPopupOpen(!1)}return(L,f)=>{const v=ae;return n(),u("div",He,[e("div",{class:"card-front",onClick:r},[e("div",Ve,[e("img",{class:"card-front__title-img",src:a.iconWhite,alt:a.title},null,8,ke),e("h6",xe,o(a.title),1)]),e("div",be,o(a.text),1),f[0]||(f[0]=e("div",{class:"card-front__basement antique"}," Hover over the card for more information ",-1))]),e("div",ye,[e("div",Se,[e("img",{class:"card-back__img",src:a.reversedImg,alt:a.reversedTitle}
1,null,8,Te),e("p",Le,o(a.reversedTitle),1)]),e("div",Ie,o(a.reversedText),1)]),k(v,null,{default:E(()=>[(n(),te(se,{to:"#root"},[ie(e("div",$e,[e("div",{class:"card-popup__close",onClick:H},[...f[1]||(f[1]=[e("svg",{class:"card-popup__close-img",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M1 1L11 11M21 21L11 11M11 11L21 1L1 21",stroke:"#2C2C2C"})],-1)])]),e("div",Me,[e("img",{class:"card-popup__icon-img",src:a.iconBrown,alt:a.title},null,8,Oe),e("h6",Be,o(a.title),1)]),e("p",qe,o(a.text),1),e("div",We,[e("div",Ze,[e("img",{class:"card-popup__content-row-img",src:a.reversedImg,alt:a.reversedTitle},null,8,Pe),e("h5",{class:"card-popup__content-row-title caption pre-line",style:A({"margin-top":a.lastChild?"2.933vw":0})},o(a.reversedTitle),5)]),e("p",Ee,o(a.reversedText),1)])],512),[[oe,s(h)]])]))]),_:1})])}}},De=X(Ae,[["__scopeId","data-v-267657bd"]]),Fe={class:"section hero"},Ne={class:"hero__basement"},Ue={class:"hero__basement-p caption"},Ge={class:"title h2-smallcaps"},Re={class:"culture-content desktop"},ze={class:"culture__left"},Ye=["src","alt"],je={class:"culture__center"},Je={class:"culture__center-list"},Ke=["onClick"],Qe={class:"culture__right"},Xe={class:"culture__right-p antique"},et={class:"culture-content mobile"},tt={class:"culture__accordion"},st=["onClick"],it=["src","alt"],ot={class:"culture__accordion-item-texts"},at={class:"section final"},ct={class:"final__left"},lt={class:"final__left-main"},nt={class:"final__left-subtitle caption"},rt={class:"final__left-title h1"},ut={class:"final__left-list"},mt={__name:"index",async setup(a){let _,h;Z.registerPlugin(fe);const r=ce(),H=le(),L=ne(),f=de(),{locale:v}=re(),g=f.public.api_route,I=p(),$=p(),M=p(),x=p(),D=p(),F=p(),{data:N}=([_,h]=q(()=>W("essence-page",()=>$fetch(g+`/api/essence?populate=deep&locale=${v.value}`),{watch:[v]})),_=await _,h(),_),m=N.value.data.attributes,U=m.subtitle,G=m.textUnderIcon,b=[];m.card.forEach(t=>{const d={title:t.cardName,text:t.cardTitle,iconWhite:g+t.svgIconWhite.data.attributes.url,iconBrown:g+t.svgIconBrown.data.attributes.url,reversed:{title:t.backTitle,img:g+t.backImg.data.attributes.url,text:t.backText}};b.push(d)});const l=he([]);m.cultureItem.forEach(t=>{const d={title:t.title,img:g+t.img.data.attributes.url,texts:t.paragraph.map(y=>y.text),isOpen:!1};l.push(d)});const V=p(0);function R(t){V.value=t}function z(t){l[t].isOpen=!l[t].isOpen}const{data:Y}=([_,h]=q(()=>W("family-page-s",()=>$fetch(g+`/api/family-pages?populate=deep&locale=${v.value}`),{watch:[v]})),_=await _,h(),_),j=m.finalSection.title,J=m.finalSection.textAboveTitle,K=g+m.finalSection.img.data.attributes.url,O=[];Y.value.data.forEach(t=>{O.push({name:t.attributes.name,link:"/"+t.attributes.name.toLowerCase()})}),ue(()=>{document.querySelectorAll(".card").forEach(t=>{Z.to(t,{scrollTrigger:{trigger:t,start:"top center",scrub:!0},y:P(10.417)})}),r.changeLogoShow(!1),r.changeCanHeaderChange(!1),r.changeColorToWhite(!0),I.value.forEach((t,d)=>{l[d].height=ve(t.scrollHeight+5.33)}),M.value=$.value.offsetHeight,D.value=x.value.offsetTop,window.addEventListener("scroll",B)}),_e(()=>{window.removeEventListener("scroll",B)});function B(){window.pageYOffset>M.value?(r.changeLogoShow(!0),r.changeColorToWhite(!0),window.pageYOffset+P(H.getIsDesktop?3.125:13.33)>x.value.offsetTop?(r.changeCanHeaderChange(!0),r.changeColorToWhite(!1)):r.changeCanHeaderChange(!1)):(r.changeLogoShow(!1),r.changeColorToWhite(!0))}return(t,d)=>{const y=ge;return n(),u("main",null,[e("section",Fe,[e("div",{class:"hero__title",ref_key:"section",ref:$},[d[0]||(d[0]=e("h1",{class:"hero__title-h1"},[e("img",{class:"hero__title-h1-img desktop",src:Ce,alt:"Greek Legend"}),e("img",{class:"hero__title-h1-img mobile",src:we,alt:"Greek Legend"})],-1)),e("h2",{class:T(["hero__title-h2",{"h2-smallcaps":s(H).getIsDesktop,"greek-caption":!s(H).getIsDesktop}])},o(s(U)),3)],512),e("div",Ne,[k(me,{class:"hero__basement-img",color:"#fff"}),e("p",Ue,o(s(G)),1)]),e("div",{class:"hero__cards",ref_key:"cardsContainer",ref:F},[(n(),u(C,null,w(b,(i,c)=>k(De,{class:"hero__cards-item",title:i.title,img:i.img,text:i.text,key:c,iconWhite:i.iconWhite,iconBrown:i.iconBrown,reversedTitle:i.reversed.title,reversedImg:i.reversed.img,reversedText:i.reversed.text,lastChild:c===b.length-1,heightVw:i.reversed.heightVw},null,8,["title","img","text","iconWhite","iconBrown","reversedTitle","reversedImg","reversedText","lastChild","heightVw"])),64))],512)]),e("section",{class:"section culture",ref_key:"culture",ref:x},[e("h2",Ge,o(t.$t("essence-page.culture")),1),e("div",Re,[e("div",ze,[e("img",{class:"culture__left-img",src:s(l)[s(V)].img,alt:s(l)[s(V)].title},null,8,Ye)]),e("div",je,[e("div",Je,[(n(!0),u(C,null,w(s(l),(i,c)=>(n(),u("p",{class:T(["culture__center-list-item caption",{"culture__center-list-item-active":s(V)===c}]),onClick:S=>R(c)}," ("+o(c+1)+") "+o(i.title),11,Ke))),256))])]),e("div",Qe,[(n(!0),u(C,null,w(s(l)[s(V)].texts,(i,c)=>(n(),u("p",Xe,o(i),1))),256))])]),e("div",et,[e("ul",tt,[(n(!0),u(C,null,w(s(l),(i,c)=>(n(),u("li",{class:T(["culture__accordion-item",{"culture__accordion-item-active":s(l)[c].isOpen}]),key:c},[e("p",{class:"culture__accordion-item-header caption",onClick:S=>z(c)}," ("+o(c+1)+") "+o(i.title),9,st),e("div",{class:"culture__accordion-item-content",ref_for:!0,ref_key:"accordionItemContent",ref:I,style:A({height:s(l)[c].isOpen?s(l)[c].height+"vw":0})},[e("img",{class:"culture__accordion-item-img",src:s(l)[c].img,alt:s(l)[c].title},null,8,it),e("div",ot,[(n(!0),u(C,null,w(i.texts,(S,Q)=>(n(),u("p",{class:"culture__accordion-item-texts-p antique",key:Q},o(S),1))),128))])],4)],2))),128))])])],512),e("section",at,[e("div",ct,[d[1]||(d[1]=e("div",null,null,-1)),e("div",lt,[e("h6",nt,o(s(J)),1),e("h3",rt,o(s(j)),1)]),e("div",ut,[(n(),u(C,null,w(O,(i,c)=>k(y,{key:c,to:s(L)(i.link),class:"final__left-list-farmer link underline",title:i.name},{default:E(()=>[pe(o(i.name),1)]),_:2},1032,["to","title"])),64))])]),e("div",{class:"final__right"},[e("img",{class:"final__right-img",src:K,alt:"Bottle"})])])])}}};export{mt 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.