1import{o as xe,f as oe}from"../chunks/D6DARBUR.js";import{f as Re}from"../chunks/CNSH-o33.js";import{c as Be}from"../chunks/C0RxYuEi.js";import{S as X,i as Y,s as J,d as w,v as Ce,c as ze,a as Q,y as B,z as C,A as x,l as _,a9 as se,C as h,B as k,k as P,E as v,R as W,b as z,h as D,av as re,e as T,j as M,aw as ie,m as A,J as Te,t as b,f as $,g as S,$ as Ae,T as Se,n as Pe,o as Fe,U as le,X as ce,L as De,V as Me,K as Oe}from"../chunks/Ch9ldKUt.js";import"../chunks/DfbTn-pQ.js";import{P as pe}from"../chunks/CfuM2hju.js";import{c as H}from"../chunks/Dfi--WfA.js";import{I as Z}from"../chunks/Dnv9NXIm.js";import{H as ge}from"../chunks/Dohdi_TN.js";import{T as de}from"../chunks/DDuFiBzg.js";const _e=[],ve=[],be=[],ke=[],$e=[];let ue=!1;function Ve(t,e,n,a){const i="/hirek/"+a;ve.push({type:"card",props:{imageUrl:t,headline:e,cardText:n,CTAUrl:i,width:480,height:320}})}function F(t,e,n,a=[]){_e.push({type:"imagecta",props:{imageUrl:t,type:"square",icon:e,headline:n,cardText:"",CTAUrl:"",buttons:a,width:571,height:482}})}function Le(t,e,n,a){be.push({type:"imagecta",props:{imageUrl:t,headline:e,cardText:n,CTAUrl:a,type:"narrow",HLAlign:"left",width:576,height:376}})}function We(t,e,n,a){ke.push({type:"imagecta",props:{imageUrl:t,headline:e,cardText:n,CTAUrl:a,type:"narrow",HLAlign:"left",width:576,height:376}})}function Ne(t,e,n,a){$e.push({type:"imagecta",props:{imageUrl:t,headline:e,cardText:n,CTAUrl:a,type:"high",width:417,height:576}})}function He(){F("/images/home/rolunk.jpg?v=20240303","flag","Rólunk",[{url:"/rolunk",label:"Részletek"}]),F("/images/home/versenyek.jpg?v=20240303","boat","Versenyek",[{url:"/versenyek",label:"Részletek"}]),F("/images/home/kikoto.jpg?v=20240303","anchor","KikötÅ",[{url:"/kikoto",label:"Részletek"}]),F("/images/home/gyerektaborok.jpg?v=20240303","sail","Táborok",[{url:"/taborok",label:"Részletek"}]),F("/images/home/galeria.jpg?v=20240303","camera","Galéria",[{url:"/galeria",label:"Részletek"}]),F("/images/home/cegeknek.jpg?v=20240303","wheel","Cégeknek ajánljuk",[{url:"/cegeknek",label:"Részletek"}])}function Ie(t){t==null||t.forEach(({img_url:e,title:n,summary:a,slugname:i})=>{Ve(e,n,a,i)})}function Ue(t){t==null||t.forEach(({imageUrl:e,headline:n,cardText:a,CTAUrl:i})=>{Le(e,n,a,i)})}function qe(t){t==null||t.forEach(({imageUrl:e,headline:n,cardText:a})=>{We(e,n,a,"/galeria/videok")})}function Ge(t){t==null||t.forEach(({title:e,event_start:n,slugname:a})=>{Ne("/images/home/verseny.jpg",e,n,"/versenyek/"+a)})}const I=[],L=[],me={homeboxes:{title:null,components:_e,columnMinWidth:480},news:{wrapperClass:"bg-gray",title:"HÃrek",components:ve,columnMinWidth:360},photos:{title:"Fotók",components:be,columnMinWidth:480},videos:{title:"Videók",components:ke,columnMinWidth:480},events:{title:"Versenyek",wrapperClass:"bg-gray",components:$e,columnMinWidth:360,icon:{icon:"calendar",color:"brown",size:66}}};function Ke(){Object.keys(me).forEach(t=>{const e=me[t],n=Be("section-"+t,(e==null?void 0:e.wrapperClass)??null);e.title&&I.push({type:"container",props:{class:`${n} section-title`},children:[{type:"headline",props:{level:2,text:e.title,icon:e.icon||null}}]}),I.push({type:"container",children:e.components,props:{class:`${n} section-body`,...xe(e,["components"])}})}),L.push(I),L.push([{type:"container",children:[{type:"imgbanner",props:{banners:[{image_url:"/images/banners/BMW_X3-banner-300x250_v2.jpg",image_alt:"BMW X3 Készletmodellek 4 millió Ft kedvezménnyel.",link:"https://www.bmw-leierauto.hu/modellek/uj-autok/bmw_x3_2024?tl=bychu",width:300,target:"_blank"},{image_url:"/images/banners/banner_Etherea_336x280.jpg",image_alt:"Panasonic",link:"https://www.panasonic.com/hu/",width:300,target:"_blank"}]}}],props:{cols:8,class:"mt-3",containerChildClass:"noop"}}]),L.push([{type:"container",children:[{type:"image",props:{src:"/images/gov.jpg",width:1e3,height:223,href:"/palyazat"}}],props:{columnMinWidth:1e3,class:"mt-3",containerChildClass:"noop"}}])}
1async function Xe(){if(!ue){const{articles:t,galleries:e,videos:n,competitions:a}=await Re("home/load_homedata",{limit:8},["articles","galleries","videos","competitions"]);Ie(t),Ue(e),qe(n),He(),Ge(a),Ke(),ue=!0}return{components:L}}const ct=Object.freeze(Object.defineProperty({__proto__:null,load:Xe},Symbol.toStringTag,{value:"Module"})),fe="src/stories/component/teaser/BadgeERFA.svelte";function U(t){let e,n,a,i,o;const l={c:function(){e=B("a"),n=B("img"),this.h()},l:function(r){e=C(r,"A",{class:!0,href:!0});var s=x(e);n=C(s,"IMG",{src:!0,alt:!0,class:!0}),s.forEach(_),this.h()},h:function(){se(n.src,a=t[0].src)||h(n,"src",a),h(n,"alt",i=t[0].alt),h(n,"class","svelte-1u14mnz"),k(n,fe,19,1,599),h(e,"class","eu-fund-badge svelte-1u14mnz"),h(e,"href",o=t[0].url),k(e,fe,18,0,555)},m:function(r,s){P(r,e,s),v(e,n)},p:function(r,[s]){s&1&&!se(n.src,a=r[0].src)&&h(n,"src",a),s&1&&i!==(i=r[0].alt)&&h(n,"alt",i),s&1&&o!==(o=r[0].url)&&h(e,"href",o)},i:W,o:W,d:function(r){r&&_(e)}};return w("SvelteRegisterBlock",{block:l,id:U.name,type:"component",source:"",ctx:t}),l}function Ye(t,e,n){let a,i;Ce(H,"currentLang"),ze(t,H,s=>n(1,i=s));let{$$slots:o={},$$scope:l}=e;Q("BadgeERFA",o,[]);const c={en:{src:"/images/home/eu-fund/infoblokk_kedv_final_RGB_ERFA_en.png",alt:"Széchenyi 2020 - European Regional Development Fund (ERDF) co-financed",url:"/palyazat"},hu:{src:"/images/home/eu-fund/infoblokk_kedv_final_RGB_ERFA_hu.png",alt:"Széchenyi 2020 - Európai Regionális Fejlesztési Alap (ERFA) támogatásával valósult meg",url:"/palyazat"}},r=[];return Object.keys(e).forEach(s=>{!~r.indexOf(s)&&s.slice(0,2)!=="$$"&&s!=="slot"&&console.warn(`<BadgeERFA> was created with unknown prop '${s}'`)}),t.$capture_state=()=>({currentLang:H,badges:c,badge:a,$currentLang:i}),t.$inject_state=s=>{"badge"in s&&n(0,a=s.badge)},e&&"$$inject"in e&&t.$inject_state(e.$$inject),t.$$.update=()=>{t.$$.dirty&2&&n(0,a=c[i]||c.hu)},[a,i]}class we extends X{constructor(e){super(e),Y(this,e,Ye,U,J,{}),w("SvelteRegisterComponent",{component:this,tagName:"BadgeERFA",options:e,id:U.name})}}const R="src/stories/component/teaser/Teaser.svelte";function ye(t){let e,n="Balatonfüredi Yacht Club",a,i,o;i=new Z({props:{src:"/images/byc_headline.svg",alt:"Balatonfüredi Yacht Club"},$$inline:!0});const l={c:function(){e=B("span"),e.textContent=n,a=D(),z(i.$$.fragment),this.h()},l:function(r){e=C(r,"SPAN",{"data-svelte-h":!0}),Se(e)!=="svelte-1po0hgm"&&(e.textContent=n),a=M(r),T(i.$$.fragment,r),this.h()},h:function(){k(e,R,22,3,608)},m:function(r,s){P(r,e,s),P(r,a,s),A(i,r,s),o=!0},p:W,i:function(r){o||(b(i.$$.fragment,r),o=!0)},o:function(r){$(i.$$.fragment,r),o=!1},d:function(r){r&&(_(e),_(a)),S(i,r)}};return w("SvelteRegisterBlock",{block:l,id:ye.name,type:"slot",source:'(18:2) <Headline withDash fullDash dashTheme=\\"light\\">',ctx:t}),l}function Ee(t){let e;const n={c:function(){e=Pe("AlapÃtva 1867")},l:function(i){e=Fe(i,"AlapÃtva 1867")},m:function(i,o){P(i,e,o)},d:function(i){i&&_(e)}};return w("SvelteRegisterBlock",{block:n,id:Ee.name,type:"slot",source:'(22:2) <Text class=\\"teaser-since\\" size=\\"x-large\\" weight={300} align=\\"center\\" color=\\"white\\" >',ctx:t}),n}function q(t){let e,n,a,i,o,l,c,r,s,u,f,m,g,y,V,N,ee;n=new Z({props:{class:"teaser-hero--cover",src:"/images/byc_teaser.jpg",hero:!0},$$inline:!0}),o=new we({$$inline:!0}),r=new ge({props:{withDash:!0,fullDash:!0,dashTheme:"light",$$slots:{default:[ye]},$$scope:{ctx:t}},$$inline:!0}),u=new de({props:{class:"teaser-since",size:"x-large",weight:300,align:"center",color:"white",$$slots:{default:[Ee]},$$scope:{ctx:t}},$$inline:!0});const te={c:function(){e=B("div"),z(n.$$.fragment),a=D(),i=B("div"),z(o.$$.fragment),l=D(),c=B("div"),z(r.$$.fragment),s=D(),z(u.$$.fragment),f=D(),m=B("button"),g=re("svg"),y=re("path"),this.h()},l:function(p){e=C(p,"DIV",{class:!0});var d=x(e);T(n.$$.fragment,d),a=M(d),i=C(d,"DIV",{class:!0});var O=x(i);T(o.$$.fragment,O),O.forEach(_),l=M(d),c=C(d,"DIV",{class:!0});var j=x(c);T(r.$$.fragment,j),s=M(j),T(u.$$.fragment,j),j.forEach(_),f=M(d),m=C(d,"BUTTON",{class:!0,"aria-label":!0});var ne=x(m);g=ie(ne,"svg",{class:!0,role:!0,width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var ae=x(g);y=ie(ae,"path",{d:!0,stroke:!0,"stroke-linecap":!0}
1),x(y).forEach(_),ae.forEach(_),ne.forEach(_),d.forEach(_),this.h()},h:function(){h(i,"class","blur svelte-k80mb4"),k(i,R,17,1,493),h(c,"class","text svelte-k80mb4"),k(c,R,20,1,537),h(y,"d","M49.2667 1.66663L25.0001 27.8L0.733398 1.66663"),h(y,"stroke","white"),h(y,"stroke-linecap","square"),k(y,R,43,3,1133),h(g,"class","scroll-over svelte-k80mb4"),h(g,"role","presentation"),h(g,"width","48.53"),h(g,"height","28.13"),h(g,"viewBox","0 0 50 29"),h(g,"fill","none"),h(g,"xmlns","http://www.w3.org/2000/svg"),k(g,R,34,2,964),h(m,"class","skip-content svelte-k80mb4"),h(m,"aria-label","Ugrás a tartalomra"),k(m,R,33,1,875),h(e,"class","teaser-hero svelte-k80mb4"),k(e,R,15,0,366)},m:function(p,d){P(p,e,d),A(n,e,null),v(e,a),v(e,i),A(o,i,null),v(e,l),v(e,c),A(r,c,null),v(c,s),A(u,c,null),v(e,f),v(e,m),v(m,g),v(g,y),t[2](e),V=!0,N||(ee=Te(m,"click",t[1],!1,!1,!1,!1),N=!0)},p:function(p,[d]){const O={};d&8&&(O.$$scope={dirty:d,ctx:p}),r.$set(O);const j={};d&8&&(j.$$scope={dirty:d,ctx:p}),u.$set(j)},i:function(p){V||(b(n.$$.fragment,p),b(o.$$.fragment,p),b(r.$$.fragment,p),b(u.$$.fragment,p),V=!0)},o:function(p){$(n.$$.fragment,p),$(o.$$.fragment,p),$(r.$$.fragment,p),$(u.$$.fragment,p),V=!1},d:function(p){p&&_(e),S(n),S(o),S(r),S(u),t[2](null),N=!1,ee()}};return w("SvelteRegisterBlock",{block:te,id:q.name,type:"component",source:"",ctx:t}),te}function Je(t,e,n){let{$$slots:a={},$$scope:i}=e;Q("Teaser",a,[]);let o;const l=()=>{oe(o)},c=[];Object.keys(e).forEach(s=>{!~c.indexOf(s)&&s.slice(0,2)!=="$$"&&s!=="slot"&&console.warn(`<Teaser> was created with unknown prop '${s}'`)});function r(s){Ae[s?"unshift":"push"](()=>{o=s,n(0,o)})}return t.$capture_state=()=>({BadgeERFA:we,Image:Z,scrollAfterElement:oe,Headline:ge,Text:de,elTeaser:o,onSkipContent:l}),t.$inject_state=s=>{"elTeaser"in s&&n(0,o=s.elTeaser)},e&&"$$inject"in e&&t.$inject_state(e.$$inject),[o,l,r]}class je extends X{constructor(e){super(e),Y(this,e,Je,q,J,{}),w("SvelteRegisterComponent",{component:this,tagName:"Teaser",options:e,id:q.name})}}function he(t,e,n){const a=t.slice();return a[2]=e[n],a}function G(t){let e,n;e=new pe({props:{components:t[2]},$$inline:!0});const a={c:function(){z(e.$$.fragment)},l:function(o){T(e.$$.fragment,o)},m:function(o,l){A(e,o,l),n=!0},p:W,i:function(o){n||(b(e.$$.fragment,o),n=!0)},o:function(o){$(e.$$.fragment,o),n=!1},d:function(o){S(e,o)}};return w("SvelteRegisterBlock",{block:a,id:G.name,type:"each",source:"(12:0) {#each components as component}",ctx:t}),a}function K(t){let e,n,a,i;e=new je({$$inline:!0});let o=le(t[0]),l=[];for(let s=0;s<o.length;s+=1)l[s]=G(he(t,o,s));const c=s=>$(l[s],1,1,()=>{l[s]=null}),r={c:function(){z(e.$$.fragment),n=D();for(let u=0;u<l.length;u+=1)l[u].c();a=ce()},l:function(u){T(e.$$.fragment,u),n=M(u);for(let f=0;f<l.length;f+=1)l[f].l(u);a=ce()},m:function(u,f){A(e,u,f),P(u,n,f);for(let m=0;m<l.length;m+=1)l[m]&&l[m].m(u,f);P(u,a,f),i=!0},p:function(u,[f]){if(f&1){o=le(u[0]);let m;for(m=0;m<o.length;m+=1){const g=he(u,o,m);l[m]?(l[m].p(g,f),b(l[m],1)):(l[m]=G(g),l[m].c(),b(l[m],1),l[m].m(a.parentNode,a))}for(Oe(),m=o.length;m<l.length;m+=1)c(m);De()}},i:function(u){if(!i){b(e.$$.fragment,u);for(let f=0;f<o.length;f+=1)b(l[f]);i=!0}},o:function(u){$(e.$$.fragment,u),l=l.filter(Boolean);for(let f=0;f<l.length;f+=1)$(l[f]);i=!1},d:function(u){u&&(_(n),_(a)),S(e,u),Me(l,u)}};return w("SvelteRegisterBlock",{block:r,id:K.name,type:"component",source:"",ctx:t}),r}function Qe(t,e,n){let{$$slots:a={},$$scope:i}=e;Q("Page",a,[]);let{data:o}=e;const{components:l}=o;t.$$.on_mount.push(function(){o===void 0&&!("data"in e||t.$$.bound[t.$$.props.data])&&console.warn("<Page> was created without expected prop 'data'")});const c=["data"];return Object.keys(e).forEach(r=>{!~c.indexOf(r)&&r.slice(0,2)!=="$$"&&r!=="slot"&&console.warn(`<Page> was created with unknown prop '${r}'`)}),t.$$set=r=>{"data"in r&&n(1,o=r.data)},t.$capture_state=()=>({Page:pe,Teaser:je,data:o,components:l}),t.$inject_state=r=>{"data"in r&&n(1,o=r.data)},e&&"$$inject"in e&&t.$inject_state(e.$$inject),[l,o]}class ut extends X{constructor(e){super(e),Y(this,e,Qe,K,J,{data:1}),w("SvelteRegisterComponent",{component:this,tagName:"Page_1",options:e,id:K.name})}get data(){throw new Error("<Page>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set data(e){throw new Error("<Page>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}}export{ut as component,ct as universal};
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.