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 xe,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-5a24e4f1.js";import{A as Ae,S as Ke}from"../chunks/Avatar-759d1628.js";import"../chunks/index-77580868.js";function Te(o,t,a){const e=o.slice();return e[9]=t[a],e}function De(o,t,a){const e=o.slice();return e[12]=t[a],e}function Ie(o,t,a){const e=o.slice();return e[12]=t[a],e}function $e(o,t,a){const e=o.slice();return e[17]=t[a],e}function je(o){let t,a,e,r,n,p,k=o[1],u=[];for(let l=0;lj(f[l],1,1,()=>{f[l]=null});let c=o[2].hpTrack==="top"&&Me(o);return{c(){t=g("div");for(let l=0;l{c=null}),H())},i(l){if(!p){for(let v=0;v{r=null}),H())},i(n){e||(y(r),e=!0)},o(n){j(r),e=!1},d(n){r&&r.d(n),n&&h(a)}}}function Se(o){let t,a;return t=new Ae({props:{speaker:o[12]}}),{c(){fe(t.$$.fragment)},l(e){pe(t.$$.fragment,e)},m(e,r){de(t,e,r),a=!0},p(e,r){const n={};r&1&&(n.speaker=e[12]),t.$set(n)},i(e){a||(y(t.$$.fragment,e),a=!0)},o(e){j(t.$$.fragment,e),a=!1},d(e){he(t,e)}}}function Be(o){let t,a,e=(o[2].hpTrack==="top"&&o[12].lead===!0||o[2].hpTrack!=="top")&&Ne(o);return{c(){e&&e.c(),t=A()},l(r){e&&e.l(r),t=A()},m(r,n){e&&e.m(r,n),$(r,t,n),a=!0},p(r,n){r[2].hpTrack==="top"&&r[12].lead===!0||r[2].hpTrack!=="top"?e?(e.p(r,n),n&5&&y(e,1)):(e=Ne(r),e.c(),y(e,1),e.m(t.parentNode,t)):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(t)}}}function Me(o){let t,a,e,r,n,p,k,u=o[0].spec.speakers.filter(Pe).sort(o[7]).slice(0,27),s=[];for(let i=0;ij(s[i],1,1,()=>{s[i]=null});return{c(){t=g("div"),a=g("div"),e=S(),r=g("div");for(let i=0;ij(s[i],1,1,()=>{s[i]=null});return{c(){t=g("section"),a=g("div"),e=g("h2"),r=z("\u010Casto kladen\xE9 dotazy (FAQ)"),n=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=Ge(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(n),b&&h(F),I&&I.d(b),b&&h(C)}}}const ll=!0,Pe=o=>!o.lead;function Ze(o,t,a){let e,r,n,p,k;Ee(o,Ue,i=>a(0,p=i)),Ee(o,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 o.$$.update=()=>{o.$$.dirty&1&&a(5,e=p),o.$$.dirty&32&&a(6,r=e?e.spec.speakers.filter(i=>!!i.lead).length:0),o.$$.dirty&96&&a(1,n=e?[{name:"Hlavn\xED p\u0159edn\xE1\u0161ej\xEDc\xED ("+r+")",id:"top"},{name:"V\u0161e",id:null}].concat(e.spec.tracks):null)},[p,n,k,u,s,e,r,f]}class tl extends He{constructor(t){super();Re(this,t,Ze,Qe,Ce,{})}}export{tl as default,ll as prerender};