utxo22-web/_app/pages/udalosti.svelte-6cacaabb.js

2 řádky
4.9 KiB
JavaScript
Surový Normální zobrazení Historie

import{S as x,i as ee,s as te,e as $,w as K,k as U,t as O,l as j,c as I,a as w,x as W,d as h,m as S,h as P,b,g as D,F as v,y as Y,j as C,q as g,o as V,B as Z,p as L,G as ae,Q as le,H as F,n as N}from"../chunks/index-9d3ce898.js";import{A as se}from"../chunks/Avatar-09787d64.js";import{p as re}from"../chunks/stores-b6bfc7cc.js";import{g as ne}from"../chunks/navigation-0e6511d1.js";import{b as ie}from"../chunks/stores-07c9a284.js";import{E as oe}from"../chunks/EventTypeLabel-9f624037.js";import"../chunks/singletons-d1fb5791.js";import"../chunks/index-12cd9245.js";function G(i,l,f){const r=i.slice();return r[7]=l[f],r}function M(i){let l,f,r,a,t,e=i[3](i[1].track)+"",n,s,_,u=i[1].duration+"",c,m,k,E,q=i[1].name+"",z,B,T,y;r=new oe({props:{event:i[1],size:"big"}});let p=i[1].speakers&&i[1].speakers.length>0&&Q(i);return{c(){l=$("div"),f=$("div"),K(r.$$.fragment),a=U(),t=$("div"),n=O(e),s=U(),_=$("div"),c=O(u),m=O("m"),k=U(),E=$("h1"),z=O(q),B=U(),p&&p.c(),T=j(),this.h()},l(o){l=I(o,"DIV",{class:!0});var d=w(l);f=I(d,"DIV",{});var A=w(f);W(r.$$.fragment,A),A.forEach(h),a=S(d),t=I(d,"DIV",{class:!0});var R=w(t);n=P(R,e),R.forEach(h),s=S(d),_=I(d,"DIV",{class:!0});var H=w(_);c=P(H,u),m=P(H,"m"),H.forEach(h),d.forEach(h),k=S(o),E=I(o,"H1",{class:!0});var X=w(E);z=P(X,q),X.forEach(h),B=S(o),p&&p.l(o),T=j(),this.h()},h(){b(t,"class","text-md my-auto"),b(_,"class","text-sm my-auto"),b(l,"class","mb-6 flex flex-wrap gap-4"),b(E,"class","text-2xl font-bold")},m(o,d){D(o,l,d),v(l,f),Y(r,f,null),v(l,a),v(l,t),v(t,n),v(l,s),v(l,_),v(_,c),v(_,m),D(o,k,d),D(o,E,d),v(E,z),D(o,B,d),p&&p.m(o,d),D(o,T,d),y=!0},p(o,d){const A={};d&2&&(A.event=o[1]),r.$set(A),(!y||d&2)&&e!==(e=o[3](o[1].track)+"")&&C(n,e),(!y||d&2)&&u!==(u=o[1].duration+"")&&C(c,u),(!y||d&2)&&q!==(q=o[1].name+"")&&C(z,q),o[1].speakers&&o[1].speakers.length>0?p?(p.p(o,d),d&2&&g(p,1)):(p=Q(o),p.c(),g(p,1),p.m(T.parentNode,T)):p&&(N(),V(p,1,1,()=>{p=null}),L())},i(o){y||(g(r.$$.fragment,o),g(p),y=!0)},o(o){V(r.$$.fragment,o),V(p),y=!1},d(o){o&&h(l),Z(r),o&&h(k),o&&h(E),o&&h(B),p&&p.d(o),o&&h(T)}}}function Q(i){let l,f,r=i[2](i[1].speakers),a=[];for(let e=0;e<r.length;e+=1)a[e]=J(G(i,r,e));const t=e=>V(a[e],1,1,()=>{a[e]=null});return{c(){l=$("div");for(let e=0;e<a.length;e+=1)a[e].c();this.h()},l(e){l=I(e,"DIV",{class:!0});var n=w(l);for(let s=0;s<a.length;s+=1)a[s].l(n);n.forEach(h),this.h()},h(){b(l,"class","mt-4 mb-2 flex flex-wrap gap-4")},m(e,n){D(e,l,n);for(let s=0;s<a.length;s+=1)a[s].m(l,null);f=!0},p(e,n){if(n&6){r=e[2](e[1].speakers);let s;for(s=0;s<r.length;s+=1){const _=G(e,r,s);a[s]?(a[s].p(_,n),g(a[s],1)):(a[s]=J(_),a[s].c(),g(a[s],1),a[s].m(l,null))}for(N(),s=r.length;s<a.length;s+=1)t(s);L()}},i(e){if(!f){for(let n=0;n<r.length;n+=1)g(a[n]);f=!0}},o(e){a=a.filter(Boolean);for(let n=0;n<a.length;n+=1)V(a[n]);f=!1},d(e){e&&h(l),ae(a,e)}}}function J(i){let l,f,r,a,t,e=i[7].name+"",n,s,_,u;return f=new se({props:{speaker:i[7],size:"semi-small"}}),{c(){l=$("div"),K(f.$$.fragment),r=U(),a=$("div"),t=$("a"),n=O(e),_=U(),this.h()},l(c){l=I(c,"DIV",{class:!0});var m=w(l);W(f.$$.fragment,m),r=S(m),a=I(m,"DIV",{class:!0});var k=w(a);t=I(k,"A",{href:!0,class:!0});var E=w(t);n=P(E,e),E.forEach(h),k.forEach(h),_=S(m),m.forEach(h),this.h()},h(){b(t,"href",s="/lide?id="+i[7].id),b(t,"class","text-xl"),b(a,"class","m-auto"),b(l,"class","flex gap-2")},m(c,m){D(c,l,m),Y(f,l,null),v(l,r),v(l,a),v(a,t),v(t,n),v(l,_),u=!0},p(c,m){const k={};m&2&&(k.speaker=c[7]),f.$set(k),(!u||m&2)&&e!==(e=c[7].name+"")&&C(n,e),(!u||m&2&&s!==(s="/lide?id="+c[7].id))&&b(t,"href",s)},i(c){u||(g(f.$$.fragment,c),u=!0)},o(c){V(f.$$.fragment,c),u=!1},d(c){c&&h(l),Z(f)}}}function fe(i){let l,f,r,a;document.title=l=(i[1]?i[1].name:"")+" | Ud\xE1losti | "+(i[0]?i[0].name:"UTXO.22");let t=i[0]&&i[1]&&M(i);return{c(){f=U(),r=$("section"),t&&t.c(),this.h()},l(e){le('[data-svelte="svelte-1eaumes"]',document.head).forEach(h),f=S(e),r=I(e,"SECTION",{class:!0});var s=w(r);t&&t.l(s),s.forEach(h),this.h()},h(){b(r,"class","relative mx-auto py-6 sm:py-10 px-6 max-w-6xl text-blue-web")},m(e,n){D(e,f,n),D(e,r,n),t&&t.m(r,