utxo22-web/_app/pages/lide/_id_.svelte-af5aab28.js

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

import{S as Te,i as Pe,s as Ue,e as w,w as re,k as C,t as D,c as $,a as E,x as se,d as m,m as T,h as I,b as p,g as P,F as u,y as ae,j as W,q as b,o as V,B as ne,p as J,H as ke,n as K,E as he,l as we,G as ze}from"../../chunks/index-24e5a832.js";import{A as Be,S as Ce}from"../../chunks/Avatar-91f17a3c.js";import{E as He}from"../../chunks/Event-b65db9e9.js";import{p as qe}from"../../chunks/stores-90033a58.js";import{b as Fe}from"../../chunks/stores-13cf7036.js";import"../../chunks/EventTypeLabel-482441d5.js";import"../../chunks/index-3c937d7d.js";function $e(n,t,s){const e=n.slice();return e[6]=t[s],e}function Ee(n){let t,s,e,l,r,a,f,i,c,S=n[0].name+"",F,ie,G=Ae(n[0].country)+"",L,oe,Q,X,q,fe,M=n[0].tracks.map(n[5]).join(", ")+"",Y,ce,Z,y,U,z,ue,O=n[2].length+"",x,me,_e,N,j,A,B;e=new Be({props:{speaker:n[0],size:"big"}});let d=n[0].bio&&De(n),h=n[0].orgs&&Ie(n),g=n[0].twitter&&Ve(n),k=n[0].web&&n[0].web.url&&Se(n);const pe=[We,Ne],H=[];function ve(o,_){return o[2].length>0?0:1}return j=ve(n),A=H[j]=pe[j](n),{c(){t=w("div"),s=w("div"),re(e.$$.fragment),l=C(),r=w("div"),a=w("div"),f=D("P\u0159edn\xE1\u0161ej\xEDc\xED"),i=C(),c=w("h1"),F=D(S),ie=C(),L=D(G),oe=C(),d&&d.c(),Q=C(),h&&h.c(),X=C(),q=w("div"),fe=D("Sekce: "),Y=D(M),ce=C(),g&&g.c(),Z=C(),k&&k.c(),y=C(),U=w("div"),z=w("h2"),ue=D("Ud\xE1losti ("),x=D(O),me=D(")"),_e=C(),N=w("div"),A.c(),this.h()},l(o){t=$(o,"DIV",{class:!0});var _=E(t);s=$(_,"DIV",{});var R=E(s);se(e.$$.fragment,R),R.forEach(m),l=T(_),r=$(_,"DIV",{class:!0});var v=E(r);a=$(v,"DIV",{class:!0});var be=E(a);f=I(be,"P\u0159edn\xE1\u0161ej\xEDc\xED"),be.forEach(m),i=T(v),c=$(v,"H1",{class:!0});var ee=E(c);F=I(ee,S),ie=T(ee),L=I(ee,G),ee.forEach(m),oe=T(v),d&&d.l(v),Q=T(v),h&&h.l(v),X=T(v),q=$(v,"DIV",{class:!0});var de=E(q);fe=I(de,"Sekce: "),Y=I(de,M),de.forEach(m),ce=T(v),g&&g.l(v),Z=T(v),k&&k.l(v),v.forEach(m),_.forEach(m),y=T(o),U=$(o,"DIV",{class:!0});var te=E(U);z=$(te,"H2",{class:!0});var le=E(z);ue=I(le,"Ud\xE1losti ("),x=I(le,O),me=I(le,")"),le.forEach(m),_e=T(te),N=$(te,"DIV",{});var ge=E(N);A.l(ge),ge.forEach(m),te.forEach(m),this.h()},h(){p(a,"class","mb-4 text-md uppercase"),p(c,"class","text-2xl font-bold"),p(q,"class","mt-4"),p(r,"class","mt-4 sm:mt-0"),p(t,"class","sm:flex gap-10 mt-4"),p(z,"class","uppercase mb-4 text-md"),p(U,"class","mt-6")},m(o,_){P(o,t,_),u(t,s),ae(e,s,null),u(t,l),u(t,r),u(r,a),u(a,f),u(r,i),u(r,c),u(c,F),u(c,ie),u(c,L),u(r,oe),d&&d.m(r,null),u(r,Q),h&&h.m(r,null),u(r,X),u(r,q),u(q,fe),u(q,Y),u(r,ce),g&&g.m(r,null),u(r,Z),k&&k.m(r,null),P(o,y,_),P(o,U,_),u(U,z),u(z,ue),u(z,x),u(z,me),u(U,_e),u(U,N),H[j].m(N,null),B=!0},p(o,_){const R={};_&1&&(R.speaker=o[0]),e.$set(R),(!B||_&1)&&S!==(S=o[0].name+"")&&W(F,S),(!B||_&1)&&G!==(G=Ae(o[0].country)+"")&&W(L,G),o[0].bio?d?(d.p(o,_),_&1&&b(d,1)):(d=De(o),d.c(),b(d,1),d.m(r,Q)):d&&(K(),V(d,1,1,()=>{d=null}),J()),o[0].orgs?h?(h.p(o,_),_&1&&b(h,1)):(h=Ie(o),h.c(),b(h,1),h.m(r,X)):h&&(K(),V(h,1,1,()=>{h=null}),J()),(!B||_&1)&&M!==(M=o[0].tracks.map(o[5]).join(", ")+"")&&W(Y,M),o[0].twitter?g?g.p(o,_):(g=Ve(o),g.c(),g.m(r,Z)):g&&(g.d(1),g=null),o[0].web&&o[0].web.url?k?k.p(o,_):(k=Se(o),k.c(),k.m(r,null)):k&&(k.d(1),k=null),(!B||_&4)&&O!==(O=o[2].length+"")&&W(x,O);let v=j;j=ve(o),j===v?H[j].p(o,_):(K(),V(H[v],1,1,()=>{H[v]=null}),J(),A=H[j],A?A.p(o,_):(A=H[j]=pe[j](o),A.c()),b(A,1),A.m(N,null))},i(o){B||(b(e.$$.fragment,o),b(d),b(h),b(A),B=!0)},o(o){V(e.$$.fragment,o),V(d),V(h),V(A),B=!1},d(o){o&&m(t),ne(e),d&&d.d(),h&&h.d(),g&&g.d(),k&&k.d(),o&&m(y),o&&m(U),H[j].d()}}}function De(n){let t,s,e;return s=new Ce({props:{source:n[0].bio}}),{c(){t=w("div"),re(s.$$.fragment),this.h()},l(l){t=$(l,"DIV",{class:!0});var r=E(t);se(s.$$.fragment,r),r.forEach(m),this.h()},h(){p(t,"class","mt-4 text-blue-web italic")},m(l,r){P(l,t,r),ae(s,t,null),e=!0},p(l,r){const a={};r&1&&(a.source=l[0].bio),s.$set(a)},i(l){e||(b(s.$$.fragment,l),e=!0)},o(l){V(s.$$.fragment,l),e=!1},d(l){l&&m(t),ne(s)}}}function Ie(n){let t,s,e;return s=new Ce({props:{source:n[0].orgs}}),{c(){t=w("div"),re(s.$$.fragment),this.h()},l(l){t=$(l,"DIV",{class:!0});var r=E(t);se(