diff --git a/lnbits/static/bundle.min.js b/lnbits/static/bundle.min.js index 5ec8a43c1..a8279ec72 100644 --- a/lnbits/static/bundle.min.js +++ b/lnbits/static/bundle.min.js @@ -5,7 +5,7 @@ //! momentjs.com !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function s(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,a=[],i=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+a}var M=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},z={};function N(e,t,n,a){var i=a;"string"==typeof a&&(i=function(){return this[a]()}),e&&(z[e]=i),t&&(z[t[0]]=function(){return A(i.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function O(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e,t){return e.isValid()?(t=q(t,e.localeData()),R[t]=R[t]||function(e){var t,n,a=e.match(M);for(t=0,n=a.length;t=0&&L.test(e);)e=e.replace(L,a),L.lastIndex=0,n-=1;return e}var D={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function j(e){return"string"==typeof e?D[e]||D[e.toLowerCase()]:void 0}function B(e){var t,n,a={};for(n in e)o(e,n)&&(t=j(n))&&(a[t]=e[n]);return a}var F={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var $,V=/\d/,U=/\d\d/,H=/\d{3}/,W=/\d{4}/,G=/[+-]?\d{6}/,K=/\d\d?/,Y=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,Z=/\d{1,3}/,J=/\d{1,4}/,X=/[+-]?\d{1,6}/,ee=/\d+/,te=/[+-]?\d+/,ne=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,ie=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe=/^[1-9]\d?/,re=/^([1-9]\d|\d)/;function se(e,t,n){$[e]=T(t)?t:function(e,a){return e&&n?n:t}}function le(e,t){return o($,e)?$[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,i){return t||n||a||i})))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function de(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}$={};var he={};function pe(e,t){var n,a,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,n){n[t]=de(e)}),a=e.length,n=0;n68?1900:2e3)};var Pe,Ee=Ae("FullYear",!0);function Ae(e,t){return function(a){return null!=a?(Le(this,e,a),n.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var n=e._d,a=e._isUTC;switch(t){case"Milliseconds":return a?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return a?n.getUTCSeconds():n.getSeconds();case"Minutes":return a?n.getUTCMinutes():n.getMinutes();case"Hours":return a?n.getUTCHours():n.getHours();case"Date":return a?n.getUTCDate():n.getDate();case"Day":return a?n.getUTCDay():n.getDay();case"Month":return a?n.getUTCMonth():n.getMonth();case"FullYear":return a?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Le(e,t,n){var a,i,o,r,s;if(e.isValid()&&!isNaN(n)){switch(a=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?a.setUTCMilliseconds(n):a.setMilliseconds(n));case"Seconds":return void(i?a.setUTCSeconds(n):a.setSeconds(n));case"Minutes":return void(i?a.setUTCMinutes(n):a.setMinutes(n));case"Hours":return void(i?a.setUTCHours(n):a.setHours(n));case"Date":return void(i?a.setUTCDate(n):a.setDate(n));case"FullYear":break;default:return}o=n,r=e.month(),s=29!==(s=e.date())||1!==r||ge(o)?s:28,i?a.setUTCFullYear(o,r,s):a.setFullYear(o,r,s)}}function Re(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,a=(t%(n=12)+n)%n;return e+=(t-a)/12,1===a?ge(e)?29:28:31-a%7%2}Pe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,a,i,o,r),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,a,i,o,r),s}function Ve(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,n){var a=7+t-n;return-((7+Ve(e,0,a).getUTCDay()-t)%7)+a-1}function He(e,t,n,a,i){var o,r,s=1+7*(t-1)+(7+n-a)%7+Ue(e,a,i);return s<=0?r=Te(o=e-1)+s:s>Te(e)?(o=e+1,r=s-Te(e)):(o=e,r=s),{year:o,dayOfYear:r}}function We(e,t,n){var a,i,o=Ue(e.year(),t,n),r=Math.floor((e.dayOfYear()-o-1)/7)+1;return r<1?a=r+Ge(i=e.year()-1,t,n):r>Ge(e.year(),t,n)?(a=r-Ge(e.year(),t,n),i=e.year()+1):(i=e.year(),a=r),{week:a,year:i}}function Ge(e,t,n){var a=Ue(e,t,n),i=Ue(e+1,t,n);return(Te(e)-a+i)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),se("w",K,oe),se("ww",K,U),se("W",K,oe),se("WW",K,U),fe(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=de(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("d",0,"do","day"),N("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),N("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),N("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),se("d",K),se("e",K),se("E",K),se("dd",function(e,t){return t.weekdaysMinRegex(e)}),se("ddd",function(e,t){return t.weekdaysShortRegex(e)}),se("dddd",function(e,t){return t.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,a){var i=n._locale.weekdaysParse(e,a,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),fe(["d","e","E"],function(e,t,n,a){t[a]=de(e)});var Ye="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=ie,Xe=ie,et=ie;function tt(e,t,n){var a,i,o,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)o=h([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Pe.call(this._weekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Pe.call(this._shortWeekdaysParse,r))?i:null:-1!==(i=Pe.call(this._minWeekdaysParse,r))?i:null:"dddd"===t?-1!==(i=Pe.call(this._weekdaysParse,r))||-1!==(i=Pe.call(this._shortWeekdaysParse,r))||-1!==(i=Pe.call(this._minWeekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Pe.call(this._shortWeekdaysParse,r))||-1!==(i=Pe.call(this._weekdaysParse,r))||-1!==(i=Pe.call(this._minWeekdaysParse,r))?i:null:-1!==(i=Pe.call(this._minWeekdaysParse,r))||-1!==(i=Pe.call(this._weekdaysParse,r))||-1!==(i=Pe.call(this._shortWeekdaysParse,r))?i:null}function nt(){function e(e,t){return t.length-e.length}var t,n,a,i,o,r=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),a=ue(this.weekdaysMin(n,"")),i=ue(this.weekdaysShort(n,"")),o=ue(this.weekdays(n,"")),r.push(a),s.push(i),l.push(o),u.push(a),u.push(i),u.push(o);r.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function at(){return this.hours()%12||12}function it(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,at),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+at.apply(this)+A(this.minutes(),2)}),N("hmmss",0,0,function(){return""+at.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+A(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)}),it("a",!0),it("A",!1),se("a",ot),se("A",ot),se("H",K,re),se("h",K,oe),se("k",K,oe),se("HH",K,U),se("hh",K,U),se("kk",K,U),se("hmm",Y),se("hmmss",Q),se("Hmm",Y),se("Hmmss",Q),pe(["H","HH"],ye),pe(["k","kk"],function(e,t,n){var a=de(e);t[ye]=24===a?0:a}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[ye]=de(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var a=e.length-2;t[ye]=de(e.substr(0,a)),t[we]=de(e.substr(a)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var a=e.length-4,i=e.length-2;t[ye]=de(e.substr(0,a)),t[we]=de(e.substr(a,2)),t[ke]=de(e.substr(i)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var a=e.length-2;t[ye]=de(e.substr(0,a)),t[we]=de(e.substr(a))}),pe("Hmmss",function(e,t,n){var a=e.length-4,i=e.length-2;t[ye]=de(e.substr(0,a)),t[we]=de(e.substr(a,2)),t[ke]=de(e.substr(i))});var rt=Ae("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ze,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Ye,weekdaysMin:Ze,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},ut={},ct={};function dt(e,t){var n,a=Math.min(e.length,t.length);for(n=0;n0;){if(a=pt(i.slice(0,t).join("-")))return a;if(n&&n.length>=t&&dt(i,n)>=t-1)break;t--}o++}return st}(e)}function _t(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[ve]<0||n[ve]>11?ve:n[be]<1||n[be]>Re(n[_e],n[ve])?be:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[we]||0!==n[ke]||0!==n[xe])?ye:n[we]<0||n[we]>59?we:n[ke]<0||n[ke]>59?ke:n[xe]<0||n[xe]>999?xe:-1,p(e)._overflowDayOfYear&&(t<_e||t>be)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Se),p(e)._overflowWeekday&&-1===t&&(t=Ce),p(e).overflow=t),e}var vt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,St=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,a,i,o,r,s=e._i,l=vt.exec(s)||bt.exec(s),u=wt.length,c=kt.length;if(l){for(p(e).iso=!0,t=0,n=u;t7)&&(l=!0)):(o=e._locale._week.dow,r=e._locale._week.doy,u=We(Nt(),o,r),n=At(t.gg,e._a[_e],u.year),a=At(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o);a<1||a>Ge(n,o,r)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=He(n,a,i,o,r),e._a[_e]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(r=At(e._a[_e],i[_e]),(e._dayOfYear>Te(r)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),a=Ve(r,0,e._dayOfYear),e._a[ve]=a.getUTCMonth(),e._a[be]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[we]&&0===e._a[ke]&&0===e._a[xe]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?Ve:$e).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],p(e).empty=!0;var t,a,i,o,r,s,l,u=""+e._i,c=u.length,d=0;for(l=(i=q(e._f,e._locale).match(M)||[]).length,t=0;t0&&p(e).unusedInput.push(r),u=u.slice(u.indexOf(a)+a.length),d+=a.length),z[o]?(a?p(e).empty=!1:p(e).unusedTokens.push(o),me(o,a,e)):e._strict&&!a&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-d,u.length>0&&p(e).unusedInput.push(u),e._a[ye]<=12&&!0===p(e).bigHour&&e._a[ye]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var a;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((a=e.isPM(n))&&t<12&&(t+=12),a||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),null!==(s=p(e).era)&&(e._a[_e]=e._locale.erasConvertYear(s,e._a[_e])),Mt(e),_t(e)}else Et(e);else Tt(e)}function Rt(e){var t=e._i,o=e._f;return e._locale=e._locale||gt(e._l),null===t||void 0===o&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new b(_t(t)):(u(t)?e._d=t:a(o)?function(e){var t,n,a,i,o,r,s=!1,l=e._f.length;if(0===l)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:m()});function qt(e,t){var n,i;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Nt();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-pn:new Date(e,t,n).valueOf()}function gn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-pn:Date.UTC(e,t,n)}function _n(e,t){return t.erasAbbrRegex(e)}function vn(){var e,t,n,a,i,o=[],r=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e(o=Ge(e,a,i))&&(t=o),wn.call(this,e,t,n,a,i))}function wn(e,t,n,a,i){var o=He(e,t,n,a,i),r=Ve(o.year,0,o.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),se("N",_n),se("NN",_n),se("NNN",_n),se("NNNN",function(e,t){return t.erasNameRegex(e)}),se("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),pe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,a){var i=n._locale.erasParse(e,a,n._strict);i?p(n).era=i:p(n).invalidEra=e}),se("y",ee),se("yy",ee),se("yyy",ee),se("yyyy",ee),se("yo",function(e,t){return t._eraYearOrdinalRegex||ee}),pe(["y","yy","yyy","yyyy"],_e),pe(["yo"],function(e,t,n,a){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[_e]=n._locale.eraYearOrdinalParse(e,i):t[_e]=parseInt(e,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),bn("gggg","weekYear"),bn("ggggg","weekYear"),bn("GGGG","isoWeekYear"),bn("GGGGG","isoWeekYear"),se("G",te),se("g",te),se("GG",K,U),se("gg",K,U),se("GGGG",J,W),se("gggg",J,W),se("GGGGG",X,G),se("ggggg",X,G),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=de(e)}),fe(["gg","GG"],function(e,t,a,i){t[i]=n.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),se("Q",V),pe("Q",function(e,t){t[ve]=3*(de(e)-1)}),N("D",["DD",2],"Do","date"),se("D",K,oe),se("DD",K,U),se("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],be),pe("Do",function(e,t){t[be]=de(e.match(K)[0])});var kn=Ae("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",Z),se("DDDD",H),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=de(e)}),N("m",["mm",2],0,"minute"),se("m",K,re),se("mm",K,U),pe(["m","mm"],we);var xn=Ae("Minutes",!1);N("s",["ss",2],0,"second"),se("s",K,re),se("ss",K,U),pe(["s","ss"],ke);var Sn,Cn,Tn=Ae("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),se("S",Z,V),se("SS",Z,U),se("SSS",Z,H),Sn="SSSS";Sn.length<=9;Sn+="S")se(Sn,ee);function Pn(e,t){t[xe]=de(1e3*("0."+e))}for(Sn="S";Sn.length<=9;Sn+="S")pe(Sn,Pn);Cn=Ae("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var En=b.prototype;function An(e){return e}En.add=tn,En.calendar=function(e,t){1===arguments.length&&(arguments[0]?on(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=i(e)&&!r(e),a=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;tn.valueOf():n.valueOf()9999?I(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(n,"Z")):I(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},En.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,a="moment",i="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(En[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),En.toJSON=function(){return this.isValid()?this.toISOString():null},En.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},En.unix=function(){return Math.floor(this.valueOf()/1e3)},En.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},En.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},En.eraName=function(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},En.isLocal=function(){return!!this.isValid()&&!this._isUTC},En.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},En.isUtc=Gt,En.isUTC=Gt,En.zoneAbbr=function(){return this._isUTC?"UTC":""},En.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},En.dates=k("dates accessor is deprecated. Use date instead.",kn),En.months=k("months accessor is deprecated. Use month instead",Be),En.years=k("years accessor is deprecated. Use year instead",Ee),En.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),En.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Rt(t))._a?(e=t._isUTC?h(t._a):Nt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var a,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0;for(a=0;a0):this._isDSTShifted=!1,this._isDSTShifted});var Mn=E.prototype;function Ln(e,t,n,a){var i=gt(),o=h().set(a,t);return i[n](o,e)}function Rn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Ln(e,t,n,"month");var a,i=[];for(a=0;a<12;a++)i[a]=Ln(e,a,n,"month");return i}function zn(e,t,n,a){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,o=gt(),r=e?o._week.dow:0,s=[];if(null!=n)return Ln(t,(n+r)%7,a,"day");for(i=0;i<7;i++)s[i]=Ln(t,(i+r)%7,a,"day");return s}Mn.calendar=function(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return T(a)?a.call(t,n):a},Mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(M).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Mn.invalidDate=function(){return this._invalidDate},Mn.ordinal=function(e){return this._ordinal.replace("%d",e)},Mn.preparse=An,Mn.postformat=An,Mn.relativeTime=function(e,t,n,a){var i=this._relativeTime[n];return T(i)?i(e,t,n,a):i.replace(/%d/i,e)},Mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},Mn.set=function(e){var t,n;for(n in e)o(e,n)&&(T(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Mn.eras=function(e,t){var a,i,o,r=this._eras||gt("en")._eras;for(a=0,i=r.length;a=0)return l[a]},Mn.erasConvertYear=function(e,t){var a=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*a},Mn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||vn.call(this),e?this._erasAbbrRegex:this._erasRegex},Mn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||vn.call(this),e?this._erasNameRegex:this._erasRegex},Mn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||vn.call(this),e?this._erasNarrowRegex:this._erasRegex},Mn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},Mn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Mn.monthsParse=function(e,t,n){var a,i,o;if(this._monthsParseExact)return De.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(i=h([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[a]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}},Mn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Fe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=qe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Mn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Fe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Mn.week=function(e){return We(e,this._week.dow,this._week.doy).week},Mn.firstDayOfYear=function(){return this._week.doy},Mn.firstDayOfWeek=function(){return this._week.dow},Mn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ke(n,this._week.dow):e?n[e.day()]:n},Mn.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Mn.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Mn.weekdaysParse=function(e,t,n){var a,i,o;if(this._weekdaysParseExact)return tt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(i=h([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[a]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}},Mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===de(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=k("moment.lang is deprecated. Use moment.locale instead.",ft),n.langData=k("moment.langData is deprecated. Use moment.localeData instead.",gt);var Nn=Math.abs;function On(e,t,n,a){var i=Qt(t,n);return e._milliseconds+=a*i._milliseconds,e._days+=a*i._days,e._months+=a*i._months,e._bubble()}function In(e){return e<0?Math.floor(e):Math.ceil(e)}function qn(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function jn(e){return function(){return this.as(e)}}var Bn=jn("ms"),Fn=jn("s"),$n=jn("m"),Vn=jn("h"),Un=jn("d"),Hn=jn("w"),Wn=jn("M"),Gn=jn("Q"),Kn=jn("y"),Yn=Bn;function Qn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zn=Qn("milliseconds"),Jn=Qn("seconds"),Xn=Qn("minutes"),ea=Qn("hours"),ta=Qn("days"),na=Qn("months"),aa=Qn("years");var ia=Math.round,oa={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ra(e,t,n,a,i){return i.relativeTime(t||1,!!n,e,a)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a,i,o,r,s,l=sa(this._milliseconds)/1e3,u=sa(this._days),c=sa(this._months),d=this.asSeconds();return d?(e=ce(l/60),t=ce(e/60),l%=60,e%=60,n=ce(c/12),c%=12,a=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=la(this._months)!==la(d)?"-":"",r=la(this._days)!==la(d)?"-":"",s=la(this._milliseconds)!==la(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?r+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+a+"S":"")):"P0D"}var ca=jt.prototype;return ca.isValid=function(){return this._isValid},ca.abs=function(){var e=this._data;return this._milliseconds=Nn(this._milliseconds),this._days=Nn(this._days),this._months=Nn(this._months),e.milliseconds=Nn(e.milliseconds),e.seconds=Nn(e.seconds),e.minutes=Nn(e.minutes),e.hours=Nn(e.hours),e.months=Nn(e.months),e.years=Nn(e.years),this},ca.add=function(e,t){return On(this,e,t,1)},ca.subtract=function(e,t){return On(this,e,t,-1)},ca.as=function(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=j(e))||"quarter"===e||"year"===e)switch(t=this._days+a/864e5,n=this._months+qn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}},ca.asMilliseconds=Bn,ca.asSeconds=Fn,ca.asMinutes=$n,ca.asHours=Vn,ca.asDays=Un,ca.asWeeks=Hn,ca.asMonths=Wn,ca.asQuarters=Gn,ca.asYears=Kn,ca.valueOf=Yn,ca._bubble=function(){var e,t,n,a,i,o=this._milliseconds,r=this._days,s=this._months,l=this._data;return o>=0&&r>=0&&s>=0||o<=0&&r<=0&&s<=0||(o+=864e5*In(Dn(s)+r),r=0,s=0),l.milliseconds=o%1e3,e=ce(o/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,r+=ce(n/24),s+=i=ce(qn(r)),r-=In(Dn(i)),a=ce(s/12),s%=12,l.days=r,l.months=s,l.years=a,this},ca.clone=function(){return Qt(this)},ca.get=function(e){return e=j(e),this.isValid()?this[e+"s"]():NaN},ca.milliseconds=Zn,ca.seconds=Jn,ca.minutes=Xn,ca.hours=ea,ca.days=ta,ca.weeks=function(){return ce(this.days()/7)},ca.months=na,ca.years=aa,ca.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,a,i=!1,o=oa;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},oa,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),a=function(e,t,n,a){var i=Qt(e).abs(),o=ia(i.as("s")),r=ia(i.as("m")),s=ia(i.as("h")),l=ia(i.as("d")),u=ia(i.as("M")),c=ia(i.as("w")),d=ia(i.as("y")),h=o<=n.ss&&["s",o]||o0,h[4]=a,ra.apply(null,h)}(this,!i,o,n=this.localeData()),i&&(a=n.pastFuture(+this,a)),n.postformat(a)},ca.toISOString=ua,ca.toString=ua,ca.toJSON=ua,ca.locale=sn,ca.localeData=un,ca.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),ca.lang=ln,N("X",0,0,"unix"),N("x",0,0,"valueOf"),se("x",te),se("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),pe("x",function(e,t,n){n._d=new Date(de(e))}), //! moment.js -n.version="2.30.1",e=Nt,n.fn=En,n.min=function(){return qt("isBefore",[].slice.call(arguments,0))},n.max=function(){return qt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return Nt(1e3*e)},n.months=function(e,t){return Rn(e,t,"months")},n.isDate=u,n.locale=ft,n.invalid=m,n.duration=Qt,n.isMoment=y,n.weekdays=function(e,t,n){return zn(e,t,n,"weekdays")},n.parseZone=function(){return Nt.apply(null,arguments).parseZone()},n.localeData=gt,n.isDuration=Bt,n.monthsShort=function(e,t){return Rn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return zn(e,t,n,"weekdaysMin")},n.defineLocale=mt,n.updateLocale=function(e,t){if(null!=t){var n,a,i=lt;null!=ut[e]&&null!=ut[e].parentLocale?ut[e].set(P(ut[e]._config,t)):(null!=(a=pt(e))&&(i=a._config),t=P(i,t),null==a&&(t.abbr=e),(n=new E(t)).parentLocale=ut[e],ut[e]=n),ft(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?(ut[e]=ut[e].parentLocale,e===ft()&&ft(e)):null!=ut[e]&&delete ut[e]);return ut[e]},n.locales=function(){return x(ut)},n.weekdaysShort=function(e,t,n){return zn(e,t,n,"weekdaysShort")},n.normalizeUnits=j,n.relativeTimeRounding=function(e){return void 0===e?ia:"function"==typeof e&&(ia=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==oa[e]&&(void 0===t?oa[e]:(oa[e]=t,"s"===e&&(oa.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=En,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e._,a=e._=t();a.noConflict=function(){return e._=n,a}}())}(this,function(){var e="1.13.7",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},n=Array.prototype,a=Object.prototype,i="undefined"!=typeof Symbol?Symbol.prototype:null,o=n.push,r=n.slice,s=a.toString,l=a.hasOwnProperty,u="undefined"!=typeof ArrayBuffer,c="undefined"!=typeof DataView,d=Array.isArray,h=Object.keys,p=Object.create,f=u&&ArrayBuffer.isView,m=isNaN,g=isFinite,_=!{toString:null}.propertyIsEnumerable("toString"),v=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],b=Math.pow(2,53)-1;function y(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),a=Array(n),i=0;i=0&&n<=b}}function G(e){return function(t){return null==t?void 0:t[e]}}var K=G("byteLength"),Y=W(K),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var Z=u?function(e){return f?f(e)&&!j(e):Y(e)&&Q.test(s.call(e))}:H(!1),J=G("length");function X(e,t){t=function(e){for(var t={},n=e.length,a=0;a":">",'"':""","'":"'","`":"`"},Ve=Fe($e),Ue=Fe(ye($e)),He=ne.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},We=/(.)^/,Ge={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ke=/\\|'|\r|\n|\u2028|\u2029/g;function Ye(e){return"\\"+Ge[e]}var Qe=/^\s*(\w|\$)+\s*$/;var Ze=0;function Je(e,t,n,a,i){if(!(a instanceof t))return e.apply(n,i);var o=Te(e.prototype),r=e.apply(o,i);return w(r)?r:o}var Xe=y(function(e,t){var n=Xe.placeholder,a=function(){for(var i=0,o=t.length,r=Array(o),s=0;s1)nt(s,t-1,n,a),i=a.length;else for(var l=0,u=s.length;l0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var lt=Xe(st,2);function ut(e,t,n){t=qe(t,n);for(var a,i=ee(e),o=0,r=i.length;o0?0:i-1;o>=0&&o0?s=o>=0?o:Math.max(o+l,s):l=o>=0?Math.min(o+1,l):o+l+1;else if(n&&o&&l)return a[o=n(a,i)]===i?o:-1;if(i!=i)return(o=t(r.call(a,s,l),U))>=0?o+s:-1;for(o=e>0?s:l-1;o>=0&&o=3;return function(t,n,a,i){var o=!tt(t)&&ee(t),r=(o||t).length,s=e>0?0:r-1;for(i||(a=t[o?o[s]:s],s+=e);s>=0&&s=0}var Pt=y(function(e,t,n){var a,i;return N(t)?i=t:(t=Ee(t),a=t.slice(0,-1),t=t[t.length-1]),bt(e,function(e){var o=i;if(!o){if(a&&a.length&&(e=Ae(e,a)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})});function Et(e,t){return bt(e,ze(t))}function At(e,t,n){var a,i,o=-1/0,r=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=tt(e)?e:be(e)).length;so&&(o=a);else t=qe(t,n),vt(e,function(e,n,a){((i=t(e,n,a))>r||i===-1/0&&o===-1/0)&&(o=e,r=i)});return o}var Mt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Lt(e){return e?B(e)?r.call(e):C(e)?e.match(Mt):tt(e)?bt(e,Le):be(e):[]}function Rt(e,t,n){if(null==t||n)return tt(e)||(e=be(e)),e[je(e.length-1)];var a=Lt(e),i=J(a);t=Math.max(Math.min(t,i),0);for(var o=i-1,r=0;r1&&(a=Ne(a,t[1])),t=se(e)):(a=Dt,t=nt(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(n=t[1])):(t=bt(nt(t,!1,!1),String),a=function(e,n){return!Tt(t,n)}),jt(e,a,n)});function Ft(e,t,n){return r.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function $t(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Ft(e,e.length-t)}function Vt(e,t,n){return r.call(e,null==t||n?1:t)}var Ut=y(function(e,t){return t=nt(t,!0,!0),xt(e,function(e){return!Tt(t,e)})}),Ht=y(function(e,t){return Ut(e,t)});function Wt(e,t,n,a){x(t)||(a=n,n=t,t=!1),null!=n&&(n=qe(n,a));for(var i=[],o=[],r=0,s=J(e);rt?(a&&(clearTimeout(a),a=null),s=u,r=e.apply(i,o),a||(i=o=null)):a||!1===n.trailing||(a=setTimeout(l,c)),r};return u.cancel=function(){clearTimeout(a),s=0,a=i=o=null},u},debounce:function(e,t,n){var a,i,o,r,s,l=function(){var u=Be()-i;t>u?a=setTimeout(l,t-u):(a=null,n||(r=e.apply(s,o)),a||(o=s=null))},u=y(function(u){return s=this,o=u,i=Be(),a||(a=setTimeout(l,t),n&&(r=e.apply(s,o))),r});return u.cancel=function(){clearTimeout(a),a=o=s=null},u},wrap:function(e,t){return Xe(t,e)},negate:rt,compose:function(){var e=arguments,t=e.length-1;return function(){for(var n=t,a=e[t].apply(this,arguments);n--;)a=e[n].call(this,a);return a}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:st,once:lt,findKey:ut,findIndex:dt,findLastIndex:ht,sortedIndex:pt,indexOf:mt,lastIndexOf:gt,find:_t,detect:_t,findWhere:function(e,t){return _t(e,Re(t))},each:vt,forEach:vt,map:bt,collect:bt,reduce:wt,foldl:wt,inject:wt,reduceRight:kt,foldr:kt,filter:xt,select:xt,reject:function(e,t,n){return xt(e,rt(qe(t)),n)},every:St,all:St,some:Ct,any:Ct,contains:Tt,includes:Tt,include:Tt,invoke:Pt,pluck:Et,where:function(e,t){return xt(e,Re(t))},max:At,min:function(e,t,n){var a,i,o=1/0,r=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=tt(e)?e:be(e)).length;sa||void 0===n)return 1;if(n=0&&n<=b}}function G(e){return function(t){return null==t?void 0:t[e]}}var K=G("byteLength"),Y=W(K),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var Z=u?function(e){return f?f(e)&&!j(e):Y(e)&&Q.test(s.call(e))}:H(!1),J=G("length");function X(e,t){t=function(e){for(var t={},n=e.length,a=0;a":">",'"':""","'":"'","`":"`"},Fe=je(Be),$e=je(ve(Be)),Ve=ne.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ue=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},We=/\\|'|\r|\n|\u2028|\u2029/g;function Ge(e){return"\\"+He[e]}var Ke=/^\s*(\w|\$)+\s*$/;var Ye=0;function Qe(e,t,n,a,i){if(!(a instanceof t))return e.apply(n,i);var o=Se(e.prototype),r=e.apply(o,i);return w(r)?r:o}var Ze=y(function(e,t){var n=Ze.placeholder,a=function(){for(var i=0,o=t.length,r=Array(o),s=0;s=r){if(!s.length)break;var l=s.pop();o=l.i,e=l.v,r=J(e)}else{var u=e[o++];s.length>=t?a[i++]=u:Xe(u)&&(B(u)||V(u))?(s.push({i:o,v:e}),o=0,r=J(e=u)):n||(a[i++]=u)}return a}var tt=y(function(e,t){var n=(t=et(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var a=t[n];e[a]=Je(e[a],e)}return e});var nt=y(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),at=Ze(nt,ne,1);function it(e){return function(){return!e.apply(this,arguments)}}function ot(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var rt=Ze(ot,2);function st(e,t,n){t=Oe(t,n);for(var a,i=ee(e),o=0,r=i.length;o0?0:i-1;o>=0&&o0?s=o>=0?o:Math.max(o+l,s):l=o>=0?Math.min(o+1,l):o+l+1;else if(n&&o&&l)return a[o=n(a,i)]===i?o:-1;if(i!=i)return(o=t(r.call(a,s,l),U))>=0?o+s:-1;for(o=e>0?s:l-1;o>=0&&o=3;return function(t,n,a,i){var o=!Xe(t)&&ee(t),r=(o||t).length,s=e>0?0:r-1;for(i||(a=t[o?o[s]:s],s+=e);s>=0&&s=0}var Ct=y(function(e,t,n){var a,i;return N(t)?i=t:(t=Te(t),a=t.slice(0,-1),t=t[t.length-1]),_t(e,function(e){var o=i;if(!o){if(a&&a.length&&(e=Pe(e,a)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})});function Tt(e,t){return _t(e,Le(t))}function Pt(e,t,n){var a,i,o=-1/0,r=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=Xe(e)?e:_e(e)).length;so&&(o=a);else t=Oe(t,n),gt(e,function(e,n,a){((i=t(e,n,a))>r||i===-1/0&&o===-1/0)&&(o=e,r=i)});return o}var Et=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function At(e){return e?B(e)?r.call(e):C(e)?e.match(Et):Xe(e)?_t(e,Ae):_e(e):[]}function Mt(e,t,n){if(null==t||n)return Xe(e)||(e=_e(e)),e[qe(e.length-1)];var a=At(e),i=J(a);t=Math.max(Math.min(t,i),0);for(var o=i-1,r=0;r1&&(a=Re(a,t[1])),t=oe(e)):(a=It,t=et(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(n=t[1])):(t=_t(et(t,!1,!1),String),a=function(e,n){return!St(t,n)}),qt(e,a,n)});function jt(e,t,n){return r.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Bt(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:jt(e,e.length-t)}function Ft(e,t,n){return r.call(e,null==t||n?1:t)}var $t=y(function(e,t){return t=et(t,!0,!0),wt(e,function(e){return!St(t,e)})}),Vt=y(function(e,t){return $t(e,t)});function Ut(e,t,n,a){x(t)||(a=n,n=t,t=!1),null!=n&&(n=Oe(n,a));for(var i=[],o=[],r=0,s=J(e);r=0))if(a.push(e),o.push(t),n.push(!0),c){if((p=e.length)!==t.length)return!1;for(;p--;)n.push({a:e[p],b:t[p]})}else{var f,m=ee(e);if(p=m.length,ee(t).length!==p)return!1;for(;p--;){if(!F(t,f=m[p]))return!1;n.push({a:e[f],b:t[f]})}}}else a.pop(),o.pop()}return!0},isMap:pe,isWeakMap:fe,isSet:me,isWeakSet:ge,keys:ee,allKeys:oe,values:_e,pairs:function(e){for(var t=ee(e),n=t.length,a=Array(n),i=0;it?(a&&(clearTimeout(a),a=null),s=u,r=e.apply(i,o),a||(i=o=null)):a||!1===n.trailing||(a=setTimeout(l,c)),r};return u.cancel=function(){clearTimeout(a),s=0,a=i=o=null},u},debounce:function(e,t,n){var a,i,o,r,s,l=function(){var u=De()-i;t>u?a=setTimeout(l,t-u):(a=null,n||(r=e.apply(s,o)),a||(o=s=null))},u=y(function(u){return s=this,o=u,i=De(),a||(a=setTimeout(l,t),n&&(r=e.apply(s,o))),r});return u.cancel=function(){clearTimeout(a),a=o=s=null},u},wrap:function(e,t){return Ze(t,e)},negate:it,compose:function(){var e=arguments,t=e.length-1;return function(){for(var n=t,a=e[t].apply(this,arguments);n--;)a=e[n].call(this,a);return a}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:ot,once:rt,findKey:st,findIndex:ut,findLastIndex:ct,sortedIndex:dt,indexOf:pt,lastIndexOf:ft,find:mt,detect:mt,findWhere:function(e,t){return mt(e,Me(t))},each:gt,forEach:gt,map:_t,collect:_t,reduce:bt,foldl:bt,inject:bt,reduceRight:yt,foldr:yt,filter:wt,select:wt,reject:function(e,t,n){return wt(e,it(Oe(t)),n)},every:kt,all:kt,some:xt,any:xt,contains:St,includes:St,include:St,invoke:Ct,pluck:Tt,where:function(e,t){return wt(e,Me(t))},max:Pt,min:function(e,t,n){var a,i,o=1/0,r=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=Xe(e)?e:_e(e)).length;sa||void 0===n)return 1;if(ne.length)&&(t=e.length);for(var n=0,a=Array(t);n= 0) continue; + + // Add the first object to the stack of traversed objects. + aStack.push(a); + bStack.push(b); + todo.push(true); + + // Recursively compare objects and arrays. + if (areArrays) { + // Compare array lengths to determine if a deep comparison is necessary. + length = a.length; + if (length !== b.length) return false; + // Deep compare the contents, ignoring non-numeric properties. + while (length--) { + todo.push({a: a[length], b: b[length]}); + } + } else { + // Deep compare objects. + var _keys = keys(a), key; + length = _keys.length; + // Ensure that both objects contain the same number of properties before comparing deep equality. + if (keys(b).length !== length) return false; + while (length--) { + // Deep compare each member + key = _keys[length]; + if (!has$1(b, key)) return false; + todo.push({a: a[key], b: b[key]}); + } } } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); return true; } - // Perform a deep comparison to check if two objects are equal. - function isEqual(a, b) { - return eq(a, b); - } - // Retrieve all the enumerable property names of an object. function allKeys(obj) { if (!isObject(obj)) return []; @@ -1032,25 +1047,27 @@ var isArrayLike = createSizePropertyCheck(getLength); // Internal implementation of a recursive `flatten` function. - function flatten$1(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { + function flatten$1(input, depth, strict) { + if (!depth && depth !== 0) depth = Infinity; + var output = [], idx = 0, i = 0, length = getLength(input) || 0, stack = []; + while (true) { + if (i >= length) { + if (!stack.length) break; + var frame = stack.pop(); + i = frame.i; + input = frame.v; + length = getLength(input); + continue; + } + var value = input[i++]; + if (stack.length >= depth) { + output[idx++] = value; + } else if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { // Flatten current level of array or arguments object. - if (depth > 1) { - flatten$1(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } + stack.push({i: i, v: input}); + i = 0; + input = value; + length = getLength(input); } else if (!strict) { output[idx++] = value; } diff --git a/package-lock.json b/package-lock.json index 33e87db98..2b3aeb959 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "qrcode.vue": "^3.6.0", "quasar": "2.18.6", "showdown": "^2.1.0", - "underscore": "^1.13.7", + "underscore": "^1.13.8", "vue": "3.5.25", "vue-i18n": "^11.2.2", "vue-qrcode-reader": "^5.7.3", @@ -1722,9 +1722,10 @@ } }, "node_modules/underscore": { - "version": "1.13.7", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", - "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==" + "version": "1.13.8", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.8.tgz", + "integrity": "sha512-DXtD3ZtEQzc7M8m4cXotyHR+FAS18C64asBYY5vqZexfYryNNnDc02W4hKg3rdQuqOYas1jkseX0+nZXjTXnvQ==", + "license": "MIT" }, "node_modules/vue": { "version": "3.5.25", diff --git a/package.json b/package.json index 55407cd58..f2a7778c3 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "qrcode.vue": "^3.6.0", "quasar": "2.18.6", "showdown": "^2.1.0", - "underscore": "^1.13.7", + "underscore": "^1.13.8", "vue": "3.5.25", "vue-i18n": "^11.2.2", "vue-qrcode-reader": "^5.7.3",