import{S as A,i as C,s as L,k as v,l as g,m,h as n,n as c,b as h,C as N,B,D as k,a as b,q as y,E as $,c as w,r as E,F as _,G as P,w as S,x as H,y as J,H as T,I as q,J as W,f as M,t as I,z as j,K as F}from"../../chunks/index-d58fe3f7.js";import{p as G}from"../../chunks/stores-09714da9.js";function K(f){let e,s,o,a,i;return{c(){e=k("svg"),s=k("path"),o=b(),a=v("span"),i=y("Light mode"),this.h()},l(l){e=$(l,"svg",{id:!0,class:!0,fill:!0,viewBox:!0,xmlns:!0});var t=m(e);s=$(t,"path",{d:!0,"fill-rule":!0,"clip-rule":!0}),m(s).forEach(n),t.forEach(n),o=w(l),a=g(l,"SPAN",{class:!0});var u=m(a);i=E(u,"Light mode"),u.forEach(n),this.h()},h(){c(s,"d","M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"),c(s,"fill-rule","evenodd"),c(s,"clip-rule","evenodd"),c(e,"id","theme-toggle-light-icon"),c(e,"class","w-5 h-5"),c(e,"fill","currentColor"),c(e,"viewBox","0 0 20 20"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(a,"class","px-2")},m(l,t){h(l,e,t),_(e,s),h(l,o,t),h(l,a,t),_(a,i)},d(l){l&&n(e),l&&n(o),l&&n(a)}}}function O(f){let e,s,o,a,i;return{c(){e=k("svg"),s=k("path"),o=b(),a=v("span"),i=y("Dark mode"),this.h()},l(l){e=$(l,"svg",{id:!0,class:!0,fill:!0,viewBox:!0,xmlns:!0});var t=m(e);s=$(t,"path",{d:!0}),m(s).forEach(n),t.forEach(n),o=w(l),a=g(l,"SPAN",{class:!0});var u=m(a);i=E(u,"Dark mode"),u.forEach(n),this.h()},h(){c(s,"d","M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"),c(e,"id","theme-toggle-dark-icon"),c(e,"class","w-5 h-5"),c(e,"fill","currentColor"),c(e,"viewBox","0 0 20 20"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(a,"class","px-2")},m(l,t){h(l,e,t),_(e,s),h(l,o,t),h(l,a,t),_(a,i)},d(l){l&&n(e),l&&n(o),l&&n(a)}}}function U(f){let e,s,o;function a(t,u){return t[0]?O:K}let i=a(f),l=i(f);return{c(){e=v("button"),l.c(),this.h()},l(t){e=g(t,"BUTTON",{class:!0});var u=m(e);l.l(u),u.forEach(n),this.h()},h(){c(e,"class","flex items-center text-gray-500 dark:text-gray-400 py-1 px-2 rounded-full hover:bg-pbw-yellow/20 dark:hover:bg-pbw-white/10")},m(t,u){h(t,e,u),l.m(e,null),s||(o=N(e,"click",f[1]),s=!0)},p(t,[u]){i!==(i=a(t))&&(l.d(1),l=i(t),l&&(l.c(),l.m(e,null)))},i:B,o:B,d(t){t&&n(e),l.d(),s=!1,o()}}}function Q(f,e,s){let o=!1;function a(){s(0,o=!o),document.body.classList.toggle("dark",o)}return[o,a]}class R extends A{constructor(e){super(),C(this,e,Q,U,L,{})}}function V(f){let e,s,o,a,i,l,t,u;return{c(){e=v("div"),s=v("div"),o=v("h1"),a=v("a"),i=y("Prague Blockchain Week 2023"),l=b(),t=v("div"),u=y("June 2-11, 2023"),this.h()},l(p){e=g(p,"DIV",{class:!0});var r=m(e);s=g(r,"DIV",{class:!0});var d=m(s);o=g(d,"H1",{class:!0});var x=m(o);a=g(x,"A",{href:!0});var z=m(a);i=E(z,"Prague Blockchain Week 2023"),z.forEach(n),x.forEach(n),l=w(d),t=g(d,"DIV",{class:!0});var D=m(t);u=E(D,"June 2-11, 2023"),D.forEach(n),d.forEach(n),r.forEach(n),this.h()},h(){c(a,"href","https://prgblockweek.com"),c(o,"class","text-5xl uppercase font-bold text-pbw-red"),c(t,"class","text-4xl text-pbw-yellow"),c(s,"class","max-w-7xl mx-auto pt-10 pb-6"),c(e,"class","px-6 xl:px-0")},m(p,r){h(p,e,r),_(e,s),_(s,o),_(o,a),_(a,i),_(s,l),_(s,t),_(t,u)},d(p){p&&n(e)}}}function X(f){let e,s,o,a,i,l;s=new R({});let t=f[0]&&V();const u=f[3].default,p=P(u,f,f[2],null);return{c(){e=v("div"),S(s.$$.fragment),o=b(),t&&t.c(),a=b(),i=v("div"),p&&p.c(),this.h()},l(r){e=g(r,"DIV",{class:!0});var d=m(e);H(s.$$.fragment,d),d.forEach(n),o=w(r),t&&t.l(r),a=w(r),i=g(r,"DIV",{class:!0});var x=m(i);p&&p.l(x),x.forEach(n),this.h()},h(){c(e,"class","flex max-w-7xl items-right justify-end p-2 m-auto h-[50px] -mb-[30px]"),c(i,"class","pb-24")},m(r,d){h(r,e,d),J(s,e,null),h(r,o,d),t&&t.m(r,d),h(r,a,d),h(r,i,d),p&&p.m(i,null),l=!0},p(r,[d]){r[0]?t||(t=V(),t.c(),t.m(a.parentNode,a)):t&&(t.d(1),t=null),p&&p.p&&(!l||d&4)&&T(p,u,r,r[2],l?W(u,r[2],d,null):q(r[2]),null)},i(r){l||(M(s.$$.fragment,r),M(p,r),l=!0)},o(r){I(s.$$.fragment,r),I(p,r),l=!1},d(r){r&&n(e),j(s),r&&n(o),t&&t.d(r),r&&n(a),r&&n(i),p&&p.d(r)}}}function Y(f,e,s){let o,a;F(f,G,t=>s(1,a=t));let{$$slots:i={},$$scope:l}=e;return f.$$set=t=>{"$$scope"in t&&s(2,l=t.$$scope)},f.$$.update=()=>{f.$$.dirty&2&&s(0,o=!a.params.type&&!a.params.date&&a.route.id!=="/[entry]/schedule")},[o,a,l,i]}class te extends A{constructor(e){super(),C(this,e,Y,X,L,{})}}export{te as default};