utxo22-web/_app/pages/__layout.svelte-46c06e9e.js

6 řádky
13 KiB
JavaScript
Surový Normální zobrazení Historie

import{S as pe,i as ge,s as be,k as x,l as Q,m as D,g as j,e as u,c as d,a as h,d as f,b as o,F as i,G as Ce,t as A,h as S,E as Ge,H as ke,w as he,x as me,I as de,J as ue,f as We,y as ve,K as Ye,q as F,o as J,B as _e,n as He,p as Je,L as Ze,M as et,N as tt,v as lt,O as at}from"../chunks/index-05c131b6.js";import{p as Ke}from"../chunks/stores-48f7905d.js";import{b as Re,u as $e}from"../chunks/stores-5a24e4f1.js";import{a as rt}from"../chunks/api-4b59b42e.js";import"../chunks/index-77580868.js";function Me(c,l,a){const e=c.slice();return e[3]=l[a],e}function Pe(c,l,a){const e=c.slice();return e[3]=l[a],e}function Te(c){let l,a,e=c[0]==="small"&&Fe(c),t=c[0]==="normal"&&Ue(c);return{c(){e&&e.c(),l=x(),t&&t.c(),a=Q()},l(r){e&&e.l(r),l=D(r),t&&t.l(r),a=Q()},m(r,s){e&&e.m(r,s),j(r,l,s),t&&t.m(r,s),j(r,a,s)},p(r,s){r[0]==="small"?e?e.p(r,s):(e=Fe(r),e.c(),e.m(l.parentNode,l)):e&&(e.d(1),e=null),r[0]==="normal"?t?t.p(r,s):(t=Ue(r),t.c(),t.m(a.parentNode,a)):t&&(t.d(1),t=null)},d(r){e&&e.d(r),r&&f(l),t&&t.d(r),r&&f(a)}}}function Fe(c){let l,a=c[2],e=[];for(let t=0;t<a.length;t+=1)e[t]=Le(Pe(c,a,t));return{c(){l=u("div");for(let t=0;t<e.length;t+=1)e[t].c();this.h()},l(t){l=d(t,"DIV",{class:!0});var r=h(l);for(let s=0;s<e.length;s+=1)e[s].l(r);r.forEach(f),this.h()},h(){o(l,"class","flex block space-x-2 m-auto w-full justify-center")},m(t,r){j(t,l,r);for(let s=0;s<e.length;s+=1)e[s].m(l,null)},p(t,r){if(r&6){a=t[2];let s;for(s=0;s<a.length;s+=1){const n=Pe(t,a,s);e[s]?e[s].p(n,r):(e[s]=Le(n),e[s].c(),e[s].m(l,null))}for(;s<e.length;s+=1)e[s].d(1);e.length=a.length}},d(t){t&&f(l),Ce(e,t)}}}function Le(c){let l,a,e,t;return{c(){l=u("a"),a=u("i"),e=x(),this.h()},l(r){l=d(r,"A",{href:!0,class:!0,target:!0});var s=h(l);a=d(s,"I",{class:!0}),h(a).forEach(f),e=D(s),s.forEach(f),this.h()},h(){o(a,"class",c[3].ico),o(l,"href",t=c[1].links[c[3].link]),o(l,"class","w-6 h-6 bg-white rounded-full hover:bg-utxo-gradient hover:text-white"),o(l,"target","_blank")},m(r,s){j(r,l,s),i(l,a),i(l,e)},p(r,s){s&2&&t!==(t=r[1].links[r[3].link])&&o(l,"href",t)},d(r){r&&f(l)}}}function Ue(c){let l,a,e=c[2],t=[];for(let r=0;r<e.length;r+=1)t[r]=Xe(Me(c,e,r));return{c(){l=u("div"),a=u("div");for(let r=0;r<t.length;r+=1)t[r].c();this.h()},l(r){l=d(r,"DIV",{class:!0});var s=h(l);a=d(s,"DIV",{class:!0});var n=h(a);for(let m=0;m<t.length;m+=1)t[m].l(n);n.forEach(f),s.forEach(f),this.h()},h(){o(a,"class","sm:flex flex-wrap gap-3 justify-end"),o(l,"class","w-auto")},m(r,s){j(r,l,s),i(l,a);for(let n=0;n<t.length;n+=1)t[n].m(a,null)},p(r,s){if(s&6){e=r[2];let n;for(n=0;n<e.length;n+=1){const m=Me(r,e,n);t[n]?t[n].p(m,s):(t[n]=Xe(m),t[n].c(),t[n].m(a,null))}for(;n<t.length;n+=1)t[n].d(1);t.length=e.length}},d(r){r&&f(l),Ce(t,r)}}}function Xe(c){let l,a,e,t=c[3].name+"",r,s;return{c(){l=u("div"),a=u("a"),e=u("i"),r=A(t),this.h()},l(n){l=d(n,"DIV",{class:!0});var m=h(l);a=d(m,"A",{href:!0,class:!0,target:!0});var b=h(a);e=d(b,"I",{class:!0}),h(e).forEach(f),r=S(b,t),b.forEach(f),m.forEach(f),this.h()},h(){o(e,"class",c[3].ico+" mr-2 my-auto"),o(a,"href",s=c[1].links[c[3].link]),o(a,"class","block flex"),o(a,"target","_blank"),o(l,"class","mr-4 sm:mr-0 inline-block sm:block hover:text-red-500")},m(n,m){j(n,l,m),i(l,a),i(a,e),i(a,r)},p(n,m){m&2&&s!==(s=n[1].links[n[3].link])&&o(a,"href",s)},d(n){n&&f(l)}}}function st(c){let l,a=c[1]&&Te(c);return{c(){a&&a.c(),l=Q()},l(e){a&&a.l(e),l=Q()},m(e,t){a&&a.m(e,t),j(e,l,t)},p(e,[t]){e[1]?a?a.p(e,t):(a=Te(e),a.c(),a.m(l.parentNode,l)):a&&(a.d(1),a=null)},i:Ge,o:Ge,d(e){a&&a.d(e),e&&f(l)}}}function ot(c,l,a){let e;ke(c,Re,s=>a(1,e=s));let{size:t="small"}=l;const r=[{link:"twitter",ico:"fa-brands fa-twitter",name:"Twitter"},{link:"instagram",ico:"fab fa-instagram",name:"Instagram"},{link:"fbevent",ico:"fab fa-facebook",name:"Facebook"},{link:"discord",ico:"fab fa-discord",name:"Discord"},{link:"telegram",ico:"fab fa-telegram",name:"Telegram"}];return c.$$set=s=>{"size"in s&&a(0,t=s.size)},[t,e,r]}class Qe extends pe{constructor(l){super();ge(this,l,ot,st,be,{size:0})}}function it(c){let l,a,e,t,r,s,n,m,b,g,v,_,N,L,k,V,B,y,G,W,M,P,U
`),w=u("a"),X=u("img"),ae=A(" Svelte"),re=A(` |
grafick\xFD n\xE1vrh `),q=u("a"),Y=u("img"),this.h()},l(T){l=d(T,"DIV",{class:!0});var K=h(l);a=d(K,"DIV",{class:!0});var ne=h(a);e=d(ne,"DIV",{class:!0});var R=h(e);t=d(R,"DIV",{});var xe=h(t);r=d(xe,"A",{href:!0});var De=h(r);s=d(De,"IMG",{src:!0,alt:!0,class:!0}),De.forEach(f),xe.forEach(f),m=D(R),b=d(R,"DIV",{class:!0});var Ve=h(b);g=S(Ve,"4.-5. \u010Derven 2022 @ Gabriel Loci, Praha"),Ve.forEach(f),v=D(R),_=d(R,"DIV",{class:!0});var ye=h(_);N=S(ye,"Otev\u0159en\xE1 komunitn\xED kryptom\u011Bnov\xE1 konference"),ye.forEach(f),L=D(R),k=d(R,"DIV",{class:!0});var Ae=h(k);V=d(Ae,"A",{href:!0,class:!0});var Ee=h(V);B=d(Ee,"I",{class:!0}),h(B).forEach(f),y=S(Ee,"\xA0 Dokumentace"),Ee.forEach(f),Ae.forEach(f),R.forEach(f),W=D(ne),M=d(ne,"DIV",{class:!0});var Se=h(M);me(P.$$.fragment,Se),Se.forEach(f),ne.forEach(f),U=D(K),E=d(K,"DIV",{class:!0});var ce=h(E);$=d(ce,"DIV",{class:!0});var fe=h($);C=d(fe,"I",{class:!0}),h(C).forEach(f),Z=S(fe," S l\xE1skou organizuje "),p=d(fe,"A",{href:!0,class:!0,target:!0});var Ne=h(p);O=S(Ne,"UTXO Foundation, z.s."),Ne.forEach(f),fe.forEach(f),ee=D(ce),z=d(ce,"DIV",{});var se=h(z);I=d(se,"A",{href:!0,target:!0});var Oe=h(I);H=d(Oe,"SPAN",{class:!0});var ze=h(H);te=S(ze,"v0.8.0"),ze.forEach(f),Oe.forEach(f),le=S(se,` | powered by
`),w=d(se,"A",{href:!0,class:!0,target:!0});var we=h(w);X=d(we,"IMG",{src:!0,class:!0,alt:!0}),ae=S(we," Svelte"),we.forEach(f),re=S(se,` |
grafick\xFD n\xE1vrh `),q=d(se,"A",{href:!0,target:!0});var je=h(q);Y=d(je,"IMG",{src:!0,class:!0,alt:!0}),je.forEach(f),se.forEach(f),ce.forEach(f),K.forEach(f),this.h()},h(){de(s.src,n="/img/logo-white.svg")||o(s,"src",n),o(s,"alt","UTXO.22"),o(s,"class","w-24"),o(r,"href","/"),o(b,"class","mt-4 font-semibold"),o(_,"class","mt-2 font-thin"),o(B,"class","fas fa-book"),o(V,"href",G=c[0].links.docs),o(V,"class","hover:text-red-500"),o(k,"class","mt-4"),o(e,"class","flex-1"),o(M,"class","sm:mt-0 mt-6 sm:w-1/3 mr-2"),o(a,"class","relative mx-auto px-6 pt-10 pb-2 sm:pb-6 max-w-6xl sm:flex pr-4"),o(C,"class","fas fa-heart text-red-500"),o(p,"href","https://utxo.foundation"),o(p,"class","underline hover:no-underline"),o(p,"target","_blank"),o($,"class","flex-1 mt-2 mb-2"),o(H,"class","font-bold"),o(I,"href","https://github.com/utxo-foundation/utxo22-web"),o(I,"target","_blank"),de(X.src,oe="/img/svelte-logo.svg")||o(X,"src",oe),o(X,"class","w-5 inline"),o(X,"alt","Svelte"),o(w,"href","https://svelte.dev/"),o(w,"class","font-bold"),o(w,"target","_blank"),de(Y.src,Ie="/img/pen-production-logo.svg")||o(Y,"src",Ie),o(Y,"class","w-28 inline-block pb-2 ml-1"),o(Y,"alt","Pen&Production"),o(q,"href","https://www.ppmedia.cz/"),o(q,"target","_blank"),o(E,"class","relative mx-auto px-6 pt-10 pb-6 max-w-6xl text-xs opacity-50 sm:flex"),o(l,"class","bg-blue-web-bg text-white")},m(T,K){j(T,l,K),i(l,a),i(a,e),i(e,t),i(t,r),i(r,s),i(e,m),i(e,b),i(b,g),i(e,v),i(e,_),i(_,N),i(e,L),i(e,k),i(k,V),i(V,B),i(V,y),i(a,W),i(a,M),ve(P,M,null),i(l,U),i(l,E),i(E,$),i($,C),i($,Z),i($,p),i(p,O),i(E,ee),i(E,z),i(z,I),i(I,H),i(H,te),i(z,le),i(z,w),i(w,X),i(w,ae),i(z,re),i(z,q),i(q,Y),ie=!0},p(T,K){(!ie||K&1&&G!==(G=T[0].links.docs))&&o(V,"href",G)},i(T){ie||(F(P.$$.fragment,T),ie=!0)},o(T){J(P.$$.fragment,T),ie=!1},d(T){T&&f(l),_e(P)}}}function ft(c){let l,a,e=c[0]&&qe(c);return{c(){e&&e.c(),l=Q()},l(t){e&&e.l(t),l=Q()},m(t,r){e&&e.m(t,r),j(t,l,r),a=!0},p(t,[r]){t[0]?e?(e.p(t,r),r&1&&F(e,1)):(e=qe(t),e.c(),F(e,1),e.m(l.parentNode,l)):e&&(He(),J(e,1,1,()=>{e=null}),Je())},i(t){a||(F(e),a=!0)},o(t){J(e),a=!1},d(t){e&&e.d(t),t&&f(l)}}}function ut(c,l,a){let e;return ke(c,Re,t=>a(0,e=t)),[e]}class dt extends pe{constructor(l){super();ge(this,l,ut,ft,be,{})}}function Be(c){let l,a,e,t,r,s,n,m;e=new ct({});const b=c[2].default,g=at(b,c,c[1],null);return n=new dt({}),{c(){l=u("div"),a=u("div"),he(e.$$.fragment),t=x(),r=u("main"),g&&g.c(),s=x(),he(n.$$.fragment),this.h()},l(v){l=d(v,"DIV",{class:!0});var _=h(l);a=d(_,"DIV",{class:!0});var N=h(a);me(e.$$.fragment,N),t=D(N),r=d(N,"MAIN",{});var L=h(r);g&&g.l(L),L.forEach(f),N.forEach(f),s=D(_),me(n.$$.fragment,_),_.forEach(f),this.h()},h(){o(a,"class","inset-0 bg-white"),o(l,"class","layout min-h-screen bg-gray-900")},m(v,_){j(v,l,_),i(l,a),ve(e,a,null),i(a,t),i(a,r),g&&g.m(r,null),i(l,s),ve(n,l,null),m=!0},p(v,_){g&&g.p&&(!m||_&2)&&Ze(g,b,v,v[1],m?tt(b,v[1],_,null):et(v[1]),null)},i(v){m||(F(e.$$.fragment,v),F(g,v),F(n.$$.fragment,v),m=!0)},o(v){J(e.$$.fragment,v),J(g,v),J(n.$$.fragment,v),m=!1},d(v){v&&f(l),_e(e),g&&g.d(v),_e(n)}}}function ht(c){let l,a,e=c[0]&&Be(c);return{c(){e&&e.c(),l=Q()},l(t){e&&e.l(t),l=Q()},m(t,r){e&&e.m(t,r),j(t,l,r),a=!0},p(t,[r]){t[0]?e?(e.p(t,r),r&1&&F(e,1)):(e=Be(t),e.c(),F(e,1),e.m(l.parentNode,l)):e&&(He(),J(e,1,1,()=>{e=null}),Je())},i(t){a||(F(e),a=!0)},o(t){J(e),a=!1},d(t){e&&e.d(t),t&&f(l)}}}function mt(c,l,a){let e;ke(c,Ke,n=>a(3,e=n));let{$$slots:t={},$$scope:r}=l,s=null;return lt(async()=>{a(0,s=await rt.loadBundle(e.url.hostname==="localhost"));const n=localStorage.getItem("userData");n&&$e.set(JSON.parse(n)),$e.subscribe(m=>{localStorage.setItem("userData",JSON.stringify(m))})}),c.$$set=n=>{"$$scope"in n&&a(1,r=n.$$scope)},[s,r,t]}class kt extends pe{constructor(l){super();ge(this,l,mt,ht,be,{})}}export{kt as default};