import{S as A,i as C,s as L,k as _,l as v,m as p,h as n,n as c,b as g,C as P,B,D as y,a as k,q as E,E as z,c as $,r as D,F as m,G as S,w as H,x as J,y as N,H as T,I as q,J as W,f as I,t as M,z as j,K as F}from"../../chunks/index-41559e88.js";import{p as G}from"../../chunks/stores-ec53abc6.js";function K(f){let e,s,r,a,u;return{c(){e=y("svg"),s=y("path"),r=k(),a=_("span"),u=E("Light mode"),this.h()},l(t){e=z(t,"svg",{id:!0,class:!0,fill:!0,viewBox:!0,xmlns:!0});var l=p(e);s=z(l,"path",{d:!0,"fill-rule":!0,"clip-rule":!0}),p(s).forEach(n),l.forEach(n),r=$(t),a=v(t,"SPAN",{class:!0});var o=p(a);u=D(o,"Light mode"),o.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(t,l){g(t,e,l),m(e,s),g(t,r,l),g(t,a,l),m(a,u)},d(t){t&&n(e),t&&n(r),t&&n(a)}}}function O(f){let e,s,r,a,u;return{c(){e=y("svg"),s=y("path"),r=k(),a=_("span"),u=E("Dark mode"),this.h()},l(t){e=z(t,"svg",{id:!0,class:!0,fill:!0,viewBox:!0,xmlns:!0});var l=p(e);s=z(l,"path",{d:!0}),p(s).forEach(n),l.forEach(n),r=$(t),a=v(t,"SPAN",{class:!0});var o=p(a);u=D(o,"Dark mode"),o.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(t,l){g(t,e,l),m(e,s),g(t,r,l),g(t,a,l),m(a,u)},d(t){t&&n(e),t&&n(r),t&&n(a)}}}function U(f){let e,s,r;function a(l,o){return l[0]?O:K}let u=a(f),t=u(f);return{c(){e=_("button"),t.c(),this.h()},l(l){e=v(l,"BUTTON",{class:!0});var o=p(e);t.l(o),o.forEach(n),this.h()},h(){c(e,"class","flex items-center text-white py-1 px-2 rounded-full hover:bg-pbw-yellow/20 dark:hover:bg-pbw-white/10")},m(l,o){g(l,e,o),t.m(e,null),s||(r=P(e,"click",f[1]),s=!0)},p(l,[o]){u!==(u=a(l))&&(t.d(1),t=u(l),t&&(t.c(),t.m(e,null)))},i:B,o:B,d(l){l&&n(e),t.d(),s=!1,r()}}}function Q(f,e,s){let r=!1;function a(){s(0,r=!r),document.body.classList.toggle("dark",r)}return[r,a]}class R extends A{constructor(e){super(),C(this,e,Q,U,L,{})}}function V(f){let e,s,r,a,u,t,l,o;return{c(){e=_("div"),s=_("div"),r=_("h1"),a=_("a"),u=E("Prague Blockchain Week 2023"),t=k(),l=_("div"),o=E("June 2-11, 2023"),this.h()},l(w){e=v(w,"DIV",{class:!0});var d=p(e);s=v(d,"DIV",{class:!0});var i=p(s);r=v(i,"H1",{class:!0});var h=p(r);a=v(h,"A",{href:!0});var x=p(a);u=D(x,"Prague Blockchain Week 2023"),x.forEach(n),h.forEach(n),t=$(i),l=v(i,"DIV",{class:!0});var b=p(l);o=D(b,"June 2-11, 2023"),b.forEach(n),i.forEach(n),d.forEach(n),this.h()},h(){c(a,"href","https://prgblockweek.com"),c(r,"class","text-5xl uppercase font-bold text-pbw-white"),c(l,"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(w,d){g(w,e,d),m(e,s),m(s,r),m(r,a),m(a,u),m(s,t),m(s,l),m(l,o)},d(w){w&&n(e)}}}function X(f){let e,s,r,a,u,t,l;r=new R({});let o=f[0]&&V();const w=f[3].default,d=S(w,f,f[2],null);return{c(){e=_("div"),s=_("div"),H(r.$$.fragment),a=k(),o&&o.c(),u=k(),t=_("div"),d&&d.c(),this.h()},l(i){e=v(i,"DIV",{class:!0});var h=p(e);s=v(h,"DIV",{class:!0});var x=p(s);J(r.$$.fragment,x),x.forEach(n),a=$(h),o&&o.l(h),h.forEach(n),u=$(i),t=v(i,"DIV",{class:!0});var b=p(t);d&&d.l(b),b.forEach(n),this.h()},h(){c(s,"class","flex max-w-7xl items-right justify-end p-2 m-auto h-[50px] -mb-[30px]"),c(e,"class","w-full h-full bg-pbw-red"),c(t,"class","pb-24")},m(i,h){g(i,e,h),m(e,s),N(r,s,null),m(e,a),o&&o.m(e,null),g(i,u,h),g(i,t,h),d&&d.m(t,null),l=!0},p(i,[h]){i[0]?o||(o=V(),o.c(),o.m(e,null)):o&&(o.d(1),o=null),d&&d.p&&(!l||h&4)&&T(d,w,i,i[2],l?W(w,i[2],h,null):q(i[2]),null)},i(i){l||(I(r.$$.fragment,i),I(d,i),l=!0)},o(i){M(r.$$.fragment,i),M(d,i),l=!1},d(i){i&&n(e),j(r),o&&o.d(),i&&n(u),i&&n(t),d&&d.d(i)}}}function Y(f,e,s){let r,a;F(f,G,l=>s(1,a=l));let{$$slots:u={},$$scope:t}=e;return f.$$set=l=>{"$$scope"in l&&s(2,t=l.$$scope)},f.$$.update=()=>{f.$$.dirty&2&&s(0,r=!a.params.type&&!a.params.date&&a.route.id!=="/[entry]/schedule")},[r,a,t,u]}class te extends A{constructor(e){super(),C(this,e,Y,X,L,{})}}export{te as default};