import{S as wt,i as xt,s as bt,a0 as Ht,e as F,c as O,a as L,d as N,b as D,f as W,g as nt,F as P,J as Ut,E as lt,Z as Xt,v as Kt,O as Jt,w as At,x as St,y as kt,q as X,o as J,B as Ct,k as H,t as $,R as Yt,m as U,h as tt,p as Zt,G as Qt,H as Gt,n as jt}from"../chunks/index-6191a390.js";import{a as $t,c as te}from"../chunks/Event-02d76521.js";import{b as ee}from"../chunks/stores-9e69a8a9.js";import{g as ne}from"../chunks/_commonjsHelpers-c771f69b.js";import"../chunks/Avatar-a90bc8ec.js";import"../chunks/Link-79f22491.js";import"../chunks/index-7ffe3f10.js";var re={value:function(){}};function Mt(){for(var t=0,e=arguments.length,n={},r;t=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Y.prototype=Mt.prototype={constructor:Y,on:function(t,e){var n=this._,r=ie(t+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r>5,Z=1<<11,le=function(){var t=[256,256],e=ue,n=fe,r=he,i=ft,o=ft,s=me,a=de,c=Et,m=[],f=1/0,y=ce("word","end"),g=null,w=Math.random,h={},C=xe;h.canvas=function(u){return arguments.length?(C=V(u),h):C},h.start=function(){var u=k(C()),l=we((t[0]>>5)*t[1]),S=null,d=m.length,b=-1,A=[],v=m.map(function(x,p){return x.text=e.call(this,x,p),x.font=n.call(this,x,p),x.style=i.call(this,x,p),x.weight=o.call(this,x,p),x.rotate=s.call(this,x,p),x.size=~~r.call(this,x,p),x.padding=a.call(this,x,p),x}).sort(function(x,p){return p.size-x.size});return g&&clearInterval(g),g=setInterval(E,0),E(),h;function E(){for(var x=Date.now();Date.now()-x>1,p.y=t[1]*(w()+.5)>>1,ye(u,p,v,b),p.hasText&&M(l,p,S)&&(A.push(p),y.call("word",h,p),S?pe(S,p):S=[{x:p.x+p.x0,y:p.y+p.y0},{x:p.x+p.x1,y:p.y+p.y1}],p.x-=t[0]>>1,p.y-=t[1]>>1)}b>=d&&(h.stop(),y.call("end",h,A,S))}},h.stop=function(){return g&&(clearInterval(g),g=null),h};function k(u){u.width=u.height=1;var l=Math.sqrt(u.getContext("2d").getImageData(0,0,1,1).data.length>>2);u.width=(K<<5)/l,u.height=Z/l;var S=u.getContext("2d");return S.fillStyle=S.strokeStyle="red",S.textAlign="center",{context:S,ratio:l}}function M(u,l,S){t[0],t[1];for(var d=l.x,b=l.y,A=Math.sqrt(t[0]*t[0]+t[1]*t[1]),v=c(t),E=w()<.5?1:-1,x=-E,p,I,q;(p=v(x+=E))&&(I=~~p[0],q=~~p[1],!(Math.min(Math.abs(I),Math.abs(q))>=A));)if(l.x=d+I,l.y=b+q,!(l.x+l.x0<0||l.y+l.y0<0||l.x+l.x1>t[0]||l.y+l.y1>t[1])&&(!S||!_e(l,u,t[0]))&&(!S||ve(l,S))){for(var _=l.sprite,z=l.width>>5,ot=t[0]>>5,st=l.x-(z<<4),at=st&127,Wt=32-at,Bt=l.y1-l.y0,ct=(l.y+l.y0)*ot+(st>>5),G,j=0;j>>at:0);ct+=ot}return delete l.sprite,!0}return!1}return h.timeInterval=function(u){return arguments.length?(f=u==null?1/0:u,h):f},h.words=function(u){return arguments.length?(m=u,h):m},h.size=function(u){return arguments.length?(t=[+u[0],+u[1]],h):t},h.font=function(u){return arguments.length?(n=V(u),h):n},h.fontStyle=function(u){return arguments.length?(i=V(u),h):i},h.fontWeight=function(u){return arguments.length?(o=V(u),h):o},h.rotate=function(u){return arguments.length?(s=V(u),h):s},h.text=function(u){return arguments.length?(e=V(u),h):e},h.spiral=function(u){return arguments.length?(c=be[u]||u,h):c},h.fontSize=function(u){return arguments.length?(r=V(u),h):r},h.padding=function(u){return arguments.length?(a=V(u),h):a},h.random=function(u){return arguments.length?(w=u,h):w},h.on=function(){var u=y.on.apply(y,arguments);return u===y?h:u},h};function ue(t){return t.text}function fe(){return"serif"}function ft(){return"normal"}function he(t){return Math.sqrt(t.value)}function me(){return(~~(Math.random()*6)-3)*30}function de(){return 1}function ye(t,e,n,r){if(!e.sprite){var i=t.context,o=t.ratio;i.clearRect(0,0,(K<<5)/o,Z/o);var s=0,a=0,c=0,m=n.length;for(--r;++r>5<<5,y=~~Math.max(Math.abs(C+k),Math.abs(C-k))}else f=f+31>>5<<5;if(y>c&&(c=y),s+f>=K<<5&&(s=0,a+=c,c=0),a+y>=Z)break;i.translate((s+(f>>1))/o,(a+(y>>1))/o),e.rotate&&i.rotate(e.rotate*et),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=y,e.xoff=s,e.yoff=a,e.x1=f>>1,e.y1=y>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var u=i.getImageData(0,0,(K<<5)/o,Z/o).data,l=[];--r>=0;)if(e=n[r],!!e.hasText){for(var f=e.width,S=f>>5,y=e.y1-e.y0,d=0;d>5),x=u[(a+v)*(K<<5)+(s+d)<<2]?1<<31-d%32:0;l[E]|=x,b|=x}b?A=v:(e.y0++,y--,v--,a++)}e.y1=e.y0+A,e.sprite=l.slice(0,(e.y1-e.y0)*S)}}}function _e(t,e,n){n>>=5;for(var r=t.sprite,i=t.width>>5,o=t.x-(i<<4),s=o&127,a=32-s,c=t.y1-t.y0,m=(t.y+t.y0)*n+(o>>5),f,y=0;y>>s:0))&e[m+g])return!0;m+=n}return!1}function pe(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function ve(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0e[0].y&&t.y+t.y0=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),ht.hasOwnProperty(e)?{space:ht[e],local:t}:t}function Ae(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===rt&&e.documentElement.namespaceURI===rt?e.createElement(t):e.createElementNS(n,t)}}function Se(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Pt(t){var e=zt(t);return(e.local?Se:Ae)(e)}function ke(){}function Nt(t){return t==null?ke:function(){return this.querySelector(t)}}function Ce(t){typeof t!="function"&&(t=Nt(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=l&&(l=u+1);!(d=k[l])&&++l=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function $e(t){t||(t=tn);function e(y,g){return y&&g?t(y.__data__,g.__data__):!y-!g}for(var n=this._groups,r=n.length,i=new Array(r),o=0;oe?1:t>=e?0:NaN}function en(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function nn(){return Array.from(this)}function rn(){for(var t=this._groups,e=0,n=t.length;e1?this.each((e==null?yn:typeof e=="function"?pn:_n)(t,e,n==null?"":n)):gn(this.node(),t)}function gn(t,e){return t.style.getPropertyValue(e)||Rt(t).getComputedStyle(t,null).getPropertyValue(e)}function wn(t){return function(){delete this[t]}}function xn(t,e){return function(){this[t]=e}}function bn(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function An(t,e){return arguments.length>1?this.each((e==null?wn:typeof e=="function"?bn:xn)(t,e)):this.node()[t]}function It(t){return t.trim().split(/^|\s+/)}function it(t){return t.classList||new Ft(t)}function Ft(t){this._node=t,this._names=It(t.getAttribute("class")||"")}Ft.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Ot(t,e){for(var n=it(t),r=-1,i=e.length;++r=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function Gn(t){return function(){var e=this.__on;if(!!e){for(var n=0,r=-1,i=e.length,o;n_.counta("click",_),S=_=>a("mouseover",_),d=_=>a("mouseout",_),b=_=>a("mousemove",_);function A(){return le().size([o,s]).words(f).padding(M).rotate(()=>~~(Math.random()*C)+h).font(g).fontSize(_=>_.count+15)}let v=null;function E(_){mt("#wordcloud").selectAll("*").remove(),mt("#wordcloud").append("svg").attr("width",v.size()[0]).attr("height",v.size()[1]).append("g").attr("transform","translate("+v.size()[0]/2+","+v.size()[1]/2+")").selectAll("text").data(_).enter().append("text").style("font-size",z=>z.size+"px").style("font-family",g).style("fill","#393F67").attr("text-anchor","middle").attr("transform",z=>"translate("+[z.x,z.y]+")rotate("+z.rotate+")").text(z=>z.text).on("click",l).on("mouseover",S).on("mouseout",d).on("mousemove",b)}function x(){v=A().on("end",E),v.start()}let p=!1,I=null;Kt(async()=>{let _=0;setTimeout(()=>{I=setInterval(()=>{r!==_&&(x(),_=r)},100)},0),setTimeout(()=>{n(3,p=!0)},100)}),Jt(()=>{clearTimeout(I)});function q(){n(5,i=window.innerWidth),n(1,r=window.outerWidth)}return t.$$set=_=>{"width"in _&&n(6,m=_.width),"words"in _&&n(7,f=_.words),"height"in _&&n(8,y=_.height),"font"in _&&n(9,g=_.font),"maxFontSize"in _&&n(10,w=_.maxFontSize),"minRotate"in _&&n(11,h=_.minRotate),"maxRotate"in _&&n(12,C=_.maxRotate),"scheme"in _&&n(13,k=_.scheme),"padding"in _&&n(14,M=_.padding),"backgroundColor"in _&&n(0,u=_.backgroundColor)},t.$$.update=()=>{t.$$.dirty&2&&n(2,o=r>1152?1e3:r>500?r-100:r-50),t.$$.dirty&4&&n(4,s=o<800?400:o<500?600:250)},n(1,r=0),n(5,i=0),[u,r,o,p,s,i,m,f,y,g,w,h,C,k,M,q]}class br extends wt{constructor(e){super();xt(this,e,xr,wr,bt,{width:6,words:7,height:8,font:9,maxFontSize:10,minRotate:11,maxRotate:12,scheme:13,padding:14,backgroundColor:0})}}function pt(t,e,n){const r=t.slice();return r[4]=e[n],r}function vt(t){let e,n;return e=new $t({props:{event:t[4]}}),{c(){At(e.$$.fragment)},l(r){St(e.$$.fragment,r)},m(r,i){kt(e,r,i),n=!0},p(r,i){const o={};i&1&&(o.event=r[4]),e.$set(o)},i(r){n||(X(e.$$.fragment,r),n=!0)},o(r){J(e.$$.fragment,r),n=!1},d(r){Ct(e,r)}}}function Ar(t){let e,n,r,i,o,s,a,c,m,f,y,g,w,h,C,k,M;y=new br({props:{words:t[1]}}),y.$on("click",kr);let u=t[0].spec.events.filter(gt),l=[];for(let d=0;dJ(l[d],1,1,()=>{l[d]=null});return{c(){e=H(),n=F("section"),r=F("h1"),i=$("Program"),o=H(),s=F("div"),a=F("p"),c=$(`Program st\xE1le p\u0159ipravujeme, aktu\xE1ln\u011B je zde vyps\xE1no zhruba 40% obsahu. \u010Casov\xFD rozpis bude zve\u0159ejn\u011Bn cca 2 t\xFDdny p\u0159ed konferenc\xED.`),m=H(),f=F("div"),At(y.$$.fragment),g=H(),w=F("h1"),h=$("Seznam ud\xE1lost\xED"),C=H(),k=F("div");for(let d=0;d{!i.tags||i.tags.forEach(o=>{e[o]||(e[o]={text:o,count:0}),e[o].count+=1})});let n=Object.keys(e).map(i=>e[i]);const r=n.reduce((i,o)=>o.count>i?o.count:i,0);return n=n.map(i=>(i.count=Math.round(i.count/(r/40)),i)),n}function kr(t){console.log(t.detail.path[0].innerHTML)}const gt=t=>!t.parent;function Cr(t,e,n){let r,i;Gt(t,ee,s=>n(0,i=s));function o(s){return s?s.spec.events.reduce((a,c)=>a+(te(c,s)||0),0):null}return t.$$.update=()=>{t.$$.dirty&1&&n(1,r=Sr(i)),t.$$.dirty&1&&o(i)},[i,r]}class Ir extends wt{constructor(e){super();xt(this,e,Cr,Ar,bt,{})}}export{Ir as default,Rr as prerender};