pbw-explore/_app/immutable/chunks/Footer-45bd9e70.js

31 řádky
41 KiB
JavaScript
Surový Normální zobrazení Historie

import{S as Se,i as Pe,s as Ee,e as ge,b as q,B as re,h as k,k as W,l as N,m as I,n as D,p as ue,T as be,q as U,a as ae,r as Y,c as ne,F as C,u as ie,C as Ae}from"./index-bc2baea7.js";var Fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function G(r){if(r===null||r===!0||r===!1)return NaN;var t=Number(r);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function E(r,t){if(t.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+t.length+" present")}function $(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(e){return typeof e}:$=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(r)}function P(r){E(1,arguments);var t=Object.prototype.toString.call(r);return r instanceof Date||$(r)==="object"&&t==="[object Date]"?new Date(r.getTime()):typeof r=="number"||t==="[object Number]"?new Date(r):((typeof r=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function _r(r,t){E(2,arguments);var e=P(r),a=G(t);return isNaN(a)?new Date(NaN):(a&&e.setDate(e.getDate()+a),e)}function qe(r,t){E(2,arguments);var e=P(r).getTime(),a=G(t);return new Date(e+a)}var ze={};function Z(){return ze}function de(r){var t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),r.getTime()-t.getTime()}function ee(r,t){E(2,arguments);var e=P(r),a=P(t),n=e.getTime()-a.getTime();return n<0?-1:n>0?1:n}function te(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(e){return typeof e}:te=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(r)}function Le(r){return E(1,arguments),r instanceof Date||te(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function Re(r){if(E(1,arguments),!Le(r)&&typeof r!="number")return!1;var t=P(r);return!isNaN(Number(t))}function He(r,t){E(2,arguments);var e=P(r),a=P(t),n=e.getFullYear()-a.getFullYear(),i=e.getMonth()-a.getMonth();return n*12+i}function Xe(r,t){return E(2,arguments),P(r).getTime()-P(t).getTime()}var we={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},Ve="trunc";function Ge(r){return r?we[r]:we[Ve]}function Be(r){E(1,arguments);var t=P(r);return t.setHours(23,59,59,999),t}function je(r){E(1,arguments);var t=P(r),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}function Qe(r){E(1,arguments);var t=P(r);return Be(t).getTime()===je(t).getTime()}function Je(r,t){E(2,arguments);var e=P(r),a=P(t),n=ee(e,a),i=Math.abs(He(e,a)),o;if(i<1)o=0;else{e.getMonth()===1&&e.getDate()>27&&e.setDate(30),e.setMonth(e.getMonth()-n*i);var s=ee(e,a)===-n;Qe(P(r))&&i===1&&ee(r,a)===1&&(s=!1),o=n*(i-Number(s))}return o===0?0:o}function Ke(r,t,e){E(2,arguments);var a=Xe(r,t)/1e3;return Ge(e==null?void 0:e.roundingMethod)(a)}function Ze(r,t){E(2,arguments);var e=G(t);return qe(r,-e)}var $e=864e5;function et(r){E(1,arguments);var t=P(r),e=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var a=t.getTime(),n=e-a;return Math.floor(n/$e)+1}function oe(r){E(1,arguments);var t=1,e=P(r),a=e.getUTCDay(),n=(a<t?7:0)+a-t;return e.setUTCDate(e.getUTCDate()-n),e.setUTCHours(0,0,0,0),e}function We(r){E(1,arguments);var t=P(r),e=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(e+1,0,4),a.setUTCHours(0,0,0,0);var n=oe(a),i=new Date(0);i.setUTCFullYear(e,0,4),i.setUTCHours(0,0,0,0);var o=oe(i);return t.getTime()>=n.getTime()?e+1:t.getTime()>=o.getTime()?e:e-1}function tt(r){E(1,arguments);var t=We(r),e=new Date(0);e.setUTCFullYear(t,0,4),e.setUTCHours(0,0,0,0);var a=oe(e);return a}var rt=604
* A handy class to calculate color values.
*
* @version 1.0
* @author Robert Eisele <robert@xarg.org>
* @copyright Copyright (c) 2010, Robert Eisele
* @link http://www.xarg.org/2010/03/generate-client-side-png-files-using-javascript/
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
*
*/e.exports=function(n,i,o){function s(v,h){for(var b=2;b<arguments.length;b++)for(var p=0;p<arguments[b].length;p++)v[h++]=arguments[b].charAt(p)}function l(v){return String.fromCharCode(v>>8&255,v&255)}function u(v){return String.fromCharCode(v>>24&255,v>>16&255,v>>8&255,v&255)}function y(v){return String.fromCharCode(v&255,v>>8&255)}this.width=n,this.height=i,this.depth=o,this.pix_size=i*(n+1),this.data_size=2+this.pix_size+5*Math.floor((65534+this.pix_size)/65535)+4,this.ihdr_offs=0,this.ihdr_size=4+4+13+4,this.plte_offs=this.ihdr_offs+this.ihdr_size,this.plte_size=4+4+3*o+4,this.trns_offs=this.plte_offs+this.plte_size,this.trns_size=4+4+o+4,this.idat_offs=this.trns_offs+this.trns_size,this.idat_size=4+4+this.data_size+4,this.iend_offs=this.idat_offs+this.idat_size,this.iend_size=4+4+4,this.buffer_size=this.iend_offs+this.iend_size,this.buffer=new Array,this.palette=new Object,this.pindex=0;for(var g=new Array,c=0;c<this.buffer_size;c++)this.buffer[c]="\0";s(this.buffer,this.ihdr_offs,u(this.ihdr_size-12),"IHDR",u(n),u(i),"\b"),s(this.buffer,this.plte_offs,u(this.plte_size-12),"PLTE"),s(this.buffer,this.trns_offs,u(this.trns_size-12),"tRNS"),s(this.buffer,this.idat_offs,u(this.idat_size-12),"IDAT"),s(this.buffer,this.iend_offs,u(this.iend_size-12),"IEND");var f=8+(7<<4)<<8|3<<6;f+=31-f%31,s(this.buffer,this.idat_offs+8,l(f));for(var c=0;(c<<16)-1<this.pix_size;c++){var _,w;c+65535<this.pix_size?(_=65535,w="\0"):(_=this.pix_size-(c<<16)-c,w=""),s(this.buffer,this.idat_offs+8+2+(c<<16)+(c<<2),w,y(_),y(~_))}for(var c=0;c<256;c++){for(var m=c,x=0;x<8;x++)m&1?m=-306674912^m>>1&2147483647:m=m>>1&2147483647;g[c]=m}this.index=function(v,h){var b=h*(this.width+1)+v+1,p=this.idat_offs+8+2+5*Math.floor(b/65535+1)+b;return p},this.color=function(v,h,b,p){p=p>=0?p:255;var d=((p<<8|v)<<8|h)<<8|b;if(typeof this.palette[d]>"u"){if(this.pindex==this.depth)return"\0";var M=this.plte_offs+8+3*this.pindex;this.buffer[M+0]=String.fromCharCode(v),this.buffer[M+1]=String.fromCharCode(h),this.buffer[M+2]=String.fromCharCode(b),this.buffer[this.trns_offs+8+this.pindex]=String.fromCharCode(p),this.palette[d]=String.fromCharCode(this.pindex++)}return this.palette[d]},this.getBase64=function(){var v=this.getDump(),h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",b,p,d,M,T,O,z,H=v.length,A=0,R="";do b=v.charCodeAt(A),M=b>>2,p=v.charCodeAt(A+1),T=(b&3)<<4|p>>4,d=v.charCodeAt(A+2),H<A+2?O=64:O=(p&15)<<2|d>>6,H<A+3?z=64:z=d&63,R+=h.charAt(M)+h.charAt(T)+h.charAt(O)+h.charAt(z);while((A+=3)<H);return R},this.getDump=function(){for(var v=65521,h=5552,b=1,p=0,d=h,M=0;M<this.height;M++)for(var T=-1;T<this.width;T++)b+=this.buffer[this.index(T,M)].charCodeAt(0),p+=b,(d-=1)==0&&(b%=v,p%=v,d=h);b%=v,p%=v,s(this.buffer,this.idat_offs+this.idat_size-8,u(p<<16|b));function O(z,H,A){for(var R=-1,L=4;L<A-4;L+=1)R=g[(R^z[H+L].charCodeAt(0))&255]^R>>8&16777215;s(z,H+A-4,u(R^-1))}return O(this.buffer,this.ihdr_offs,this.ihdr_size),O(this.buffer,this.plte_offs,this.plte_size),O(this.buffer,this.trns_offs,this.trns_size),O(this.buffer,this.idat_offs,this.idat_size),O(this.buffer,this.iend_offs,this.iend_size),`‰PNG\r

`+this.buffer.join("")}}},function(e,a){function n(o,s,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?o+(s-o)*6*l:l<1/2?s:l<2/3?o+(s-o)*(2/3-l)*6:o}function i(o,s,l){let u,y,g;if(s==0)u=y=g=l;else{const c=l<.5?l*(1+s):l+s-l*s,f=2*l-c;u=n(f,c,o+1/3),y=n(f,c,o),g=n(f,c,o-1/3)}return[Math.round(u*255),Math.round(y*255),Math.round(g*255),255]}e.exports=i}])})})(dr);const cr=ce;function hr(r){let t,e;return{c(){t=W("div"),this.h()},l(a){t=N(a,"DIV",{class:!0,style:!0}),I(t).forEach(k),this.h()},h(){D(t,"class",e=r[2]+" "+r[4]+" "+r[3]+" object-cover dark:bg-white"),ue(t,"background","url("+r[5]+")"),ue(t,"background-size","100% 100%")},m(a,n){q(a,t,n)},p(a,n){n&28&&e!==(e=a[2]+" "+a[4]+" "+a[3]+" object-cover dark:bg-white")&&D(t,"class",e),n&32&&ue(t,"background","url("+a[5]+")")},d(a){a&&k(t)}}}function mr(r){let t,e,a,n;return{c(){t=W("img"),this.h()},l(i){t=N(i,"IMG",{src:!0,class:!0,alt:!0}),this.h()},h(){be(t.src,e=r[0][r[1]])||D(t,"src",e),D(t,"class",a=r[2]+" "+r[4]+" "+r[3]+" object-cover dark:bg-white drop-shadow-xl z-10"),D(t,"alt",n=r[0].name)},m(i,o){q(i,t,o)},p(i,o){o&3&&!be(t.src,e=i[0][i[1]])&&D(t,"src",e),o&28&&a!==(a=i[2]+" "+i[4]+" "+i[3]+" object-cover dark:bg-white drop-shadow-xl z-10")&&D(t,"class",a),o&1&&n!==(n=i[0].name)&&D(t,"alt",n)},d(i){i&&k(t)}}}function vr(r){let t;function e(i,o){if(i[0][i[1]])return mr;if(i[0].hash)return hr}let a=e(r),n=a&&a(r);return{c(){n&&n.c(),t=ge()},l(i){n&&n.l(i),t=ge()},m(i,o){n&&n.m(i,o),q(i,t,o)},p(i,[o]){a===(a=e(i))&&n?n.p(i,o):(n&&n.d(1),n=a&&a(i),n&&(n.c(),n.m(t.parentNode,t)))},i:re,o:re,d(i){n&&n.d(i),i&&k(t)}}}function gr(r,t,e){let a,{item:n}=t,{img:i="logo"}=t,{width:o="w-10"}=t,{aspect:s="aspect-square"}=t,{rounded:l="rounded"}=t;return r.$$set=u=>{"item"in u&&e(0,n=u.item),"img"in u&&e(1,i=u.img),"width"in u&&e(2,o=u.width),"aspect"in u&&e(3,s=u.aspect),"rounded"in u&&e(4,l=u.rounded)},r.$$.update=()=>{r.$$.dirty&3&&e(5,a=!n[i]&&n.hash?cr("0x"+n.hash.substr(0,40)):null)},[n,i,o,s,l,a]}class Tr extends Se{constructor(t){super(),Pe(this,t,gr,vr,Ee,{item:0,img:1,width:2,aspect:3,rounded:4})}}const ke={collections:{places:{title:"Places",model:"place",img:"photo"},events:{title:"Events",model:"event"},speakers:{title:"Speakers",model:"speaker",img:"photoUrl",virtual:!0},"media-partners":{title:"Media Partners & Communities",model:"media-partner",aspect:"aspect-video"},benefits:{title:"Benefits for visitors",model:"benefit"},unions:{title:"Event Unions",model:"union"},chains:{title:"Blockchains",model:"chain"},"other-events":{title:"Other events",model:"other-event"}},eventTypeColors:{conference:"#d3e5ee",meetup:"#fdecc8",hackathon:"#dad7ed",expo:"#eee0da",party:"#dbeddb"},date:"2023-06-02",days:10};function Ce(r){let t,e,a,n,i=JSON.stringify(r[0],null,2)+"",o;return{c(){t=W("h2"),e=U("JSON source-code"),a=ae(),n=W("div"),o=U(i),this.h()},l(s){t=N(s,"H2",{class:!0});var l=I(t);e=Y(l,"JSON source-code"),l.forEach(k),a=ne(s),n=N(s,"DIV",{class:!0});var u=I(n);o=Y(u,i),u.forEach(k),this.h()},h(){D(t,"class","text-2xl uppercase font-bold mt-10 text-gray-500"),D(n,"class","mt-4 font-mono whitespace-pre-wrap p-4 rounded-md bg-slate-200 text-sm text-black")},m(s,l){q(s,t,l),C(t,e),q(s,a,l),q(s,n,l),C(n,o)},p(s,l){l&1&&i!==(i=JSON.stringify(s[0],null,2)+"")&&ie(o,i)},d(s){s&&k(t),s&&k(a),s&&k(n)}}}function xe(r){let t,e,a,n,i=Me(new Date(r[1].__time||null))+"",o,s,l,u=r[1].__tag+"",y,g,c,f,_,w,m,x,v,h=r[0]&&Oe(r);return{c(){t=W("div"),e=W("div"),a=U("Last update: "),n=W("a"),o=U(i),s=U(" ago"),l=U(`
(`),y=U(u),g=U(`)  | 
`),c=W("a"),f=U("Analytics"),_=U(`
 | 
`),w=W("a"),m=U("pbw-explore "),x=U("0.2.1"),v=ae(),h&&h.c(),this.h()},l(b){t=N(b,"DIV",{class:!0});var p=I(t);e=N(p,"DIV",{class:!0});var d=I(e);a=Y(d,"Last update: "),n=N(d,"A",{href:!0,target:!0,class:!0});var M=I(n);o=Y(M,i),s=Y(M," ago"),M.forEach(k),l=Y(d,`
(`),y=Y(d,u),g=Y(d,`)  | 
`),c=N(d,"A",{href:!0,class:!0,target:!0});var T=I(c);f=Y(T,"Analytics"),T.forEach(k),_=Y(d,`
 | 
`),w=N(d,"A",{href:!0,class:!0,target:!0});var O=I(w);m=Y(O,"pbw-explore "),x=Y(O,"0.2.1"),O.forEach(k),v=ne(d),h&&h.l(d),d.forEach(k),p.forEach(k),this.h()},h(){D(n,"href","https://github.com/utxo-foundation/prague-blockchain-week/commits/main"),D(n,"target","_blank"),D(n,"class","underline hover:no-underline"),D(c,"href","https://analytics.gwei.cz/explore.prgblockweek.com"),D(c,"class","underline hover:no-underline"),D(c,"target","_blank"),D(w,"href","https://github.com/utxo-foundation/pbw-explore"),D(w,"class","underline hover:no-underline"),D(w,"target","_blank"),D(e,"class","mt-2"),D(t,"class","mt-4 text-white")},m(b,p){q(b,t,p),C(t,e),C(e,a),C(e,n),C(n,o),C(n,s),C(e,l),C(e,y),C(e,g),C(e,c),C(c,f),C(e,_),C(e,w),C(w,m),C(w,x),C(e,v),h&&h.m(e,null)},p(b,p){p&2&&i!==(i=Me(new Date(b[1].__time||null))+"")&&ie(o,i),p&2&&u!==(u=b[1].__tag+"")&&ie(y,u),b[0]?h?h.p(b,p):(h=Oe(b),h.c(),h.m(e,null)):h&&(h.d(1),h=null)},d(b){b&&k(t),h&&h.d()}}}function Oe(r){let t,e,a=r[0].id+"",n,i,o,s,l,u,y,g,c;return{c(){t=U(" |  ID: "),e=W("a"),n=U(a),o=U(`
[`),s=U(r[3]),l=U(`]  | 
`),u=W("button"),y=U("Toggle JSON source"),this.h()},l(f){t=Y(f," |  ID: "),e=N(f,"A",{href:!0,class:!0,target:!0});var _=I(e);n=Y(_,a),_.forEach(k),o=Y(f,`
[`),s=Y(f,r[3]),l=Y(f,`]  | 
`),u=N(f,"BUTTON",{class:!0});var w=I(u);y=Y(w,"Toggle JSON source"),w.forEach(k),this.h()},h(){D(e,"href",i="https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data/23/"+r[3]+"/"+r[0].id),D(e,"class","underline hover:no-underline"),D(e,"target","_blank"),D(u,"class","cursor-pointer underline hover:no-underline")},m(f,_){q(f,t,_),q(f,e,_),C(e,n),q(f,o,_),q(f,s,_),q(f,l,_),q(f,u,_),C(u,y),g||(c=Ae(u,"click",r[5]),g=!0)},p(f,_){_&1&&a!==(a=f[0].id+"")&&ie(n,a),_&1&&i!==(i="https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data/23/"+f[3]+"/"+f[0].id)&&D(e,"href",i)},d(f){f&&k(t),f&&k(e),f&&k(o),f&&k(s),f&&k(l),f&&k(u),g=!1,c()}}}function br(r){let t,e,a,n,i,o,s,l,u,y,g,c,f,_,w,m,x,v,h,b,p,d=r[2]&&Ce(r),M=r[1]&&xe(r);return{c(){t=W("div"),e=W("div"),a=W("div"),n=W("div"),i=W("div"),o=W("div"),s=U(` This page is automatically generated using the structured dataset which can be
consumed as a single JSON file `),l=W("a"),u=U("data.prgblockweek.com/23/index.json"),y=U(`.
`),g=W("div"),c=U(`
📖 The source data GitHub repository `),f=W("a"),_=U("utxo-foundation/prague-blockchain-week"),w=U(". Go ahead and do PRs!"),m=ae(),d&&d.c(),x=ae(),v=W("div"),h=W("div"),b=W("div"),p=W("div"),M&&M.c(),this.h()},l(T){t=N(T,"DIV",{class:!0});var O=I(t);e=N(O,"DIV",{class:!0});var z=I(e);a=N(z,"DIV",{class:!0});var H=I(a);n=N(H,"DIV",{class:!0});var A=I(n);i=N(A,"DIV",{class:!0});var R=I(i);o=N(R,"DIV",{});var L=I(o);s=Y(L,` This page is automatically generated using the structured dataset which can be
consumed as a single JSON file `),l=N(L,"A",{href:!0,class:!0,target:!0});var F=I(l);u=Y(F,"data.prgblockweek.com/23/index.json"),F.forEach(k),y=Y(L,`.
`),g=N(L,"DIV",{class:!0}),I(g).forEach(k),c=Y(L,`
📖 The source data GitHub repository `),f=N(L,"A",{href:!0,class:!0,target:!0});var X=I(f);_=Y(X,"utxo-foundation/prague-blockchain-week"),X.forEach(k),w=Y(L,". Go ahead and do PRs!"),L.forEach(k),R.forEach(k),m=ne(A),d&&d.l(A),A.forEach(k),H.forEach(k),z.forEach(k),O.forEach(k),x=ne(T),v=N(T,"DIV",{class:!0});var B=I(v);h=N(B,"DIV",{class:!0});var he=I(h);b=N(he,"DIV",{class:!0});var me=I(b);p=N(me,"DIV",{class:!0});var ve=I(p);M&&M.l(ve),ve.forEach(k),me.forEach(k),he.forEach(k),B.forEach(k),this.h()},h(){D(l,"href","https://data.prgblockweek.com/23/index.json"),D(l,"class","underline hover:no-underline"),D(l,"target","_blank"),D(g,"class","h-4"),D(f,"href","https://github.com/utxo-foundation/prague-blockchain-week"),D(f,"class","underline hover:no-underline"),D(f,"target","_blank"),D(i,"class","bg-gray-100 dark:bg-gray-600 p-4 text-lg text-gray-600 dark:text-gray-200"),D(n,"class","pt-0"),D(a,"class","mx-4 xl:mx-0"),D(e,"class","max-w-7xl mx-auto mt-5 md:mt-10 pt-10"),D(t,"class","w-full dark:text-gray-600"),D(p,"class","pt-2"),D(b,"class","mx-4 xl:mx-0"),D(h,"class","max-w-7xl mx-auto mt-5 md:mt-10"),D(v,"class","w-full dark:text-gray-400 bg-pbw-red pb-20")},m(T,O){q(T,t,O),C(t,e),C(e,a),C(a,n),C(n,i),C(i,o),C(o,s),C(o,l),C(l,u),C(o,y),C(o,g),C(o,c),C(o,f),C(f,_),C(o,w),C(n,m),d&&d.m(n,null),q(T,x,O),q(T,v,O),C(v,h),C(h,b),C(b,p),M&&M.m(p,null)},p(T,[O]){T[2]?d?d.p(T,O):(d=Ce(T),d.c(),d.m(n,null)):d&&(d.d(1),d=null),T[1]?M?M.p(T,O):(M=xe(T),M.c(),M.m(p,null)):M&&(M.d(1),M=null)},i:re,o:re,d(T){T&&k(t),d&&d.d(),T&&k(x),T&&k(v),M&&M.d()}}}function wr(r,t,e){let{item:a}=t,{col:n}=t,{bundle:i}=t;const o=Object.keys(ke.collections).find(u=>ke.collections[u].model===n);let s=!1;const l=()=>(e(2,s=!s),!1);return r.$$set=u=>{"item"in u&&e(0,a=u.item),"col"in u&&e(4,n=u.col),"bundle"in u&&e(1,i=u.bundle)},[a,i,s,o,n,l]}class Dr extends Se{constructor(t){super(),Pe(this,t,wr,br,Ee,{item:0,col:4,bundle:1})}}export{Dr as F,Tr as I,qe as a,_r as b,ee as c,ke as d,yr as f,E as r,G as t};