utxo22-web/_app/pages/__layout.svelte-e08f0bb7.js

12 řádky
14 KiB
JavaScript
Surový Normální zobrazení Historie

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