PageSourceSearch

https://www.reznicka.cz/_nuxt/BWMqmDCx.js

js reznicka.cz collected 2026-10-02 11:59:06 UTC 7,140 bytes, 1 lines download raw bytes

1import{e as J,C as Q,W as U,L as Z,f as o,X as ee,t as te,h as A,c as i,l as u,b as t,o as l,p as d,d as c,k as L,G as f,M as ae,K as se,I as y,V as ne,F as z,m as G,g as I,ac as le,Y as oe}from"./z-NznDjK.js";import{_ as ie}from"./BKIf4M-R.js";import{_ as re}from"./uRliGYCp.js";import{u as ce}from"./p4ds_Ic5.js";import{u as ue,E as me}from"./D5DtwZer.js";import{L as F}from"./COihsxer.js";import"./BzP8XDny.js";import"./Df9SUa8M.js";import"./BSbdeeAZ.js";const de={key:0,class:"pb-[60px]"},pe={class:"relative mt-4 min-h-[175px] xs:min-h-[200px] sm:min-h-[250px] lg:min-h-[380px]"},ge={class:"pl-[156px] pt-4 text-h4 font-bold text-dark xs:pl-[176px] sm:pl-[224px] sm:pt-6 sm:text-h2 lg:pl-[336px] lg:pt-10 lg:text-h1"},he=["aria-label"],ve={key:1,class:"pointer-events-auto block aspect-[4/5] w-[140px] overflow-hidden bg-dark xs:w-[160px] sm:w-[200px] lg:w-[304px]"},xe={class:"h-full w-full bg-white"},fe={key:0,class:"mt-20 grid gap-8 lg:mt-[120px] lg:grid-cols-2"},_e=["innerHTML"],be=["aria-label","onClick"],ye={key:0,class:"absolute inset-0 flex items-center justify-center bg-dark/50 transition group-hover:bg-dark/40"},we={class:"text-h3 font-bold text-white"},ke={key:1,class:"mt-20 lg:mt-[120px]"},Ce={class:"mb-8 text-h4 font-bold text-dark sm:text-h2"},Ne={class:"grid grid-cols-2 gap-4 sm:gap-6 lg:grid-cols-4 lg:gap-8"},Ae=J({__name:"index",async setup(Le){let _,E;const{t:p,locale:g}=Q(),B=U(),V=Z(),v=o(()=>{const e=B.params.id,a=Array.isArray(e)?e[0]:e,n=Number(a);return Number.isFinite(n)&&n>0?n:0}),{data:$}=([_,E]=ee(()=>ce("contact"+v.value+g.value,async()=>{if(!v.value||!g.value)throw le({statusCode:404,statusMessage:p("event.contacts.title")});return ue().event.contact(v.value,g.value,me.ErrorPage)},{watch:[()=>B.params.id,()=>g.value]})),_=await _,E(),_),s=o(()=>$.value||null),W=o(()=>{var n;const e=(((n=s.value)==null?void 0:n.name)??"").trim(),a=e.indexOf(" ");return a===-1?[e]:[e.slice(0,a),e.slice(a+1)]}),w=o(()=>{var e;return((e=s.value)==null?void 0:e.images)??[]}),H=o(()=>{var e;return((e=s.value)==null?void 0:e.eventGroups)??[]}),D=o(()=>{var e,a;return((a=(e=s.value)==null?void 0:e.description)==null?void 0:a.trim())||""}),k=o(()=>{var n,r;if(!g.value)return"";const e=(n=s.value)==null?void 0:n.translations,a=(e==null?void 0:e[g.value])||(e==null?void 0:e.cs);return((r=a==null?void 0:a.detail)==null?void 0:r.trim())||""}),x=o(()=>!!D.value||!!k.value),C=o(()=>w.value.length>0),S=o(()=>H.value.length>0),K=o(()=>H.value.map(e=>({id:e.id,slug:e.slug,name:e.name,listImageFileName:e.listImageFileName,description:e.descriptionPlain||e.description||""}))),N=o(()=>w.value.slice(0,x.value?2:4));te(()=>{var a;const e=(a=s.value)==null?void 0:a.name;e&&oe({title:e,meta:[{name:"description",content:""},{name:"keywords",content:""},{property:"og:title",content:e},{property:"og:description",content:""},{property:"og:image",content:""}]})});const T=A(),j=o(()=>w.value.map(e=>{var a,n;return{src:"/images/contact/thumb/"+e.fileName,thumb:"/images/contact/thumb/"+e.fileName,subHtml:e.title||((a=s.value)==null?void 0:a.name)||"",alt:e.title||((n=s.value)==null?void 0:n.name)||""}})),O=e=>{T.value=e},R=e=>{var a,n;(n=(a=T.value)==null?void 0:a.instance)==null||n.openGallery(e)},M=A(),P=o(()=>{var n,r,h;const e=(n=s.value)==null?void 0:n.image;if(!e||!e.length)return[];const a=e.startsWith("http")?e:"/images/contact/thumb/"+e;return[{src:a,thumb:a,subHtml:((r=s.value)==null?void 0:r.name)||"",alt:((h=s.value)==null?void 0:h.name)||""}]}),X=e=>{M.value=e},Y=()=>{var e,a;(a=(e=M.value)==null?void 0:e.instance)==null||a.openGallery(0)};return(e,a)=>{const n=ae,r=ne,h=ie,q=re;return t(s)?(l(),i("div",de,[d(r,{class:"pt-8"},{default:f(()=>[d(n,{to:t(V)("/lide"),title:t(p)("event.contacts.title"),class:"group inline-flex items-center gap-2 text-base font-bold text-dark transition hover:text-primary"},{default:f(()=>[a[0]||(a[0]=c("svg",{width:"16",height:"13",viewBox:"0 0 16 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[c("path",{d:"M6 1 1 6.5 6 12M14 1 9 6.5 14 12",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),se(" "+y(t(p)("event.contacts.title")),1)]),_:1},8,["to","title"])]),_:1}),c("header",pe,[d(r,{class:"relative z-10"},{default:f(()=>
1[c("h1",ge,[(l(!0),i(z,null,G(t(W),(m,b)=>(l(),i("span",{key:b,class:"block"},y(m),1))),128))])]),_:1}),a[1]||(a[1]=c("div",{class:"pointer-events-none mt-5 h-[64px] w-full bg-[url('/static/images/zigzag.svg')] bg-[length:auto_100%] bg-left bg-repeat-x sm:h-[96px] lg:mt-7 lg:h-[139px]","aria-hidden":"true"},null,-1)),d(r,{class:"pointer-events-none absolute inset-x-0 top-0 z-20"},{default:f(()=>[t(s).image&&t(s).image.length?(l(),i("button",{key:0,type:"button","aria-label":t(s).name+" - foto",class:"group pointer-events-auto block aspect-[4/5] w-[140px] cursor-pointer overflow-hidden bg-dark xs:w-[160px] sm:w-[200px] lg:w-[304px]",onClick:Y},[d(h,{src:t(s).image.startsWith("http")?t(s).image:"/cms/images/contact/thumb/"+t(s).image,alt:t(s).name+" - foto",format:"webp",loading:"eager",width:"608",height:"760",sizes:"160px sm:200px lg:304px",class:"h-full w-full object-cover grayscale transition duration-300 group-hover:grayscale-0"},null,8,["src","alt"])],8,he)):(l(),i("div",ve,[c("div",xe,[d(h,{src:"/static/images/person-placeholder.png",alt:"","aria-hidden":"true",format:"webp",loading:"lazy",width:"384",height:"480",sizes:"160px sm:200px lg:304px",class:"h-full w-full object-cover object-bottom"})])]))]),_:1})]),d(r,null,{default:f(()=>[t(x)||t(C)?(l(),i("section",fe,[t(x)?(l(),i("div",{key:0,class:I(["flex flex-col gap-4 text-lg text-dark",{"lg:col-span-2":!t(C)}])},[t(k)?(l(),i("div",{key:0,class:"whitespace-pre-line",innerHTML:t(k)},null,8,_e)):u("",!0)],2)):u("",!0),t(C)?(l(),i("div",{key:1,class:I({"lg:col-span-2":!t(x)})},[c("div",{class:I(["grid grid-cols-2 gap-4 sm:gap-6 lg:gap-8",{"lg:grid-cols-4":!t(x)}])},[(l(!0),i(z,null,G(t(N),(m,b)=>(l(),i("button",{key:m.fileName,type:"button","aria-label":t(p)("event.contacts.detail.gallery"),class:"group relative block aspect-[304/204] w-full overflow-hidden bg-dark",onClick:ze=>R(b)},[d(h,{src:"/cms/images/contact/thumb/"+m.fileName,alt:m.title||t(s).name,format:"webp",loading:"lazy",width:"608",height:"408",sizes:"100vw sm:50vw lg:304px",class:"h-full w-full object-cover grayscale transition duration-300 group-hover:grayscale-0"},null,8,["src","alt"]),b===t(N).length-1&&t(N).length>1?(l(),i("div",ye,[c("span",we,y(t(p)("event.contacts.detail.gallery")),1)])):u("",!0)],8,be))),128))],2)],2)):u("",!0)])):u("",!0),t(S)?(l(),i("section",ke,[c("h2",Ce,y(t(p)("event.contacts.detail.shows")),1),c("div",Ne,[(l(!0),i(z,null,G(t(K),m=>(l(),L(q,{key:m.id,data:m},null,8,["data"]))),128))])])):u("",!0)]),_:1}),t(j).length?(l(),L(t(F),{key:t(v),settings:{speed:600,animateThumb:!0,download:!1,dynamic:!0,dynamicEl:t(j)},"on-init":O},null,8,["settings"])):u("",!0),t(P).length?(l(),L(t(F),{key:"header-"+t(v),settings:{speed:600,animateThumb:!1,download:!1,dynamic:!0,dynamicEl:t(P)},"on-init":X},null,8,["settings"])):u("",!0)])):u("",!0)}}});export{Ae 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.