PageSourceSearch

https://eyca.org/_nuxt/CxXo7igc.js

js eyca.org collected 2026-09-24 09:25:34 UTC 15,654 bytes, 1 lines download raw bytes

1import{A as e,B as t,Ht as n,L as r,U as i,_ as a,_t as o,at as s,d as c,f as l,ft as u,it as d,j as f,l as p,nt as m,p as h,r as g,u as _,v,wt as y,x as b,y as x}from"./DI4ZtFqE.js";import{r as S}from"./DBtGYvVG.js";import{r as ee}from"./BjQHMBSA.js";import{t as C}from"./DIMBb9ya.js";import{N as w,S as te,T,c as E,l as D,n as ne,s as O,w as k}from"#entry";import{t as A}from"./BDNMzG2s.js";import{n as j}from"./2bcleL9r.js";import{t as M}from"./AKZ84UdK.js";import{t as N}from"./B7iCb2jd.js";import{t as P}from"./B7t6Vz-L.js";import{t as re}from"./DG1U4MF8.js";import{t as F}from"./CKud9ff8.js";import{t as I}from"./-jaD23jQ.js";import{n as L}from"./DXnAC9n_.js";import{t as R}from"./CVo-OsPM.js";import{t as z}from"./D8DG80gO.js";import{t as B}from"./DnZKxU17.js";import{t as V}from"./DJcIigWY.js";import{t as H}from"./DK4JHZ9J.js";import{t as U}from"./TdA4LCmU.js";var W=S(`/img/home/map_home-east-transparent.webp`),G={class:`bg-white w-full max-h-75 rounded-[17px] overflow-hidden flex flex-row justify-center relative`},K={key:0,class:`absolute inset-0 bg-gray-100 animate-pulse`},q=Object.assign(b({__name:`EPartner`,props:{name:{},image:{}},setup(e){let i=e,a=o(!1),s=o(!1),c=o(null),u=e=>{a.value=e},d=()=>{s.value=!0},g=()=>{c.value?.complete&&(s.value=!0)};m(()=>i.image,async e=>{s.value=!e,await f(),g()},{immediate:!0}),r(()=>{g()});let v=p(()=>[{"rounded-[17px] max-w-75 mx-auto":!0,"bg-pink-500":a.value,"bg-white":!a.value}]);return(e,r)=>{let a=O;return t(),h(`article`,{class:n(y(v)),onMouseenter:r[0]||=e=>u(!0),onMouseleave:r[1]||=e=>u(!1)},[_(`div`,G,[y(s)?l(``,!0):(t(),h(`div`,K)),x(a,{ref_key:`imageRef`,ref:c,src:i.image,alt:`${i.name} logo`,loading:`lazy`,decoding:`async`,class:n([`w-full h-full object-contain transition-opacity duration-200`,y(s)?`opacity-100`:`opacity-0`]),onLoad:d,onError:d},null,8,[`src`,`alt`,`class`])])],34)}}}),{__name:`CommonCardEPartner`}),J=[{id:`european-commission`,name:`European Commission`,img:`/img/partner/european_commission.webp`},{id:`council-of-europe`,name:`Council of Europe`,img:`/img/partner/council_of_europe.webp`},{id:`european-parliament`,name:`European Parliament`,img:`/img/partner/european_parliament.webp`},{id:`eurodesk-and-eryica`,name:`Eurodesk`,img:`/img/partner/eurodesk.webp`},{id:`eryica`,name:`ERYICA`,img:`/img/partner/eryica.webp`},{id:`hostelling-international`,name:`Hostelling International`,img:`/img/partner/hostelling_international.webp`}],Y=[{id:`1-default`,img:`1-default`},{id:`2-sardinia`,img:`2-sardinia`},{id:`3-georgia`,img:`3-georgia`},{id:`4-germany`,img:`4-germany`},{id:`5-andorra`,img:`5-andorra`},{id:`6-greece`,img:`6-greece`},{id:`7-andalusia`,img:`7-andalusia`},{id:`8-montenegro`,img:`8-montenegro`},{id:`9-malta`,img:`9-malta`},{id:`10-luxembourg`,img:`10-luxembourg`},{id:`11-estonia`,img:`11-estonia`}],X={};function Z(e,n){let r=F;return t(),h(`div`,null,[x(r,{src:`/img/home/background.webp`,width:`630`,height:`630`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`absolute -top-20 -left-5`})])}var ie=Object.assign(A(X,[[`render`,Z]]),{__name:`BackgroundsBgHome`}),ae={class:`relative mt-70 md:mt-40 lg:mt-20`},oe={class:`absolute top-[116px] left-[32px] md:top-[208px] md:-left-[40px] center w-[480px] md:w-[600px]`},se=Object.assign(b({__name:`EHomeCarousel`,setup(n){let{settings:r}=E(),i=p(()=>r.value.pauseAnimations?0:3e3),a=p(()=>[`flex flex-row translate3d`]),o=p(()=>[`flex flex-row gap-[8px]`]),l=p(()=>[`overflow-hidden w-full mx-[136px] md:mx-[140px] rotate-[12.5deg]`]),u=p(()=>[`flex flex-col overflow-hidden`]),d=p(()=>[`flex-grow flex-shrink-0 basis-1/1`]);return(n,r)=>{let f=F,p=O,m=j;return t(),h(`div`,ae,[x(ie,{class:`absolute top-0 left-1/2 -translate-x-1/2 w-[400px] h-[400px] md:w-[630px] md:h-[600px]`}),x(f,{src:`img/concrete/home/base.webp`,width:`1000`,height:`1000`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`absolute top-0 left-1/2 -translate-x-1/2 w-[300px] h-[300px] md:w-[500px] md:h-[500px]`}),_(`div`,oe,[(t(),c(m,{key:y(i),value:y(Y),"num-visible":1,"num-scroll":1,circular:``,"autoplay-interval":y(i),"show-indicators":!1,pt:{root:{class:`flex flex-col`},contentContainer:{class:y(u)},content:{class:y(o)},itemList:{class:y(a)},item:{class:y(d)},itemClone:{class:y(d)},viewport:{class:y(l)},pcPrevButton:{class:`rounded-full bg-black w-11 h-11`},pcNextButton:{class:`rounded-full bg-black w-11 h-11`}}},{item:s(t=>[_(`div`,e({class:`py-[20px] w-[116px] md:w-[196px] mx-auto`},t),[x(p,{src:`/img/concrete/home/screen/${t.data.img}.webp`,alt:`European Youth Card design`,width:`185`,height:`100`,class:`w-[185px] h-[100px]`},null,8,[`src`])],16)]),previcon:s(()=>[x(N,{icon:`ri-arrow-left-s-line mt-[80px] md:mt-[160px]`,size:`large`,severity:`black`,cir
1cle:``})]),nexticon:s(()=>[x(N,{icon:`ri-arrow-right-s-line mt-[80px] md:mt-[160px]`,size:`large`,severity:`black`,circle:``})]),_:1},8,[`value`,`autoplay-interval`,`pt`]))]),x(f,{src:`img/concrete/home/hands.webp`,width:`750`,height:`1000`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`absolute top-0 left-1/2 -translate-x-1/2 w-[calc(300px/4*3)] h-[300px] md:w-[calc(500px/4*3)] md:h-[500px]`})])}}}),{__name:`HomeEHomeCarousel`}),ce={class:`overflow-hidden`},le={class:`flex flex-col gap-3 text-right container relative overflow-x-clip`},ue={class:`absolute md:block w-[600px] hidden right-0 z-50`},de={class:`md:pt-80 self-center lg:pt-60 w-full lg:w-74 lg:mr-10 lg:self-end z-10`},fe={class:`bg-gray-100 px-5 pb-20`,"aria-labelledby":`home-why-heading`},pe={class:`container relative`},me={key:0,class:`flex flex-row items-center justify-center h-[465px] w-full`},he={class:`p-5 w-full max-w-75 mx-auto`},ge={class:`w-full flex`},_e={key:0,class:`a11y-top-ten-card bg-white rounded-[17px] py-16 mt-20 relative mx-4 sm:mx-20 lg:mx-44`},ve={key:1,class:`a11y-top-ten-card bg-white rounded-[17px] py-16 mt-20 relative sm:mx-20 lg:mx-44`},ye={class:`container grid grid-cols-1 lg:grid-cols-2 relative lg:pt-10 overflow-x-clip`,"aria-labelledby":`home-card-heading`},be={key:0,class:`absolute -z-1 -top-60 right-1/2 translate-x-1/2 lg:translate-x-0 lg:right-0 overflow-hidden`},xe={class:`hidden lg:flex items-center justify-center`},Se={class:`lg:text-left flex flex-col items-center lg:items-start`},Ce={class:`max-w-86 mb-10 mt-50 lg:my-30 relative`},we={class:`absolute lg:hidden -top-42 z-5 left-5`},Te={class:`bg-pink-500 z-10 relative`,"aria-labelledby":`home-news-heading`},Ee={class:`container`},De={class:`text-white font-sans text-2xl max-w-124 mx-auto text-center relative pb-10`},Oe={class:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 grid-items-center gap-5 py-10 px-5`},Q={class:`text-center lg:text-left`},ke={class:`container hidden relative lg:block`},Ae={class:`absolute -top-50 right-0 z-5 max-w-[550px]`},je={class:`bg-white`,"aria-labelledby":`home-partners-heading`},Me={class:`container px-5`},Ne={class:`p-5 w-full`},$=`The European Youth Card unlocks thousands of discounts and opportunities across Europe for young people.`,Pe=b({__name:`index`,async setup(e){let n,f,b=L(),S=U(),E=H(),O=I();[n,f]=d(()=>te(`top-ten-discounts:active-season`,()=>S.fetchActiveSeason(),{mode:`navigation`})),await n,f();let A=p(()=>S.activeSeason);ee({title:`Home`,description:$,ogTitle:`European Youth Card`,ogDescription:$,ogImage:`/img/concrete/excited.webp`,twitterTitle:`European Youth Card`,twitterDescription:$,twitterImage:`/img/concrete/excited.webp`});let{category:j,discounts:N,loading:G}=w(b),{recentPosts:K}=w(E),{debounce:Y}=R(),X=p(()=>K.value.slice(0,3)),Z=o(!1);return j.value=``,b.country=``,b.region=``,b.keyword=``,b.online=!1,b.page=[1],N.value={},k(`home-data`,async()=>(await Promise.all([b.fetchDiscountData(),b.fetchFormData(),O.fetchCountries(),E.fetchRecentPosts(`index`)]),!0),{server:!1}),m(j,()=>{Y(async()=>{N.value={},await b.fetchDiscountData()},800)},{deep:!1}),r(()=>{Z.value=!0}),(e,n)=>{let r=T,o=C,d=F;return t(),h(`div`,ce,[_(`header`,le,[n[1]||=_(`div`,{class:`top-5`},[_(`h1`,{class:`text-6xl text-left pl-10 pt-10 font-bold max-w-96 md:max-w-114 md:text-8xl`},`ONE CARD, MANY FACES`),_(`ul`,{class:`text-2xl font-sans text-left pl-10 pt-10`},[_(`li`,null,[_(`strong`,null,`+25K`),v(` discounts `)]),_(`li`,null,[_(`strong`,null,`+9M`),v(` cardholders `)]),_(`li`,null,[_(`strong`,null,`34`),v(` countries `)])])],-1),x(r,null,{default:s(()=>[_(`div`,ue,[x(se)])]),_:1}),_(`div`,de,[x(ne,{full:``})])]),n[17]||=_(`div`,{class:`divider bg-[url(/img/divider/home_start.svg)] h-[280px] bg-bottom-right scale-x-[1.5] -mt-40`},null,-1),_(`section`,fe,[n[8]||=a(`<div class="container relative"><div class="lg:absolute lg:-top-20 lg:left-10 text-center lg:text-left"><div class="flex flex-col lg:flex-row container py-8 gap-8"><h2 id="home-why-heading" class="text-5xl font-bold lg:max-w-96 md:text-7xl">WHY GET THE EYC?</h2></div><div class="text-2xl lg:font-normal font-sans font-semibold"><p> The European Youth Card isn’t just a card, it opens doors to discounts and experiences across Europe. Explore all the offers below. </p></div></div></div>`,1),x(z,{modelValue:y(j),"onUpdate:modelValue":n[0]||=e=>u(j)?j.value=e:null,class:`pt-64 hidden lg:flex`},null,8,[`modelValue`]),_(`div`,pe,[!y(Z)||y(G)?(t(),h(`div`,me,[(t(),h(g,null,i(4,e=>x(re,{key:e,height:`428.5px`,width:`280px`,class:`rounded-[17px] mx-5`})),64))])):(t(),c(P,{key:1,value:Object.values(y(N)),"num-visible":4,circular:``,class:`pt-10`},{item:s(({data:e})=>
1[_(`div`,he,[x(B,{id:e.id,name:e.name,vendor:e.vendor,description:``,image:e.image??e.default_image??``,"category-id":e.categories?.[0]?.id},null,8,[`id`,`name`,`vendor`,`image`,`category-id`])])]),_:1},8,[`value`])),_(`div`,ge,[x(o,{to:`/discounts`,class:`mx-auto`},{default:s(()=>[x(D,{text:`See all discounts`,class:`mx-auto`})]),_:1})]),x(o,{to:`/top_10`},{default:s(()=>[y(A)==`summer`?(t(),h(`div`,_e,[n[2]||=_(`h2`,{class:`a11y-fluid-heading text-5xl lg:text-6xl font-bold text-center pb-8 px-5 sm:px-10 lg:px-30`},`TOP 10 SUMMER DISCOUNT`,-1),n[3]||=_(`span`,{class:`lg:text-2xl font-sans text-center hidden lg:block px-30`},` Hot outside, deals inside. Discover the top 10 summer discounts in your country and enjoy every moment. `,-1),n[4]||=_(`span`,{class:`text-2xl font-sans text-center block lg:hidden px-5 sm:px-25`},`See our best seasonal discounts!`,-1),x(d,{src:`/img/concrete/inflatable.webp`,height:`500`,width:`500`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`a11y-top-ten-decoration absolute -top-10 -left-25 lg:-left-45 w-40 lg:w-80 h-auto -rotate-20`}),x(d,{src:`/img/concrete/relax.webp`,height:`500`,width:`500`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`a11y-top-ten-decoration absolute -bottom-10 lg:-bottom-15 -right-15 lg:-right-65 w-40 lg:w-96 h-auto`})])):l(``,!0),y(A)==`winter`?(t(),h(`div`,ve,[n[5]||=_(`h2`,{class:`a11y-fluid-heading text-4xl sm:text-5xl lg:text-6xl font-bold text-center pb-8 sm:px-10 px-5 lg:px-30 text-`},` TOP 10 WINTER DISCOUNT `,-1),n[6]||=_(`span`,{class:`lg:text-2xl font-sans text-center hidden lg:block px-30`},` Cold outside, deals inside. Discover the top 10 winter discounts in your country and enjoy every moment. `,-1),n[7]||=_(`span`,{class:`text-2xl font-sans text-center block lg:hidden sm:px-25 px-5`},`See our best seasonal discounts!`,-1),x(d,{src:`/img/concrete/skate.webp`,height:`300`,width:`300`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`a11y-top-ten-decoration absolute top-20 lg:top-0 -left-25 lg:-left-45 w-40 lg:w-80 h-auto -rotate-20 hidden sm:block`}),x(d,{src:`/img/concrete/mug.webp`,height:`200`,width:`200`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`a11y-top-ten-decoration absolute -top-25 lg:-top-45 -left-15 lg:left-5 w-40 lg:w-80 h-auto -rotate-20`}),x(d,{src:`/img/concrete/skis.webp`,height:`500`,width:`500`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`a11y-top-ten-decoration absolute -bottom-10 lg:-bottom-10 -right-30 lg:-right-55 w-60 lg:w-96 h-auto hidden sm:block`})])):l(``,!0)]),_:1})])]),n[18]||=_(`div`,{class:`divider bg-[url(/img/divider/home_end.svg)] h-[220px]`},null,-1),_(`section`,ye,[y(Z)?(t(),h(`div`,be,[...n[9]||=[_(`img`,{src:W,alt:``,"aria-hidden":`true`,loading:`lazy`,class:`w-auto h-auto max-w-none`},null,-1)]])):l(``,!0),_(`div`,xe,[x(d,{src:`/img/concrete/excited.webp`,width:`400`,height:`340`,alt:`Guy excited about the European Youth Card`,loading:`eager`,fetchpriority:`high`})]),_(`div`,Se,[n[10]||=_(`h2`,{id:`home-card-heading`,class:`font-bold text-5xl md:text-7xl py-10`},`GET THE CARD!`,-1),n[11]||=_(`p`,{class:`font-sans px-10 lg:px-0`},` You can get your card in two ways: through a local member organisation in your territory, or directly from our online kiosk if we’re not present. `,-1),_(`div`,Ce,[_(`div`,we,[x(d,{src:`/img/concrete/excited.webp`,width:`200`,height:`170`,alt:`Guy excited about the European Youth Card`})]),x(V)]),n[12]||=_(`div`,{class:`flex flex-col gap-5 pb-10 px-5 font-sans`},[_(`p`,null,[v(` Each European Youth Card is special. It might look different depending on the country, with various names and formats. It can be `),_(`strong`,null,`physical or digital`),v(` , and valid for 1 to 2 years. `)]),_(`p`,null,[v(` No matter the differences, the card is a `),_(`strong`,null,`tool for mobility, connection, and opportunities`),v(` for young people across Europe, and you don’t have to be a student to benefit. The card is available for anyone `),_(`strong`,null,`up to 31 years old`),v(` . Check your place of residence to explore the specifics and start enjoying your card today! `)])],-1)])]),n[19]||=_(`div`,{class:`divider bg-[url(/img/divider/home2_start.svg)] h-[130px]`},null,-1),_(`section`,Te,[_(`div`,Ee,[n[14]||=_(`h2`,{id:`home-news-heading`,class:`text-white text-5xl md:text-7xl font-bold py-8 pt-25 text-center`},`NEWS`,-1),_(`div`,De,[x(d,{src:`img/home/news-bg-left.webp`,width:`450`,height:`400`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`absolute -left-[450px] -top-[250px]`}),x(d,{src:`img/home/news-bg-right.webp`,width:`450`,height:`400`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`,class:`absolute -right-[450px] -top-[250px]`}),n[13]||=_(`p`,null,` Stay updated with the latest European Youth Card news, events, and initiatives. Something exciting might be waiting for you. `,-1)]),_(`div`,Oe,[(t(!0),h(g,
1null,i(y(X),e=>(t(),c(M,{key:e.slug,title:e.title,image:e.image,slug:e.slug,date:e.published_at},null,8,[`title`,`image`,`slug`,`date`]))),128))]),_(`div`,Q,[x(o,{to:`/news`},{default:s(()=>[x(D,{text:`GET MORE NEWS`,severity:`black`,class:`m-5`})]),_:1})])])]),n[20]||=_(`div`,{class:`divider bg-[url(/img/divider/home2_end.svg)] h-[135px] scale-x-[-1] z-10 relative`},null,-1),_(`aside`,ke,[_(`div`,Ae,[x(d,{src:`/img/concrete/hands-down.webp`,width:`800`,height:`800`,alt:``,"aria-hidden":`true`,loading:`lazy`,decoding:`async`})])]),_(`section`,je,[_(`div`,Me,[n[15]||=_(`h2`,{id:`home-partners-heading`,class:`text-5xl md:text-7xl font-bold py-8 text-center lg:text-left`},`PARTNERS`,-1),n[16]||=_(`div`,{class:`font-sans text-2xl max-w-124 text-center mx-auto lg:ml-0 lg:text-left`},` Our partners make it all happen. Institutions, organisations, and networks across Europe work together to make young people’s lives better every day. `,-1),x(P,{value:y(J),"num-visible":4,circular:``,class:`pt-10 w-full`},{item:s(({data:e})=>[_(`div`,Ne,[x(q,{name:e.name,image:e.img},null,8,[`name`,`image`])])]),_:1},8,[`value`])])]),n[21]||=_(`div`,{class:`divider bg-[url(/img/divider/footer.svg)] h-[80px]`},null,-1)])}}});export{Pe 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.