import{S as Ce,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 C(a,t){if(t.length1?"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 k(a){C(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){C(2,arguments);var e=k(a),r=G(t);return isNaN(r)?new Date(NaN):(r&&e.setDate(e.getDate()+r),e)}function Ye(a,t){C(2,arguments);var e=k(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){C(2,arguments);var e=k(a),r=k(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 C(1,arguments),a instanceof Date||te(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Fe(a){if(C(1,arguments),!Ae(a)&&typeof a!="number")return!1;var t=k(a);return!isNaN(Number(t))}function qe(a,t){C(2,arguments);var e=k(a),r=k(t),n=e.getFullYear()-r.getFullYear(),i=e.getMonth()-r.getMonth();return n*12+i}function Le(a,t){return C(2,arguments),k(a).getTime()-k(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){C(1,arguments);var t=k(a);return t.setHours(23,59,59,999),t}function Xe(a){C(1,arguments);var t=k(a),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}function Ge(a){C(1,arguments);var t=k(a);return ze(t).getTime()===Xe(t).getTime()}function Be(a,t){C(2,arguments);var e=k(a),r=k(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(k(a))&&i===1&&ee(a,r)===1&&(s=!1),o=n*(i-Number(s))}return o===0?0:o}function je(a,t,e){C(2,arguments);var r=Le(a,t)/1e3;return He(e==null?void 0:e.roundingMethod)(r)}function Qe(a,t){C(2,arguments);var e=G(t);return Ye(a,-e)}var Ve=864e5;function Je(a){C(1,arguments);var t=k(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){C(1,arguments);var t=1,e=k(a),r=e.getUTCDay(),n=(r=n.getTime()?e+1:t.getTime()>=o.getTime()?e:e-1}function Ke(a){C(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){C(1,arguments);var t=k(a),e=ie(t).getTime()-Ke(t).getTime();return Math.round(e/Ze)+1}function oe(a,t){var e,r,n,i,o,s,l,u;C(1,arguments);var d=K(),c=G((e=(r=(n=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&n!==void 0?n:d.weekStartsOn)!==null&&r!==void 0?r:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&e!==void 0?e:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=k(a),f=h.getUTCDay(),m=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(c+1,0,f),m.setUTCHours(0,0,0,0);var b=oe(m,t),v=new Date(0);v.setUTCFullYear(c,0,f),v.setUTCHours(0,0,0,0);var O=oe(v,t);return d.getTime()>=b.getTime()?c+1:d.getTime()>=O.getTime()?c:c-1}function et(a,t){var e,r,n,i,o,s,l,u;C(1,arguments);var d=K(),c=G((e=(r=(n=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&n!==void 0?n:d.firstWeekContainsDate)!==null&&r!==void 0?r:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&e!==void 0?e:1),h=Pe(a,t),f=new Date(0);f.setUTCFullYear(h,0,c),f.setUTCHours(0,0,0,0);var m=oe(f,t);return m}var tt=6048e5;function rt(a,t){C(1,arguments);var e=k(a),r=oe(e,t).getTime()-et(e,t).getTime();return Math.round(r/tt)+1}function T(a,t){for(var e=a<0?"-":"",r=Math.abs(a).toString();r.length0?r:1-r;return T(e==="yy"?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return e==="M"?String(r+1):T(r+1,2)},d:function(t,e){return T(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,e){return T(t.getUTCHours()%12||12,e.length)},H:function(t,e){return T(t.getUTCHours(),e.length)},m:function(t,e){return T(t.getUTCMinutes(),e.length)},s:function(t,e){return T(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return T(i,e.length)}};const X=at;var j={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},nt={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if(e==="yo"){var n=t.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return X.y(t,e)},Y:function(t,e,r,n){var i=Pe(t,n),o=i>0?i:1-i;if(e==="YY"){var s=o%100;return T(s,2)}return e==="Yo"?r.ordinalNumber(o,{unit:"year"}):T(o,e.length)},R:function(t,e){var r=xe(t);return T(r,e.length)},u:function(t,e){var r=t.getUTCFullYear();return T(r,e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return T(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return T(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return X.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return T(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var i=rt(t,n);return e==="wo"?r.ordinalNumber(i,{unit:"week"}):T(i,e.length)},I:function(t,e,r){var n=$e(t);return e==="Io"?r.ordinalNumber(n,{unit:"week"}):T(n,e.length)},d:function(t,e,r){return e==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):X.d(t,e)},D:function(t,e,r){var n=Je(t);return e==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):T(n,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return T(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return T(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return T(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours(),i=n/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n=t.getUTCHours(),i;switch(n===12?i=j.noon:n===0?i=j.midnight:i=n/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n=t.getUTCHours(),i;switch(n>=17?i=j.evening:n>=12?i=j.afternoon:n>=4?i=j.morning:i=j.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,r){if(e==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return X.h(t,e)},H:function(t,e,r){return e==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):X.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return e==="Ko"?r.ordinalNumber(n,{unit:"hour"}):T(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return n===0&&(n=24),e==="ko"?r.ordinalNumber(n,{unit:"hour"}):T(n,e.length)},m:function(t,e,r){return e==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):X.m(t,e)},s:function(t,e,r){return e==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):X.s(t,e)},S:function(t,e){return X.S(t,e)},X:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(e){case"X":return be(o);case"XXXX":case"XX":return B(o);case"XXXXX":case"XXX":default:return B(o,":")}},x:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();switch(e){case"x":return be(o);case"xxxx":case"xx":return B(o);case"xxxxx":case"xxx":default:return B(o,":")}},O:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+ge(o,":");case"OOOO":default:return"GMT"+B(o,":")}},z:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+ge(o,":");case"zzzz":default:return"GMT"+B(o,":")}},t:function(t,e,r,n){var i=n._originalDate||t,o=Math.floor(i.getTime()/1e3);return T(o,e.length)},T:function(t,e,r,n){var i=n._originalDate||t,o=i.getTime();return T(o,e.length)}};function ge(a,t){var e=a>0?"-":"+",r=Math.abs(a),n=Math.floor(r/60),i=r%60;if(i===0)return e+String(n);var o=t||"";return e+String(n)+o+T(i,2)}function be(a,t){if(a%60===0){var e=a>0?"-":"+";return e+T(Math.abs(a)/60,2)}return B(a,t)}function B(a,t){var e=t||"",r=a>0?"-":"+",n=Math.abs(a),i=T(Math.floor(n/60),2),o=T(n%60,2);return r+i+e+o}const it=nt;var we=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Ee=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},ot=function(t,e){var r=t.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return we(t,e);var o;switch(n){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",we(n,e)).replace("{{time}}",Ee(i,e))},st={p:Ee,P:ot};const ut=st;var lt=["D","DD"],ft=["YY","YYYY"];function dt(a){return lt.indexOf(a)!==-1}function ct(a){return ft.indexOf(a)!==-1}function pe(a,t,e){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ht={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mt=function(t,e,r){var n,i=ht[t];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const vt=mt;function ue(a){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.width?String(t.width):a.defaultWidth,r=a.formats[e]||a.formats[a.defaultWidth];return r}}var gt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pt={date:ue({formats:gt,defaultWidth:"full"}),time:ue({formats:bt,defaultWidth:"full"}),dateTime:ue({formats:wt,defaultWidth:"full"})};const yt=pt;var _t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Tt=function(t,e,r,n){return _t[t]};const Mt=Tt;function V(a){return function(t,e){var r=e!=null&&e.context?String(e.context):"standalone",n;if(r==="formatting"&&a.formattingValues){var i=a.defaultFormattingWidth||a.defaultWidth,o=e!=null&&e.width?String(e.width):i;n=a.formattingValues[o]||a.formattingValues[i]}else{var s=a.defaultWidth,l=e!=null&&e.width?String(e.width):a.defaultWidth;n=a.values[l]||a.values[s]}var u=a.argumentCallback?a.argumentCallback(t):t;return n[u]}}var Dt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ct={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ot={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},St={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Pt=function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Et={ordinalNumber:Pt,era:V({values:Dt,defaultWidth:"wide"}),quarter:V({values:kt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:V({values:Ct,defaultWidth:"wide"}),day:V({values:Ot,defaultWidth:"wide"}),dayPeriod:V({values:St,defaultWidth:"wide",formattingValues:xt,defaultFormattingWidth:"wide"})};const Wt=Et;function J(a){return function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.width,n=r&&a.matchPatterns[r]||a.matchPatterns[a.defaultMatchWidth],i=t.match(n);if(!i)return null;var o=i[0],s=r&&a.parsePatterns[r]||a.parsePatterns[a.defaultParseWidth],l=Array.isArray(s)?Ut(s,function(c){return c.test(o)}):Nt(s,function(c){return c.test(o)}),u;u=a.valueCallback?a.valueCallback(l):l,u=e.valueCallback?e.valueCallback(u):u;var d=t.slice(o.length);return{value:u,rest:d}}}function Nt(a,t){for(var e in a)if(a.hasOwnProperty(e)&&t(a[e]))return e}function Ut(a,t){for(var e=0;e1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(a.matchPattern);if(!r)return null;var n=r[0],i=t.match(a.parsePattern);if(!i)return null;var o=a.valueCallback?a.valueCallback(i[0]):i[0];o=e.valueCallback?e.valueCallback(o):o;var s=t.slice(n.length);return{value:o,rest:s}}}var It=/^(\d+)(th|st|nd|rd)?/i,At=/\d+/i,Ft={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},qt={any:[/^b/i,/^(a|c)/i]},Lt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Rt={any:[/1/i,/2/i,/3/i,/4/i]},Ht={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},zt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Gt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Bt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},jt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Qt={ordinalNumber:Yt({matchPattern:It,parsePattern:At,valueCallback:function(t){return parseInt(t,10)}}),era:J({matchPatterns:Ft,defaultMatchWidth:"wide",parsePatterns:qt,defaultParseWidth:"any"}),quarter:J({matchPatterns:Lt,defaultMatchWidth:"wide",parsePatterns:Rt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:J({matchPatterns:Ht,defaultMatchWidth:"wide",parsePatterns:zt,defaultParseWidth:"any"}),day:J({matchPatterns:Xt,defaultMatchWidth:"wide",parsePatterns:Gt,defaultParseWidth:"any"}),dayPeriod:J({matchPatterns:Bt,defaultMatchWidth:"any",parsePatterns:jt,defaultParseWidth:"any"})};const Vt=Qt;var Jt={code:"en-US",formatDistance:vt,formatLong:yt,formatRelative:Mt,localize:Wt,match:Vt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const We=Jt;var Kt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$t=/^'([^]*?)'?$/,er=/''/g,tr=/[a-zA-Z]/;function wr(a,t,e){var r,n,i,o,s,l,u,d,c,h,f,m,b,v,O,g,w,p;C(2,arguments);var _=String(t),y=K(),x=(r=(n=e==null?void 0:e.locale)!==null&&n!==void 0?n:y.locale)!==null&&r!==void 0?r:We,P=G((i=(o=(s=(l=e==null?void 0:e.firstWeekContainsDate)!==null&&l!==void 0?l:e==null||(u=e.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&s!==void 0?s:y.firstWeekContainsDate)!==null&&o!==void 0?o:(c=y.locale)===null||c===void 0||(h=c.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=G((f=(m=(b=(v=e==null?void 0:e.weekStartsOn)!==null&&v!==void 0?v:e==null||(O=e.locale)===null||O===void 0||(g=O.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&b!==void 0?b:y.weekStartsOn)!==null&&m!==void 0?m:(w=y.locale)===null||w===void 0||(p=w.options)===null||p===void 0?void 0:p.weekStartsOn)!==null&&f!==void 0?f:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!x.localize)throw new RangeError("locale must contain localize property");if(!x.formatLong)throw new RangeError("locale must contain formatLong property");var q=k(a);if(!Fe(q))throw new RangeError("Invalid time value");var H=fe(q),L=Qe(q,H),R={firstWeekContainsDate:P,weekStartsOn:N,locale:x,_originalDate:q},Q=_.match(Zt).map(function(F){var z=F[0];if(z==="p"||z==="P"){var Z=ut[z];return Z(F,x.formatLong)}return F}).join("").match(Kt).map(function(F){if(F==="''")return"'";var z=F[0];if(z==="'")return rr(F);var Z=it[z];if(Z)return!(e!=null&&e.useAdditionalWeekYearTokens)&&ct(F)&&pe(F,t,String(a)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&dt(F)&&pe(F,t,String(a)),Z(L,F,x.localize,R);if(z.match(tr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return F}).join("");return Q}function rr(a){var t=a.match($t);return t?t[1].replace(er,"'"):a}function Ne(a,t){if(a==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(a[e]=t[e]);return a}function ar(a){return Ne({},a)}var ye=1440,nr=2520,le=43200,ir=86400;function or(a,t,e){var r,n;C(2,arguments);var i=K(),o=(r=(n=e==null?void 0:e.locale)!==null&&n!==void 0?n:i.locale)!==null&&r!==void 0?r:We;if(!o.formatDistance)throw new RangeError("locale must contain formatDistance property");var s=ee(a,t);if(isNaN(s))throw new RangeError("Invalid time value");var l=Ne(ar(e),{addSuffix:Boolean(e==null?void 0:e.addSuffix),comparison:s}),u,d;s>0?(u=k(t),d=k(a)):(u=k(a),d=k(t));var c=je(d,u),h=(fe(d)-fe(u))/1e3,f=Math.round((c-h)/60),m;if(f<2)return e!=null&&e.includeSeconds?c<5?o.formatDistance("lessThanXSeconds",5,l):c<10?o.formatDistance("lessThanXSeconds",10,l):c<20?o.formatDistance("lessThanXSeconds",20,l):c<40?o.formatDistance("halfAMinute",0,l):c<60?o.formatDistance("lessThanXMinutes",1,l):o.formatDistance("xMinutes",1,l):f===0?o.formatDistance("lessThanXMinutes",1,l):o.formatDistance("xMinutes",f,l);if(f<45)return o.formatDistance("xMinutes",f,l);if(f<90)return o.formatDistance("aboutXHours",1,l);if(f>19^b^b>>8,(s[3]>>>0)/(1<<31>>>0)}function d(){const b=Math.floor(u()*360),v=u()*60+40,O=(u()+u()+u()+u())*25;return[b/360,v/100,O/100]}function c(b){const v=b,O=b,g=Math.ceil(v/2),w=v-g,p=[];for(let _=0;_ * @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>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>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>6,H>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 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&&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 dark:bg-white"),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")&&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 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"}};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]&&ke(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=ke(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 ke(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 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,C as r,G as t};