import{S as He,i as Re,s as Ce,e as g,k as S,l as A,c as w,a as E,d as h,m as B,b as _,g as $,t as z,h as N,F as m,K as Pe,j as ue,q as y,w as fe,x as pe,y as de,o as j,B as he,p as H,G as Z,Q as Le,I as Xe,H as Ee,n as R,R as Fe}from"../chunks/index-05c131b6.js";import{u as ce,b as Ue}from"../chunks/stores-0a1fbb24.js";import{A as Ae,S as Ke}from"../chunks/Avatar-644d9cdd.js";import"../chunks/index-77580868.js";function Te(n,l,a){const e=n.slice();return e[9]=l[a],e}function De(n,l,a){const e=n.slice();return e[12]=l[a],e}function Ie(n,l,a){const e=n.slice();return e[12]=l[a],e}function $e(n,l,a){const e=n.slice();return e[17]=l[a],e}function je(n){let l,a,e,r,o,p,k=n[1],u=[];for(let t=0;tj(f[t],1,1,()=>{f[t]=null});let c=n[2].hpTrack==="top"&&Me(n);return{c(){l=g("div");for(let t=0;t{c=null}),H())},i(t){if(!p){for(let v=0;v{r=null}),H())},i(o){e||(y(r),e=!0)},o(o){j(r),e=!1},d(o){r&&r.d(o),o&&h(a)}}}function Se(n){let l,a;return l=new Ae({props:{speaker:n[12]}}),{c(){fe(l.$$.fragment)},l(e){pe(l.$$.fragment,e)},m(e,r){de(l,e,r),a=!0},p(e,r){const o={};r&1&&(o.speaker=e[12]),l.$set(o)},i(e){a||(y(l.$$.fragment,e),a=!0)},o(e){j(l.$$.fragment,e),a=!1},d(e){he(l,e)}}}function Be(n){let l,a,e=(n[2].hpTrack==="top"&&n[12].lead===!0||n[2].hpTrack!=="top")&&Ne(n);return{c(){e&&e.c(),l=A()},l(r){e&&e.l(r),l=A()},m(r,o){e&&e.m(r,o),$(r,l,o),a=!0},p(r,o){r[2].hpTrack==="top"&&r[12].lead===!0||r[2].hpTrack!=="top"?e?(e.p(r,o),o&5&&y(e,1)):(e=Ne(r),e.c(),y(e,1),e.m(l.parentNode,l)):e&&(R(),j(e,1,1,()=>{e=null}),H())},i(r){a||(y(e),a=!0)},o(r){j(e),a=!1},d(r){e&&e.d(r),r&&h(l)}}}function Me(n){let l,a,e,r,o,p,k,u=n[0].spec.speakers.filter(Oe).sort(n[7]).slice(0,27),s=[];for(let i=0;ij(s[i],1,1,()=>{s[i]=null});return{c(){l=g("div"),a=g("div"),e=S(),r=g("div");for(let i=0;ij(s[i],1,1,()=>{s[i]=null});return{c(){l=g("section"),a=g("div"),e=g("h2"),r=z("\u010Casto kladen\xE9 dotazy (FAQ)"),o=S(),p=g("div");for(let i=0;i{D=null}),H()),b[0]?I?(I.p(b,V),V&1&&y(I,1)):(I=xe(b),I.c(),y(I,1),I.m(C.parentNode,C)):I&&(R(),j(I,1,1,()=>{I=null}),H())},i(b){L||(y(D),y(I),L=!0)},o(b){j(D),j(I),L=!1},d(b){b&&h(a),b&&h(e),D&&D.d(),b&&h(r),b&&h(o),b&&h(F),I&&I.d(b),b&&h(C)}}}const tt=!0,Oe=n=>!n.lead;function Ze(n,l,a){let e,r,o,p,k;Ee(n,Ue,i=>a(0,p=i)),Ee(n,ce,i=>a(2,k=i));function u(i){return function(){ce.update(c=>(c.hpTrack=i,c))}}function s(){ce.update(i=>(i.hpTrack=null,i))}const f=()=>.5-Math.random();return n.$$.update=()=>{n.$$.dirty&1&&a(5,e=p),n.$$.dirty&32&&a(6,r=e?e.spec.speakers.filter(i=>!!i.lead).length:0),n.$$.dirty&96&&a(1,o=e?[{name:"Hlavn\xED p\u0159edn\xE1\u0161ej\xEDc\xED ("+r+")",id:"top"},{name:"V\u0161e",id:null}].concat(e.spec.tracks):null)},[p,o,k,u,s,e,r,f]}class lt extends He{constructor(l){super();Re(this,l,Ze,Qe,Ce,{})}}export{lt as default,tt as prerender};