pbw-explore/_app/immutable/chunks/Footer-bc149fb5.js

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

import{S as Ce,i as Oe,s as Se,e as he,b as I,B as re,h as k,k as N,l as U,m as Y,n as M,p as se,P as me,q as E,a as ae,r as W,c as ne,F as D,u as ce,C as Ue}from"./index-d58fe3f7.js";function G(a){if(a===null||a===!0||a===!1)return NaN;var t=Number(a);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function S(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function $(a){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},$(a)}function O(a){S(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||$(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="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 br(a,t){S(2,arguments);var e=O(a),r=G(t);return isNaN(r)?new Date(NaN):(r&&e.setDate(e.getDate()+r),e)}function Ye(a,t){S(2,arguments);var e=O(a).getTime(),r=G(t);return new Date(e+r)}var Ae={};function K(){return Ae}function fe(a){var t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),a.getTime()-t.getTime()}function ee(a,t){S(2,arguments);var e=O(a),r=O(t),n=e.getTime()-r.getTime();return n<0?-1:n>0?1:n}function te(a){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(a)}function Ie(a){return S(1,arguments),a instanceof Date||te(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Fe(a){if(S(1,arguments),!Ie(a)&&typeof a!="number")return!1;var t=O(a);return!isNaN(Number(t))}function qe(a,t){S(2,arguments);var e=O(a),r=O(t),n=e.getFullYear()-r.getFullYear(),i=e.getMonth()-r.getMonth();return n*12+i}function Le(a,t){return S(2,arguments),O(a).getTime()-O(t).getTime()}var ve={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},Re="trunc";function ze(a){return a?ve[a]:ve[Re]}function He(a){S(1,arguments);var t=O(a);return t.setHours(23,59,59,999),t}function Xe(a){S(1,arguments);var t=O(a),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}function Ge(a){S(1,arguments);var t=O(a);return He(t).getTime()===Xe(t).getTime()}function Be(a,t){S(2,arguments);var e=O(a),r=O(t),n=ee(e,r),i=Math.abs(qe(e,r)),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,r)===-n;Ge(O(a))&&i===1&&ee(a,r)===1&&(s=!1),o=n*(i-Number(s))}return o===0?0:o}function je(a,t,e){S(2,arguments);var r=Le(a,t)/1e3;return ze(e==null?void 0:e.roundingMethod)(r)}function Qe(a,t){S(2,arguments);var e=G(t);return Ye(a,-e)}var Ve=864e5;function Je(a){S(1,arguments);var t=O(a),e=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),n=e-r;return Math.floor(n/Ve)+1}function ie(a){S(1,arguments);var t=1,e=O(a),r=e.getUTCDay(),n=(r<t?7:0)+r-t;return e.setUTCDate(e.getUTCDate()-n),e.setUTCHours(0,0,0,0),e}function xe(a){S(1,arguments);var t=O(a),e=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(e+1,0,4),r.setUTCHours(0,0,0,0);var n=ie(r),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 Ke(a){S(1,arguments);var t=xe(a),e=new Date(0);e.setUTCFullYear(t,0,4),e.setUTCHours(0,0,0,0);var r=ie(e);return r}var Ze=6048e5;function $e(a){S(1,arguments);var t=O(a),e=ie(t).getTime()-Ke(t).getTime();return Math.round(e/Ze)+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(d,g){for(var p=2;p<arguments.length;p++)for(var _=0;_<arguments[p].length;_++)d[g++]=arguments[p].charAt(_)}function l(d){return String.fromCharCode(d>>8&255,d&255)}function u(d){return String.fromCharCode(d>>24&255,d>>16&255,d>>8&255,d&255)}function v(d){return String.fromCharCode(d&255,d>>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 b=new Array,m=0;m<this.buffer_size;m++)this.buffer[m]="\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 m=0;(m<<16)-1<this.pix_size;m++){var h,w;m+65535<this.pix_size?(h=65535,w="\0"):(h=this.pix_size-(m<<16)-m,w=""),s(this.buffer,this.idat_offs+8+2+(m<<16)+(m<<2),w,v(h),v(~h))}for(var m=0;m<256;m++){for(var c=m,y=0;y<8;y++)c&1?c=-306674912^c>>1&2147483647:c=c>>1&2147483647;b[m]=c}this.index=function(d,g){var p=g*(this.width+1)+d+1,_=this.idat_offs+8+2+5*Math.floor(p/65535+1)+p;return _},this.color=function(d,g,p,_){_=_>=0?_:255;var T=((_<<8|d)<<8|g)<<8|p;if(typeof this.palette[T]>"u"){if(this.pindex==this.depth)return"\0";var P=this.plte_offs+8+3*this.pindex;this.buffer[P+0]=String.fromCharCode(d),this.buffer[P+1]=String.fromCharCode(g),this.buffer[P+2]=String.fromCharCode(p),this.buffer[this.trns_offs+8+this.pindex]=String.fromCharCode(_),this.palette[T]=String.fromCharCode(this.pindex++)}return this.palette[T]},this.getBase64=function(){var d=this.getDump(),g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p,_,T,P,x,A,q,z=d.length,L=0,R="";do p=d.charCodeAt(L),P=p>>2,_=d.charCodeAt(L+1),x=(p&3)<<4|_>>4,T=d.charCodeAt(L+2),z<L+2?A=64:A=(_&15)<<2|T>>6,z<L+3?q=64:q=T&63,R+=g.charAt(P)+g.charAt(x)+g.charAt(A)+g.charAt(q);while((L+=3)<z);return R},this.getDump=function(){for(var d=65521,g=5552,p=1,_=0,T=g,P=0;P<this.height;P++)for(var x=-1;x<this.width;x++)p+=this.buffer[this.index(x,P)].charCodeAt(0),_+=p,(T-=1)==0&&(p%=d,_%=d,T=g);p%=d,_%=d,s(this.buffer,this.idat_offs+this.idat_size-8,u(_<<16|p));function A(q,z,L){for(var R=-1,Q=4;Q<L-4;Q+=1)R=b[(R^q[z+Q].charCodeAt(0))&255]^R>>8&16777215;s(q,z+L-4,u(R^-1))}return A(this.buffer,this.ihdr_offs,this.ihdr_size),A(this.buffer,this.plte_offs,this.plte_size),A(this.buffer,this.trns_offs,this.trns_size),A(this.buffer,this.idat_offs,this.idat_size),A(this.buffer,this.iend_offs,this.iend_size),`‰PNG\r

`+this.buffer.join("")}}},function(e,r){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,v,b;if(s==0)u=v=b=l;else{const m=l<.5?l*(1+s):l+s-l*s,f=2*l-m;u=n(f,m,o+1/3),v=n(f,m,o),b=n(f,m,o-1/3)}return[Math.round(u*255),Math.round(v*255),Math.round(b*255),255]}e.exports=i}])})})(ur);const lr=de;function fr(a){let t,e;return{c(){t=N("div"),this.h()},l(r){t=U(r,"DIV",{class:!0,style:!0}),Y(t).forEach(k),this.h()},h(){M(t,"class",e=a[2]+" "+a[4]+" "+a[3]+" object-cover dark:bg-white"),se(t,"background","url("+a[5]+")"),se(t,"background-size","100% 100%")},m(r,n){I(r,t,n)},p(r,n){n&28&&e!==(e=r[2]+" "+r[4]+" "+r[3]+" object-cover dark:bg-white")&&M(t,"class",e),n&32&&se(t,"background","url("+r[5]+")")},d(r){r&&k(t)}}}function dr(a){let t,e,r,n;return{c(){t=N("img"),this.h()},l(i){t=U(i,"IMG",{src:!0,class:!0,alt:!0}),this.h()},h(){me(t.src,e=a[0][a[1]])||M(t,"src",e),M(t,"class",r=a[2]+" "+a[4]+" "+a[3]+" object-cover dark:bg-white drop-shadow-xl"),M(t,"alt",n=a[0].name)},m(i,o){I(i,t,o)},p(i,o){o&3&&!me(t.src,e=i[0][i[1]])&&M(t,"src",e),o&28&&r!==(r=i[2]+" "+i[4]+" "+i[3]+" object-cover dark:bg-white drop-shadow-xl")&&M(t,"class",r),o&1&&n!==(n=i[0].name)&&M(t,"alt",n)},d(i){i&&k(t)}}}function cr(a){let t;function e(i,o){if(i[0][i[1]])return dr;if(i[0].hash)return fr}let r=e(a),n=r&&r(a);return{c(){n&&n.c(),t=he()},l(i){n&&n.l(i),t=he()},m(i,o){n&&n.m(i,o),I(i,t,o)},p(i,[o]){r===(r=e(i))&&n?n.p(i,o):(n&&n.d(1),n=r&&r(i),n&&(n.c(),n.m(t.parentNode,t)))},i:re,o:re,d(i){n&&n.d(i),i&&k(t)}}}function hr(a,t,e){let r,{item:n}=t,{img:i="logo"}=t,{width:o="w-10"}=t,{aspect:s="aspect-square"}=t,{rounded:l="rounded"}=t;return a.$$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)},a.$$.update=()=>{a.$$.dirty&3&&e(5,r=!n[i]&&n.hash?lr("0x"+n.hash.substr(0,40)):null)},[n,i,o,s,l,r]}class pr extends Ce{constructor(t){super(),Oe(this,t,hr,cr,Se,{item:0,img:1,width:2,aspect:3,rounded:4})}}const Te={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 Me(a){let t,e,r,n,i=_e(new Date(a[1].time))+"",o,s,l,u,v,b,m,f,h,w,c,y=a[0]&&De(a),d=a[2]&&ke(a);return{c(){t=N("div"),e=N("div"),r=E("Last update: "),n=N("a"),o=E(i),s=E(" ago"),l=E(`
 | 
`),u=N("a"),v=E("Analytics"),b=E(`
 | 
`),m=N("a"),f=E("pbw-explore "),h=E("0.2.0"),w=ae(),y&&y.c(),c=ae(),d&&d.c(),this.h()},l(g){t=U(g,"DIV",{class:!0});var p=Y(t);e=U(p,"DIV",{class:!0});var _=Y(e);r=W(_,"Last update: "),n=U(_,"A",{href:!0,target:!0,class:!0});var T=Y(n);o=W(T,i),s=W(T," ago"),T.forEach(k),l=W(_,`
 | 
`),u=U(_,"A",{href:!0,class:!0,target:!0});var P=Y(u);v=W(P,"Analytics"),P.forEach(k),b=W(_,`
 | 
`),m=U(_,"A",{href:!0,class:!0,target:!0});var x=Y(m);f=W(x,"pbw-explore "),h=W(x,"0.2.0"),x.forEach(k),w=ne(_),y&&y.l(_),_.forEach(k),c=ne(p),d&&d.l(p),p.forEach(k),this.h()},h(){M(n,"href","https://github.com/utxo-foundation/prague-blockchain-week/commits/main"),M(n,"target","_blank"),M(n,"class","underline hover:no-underline"),M(u,"href","https://analytics.gwei.cz/explore.prgblockweek.com"),M(u,"class","underline hover:no-underline"),M(u,"target","_blank"),M(m,"href","https://github.com/utxo-foundation/pbw-explore"),M(m,"class","underline hover:no-underline"),M(m,"target","_blank"),M(e,"class","mt-2"),M(t,"class","mt-4 text-gray-400")},m(g,p){I(g,t,p),D(t,e),D(e,r),D(e,n),D(n,o),D(n,s),D(e,l),D(e,u),D(u,v),D(e,b),D(e,m),D(m,f),D(m,h),D(e,w),y&&y.m(e,null),D(t,c),d&&d.m(t,null)},p(g,p){p&2&&i!==(i=_e(new Date(g[1].time))+"")&&ce(o,i),g[0]?y?y.p(g,p):(y=De(g),y.c(),y.m(e,null)):y&&(y.d(1),y=null),g[2]?d?d.p(g,p):(d=ke(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&k(t),y&&y.d(),d&&d.d()}}}function De(a){let t,e,r=a[0].id+"",n,i,o,s,l,u,v,b,m;return{c(){t=E(" |  ID: "),e=N("a"),n=E(r),o=E(`
[`),s=E(a[3]),l=E(`]  | 
`),u=N("button"),v=E("Toggle JSON source"),this.h()},l(f){t=W(f," |  ID: "),e=U(f,"A",{href:!0,class:!0,target:!0});var h=Y(e);n=W(h,r),h.forEach(k),o=W(f,`
[`),s=W(f,a[3]),l=W(f,`]  | 
`),u=U(f,"BUTTON",{class:!0});var w=Y(u);v=W(w,"Toggle JSON source"),w.forEach(k),this.h()},h(){M(e,"href",i="https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data/23/"+a[3]+"/"+a[0].id),M(e,"class","underline hover:no-underline"),M(e,"target","_blank"),M(u,"class","cursor-pointer underline hover:no-underline")},m(f,h){I(f,t,h),I(f,e,h),D(e,n),I(f,o,h),I(f,s,h),I(f,l,h),I(f,u,h),D(u,v),b||(m=Ue(u,"click",a[5]),b=!0)},p(f,h){h&1&&r!==(r=f[0].id+"")&&ce(n,r),h&1&&i!==(i="https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data/23/"+f[3]+"/"+f[0].id)&&M(e,"href",i)},d(f){f&&k(t),f&&k(e),f&&k(o),f&&k(s),f&&k(l),f&&k(u),b=!1,m()}}}function ke(a){let t,e,r,n,i=JSON.stringify(a[0],null,2)+"",o;return{c(){t=N("h2"),e=E("JSON source-code"),r=ae(),n=N("div"),o=E(i),this.h()},l(s){t=U(s,"H2",{class:!0});var l=Y(t);e=W(l,"JSON source-code"),l.forEach(k),r=ne(s),n=U(s,"DIV",{class:!0});var u=Y(n);o=W(u,i),u.forEach(k),this.h()},h(){M(t,"class","text-2xl uppercase font-bold mt-10 text-gray-500"),M(n,"class","mt-4 font-mono whitespace-pre-wrap p-4 rounded-md bg-slate-200 text-sm text-black")},m(s,l){I(s,t,l),D(t,e),I(s,r,l),I(s,n,l),D(n,o)},p(s,l){l&1&&i!==(i=JSON.stringify(s[0],null,2)+"")&&ce(o,i)},d(s){s&&k(t),s&&k(r),s&&k(n)}}}function mr(a){let t,e,r,n,i,o,s,l,u,v,b,m,f,h=a[1]&&Me(a);return{c(){t=N("div"),e=N("div"),r=N("div"),n=E(` This page is automatically generated using the structured dataset which can be consumed as a
single JSON file `),i=N("a"),o=E("data.prgblockweek.com/23/index.json"),s=E(`.
`),l=N("div"),u=E(`
📖 The source data GitHub repository `),v=N("a"),b=E("utxo-foundation/prague-blockchain-week"),m=E(". Go ahead and do PRs!"),f=ae(),h&&h.c(),this.h()},l(w){t=U(w,"DIV",{class:!0});var c=Y(t);e=U(c,"DIV",{class:!0});var y=Y(e);r=U(y,"DIV",{});var d=Y(r);n=W(d,` This page is automatically generated using the structured dataset which can be consumed as a
single JSON file `),i=U(d,"A",{href:!0,class:!0,target:!0});var g=Y(i);o=W(g,"data.prgblockweek.com/23/index.json"),g.forEach(k),s=W(d,`.
`),l=U(d,"DIV",{class:!0}),Y(l).forEach(k),u=W(d,`
📖 The source data GitHub repository `),v=U(d,"A",{href:!0,class:!0,target:!0});var p=Y(v);b=W(p,"utxo-foundation/prague-blockchain-week"),p.forEach(k),m=W(d,". Go ahead and do PRs!"),d.forEach(k),y.forEach(k),f=ne(c),h&&h.l(c),c.forEach(k),this.h()},h(){M(i,"href","https://data.prgblockweek.com/23/index.json"),M(i,"class","underline hover:no-underline"),M(i,"target","_blank"),M(l,"class","h-4"),M(v,"href","https://github.com/utxo-foundation/prague-blockchain-week"),M(v,"class","underline hover:no-underline"),M(v,"target","_blank"),M(e,"class","bg-gray-100 dark:bg-gray-400 p-4 text-lg text-gray-600 dark:text-gray-800"),M(t,"class","mt-20")},m(w,c){I(w,t,c),D(t,e),D(e,r),D(r,n),D(r,i),D(i,o),D(r,s),D(r,l),D(r,u),D(r,v),D(v,b),D(r,m),D(t,f),h&&h.m(t,null)},p(w,[c]){w[1]?h?h.p(w,c):(h=Me(w),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},i:re,o:re,d(w){w&&k(t),h&&h.d()}}}function vr(a,t,e){let{item:r}=t,{col:n}=t,{bundle:i}=t;const o=Object.keys(Te.collections).find(u=>Te.collections[u].model===n);let s=!1;const l=()=>(e(2,s=!s),!1);return a.$$set=u=>{"item"in u&&e(0,r=u.item),"col"in u&&e(4,n=u.col),"bundle"in u&&e(1,i=u.bundle)},[r,i,s,o,n,l]}class yr extends Ce{constructor(t){super(),Oe(this,t,vr,mr,Se,{item:0,col:4,bundle:1})}}export{yr as F,pr as I,Ye as a,br as b,ee as c,Te as d,wr as f,S as r,G as t};