pbw-explore/_app/immutable/chunks/Footer-4cc4ca98.js

21 řádky
39 KiB
JavaScript
Surový Normální zobrazení Historie

import{S as ke,i as Oe,s as Se,e as he,b as I,B as re,h as D,k as U,l as Y,m as A,n as M,p as se,N as me,q as E,a as ae,r as W,c as ne,H as S,u as ce,K as Ue}from"./index-ca7dbb83.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 k(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 C(a){k(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){k(2,arguments);var e=C(a),r=G(t);return isNaN(r)?new Date(NaN):(r&&e.setDate(e.getDate()+r),e)}function Ye(a,t){k(2,arguments);var e=C(a).getTime(),r=G(t);return new Date(e+r)}var Ie={};function K(){return Ie}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){k(2,arguments);var e=C(a),r=C(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 Ae(a){return k(1,arguments),a instanceof Date||te(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Fe(a){if(k(1,arguments),!Ae(a)&&typeof a!="number")return!1;var t=C(a);return!isNaN(Number(t))}function qe(a,t){k(2,arguments);var e=C(a),r=C(t),n=e.getFullYear()-r.getFullYear(),i=e.getMonth()-r.getMonth();return n*12+i}function Le(a,t){return k(2,arguments),C(a).getTime()-C(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 He(a){return a?ve[a]:ve[Re]}function ze(a){k(1,arguments);var t=C(a);return t.setHours(23,59,59,999),t}function Xe(a){k(1,arguments);var t=C(a),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}function Ge(a){k(1,arguments);var t=C(a);return ze(t).getTime()===Xe(t).getTime()}function Be(a,t){k(2,arguments);var e=C(a),r=C(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(C(a))&&i===1&&ee(a,r)===1&&(s=!1),o=n*(i-Number(s))}return o===0?0:o}function je(a,t,e){k(2,arguments);var r=Le(a,t)/1e3;return He(e==null?void 0:e.roundingMethod)(r)}function Qe(a,t){k(2,arguments);var e=G(t);return Ye(a,-e)}var Ve=864e5;function Je(a){k(1,arguments);var t=C(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){k(1,arguments);var t=1,e=C(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){k(1,arguments);var t=C(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){k(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){k(1,arguments);var t=C(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(g,w){for(var p=2;p<arguments.length;p++)for(var _=0;_<arguments[p].length;_++)g[w++]=arguments[p].charAt(_)}function l(g){return String.fromCharCode(g>>8&255,g&255)}function u(g){return String.fromCharCode(g>>24&255,g>>16&255,g>>8&255,g&255)}function d(g){return String.fromCharCode(g&255,g>>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 c=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 m,b;h+65535<this.pix_size?(m=65535,b="\0"):(m=this.pix_size-(h<<16)-h,b=""),s(this.buffer,this.idat_offs+8+2+(h<<16)+(h<<2),b,d(m),d(~m))}for(var h=0;h<256;h++){for(var v=h,O=0;O<8;O++)v&1?v=-306674912^v>>1&2147483647:v=v>>1&2147483647;c[h]=v}this.index=function(g,w){var p=w*(this.width+1)+g+1,_=this.idat_offs+8+2+5*Math.floor(p/65535+1)+p;return _},this.color=function(g,w,p,_){_=_>=0?_:255;var y=((_<<8|g)<<8|w)<<8|p;if(typeof this.palette[y]>"u"){if(this.pindex==this.depth)return"\0";var x=this.plte_offs+8+3*this.pindex;this.buffer[x+0]=String.fromCharCode(g),this.buffer[x+1]=String.fromCharCode(w),this.buffer[x+2]=String.fromCharCode(p),this.buffer[this.trns_offs+8+this.pindex]=String.fromCharCode(_),this.palette[y]=String.fromCharCode(this.pindex++)}return this.palette[y]},this.getBase64=function(){var g=this.getDump(),w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p,_,y,x,P,N,q,H=g.length,L=0,R="";do p=g.charCodeAt(L),x=p>>2,_=g.charCodeAt(L+1),P=(p&3)<<4|_>>4,y=g.charCodeAt(L+2),H<L+2?N=64:N=(_&15)<<2|y>>6,H<L+3?q=64:q=y&63,R+=w.charAt(x)+w.charAt(P)+w.charAt(N)+w.charAt(q);while((L+=3)<H);return R},this.getDump=function(){for(var g=65521,w=5552,p=1,_=0,y=w,x=0;x<this.height;x++)for(var P=-1;P<this.width;P++)p+=this.buffer[this.index(P,x)].charCodeAt(0),_+=p,(y-=1)==0&&(p%=g,_%=g,y=w);p%=g,_%=g,s(this.buffer,this.idat_offs+this.idat_size-8,u(_<<16|p));function N(q,H,L){for(var R=-1,Q=4;Q<L-4;Q+=1)R=c[(R^q[H+Q].charCodeAt(0))&255]^R>>8&16777215;s(q,H+L-4,u(R^-1))}return N(this.buffer,this.ihdr_offs,this.ihdr_size),N(this.buffer,this.plte_offs,this.plte_size),N(this.buffer,this.trns_offs,this.trns_size),N(this.buffer,this.idat_offs,this.idat_size),N(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,d,c;if(s==0)u=d=c=l;else{const h=l<.5?l*(1+s):l+s-l*s,f=2*l-h;u=n(f,h,o+1/3),d=n(f,h,o),c=n(f,h,o-1/3)}return[Math.round(u*255),Math.round(d*255),Math.round(c*255),255]}e.exports=i}])})})(ur);const lr=de;function fr(a){let t,e;return{c(){t=U("div"),this.h()},l(r){t=Y(r,"DIV",{class:!0,style:!0}),A(t).forEach(D),this.h()},h(){M(t,"class",e=a[2]+" "+a[4]+" "+a[3]+" object-cover"),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")&&M(t,"class",e),n&32&&se(t,"background","url("+r[5]+")")},d(r){r&&D(t)}}}function dr(a){let t,e,r,n;return{c(){t=U("img"),this.h()},l(i){t=Y(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"),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")&&M(t,"class",r),o&1&&n!==(n=i[0].name)&&M(t,"alt",n)},d(i){i&&D(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&&D(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 ke{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"}},eventTypeColors:{conference:"#d3e5ee",meetup:"#fdecc8",hackathon:"#dad7ed",expo:"#eee0da",party:"#dbeddb"}};function Me(a){let t,e,r,n,i=_e(new Date(a[1].time))+"",o,s,l,u,d=a[0]&&De(a),c=a[2]&&Ce(a);return{c(){t=U("div"),e=U("div"),r=E("Last update: "),n=U("a"),o=E(i),s=E(" ago"),l=ae(),d&&d.c(),u=ae(),c&&c.c(),this.h()},l(h){t=Y(h,"DIV",{class:!0});var f=A(t);e=Y(f,"DIV",{class:!0});var m=A(e);r=W(m,"Last update: "),n=Y(m,"A",{href:!0,target:!0,class:!0});var b=A(n);o=W(b,i),s=W(b," ago"),b.forEach(D),l=ne(m),d&&d.l(m),m.forEach(D),u=ne(f),c&&c.l(f),f.forEach(D),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(e,"class","mt-2"),M(t,"class","mt-4 text-gray-400")},m(h,f){I(h,t,f),S(t,e),S(e,r),S(e,n),S(n,o),S(n,s),S(e,l),d&&d.m(e,null),S(t,u),c&&c.m(t,null)},p(h,f){f&2&&i!==(i=_e(new Date(h[1].time))+"")&&ce(o,i),h[0]?d?d.p(h,f):(d=De(h),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h[2]?c?c.p(h,f):(c=Ce(h),c.c(),c.m(t,null)):c&&(c.d(1),c=null)},d(h){h&&D(t),d&&d.d(),c&&c.d()}}}function De(a){let t,e,r=a[0].id+"",n,i,o,s,l,u,d,c,h;return{c(){t=E(" |  ID: "),e=U("a"),n=E(r),o=E(" ["),s=E(a[3]),l=E(`]
 |  `),u=U("button"),d=E("Toggle JSON source"),this.h()},l(f){t=W(f," |  ID: "),e=Y(f,"A",{href:!0,class:!0,target:!0});var m=A(e);n=W(m,r),m.forEach(D),o=W(f," ["),s=W(f,a[3]),l=W(f,`]
 |  `),u=Y(f,"BUTTON",{class:!0});var b=A(u);d=W(b,"Toggle JSON source"),b.forEach(D),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,m){I(f,t,m),I(f,e,m),S(e,n),I(f,o,m),I(f,s,m),I(f,l,m),I(f,u,m),S(u,d),c||(h=Ue(u,"click",a[5]),c=!0)},p(f,m){m&1&&r!==(r=f[0].id+"")&&ce(n,r),m&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&&D(t),f&&D(e),f&&D(o),f&&D(s),f&&D(l),f&&D(u),c=!1,h()}}}function Ce(a){let t,e,r,n,i=JSON.stringify(a[0],null,2)+"",o;return{c(){t=U("h2"),e=E("JSON source-code"),r=ae(),n=U("div"),o=E(i),this.h()},l(s){t=Y(s,"H2",{class:!0});var l=A(t);e=W(l,"JSON source-code"),l.forEach(D),r=ne(s),n=Y(s,"DIV",{class:!0});var u=A(n);o=W(u,i),u.forEach(D),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),S(t,e),I(s,r,l),I(s,n,l),S(n,o)},p(s,l){l&1&&i!==(i=JSON.stringify(s[0],null,2)+"")&&ce(o,i)},d(s){s&&D(t),s&&D(r),s&&D(n)}}}function mr(a){let t,e,r,n,i,o,s,l,u,d,c,h,f,m=a[1]&&Me(a);return{c(){t=U("div"),e=U("div"),r=U("div"),n=E("⚙ This page is automatically generated using the structured dataset which can be consumed as a single JSON file → "),i=U("a"),o=E("data.prgblockweek.com/23/index.json"),s=E(`.
`),l=U("div"),u=E(`
📖 The source data GitHub repository `),d=U("a"),c=E("utxo-foundation/prague-blockchain-week"),h=E(`.
Go ahead and do PRs!`),f=ae(),m&&m.c(),this.h()},l(b){t=Y(b,"DIV",{class:!0});var v=A(t);e=Y(v,"DIV",{class:!0});var O=A(e);r=Y(O,"DIV",{});var g=A(r);n=W(g,"⚙ This page is automatically generated using the structured dataset which can be consumed as a single JSON file → "),i=Y(g,"A",{href:!0,class:!0,target:!0});var w=A(i);o=W(w,"data.prgblockweek.com/23/index.json"),w.forEach(D),s=W(g,`.
`),l=Y(g,"DIV",{class:!0}),A(l).forEach(D),u=W(g,`
📖 The source data GitHub repository `),d=Y(g,"A",{href:!0,class:!0,target:!0});var p=A(d);c=W(p,"utxo-foundation/prague-blockchain-week"),p.forEach(D),h=W(g,`.
Go ahead and do PRs!`),g.forEach(D),O.forEach(D),f=ne(v),m&&m.l(v),v.forEach(D),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(d,"href","https://github.com/utxo-foundation/prague-blockchain-week"),M(d,"class","underline hover:no-underline"),M(d,"target","_blank"),M(e,"class","bg-gray-100 p-4 text-lg text-gray-600"),M(t,"class","mt-20")},m(b,v){I(b,t,v),S(t,e),S(e,r),S(r,n),S(r,i),S(i,o),S(r,s),S(r,l),S(r,u),S(r,d),S(d,c),S(r,h),S(t,f),m&&m.m(t,null)},p(b,[v]){b[1]?m?m.p(b,v):(m=Me(b),m.c(),m.m(t,null)):m&&(m.d(1),m=null)},i:re,o:re,d(b){b&&D(t),m&&m.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 ke{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,k as r,G as t};