pbw-explore/_app/immutable/chunks/Footer-e62fea39.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 M,k as W,l as N,m as U,n as T,p as se,R as be,q as Y,a as ae,r as I,c as ne,F as x,u as ce,C as Ae}from"./index-90e0c4e4.js";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 P(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 S(r){P(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 yr(r,t){P(2,arguments);var e=S(r),a=G(t);return isNaN(a)?new Date(NaN):(a&&e.setDate(e.getDate()+a),e)}function Fe(r,t){P(2,arguments);var e=S(r).getTime(),a=G(t);return new Date(e+a)}var qe={};function Z(){return qe}function fe(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){P(2,arguments);var e=S(r),a=S(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 ze(r){return P(1,arguments),r instanceof Date||te(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function Le(r){if(P(1,arguments),!ze(r)&&typeof r!="number")return!1;var t=S(r);return!isNaN(Number(t))}function Re(r,t){P(2,arguments);var e=S(r),a=S(t),n=e.getFullYear()-a.getFullYear(),i=e.getMonth()-a.getMonth();return n*12+i}function He(r,t){return P(2,arguments),S(r).getTime()-S(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)}},Xe="trunc";function Ve(r){return r?we[r]:we[Xe]}function Ge(r){P(1,arguments);var t=S(r);return t.setHours(23,59,59,999),t}function Be(r){P(1,arguments);var t=S(r),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}function je(r){P(1,arguments);var t=S(r);return Ge(t).getTime()===Be(t).getTime()}function Qe(r,t){P(2,arguments);var e=S(r),a=S(t),n=ee(e,a),i=Math.abs(Re(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;je(S(r))&&i===1&&ee(r,a)===1&&(s=!1),o=n*(i-Number(s))}return o===0?0:o}function Je(r,t,e){P(2,arguments);var a=He(r,t)/1e3;return Ve(e==null?void 0:e.roundingMethod)(a)}function Ke(r,t){P(2,arguments);var e=G(t);return Fe(r,-e)}var Ze=864e5;function $e(r){P(1,arguments);var t=S(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/Ze)+1}function ie(r){P(1,arguments);var t=1,e=S(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){P(1,arguments);var t=S(r),e=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(e+1,0,4),a.setUTCHours(0,0,0,0);var n=ie(a),i=new Date(0);i.setUTCFullYear(e,0,4),i.setUTCHours(0,0,0,0);var o=ie(i);return t.getTime()>=n.getTime()?e+1:t.getTime()>=o.getTime()?e:e-1}function et(r){P(1,arguments);var t=We(r),e=new Date(0);e.setUTCFullYear(t,0,4),e.setUTCHours(0,0,0,0);var a=ie(e);return a}var tt=6048e5;function rt(r){P(1,arguments);var t=S(r),e=ie(t).getTime()-et(t).getTime();return Math.round(e/tt)+1}function
* 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(c,g){for(var y=2;y<arguments.length;y++)for(var _=0;_<arguments[y].length;_++)c[g++]=arguments[y].charAt(_)}function l(c){return String.fromCharCode(c>>8&255,c&255)}function u(c){return String.fromCharCode(c>>24&255,c>>16&255,c>>8&255,c&255)}function w(c){return String.fromCharCode(c&255,c>>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 v=new Array,h=0;h<this.buffer_size;h++)this.buffer[h]="\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 h=0;(h<<16)-1<this.pix_size;h++){var b,p;h+65535<this.pix_size?(b=65535,p="\0"):(b=this.pix_size-(h<<16)-h,p=""),s(this.buffer,this.idat_offs+8+2+(h<<16)+(h<<2),p,w(b),w(~b))}for(var h=0;h<256;h++){for(var d=h,k=0;k<8;k++)d&1?d=-306674912^d>>1&2147483647:d=d>>1&2147483647;v[h]=d}this.index=function(c,g){var y=g*(this.width+1)+c+1,_=this.idat_offs+8+2+5*Math.floor(y/65535+1)+y;return _},this.color=function(c,g,y,_){_=_>=0?_:255;var m=((_<<8|c)<<8|g)<<8|y;if(typeof this.palette[m]>"u"){if(this.pindex==this.depth)return"\0";var C=this.plte_offs+8+3*this.pindex;this.buffer[C+0]=String.fromCharCode(c),this.buffer[C+1]=String.fromCharCode(g),this.buffer[C+2]=String.fromCharCode(y),this.buffer[this.trns_offs+8+this.pindex]=String.fromCharCode(_),this.palette[m]=String.fromCharCode(this.pindex++)}return this.palette[m]},this.getBase64=function(){var c=this.getDump(),g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",y,_,m,C,D,E,z,H=c.length,A=0,R="";do y=c.charCodeAt(A),C=y>>2,_=c.charCodeAt(A+1),D=(y&3)<<4|_>>4,m=c.charCodeAt(A+2),H<A+2?E=64:E=(_&15)<<2|m>>6,H<A+3?z=64:z=m&63,R+=g.charAt(C)+g.charAt(D)+g.charAt(E)+g.charAt(z);while((A+=3)<H);return R},this.getDump=function(){for(var c=65521,g=5552,y=1,_=0,m=g,C=0;C<this.height;C++)for(var D=-1;D<this.width;D++)y+=this.buffer[this.index(D,C)].charCodeAt(0),_+=y,(m-=1)==0&&(y%=c,_%=c,m=g);y%=c,_%=c,s(this.buffer,this.idat_offs+this.idat_size-8,u(_<<16|y));function E(z,H,A){for(var R=-1,L=4;L<A-4;L+=1)R=v[(R^z[H+L].charCodeAt(0))&255]^R>>8&16777215;s(z,H+A-4,u(R^-1))}return E(this.buffer,this.ihdr_offs,this.ihdr_size),E(this.buffer,this.plte_offs,this.plte_size),E(this.buffer,this.trns_offs,this.trns_size),E(this.buffer,this.idat_offs,this.idat_size),E(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,w,v;if(s==0)u=w=v=l;else{const h=l<.5?l*(1+s):l+s-l*s,f=2*l-h;u=n(f,h,o+1/3),w=n(f,h,o),v=n(f,h,o-1/3)}return[Math.round(u*255),Math.round(w*255),Math.round(v*255),255]}e.exports=i}])})})(dr);const cr=de;function hr(r){let t,e;return{c(){t=W("div"),this.h()},l(a){t=N(a,"DIV",{class:!0,style:!0}),U(t).forEach(M),this.h()},h(){T(t,"class",e=r[2]+" "+r[4]+" "+r[3]+" object-cover dark:bg-white"),se(t,"background","url("+r[5]+")"),se(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")&&T(t,"class",e),n&32&&se(t,"background","url("+a[5]+")")},d(a){a&&M(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]])||T(t,"src",e),T(t,"class",a=r[2]+" "+r[4]+" "+r[3]+" object-cover dark:bg-white drop-shadow-xl z-10"),T(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]])&&T(t,"src",e),o&28&&a!==(a=i[2]+" "+i[4]+" "+i[3]+" object-cover dark:bg-white drop-shadow-xl z-10")&&T(t,"class",a),o&1&&n!==(n=i[0].name)&&T(t,"alt",n)},d(i){i&&M(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&&M(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"},"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"}},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=Y("JSON source-code"),a=ae(),n=W("div"),o=Y(i),this.h()},l(s){t=N(s,"H2",{class:!0});var l=U(t);e=I(l,"JSON source-code"),l.forEach(M),a=ne(s),n=N(s,"DIV",{class:!0});var u=U(n);o=I(u,i),u.forEach(M),this.h()},h(){T(t,"class","text-2xl uppercase font-bold mt-10 text-gray-500"),T(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),x(t,e),q(s,a,l),q(s,n,l),x(n,o)},p(s,l){l&1&&i!==(i=JSON.stringify(s[0],null,2)+"")&&ce(o,i)},d(s){s&&M(t),s&&M(a),s&&M(n)}}}function xe(r){let t,e,a,n,i=Me(new Date(r[1].time))+"",o,s,l,u,w,v,h,f,b,p,d=r[0]&&Oe(r);return{c(){t=W("div"),e=W("div"),a=Y("Last update: "),n=W("a"),o=Y(i),s=Y(" ago"),l=Y(`
 | 
`),u=W("a"),w=Y("Analytics"),v=Y(`
 | 
`),h=W("a"),f=Y("pbw-explore "),b=Y("0.2.1"),p=ae(),d&&d.c(),this.h()},l(k){t=N(k,"DIV",{class:!0});var c=U(t);e=N(c,"DIV",{class:!0});var g=U(e);a=I(g,"Last update: "),n=N(g,"A",{href:!0,target:!0,class:!0});var y=U(n);o=I(y,i),s=I(y," ago"),y.forEach(M),l=I(g,`
 | 
`),u=N(g,"A",{href:!0,class:!0,target:!0});var _=U(u);w=I(_,"Analytics"),_.forEach(M),v=I(g,`
 | 
`),h=N(g,"A",{href:!0,class:!0,target:!0});var m=U(h);f=I(m,"pbw-explore "),b=I(m,"0.2.1"),m.forEach(M),p=ne(g),d&&d.l(g),g.forEach(M),c.forEach(M),this.h()},h(){T(n,"href","https://github.com/utxo-foundation/prague-blockchain-week/commits/main"),T(n,"target","_blank"),T(n,"class","underline hover:no-underline"),T(u,"href","https://analytics.gwei.cz/explore.prgblockweek.com"),T(u,"class","underline hover:no-underline"),T(u,"target","_blank"),T(h,"href","https://github.com/utxo-foundation/pbw-explore"),T(h,"class","underline hover:no-underline"),T(h,"target","_blank"),T(e,"class","mt-2"),T(t,"class","mt-4 text-white")},m(k,c){q(k,t,c),x(t,e),x(e,a),x(e,n),x(n,o),x(n,s),x(e,l),x(e,u),x(u,w),x(e,v),x(e,h),x(h,f),x(h,b),x(e,p),d&&d.m(e,null)},p(k,c){c&2&&i!==(i=Me(new Date(k[1].time))+"")&&ce(o,i),k[0]?d?d.p(k,c):(d=Oe(k),d.c(),d.m(e,null)):d&&(d.d(1),d=null)},d(k){k&&M(t),d&&d.d()}}}function Oe(r){let t,e,a=r[0].id+"",n,i,o,s,l,u,w,v,h;return{c(){t=Y(" |  ID: "),e=W("a"),n=Y(a),o=Y(`
[`),s=Y(r[3]),l=Y(`]  | 
`),u=W("button"),w=Y("Toggle JSON source"),this.h()},l(f){t=I(f," |  ID: "),e=N(f,"A",{href:!0,class:!0,target:!0});var b=U(e);n=I(b,a),b.forEach(M),o=I(f,`
[`),s=I(f,r[3]),l=I(f,`]  | 
`),u=N(f,"BUTTON",{class:!0});var p=U(u);w=I(p,"Toggle JSON source"),p.forEach(M),this.h()},h(){T(e,"href",i="https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data/23/"+r[3]+"/"+r[0].id),T(e,"class","underline hover:no-underline"),T(e,"target","_blank"),T(u,"class","cursor-pointer underline hover:no-underline")},m(f,b){q(f,t,b),q(f,e,b),x(e,n),q(f,o,b),q(f,s,b),q(f,l,b),q(f,u,b),x(u,w),v||(h=Ae(u,"click",r[5]),v=!0)},p(f,b){b&1&&a!==(a=f[0].id+"")&&ce(n,a),b&1&&i!==(i="https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data/23/"+f[3]+"/"+f[0].id)&&T(e,"href",i)},d(f){f&&M(t),f&&M(e),f&&M(o),f&&M(s),f&&M(l),f&&M(u),v=!1,h()}}}function br(r){let t,e,a,n,i,o,s,l,u,w,v,h,f,b,p,d,k,c,g,y,_,m=r[2]&&Ce(r),C=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=Y(` This page is automatically generated using the structured dataset which can be
consumed as a single JSON file `),l=W("a"),u=Y("data.prgblockweek.com/23/index.json"),w=Y(`.
`),v=W("div"),h=Y(`
📖 The source data GitHub repository `),f=W("a"),b=Y("utxo-foundation/prague-blockchain-week"),p=Y(". Go ahead and do PRs!"),d=ae(),m&&m.c(),k=ae(),c=W("div"),g=W("div"),y=W("div"),_=W("div"),C&&C.c(),this.h()},l(D){t=N(D,"DIV",{class:!0});var E=U(t);e=N(E,"DIV",{class:!0});var z=U(e);a=N(z,"DIV",{class:!0});var H=U(a);n=N(H,"DIV",{class:!0});var A=U(n);i=N(A,"DIV",{class:!0});var R=U(i);o=N(R,"DIV",{});var L=U(o);s=I(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=U(l);u=I(F,"data.prgblockweek.com/23/index.json"),F.forEach(M),w=I(L,`.
`),v=N(L,"DIV",{class:!0}),U(v).forEach(M),h=I(L,`
📖 The source data GitHub repository `),f=N(L,"A",{href:!0,class:!0,target:!0});var X=U(f);b=I(X,"utxo-foundation/prague-blockchain-week"),X.forEach(M),p=I(L,". Go ahead and do PRs!"),L.forEach(M),R.forEach(M),d=ne(A),m&&m.l(A),A.forEach(M),H.forEach(M),z.forEach(M),E.forEach(M),k=ne(D),c=N(D,"DIV",{class:!0});var B=U(c);g=N(B,"DIV",{class:!0});var he=U(g);y=N(he,"DIV",{class:!0});var me=U(y);_=N(me,"DIV",{class:!0});var ve=U(_);C&&C.l(ve),ve.forEach(M),me.forEach(M),he.forEach(M),B.forEach(M),this.h()},h(){T(l,"href","https://data.prgblockweek.com/23/index.json"),T(l,"class","underline hover:no-underline"),T(l,"target","_blank"),T(v,"class","h-4"),T(f,"href","https://github.com/utxo-foundation/prague-blockchain-week"),T(f,"class","underline hover:no-underline"),T(f,"target","_blank"),T(i,"class","bg-gray-100 dark:bg-gray-600 p-4 text-lg text-gray-600 dark:text-gray-200"),T(n,"class","pt-0"),T(a,"class","mx-4 xl:mx-0"),T(e,"class","max-w-7xl mx-auto mt-5 md:mt-10 pt-10"),T(t,"class","w-full dark:text-gray-600"),T(_,"class","pt-2"),T(y,"class","mx-4 xl:mx-0"),T(g,"class","max-w-7xl mx-auto mt-5 md:mt-10"),T(c,"class","w-full dark:text-gray-400 bg-pbw-red pb-20")},m(D,E){q(D,t,E),x(t,e),x(e,a),x(a,n),x(n,i),x(i,o),x(o,s),x(o,l),x(l,u),x(o,w),x(o,v),x(o,h),x(o,f),x(f,b),x(o,p),x(n,d),m&&m.m(n,null),q(D,k,E),q(D,c,E),x(c,g),x(g,y),x(y,_),C&&C.m(_,null)},p(D,[E]){D[2]?m?m.p(D,E):(m=Ce(D),m.c(),m.m(n,null)):m&&(m.d(1),m=null),D[1]?C?C.p(D,E):(C=xe(D),C.c(),C.m(_,null)):C&&(C.d(1),C=null)},i:re,o:re,d(D){D&&M(t),m&&m.d(),D&&M(k),D&&M(c),C&&C.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,Fe as a,yr as b,ee as c,ke as d,_r as f,P as r,G as t};