@opfr/utils-type 0.18.4 → 0.18.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,10 +1 @@
1
- (function(k,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("@opfr/translate")):typeof define=="function"&&define.amd?define(["exports","@opfr/translate"],x):(k=typeof globalThis<"u"?globalThis:k||self,x(k.utils={},k["@opfr/translate"]))})(this,function(k,x){"use strict";var b=(e=>(e.BASIC="BASIC",e.COMMON="COMMON",e.RARE="RARE",e.EPIC="EPIC",e.LEGENDARY="LEGENDARY",e.MYTHIC="MYTHIC",e))(b||{});const Ls={BASIC:{color:"#fff",strength:0,id:b.BASIC,name:(e,t=1)=>x.tns("common",`ranks.${b.BASIC}.text`,{count:t,context:e})},COMMON:{color:"#813D31",strength:1,id:b.COMMON,name:(e,t=1)=>x.tns("common",`ranks.${b.COMMON}.text`,{count:t,context:e})},RARE:{color:"#5B6870",strength:2,id:b.RARE,name:(e,t=1)=>x.tns("common",`ranks.${b.RARE}.text`,{count:t,context:e})},EPIC:{color:"#C46619",strength:3,id:b.EPIC,name:(e,t=1)=>x.tns("common",`ranks.${b.EPIC}.text`,{count:t,context:e})},LEGENDARY:{color:"#88A3CB",strength:4,id:b.LEGENDARY,name:(e,t=1)=>x.tns("common",`ranks.${b.LEGENDARY}.text`,{count:t,context:e})},MYTHIC:{color:"#F6bF62",strength:5,id:b.MYTHIC,name:(e,t=1)=>x.tns("common",`ranks.${b.MYTHIC}.text`,{count:t,context:e})}},Fs=["vitality","strength","agility","intelligence","chance","wisdom"],Is=10,Pt=1,As=[[200,4],[100,3],[50,2],[0,Pt]],Es=100,Hs=10,Us={pirate:{name:"pirate",color:"#8A1623",role:"1047815125282848849"},marine:{name:"marine",color:"#387cbc",role:"1047816059937361940"},revolutionary:{name:"revolutionary",color:"#335635",role:"1047815105846444152"},citizen:{name:"citizen",color:"#fff",role:"1147953458507423874"}},js="citizen",Vs=["category","alpha","quantity"],Gs=(e,t)=>t===null?null:e===t?`-${e}`:t,qe={xp:"<:xp:1084914564379975772>"};//! moment.js
2
- //! version : 2.30.1
3
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
- //! license : MIT
5
- //! momentjs.com
6
- var Ct;function l(){return Ct.apply(null,arguments)}function zs(e){Ct=e}function L(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function re(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Be(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(w(e,t))return!1;return!0}function R(e){return e===void 0}function V(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ye(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Wt(e,t){var s=[],r,a=e.length;for(r=0;r<a;++r)s.push(t(e[r],r));return s}function K(e,t){for(var s in t)w(t,s)&&(e[s]=t[s]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function E(e,t,s,r){return os(e,t,s,r,!0).utc()}function $s(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function c(e){return e._pf==null&&(e._pf=$s()),e._pf}var Xe;Array.prototype.some?Xe=Array.prototype.some:Xe=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Je(e){var t=null,s=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=c(e),s=Xe.call(t.parsedDateParts,function(a){return a!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Te(e){var t=E(NaN);return e!=null?K(c(t),e):c(t).userInvalidated=!0,t}var Lt=l.momentProperties=[],Qe=!1;function Ke(e,t){var s,r,a,n=Lt.length;if(R(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),R(t._i)||(e._i=t._i),R(t._f)||(e._f=t._f),R(t._l)||(e._l=t._l),R(t._strict)||(e._strict=t._strict),R(t._tzm)||(e._tzm=t._tzm),R(t._isUTC)||(e._isUTC=t._isUTC),R(t._offset)||(e._offset=t._offset),R(t._pf)||(e._pf=c(t)),R(t._locale)||(e._locale=t._locale),n>0)for(s=0;s<n;s++)r=Lt[s],a=t[r],R(a)||(e[r]=a);return e}function we(e){Ke(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Qe===!1&&(Qe=!0,l.updateOffset(this),Qe=!1)}function F(e){return e instanceof we||e!=null&&e._isAMomentObject!=null}function Ft(e){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function P(e,t){var s=!0;return K(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),s){var r=[],a,n,i,u=arguments.length;for(n=0;n<u;n++){if(a="",typeof arguments[n]=="object"){a+=`
7
- [`+n+"] ";for(i in arguments[0])w(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[n];r.push(a)}Ft(e+`
8
- Arguments: `+Array.prototype.slice.call(r).join("")+`
9
- `+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var It={};function At(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),It[e]||(Ft(t),It[e]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function H(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Zs(e){var t,s;for(s in e)w(e,s)&&(t=e[s],H(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function et(e,t){var s=K({},e),r;for(r in t)w(t,r)&&(re(e[r])&&re(t[r])?(s[r]={},K(s[r],e[r]),K(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)w(e,r)&&!w(t,r)&&re(e[r])&&(s[r]=K({},s[r]));return s}function tt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=function(e){var t,s=[];for(t in e)w(e,t)&&s.push(t);return s};var qs={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Bs(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return H(r)?r.call(t,s):r}function U(e,t,s){var r=""+Math.abs(e),a=t-r.length,n=e>=0;return(n?s?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var rt=/(\[[^\[]*\])|(\\)?([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,be=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,at={},oe={};function h(e,t,s,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(oe[e]=a),t&&(oe[t[0]]=function(){return U(a.apply(this,arguments),t[1],t[2])}),s&&(oe[s]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Xs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Js(e){var t=e.match(rt),s,r;for(s=0,r=t.length;s<r;s++)oe[t[s]]?t[s]=oe[t[s]]:t[s]=Xs(t[s]);return function(a){var n="",i;for(i=0;i<r;i++)n+=H(t[i])?t[i].call(a,e):t[i];return n}}function Re(e,t){return e.isValid()?(t=Et(t,e.localeData()),at[t]=at[t]||Js(t),at[t](e)):e.localeData().invalidDate()}function Et(e,t){var s=5;function r(a){return t.longDateFormat(a)||a}for(be.lastIndex=0;s>=0&&be.test(e);)e=e.replace(be,r),be.lastIndex=0,s-=1;return e}var Qs={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"};function Ks(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(rt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var er="Invalid date";function tr(){return this._invalidDate}var sr="%d",rr=/\d{1,2}/;function ar(e){return this._ordinal.replace("%d",e)}var nr={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"};function ir(e,t,s,r){var a=this._relativeTime[s];return H(a)?a(e,t,s,r):a.replace(/%d/i,e)}function or(e,t){var s=this._relativeTime[e>0?"future":"past"];return H(s)?s(t):s.replace(/%s/i,t)}var Ht={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 C(e){return typeof e=="string"?Ht[e]||Ht[e.toLowerCase()]:void 0}function nt(e){var t={},s,r;for(r in e)w(e,r)&&(s=C(r),s&&(t[s]=e[r]));return t}var lr={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};function ur(e){var t=[],s;for(s in e)w(e,s)&&t.push({unit:s,priority:lr[s]});return t.sort(function(r,a){return r.priority-a.priority}),t}var Ut=/\d/,N=/\d\d/,jt=/\d{3}/,it=/\d{4}/,xe=/[+-]?\d{6}/,g=/\d\d?/,Vt=/\d\d\d\d?/,Gt=/\d\d\d\d\d\d?/,Ne=/\d{1,3}/,ot=/\d{1,4}/,Pe=/[+-]?\d{1,6}/,le=/\d+/,Ce=/[+-]?\d+/,dr=/Z|[+-]\d\d:?\d\d/gi,We=/Z|[+-]\d\d(?::?\d\d)?/gi,hr=/[+-]?\d+(\.\d{1,3})?/,Me=/[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,ue=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,Le;Le={};function d(e,t,s){Le[e]=H(t)?t:function(r,a){return r&&s?s:t}}function fr(e,t){return w(Le,e)?Le[e](t._strict,t._locale):new RegExp(cr(e))}function cr(e){return G(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,a,n){return s||r||a||n}))}function G(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=W(t)),s}var ut={};function S(e,t){var s,r=t,a;for(typeof e=="string"&&(e=[e]),V(t)&&(r=function(n,i){i[t]=m(n)}),a=e.length,s=0;s<a;s++)ut[e[s]]=r}function Se(e,t){S(e,function(s,r,a,n){a._w=a._w||{},t(s,a._w,a,n)})}function mr(e,t,s){t!=null&&w(ut,e)&&ut[e](t,s._a,s,e)}function Fe(e){return e%4===0&&e%100!==0||e%400===0}var O=0,z=1,j=2,p=3,I=4,$=5,ae=6,_r=7,yr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?U(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),d("Y",Ce),d("YY",g,N),d("YYYY",ot,it),d("YYYYY",Pe,xe),d("YYYYYY",Pe,xe),S(["YYYYY","YYYYYY"],O),S("YYYY",function(e,t){t[O]=e.length===2?l.parseTwoDigitYear(e):m(e)}),S("YY",function(e,t){t[O]=l.parseTwoDigitYear(e)}),S("Y",function(e,t){t[O]=parseInt(e,10)});function ke(e){return Fe(e)?366:365}l.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var zt=de("FullYear",!0);function wr(){return Fe(this.year())}function de(e,t){return function(s){return s!=null?($t(this,e,s),l.updateOffset(this,t),this):ge(this,e)}}function ge(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function $t(e,t,s){var r,a,n,i,u;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(a?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(a?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(a?r.setUTCHours(s):r.setHours(s));case"Date":return void(a?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}n=s,i=e.month(),u=e.date(),u=u===29&&i===1&&!Fe(n)?28:u,a?r.setUTCFullYear(n,i,u):r.setFullYear(n,i,u)}}function Mr(e){return e=C(e),H(this[e])?this[e]():this}function Sr(e,t){if(typeof e=="object"){e=nt(e);var s=ur(e),r,a=s.length;for(r=0;r<a;r++)this[s[r].unit](e[s[r].unit])}else if(e=C(e),H(this[e]))return this[e](t);return this}function kr(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function dt(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=kr(t,12);return e+=(t-s)/12,s===1?Fe(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",g,ue),d("MM",g,N),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[z]=m(e)-1}),S(["MMM","MMMM"],function(e,t,s,r){var a=s._locale.monthsParse(e,r,s._strict);a!=null?t[z]=a:c(s).invalidMonth=e});var gr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Zt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),qt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vr=Me,Dr=Me;function Yr(e,t){return e?L(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||qt).test(t)?"format":"standalone"][e.month()]:L(this._months)?this._months:this._months.standalone}function pr(e,t){return e?L(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[qt.test(t)?"format":"standalone"][e.month()]:L(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Or(e,t,s){var r,a,n,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=E([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return s?t==="MMM"?(a=Y.call(this._shortMonthsParse,i),a!==-1?a:null):(a=Y.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=Y.call(this._shortMonthsParse,i),a!==-1?a:(a=Y.call(this._longMonthsParse,i),a!==-1?a:null)):(a=Y.call(this._longMonthsParse,i),a!==-1?a:(a=Y.call(this._shortMonthsParse,i),a!==-1?a:null))}function Tr(e,t,s){var r,a,n;if(this._monthsParseExact)return Or.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=E([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function Bt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(t);else if(t=e.localeData().monthsParse(t),!V(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,dt(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function Xt(e){return e!=null?(Bt(this,e),l.updateOffset(this,!0),this):ge(this,"Month")}function br(){return dt(this.year(),this.month())}function Rr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Jt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=vr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function xr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Jt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Dr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Jt(){function e(f,_){return _.length-f.length}var t=[],s=[],r=[],a,n,i,u;for(a=0;a<12;a++)n=E([2e3,a]),i=G(this.monthsShort(n,"")),u=G(this.months(n,"")),t.push(i),s.push(u),r.push(u),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Nr(e,t,s,r,a,n,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,a,n,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,a,n,i),u}function ve(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,s){var r=7+t-s,a=(7+ve(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Qt(e,t,s,r,a){var n=(7+s-r)%7,i=Ie(e,r,a),u=1+7*(t-1)+n+i,f,_;return u<=0?(f=e-1,_=ke(f)+u):u>ke(e)?(f=e+1,_=u-ke(e)):(f=e,_=u),{year:f,dayOfYear:_}}function De(e,t,s){var r=Ie(e.year(),t,s),a=Math.floor((e.dayOfYear()-r-1)/7)+1,n,i;return a<1?(i=e.year()-1,n=a+Z(i,t,s)):a>Z(e.year(),t,s)?(n=a-Z(e.year(),t,s),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function Z(e,t,s){var r=Ie(e,t,s),a=Ie(e+1,t,s);return(ke(e)-r+a)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",g,ue),d("ww",g,N),d("W",g,ue),d("WW",g,N),Se(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=m(e)});function Pr(e){return De(e,this._week.dow,this._week.doy).week}var Cr={dow:0,doy:6};function Wr(){return this._week.dow}function Lr(){return this._week.doy}function Fr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ir(e){var t=De(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),d("d",g),d("e",g),d("E",g),d("dd",function(e,t){return t.weekdaysMinRegex(e)}),d("ddd",function(e,t){return t.weekdaysShortRegex(e)}),d("dddd",function(e,t){return t.weekdaysRegex(e)}),Se(["dd","ddd","dddd"],function(e,t,s,r){var a=s._locale.weekdaysParse(e,r,s._strict);a!=null?t.d=a:c(s).invalidWeekday=e}),Se(["d","e","E"],function(e,t,s,r){t[r]=m(e)});function Ar(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Er(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Hr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Kt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ur="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jr=Me,Vr=Me,Gr=Me;function zr(e,t){var s=L(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ht(s,this._week.dow):e?s[e.day()]:s}function $r(e){return e===!0?ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Zr(e){return e===!0?ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function qr(e,t,s){var r,a,n,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=E([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return s?t==="dddd"?(a=Y.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=Y.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=Y.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=Y.call(this._weekdaysParse,i),a!==-1||(a=Y.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=Y.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=Y.call(this._shortWeekdaysParse,i),a!==-1||(a=Y.call(this._weekdaysParse,i),a!==-1)?a:(a=Y.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=Y.call(this._minWeekdaysParse,i),a!==-1||(a=Y.call(this._weekdaysParse,i),a!==-1)?a:(a=Y.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function Br(e,t,s){var r,a,n;if(this._weekdaysParseExact)return qr.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=E([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function Xr(e){if(!this.isValid())return e!=null?this:NaN;var t=ge(this,"Day");return e!=null?(e=Ar(e,this.localeData()),this.add(e-t,"d")):t}function Jr(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Qr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Er(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Kr(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=jr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ea(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Vr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ta(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ft(){function e(T,Q){return Q.length-T.length}var t=[],s=[],r=[],a=[],n,i,u,f,_;for(n=0;n<7;n++)i=E([2e3,1]).day(n),u=G(this.weekdaysMin(i,"")),f=G(this.weekdaysShort(i,"")),_=G(this.weekdays(i,"")),t.push(u),s.push(f),r.push(_),a.push(u),a.push(f),a.push(_);t.sort(e),s.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ct(){return this.hours()%12||12}function sa(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ct),h("k",["kk",2],0,sa),h("hmm",0,0,function(){return""+ct.apply(this)+U(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ct.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function es(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}es("a",!0),es("A",!1);function ts(e,t){return t._meridiemParse}d("a",ts),d("A",ts),d("H",g,lt),d("h",g,ue),d("k",g,ue),d("HH",g,N),d("hh",g,N),d("kk",g,N),d("hmm",Vt),d("hmmss",Gt),d("Hmm",Vt),d("Hmmss",Gt),S(["H","HH"],p),S(["k","kk"],function(e,t,s){var r=m(e);t[p]=r===24?0:r}),S(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),S(["h","hh"],function(e,t,s){t[p]=m(e),c(s).bigHour=!0}),S("hmm",function(e,t,s){var r=e.length-2;t[p]=m(e.substr(0,r)),t[I]=m(e.substr(r)),c(s).bigHour=!0}),S("hmmss",function(e,t,s){var r=e.length-4,a=e.length-2;t[p]=m(e.substr(0,r)),t[I]=m(e.substr(r,2)),t[$]=m(e.substr(a)),c(s).bigHour=!0}),S("Hmm",function(e,t,s){var r=e.length-2;t[p]=m(e.substr(0,r)),t[I]=m(e.substr(r))}),S("Hmmss",function(e,t,s){var r=e.length-4,a=e.length-2;t[p]=m(e.substr(0,r)),t[I]=m(e.substr(r,2)),t[$]=m(e.substr(a))});function ra(e){return(e+"").toLowerCase().charAt(0)==="p"}var aa=/[ap]\.?m?\.?/i,na=de("Hours",!0);function ia(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var ss={calendar:qs,longDateFormat:Qs,invalidDate:er,ordinal:sr,dayOfMonthOrdinalParse:rr,relativeTime:nr,months:gr,monthsShort:Zt,week:Cr,weekdays:Hr,weekdaysMin:Ur,weekdaysShort:Kt,meridiemParse:aa},D={},Ye={},pe;function oa(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function rs(e){return e&&e.toLowerCase().replace("_","-")}function la(e){for(var t=0,s,r,a,n;t<e.length;){for(n=rs(e[t]).split("-"),s=n.length,r=rs(e[t+1]),r=r?r.split("-"):null;s>0;){if(a=Ae(n.slice(0,s).join("-")),a)return a;if(r&&r.length>=s&&oa(n,r)>=s-1)break;s--}t++}return pe}function ua(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ae(e){var t=null,s;if(D[e]===void 0&&typeof module<"u"&&module&&module.exports&&ua(e))try{t=pe._abbr,s=require,s("./locale/"+e),ee(t)}catch{D[e]=null}return D[e]}function ee(e,t){var s;return e&&(R(t)?s=q(e):s=mt(e,t),s?pe=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),pe._abbr}function mt(e,t){if(t!==null){var s,r=ss;if(t.abbr=e,D[e]!=null)At("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=D[e]._config;else if(t.parentLocale!=null)if(D[t.parentLocale]!=null)r=D[t.parentLocale]._config;else if(s=Ae(t.parentLocale),s!=null)r=s._config;else return Ye[t.parentLocale]||(Ye[t.parentLocale]=[]),Ye[t.parentLocale].push({name:e,config:t}),null;return D[e]=new tt(et(r,t)),Ye[e]&&Ye[e].forEach(function(a){mt(a.name,a.config)}),ee(e),D[e]}else return delete D[e],null}function da(e,t){if(t!=null){var s,r,a=ss;D[e]!=null&&D[e].parentLocale!=null?D[e].set(et(D[e]._config,t)):(r=Ae(e),r!=null&&(a=r._config),t=et(a,t),r==null&&(t.abbr=e),s=new tt(t),s.parentLocale=D[e],D[e]=s),ee(e)}else D[e]!=null&&(D[e].parentLocale!=null?(D[e]=D[e].parentLocale,e===ee()&&ee(e)):D[e]!=null&&delete D[e]);return D[e]}function q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pe;if(!L(e)){if(t=Ae(e),t)return t;e=[e]}return la(e)}function ha(){return st(D)}function _t(e){var t,s=e._a;return s&&c(e).overflow===-2&&(t=s[z]<0||s[z]>11?z:s[j]<1||s[j]>dt(s[O],s[z])?j:s[p]<0||s[p]>24||s[p]===24&&(s[I]!==0||s[$]!==0||s[ae]!==0)?p:s[I]<0||s[I]>59?I:s[$]<0||s[$]>59?$:s[ae]<0||s[ae]>999?ae:-1,c(e)._overflowDayOfYear&&(t<O||t>j)&&(t=j),c(e)._overflowWeeks&&t===-1&&(t=_r),c(e)._overflowWeekday&&t===-1&&(t=yr),c(e).overflow=t),e}var fa=/^\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)?)?$/,ca=/^\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)?)?$/,ma=/Z|[+-]\d\d(?::?\d\d)?/,Ee=[["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]],yt=[["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/]],_a=/^\/?Date\((-?\d+)/i,ya=/^(?:(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}))$/,wa={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function as(e){var t,s,r=e._i,a=fa.exec(r)||ca.exec(r),n,i,u,f,_=Ee.length,T=yt.length;if(a){for(c(e).iso=!0,t=0,s=_;t<s;t++)if(Ee[t][1].exec(a[1])){i=Ee[t][0],n=Ee[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,s=T;t<s;t++)if(yt[t][1].exec(a[3])){u=(a[2]||" ")+yt[t][0];break}if(u==null){e._isValid=!1;return}}if(!n&&u!=null){e._isValid=!1;return}if(a[4])if(ma.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(f||""),Mt(e)}else e._isValid=!1}function Ma(e,t,s,r,a,n){var i=[Sa(e),Zt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(a,10)];return n&&i.push(parseInt(n,10)),i}function Sa(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ka(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ga(e,t,s){if(e){var r=Kt.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return c(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function va(e,t,s){if(e)return wa[e];if(t)return 0;var r=parseInt(s,10),a=r%100,n=(r-a)/100;return n*60+a}function ns(e){var t=ya.exec(ka(e._i)),s;if(t){if(s=Ma(t[4],t[3],t[2],t[5],t[6],t[7]),!ga(t[1],s,e))return;e._a=s,e._tzm=va(t[8],t[9],t[10]),e._d=ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function Da(e){var t=_a.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(as(e),e._isValid===!1)delete e._isValid;else return;if(ns(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=P("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function he(e,t,s){return e??t??s}function Ya(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,s,r=[],a,n,i;if(!e._d){for(a=Ya(e),e._w&&e._a[j]==null&&e._a[z]==null&&pa(e),e._dayOfYear!=null&&(i=he(e._a[O],a[O]),(e._dayOfYear>ke(i)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),s=ve(i,0,e._dayOfYear),e._a[z]=s.getUTCMonth(),e._a[j]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[p]===24&&e._a[I]===0&&e._a[$]===0&&e._a[ae]===0&&(e._nextDay=!0,e._a[p]=0),e._d=(e._useUTC?ve:Nr).apply(null,r),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[p]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==n&&(c(e).weekdayMismatch=!0)}}function pa(e){var t,s,r,a,n,i,u,f,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,i=4,s=he(t.GG,e._a[O],De(v(),1,4).year),r=he(t.W,1),a=he(t.E,1),(a<1||a>7)&&(f=!0)):(n=e._locale._week.dow,i=e._locale._week.doy,_=De(v(),n,i),s=he(t.gg,e._a[O],_.year),r=he(t.w,_.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(f=!0)):a=n),r<1||r>Z(s,n,i)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(u=Qt(s,r,a,n,i),e._a[O]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function Mt(e){if(e._f===l.ISO_8601){as(e);return}if(e._f===l.RFC_2822){ns(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,s,r,a,n,i,u=t.length,f=0,_,T;for(a=Et(e._f,e._locale).match(rt)||[],T=a.length,s=0;s<T;s++)n=a[s],r=(t.match(fr(n,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&c(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),f+=r.length),oe[n]?(r?c(e).empty=!1:c(e).unusedTokens.push(n),mr(n,r,e)):e._strict&&!r&&c(e).unusedTokens.push(n);c(e).charsLeftOver=u-f,t.length>0&&c(e).unusedInput.push(t),e._a[p]<=12&&c(e).bigHour===!0&&e._a[p]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[p]=Oa(e._locale,e._a[p],e._meridiem),_=c(e).era,_!==null&&(e._a[O]=e._locale.erasConvertYear(_,e._a[O])),wt(e),_t(e)}function Oa(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Ta(e){var t,s,r,a,n,i,u=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)n=0,i=!1,t=Ke({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Mt(t),Je(t)&&(i=!0),n+=c(t).charsLeftOver,n+=c(t).unusedTokens.length*10,c(t).score=n,u?n<r&&(r=n,s=t):(r==null||n<r||i)&&(r=n,s=t,i&&(u=!0));K(e,s||t)}function ba(e){if(!e._d){var t=nt(e._i),s=t.day===void 0?t.date:t.day;e._a=Wt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),wt(e)}}function Ra(e){var t=new we(_t(is(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function is(e){var t=e._i,s=e._f;return e._locale=e._locale||q(e._l),t===null||s===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new we(_t(t)):(ye(t)?e._d=t:L(s)?Ta(e):s?Mt(e):xa(e),Je(e)||(e._d=null),e))}function xa(e){var t=e._i;R(t)?e._d=new Date(l.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Da(e):L(t)?(e._a=Wt(t.slice(0),function(s){return parseInt(s,10)}),wt(e)):re(t)?ba(e):V(t)?e._d=new Date(t):l.createFromInputFallback(e)}function os(e,t,s,r,a){var n={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(re(e)&&Be(e)||L(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=s,n._i=e,n._f=t,n._strict=r,Ra(n)}function v(e,t,s,r){return os(e,t,s,r,!1)}var Na=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=v.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),Pa=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=v.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function ls(e,t){var s,r;if(t.length===1&&L(t[0])&&(t=t[0]),!t.length)return v();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Ca(){var e=[].slice.call(arguments,0);return ls("isBefore",e)}function Wa(){var e=[].slice.call(arguments,0);return ls("isAfter",e)}var La=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Fa(e){var t,s=!1,r,a=Oe.length;for(t in e)if(w(e,t)&&!(Y.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[Oe[r]]){if(s)return!1;parseFloat(e[Oe[r]])!==m(e[Oe[r]])&&(s=!0)}return!0}function Ia(){return this._isValid}function Aa(){return A(NaN)}function He(e){var t=nt(e),s=t.year||0,r=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,f=t.minute||0,_=t.second||0,T=t.millisecond||0;this._isValid=Fa(t),this._milliseconds=+T+_*1e3+f*6e4+u*1e3*60*60,this._days=+i+n*7,this._months=+a+r*3+s*12,this._data={},this._locale=q(),this._bubble()}function Ue(e){return e instanceof He}function St(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ea(e,t,s){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,i;for(i=0;i<r;i++)m(e[i])!==m(t[i])&&n++;return n+a}function us(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+U(~~(s/60),2)+t+U(~~s%60,2)})}us("Z",":"),us("ZZ",""),d("Z",We),d("ZZ",We),S(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=kt(We,e)});var Ha=/([\+\-]|\d\d)/gi;function kt(e,t){var s=(t||"").match(e),r,a,n;return s===null?null:(r=s[s.length-1]||[],a=(r+"").match(Ha)||["-",0,0],n=+(a[1]*60)+m(a[2]),n===0?0:a[0]==="+"?n:-n)}function gt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(F(e)||ye(e)?e.valueOf():v(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),l.updateOffset(s,!1),s):v(e).local()}function vt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function Ua(e,t,s){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=kt(We,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(a=vt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?cs(this,A(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:vt(this)}function ja(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Va(e){return this.utcOffset(0,e)}function Ga(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(vt(this),"m")),this}function za(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=kt(dr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function $a(e){return this.isValid()?(e=e?v(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Za(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qa(){if(!R(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Ke(e,this),e=is(e),e._a?(t=e._isUTC?E(e._a):v(e._a),this._isDSTShifted=this.isValid()&&Ea(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ba(){return this.isValid()?!this._isUTC:!1}function Xa(){return this.isValid()?this._isUTC:!1}function ds(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ja=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Qa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function A(e,t){var s=e,r=null,a,n,i;return Ue(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:V(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=Ja.exec(e))?(a=r[1]==="-"?-1:1,s={y:0,d:m(r[j])*a,h:m(r[p])*a,m:m(r[I])*a,s:m(r[$])*a,ms:m(St(r[ae]*1e3))*a}):(r=Qa.exec(e))?(a=r[1]==="-"?-1:1,s={y:ne(r[2],a),M:ne(r[3],a),w:ne(r[4],a),d:ne(r[5],a),h:ne(r[6],a),m:ne(r[7],a),s:ne(r[8],a)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=Ka(v(s.from),v(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),n=new He(s),Ue(e)&&w(e,"_locale")&&(n._locale=e._locale),Ue(e)&&w(e,"_isValid")&&(n._isValid=e._isValid),n}A.fn=He.prototype,A.invalid=Aa;function ne(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function hs(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function Ka(e,t){var s;return e.isValid()&&t.isValid()?(t=gt(t,e),e.isBefore(t)?s=hs(e,t):(s=hs(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function fs(e,t){return function(s,r){var a,n;return r!==null&&!isNaN(+r)&&(At(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=s,s=r,r=n),a=A(s,r),cs(this,a,e),this}}function cs(e,t,s,r){var a=t._milliseconds,n=St(t._days),i=St(t._months);e.isValid()&&(r=r??!0,i&&Bt(e,ge(e,"Month")+i*s),n&&$t(e,"Date",ge(e,"Date")+n*s),a&&e._d.setTime(e._d.valueOf()+a*s),r&&l.updateOffset(e,n||i))}var en=fs(1,"add"),tn=fs(-1,"subtract");function ms(e){return typeof e=="string"||e instanceof String}function sn(e){return F(e)||ye(e)||ms(e)||V(e)||an(e)||rn(e)||e===null||e===void 0}function rn(e){var t=re(e)&&!Be(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n,i=r.length;for(a=0;a<i;a+=1)n=r[a],s=s||w(e,n);return t&&s}function an(e){var t=L(e),s=!1;return t&&(s=e.filter(function(r){return!V(r)&&ms(e)}).length===0),t&&s}function nn(e){var t=re(e)&&!Be(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<r.length;a+=1)n=r[a],s=s||w(e,n);return t&&s}function on(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function ln(e,t){arguments.length===1&&(arguments[0]?sn(arguments[0])?(e=arguments[0],t=void 0):nn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||v(),r=gt(s,this).startOf("day"),a=l.calendarFormat(this,r)||"sameElse",n=t&&(H(t[a])?t[a].call(this,s):t[a]);return this.format(n||this.localeData().calendar(a,this,v(s)))}function un(){return new we(this)}function dn(e,t){var s=F(e)?e:v(e);return this.isValid()&&s.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function hn(e,t){var s=F(e)?e:v(e);return this.isValid()&&s.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function fn(e,t,s,r){var a=F(e)?e:v(e),n=F(t)?t:v(t);return this.isValid()&&a.isValid()&&n.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,s):!this.isBefore(a,s))&&(r[1]===")"?this.isBefore(n,s):!this.isAfter(n,s))):!1}function cn(e,t){var s=F(e)?e:v(e),r;return this.isValid()&&s.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function mn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function _n(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function yn(e,t,s){var r,a,n;if(!this.isValid())return NaN;if(r=gt(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=C(t),t){case"year":n=je(this,r)/12;break;case"month":n=je(this,r);break;case"quarter":n=je(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-a)/864e5;break;case"week":n=(this-r-a)/6048e5;break;default:n=this-r}return s?n:W(n)}function je(e,t){if(e.date()<t.date())return-je(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),a,n;return t-r<0?(a=e.clone().add(s-1,"months"),n=(t-r)/(r-a)):(a=e.clone().add(s+1,"months"),n=(t-r)/(a-r)),-(s+n)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function wn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Mn(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?Re(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Re(s,"Z")):Re(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Sn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(s+r+a+n)}function kn(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Re(this,e);return this.localeData().postformat(t)}function gn(e,t){return this.isValid()&&(F(e)&&e.isValid()||v(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vn(e){return this.from(v(),e)}function Dn(e,t){return this.isValid()&&(F(e)&&e.isValid()||v(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Yn(e){return this.to(v(),e)}function _s(e){var t;return e===void 0?this._locale._abbr:(t=q(e),t!=null&&(this._locale=t),this)}var ys=P("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function ws(){return this._locale}var Ve=1e3,fe=60*Ve,Ge=60*fe,Ms=(365*400+97)*24*Ge;function ce(e,t){return(e%t+t)%t}function Ss(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-Ms:new Date(e,t,s).valueOf()}function ks(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-Ms:Date.UTC(e,t,s)}function pn(e){var t,s;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ks:Ss,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ce(t+(this._isUTC?0:this.utcOffset()*fe),Ge);break;case"minute":t=this._d.valueOf(),t-=ce(t,fe);break;case"second":t=this._d.valueOf(),t-=ce(t,Ve);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function On(e){var t,s;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ks:Ss,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ge-ce(t+(this._isUTC?0:this.utcOffset()*fe),Ge)-1;break;case"minute":t=this._d.valueOf(),t+=fe-ce(t,fe)-1;break;case"second":t=this._d.valueOf(),t+=Ve-ce(t,Ve)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Tn(){return this._d.valueOf()-(this._offset||0)*6e4}function bn(){return Math.floor(this.valueOf()/1e3)}function Rn(){return new Date(this.valueOf())}function xn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Nn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Pn(){return this.isValid()?this.toISOString():null}function Cn(){return Je(this)}function Wn(){return K({},c(this))}function Ln(){return c(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),d("N",Dt),d("NN",Dt),d("NNN",Dt),d("NNNN",Zn),d("NNNNN",qn),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var a=s._locale.erasParse(e,r,s._strict);a?c(s).era=a:c(s).invalidEra=e}),d("y",le),d("yy",le),d("yyy",le),d("yyyy",le),d("yo",Bn),S(["y","yy","yyy","yyyy"],O),S(["yo"],function(e,t,s,r){var a;s._locale._eraYearOrdinalRegex&&(a=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[O]=s._locale.eraYearOrdinalParse(e,a):t[O]=parseInt(e,10)});function In(e,t){var s,r,a,n=this._eras||q("en")._eras;for(s=0,r=n.length;s<r;++s){switch(typeof n[s].since){case"string":a=l(n[s].since).startOf("day"),n[s].since=a.valueOf();break}switch(typeof n[s].until){case"undefined":n[s].until=1/0;break;case"string":a=l(n[s].until).startOf("day").valueOf(),n[s].until=a.valueOf();break}}return n}function An(e,t,s){var r,a,n=this.eras(),i,u,f;for(e=e.toUpperCase(),r=0,a=n.length;r<a;++r)if(i=n[r].name.toUpperCase(),u=n[r].abbr.toUpperCase(),f=n[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return n[r];break;case"NNNN":if(i===e)return n[r];break;case"NNNNN":if(f===e)return n[r];break}else if([i,u,f].indexOf(e)>=0)return n[r]}function En(e,t){var s=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*s}function Hn(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function Un(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function jn(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function Vn(){var e,t,s,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(s=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-l(a[e].since).year())*s+a[e].offset;return this.year()}function Gn(e){return w(this,"_erasNameRegex")||Yt.call(this),e?this._erasNameRegex:this._erasRegex}function zn(e){return w(this,"_erasAbbrRegex")||Yt.call(this),e?this._erasAbbrRegex:this._erasRegex}function $n(e){return w(this,"_erasNarrowRegex")||Yt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dt(e,t){return t.erasAbbrRegex(e)}function Zn(e,t){return t.erasNameRegex(e)}function qn(e,t){return t.erasNarrowRegex(e)}function Bn(e,t){return t._eraYearOrdinalRegex||le}function Yt(){var e=[],t=[],s=[],r=[],a,n,i,u,f,_=this.eras();for(a=0,n=_.length;a<n;++a)i=G(_[a].name),u=G(_[a].abbr),f=G(_[a].narrow),t.push(i),e.push(u),s.push(f),r.push(i),r.push(u),r.push(f);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),d("G",Ce),d("g",Ce),d("GG",g,N),d("gg",g,N),d("GGGG",ot,it),d("gggg",ot,it),d("GGGGG",Pe,xe),d("ggggg",Pe,xe),Se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=m(e)}),Se(["gg","GG"],function(e,t,s,r){t[r]=l.parseTwoDigitYear(e)});function Xn(e){return gs.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Jn(e){return gs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Qn(){return Z(this.year(),1,4)}function Kn(){return Z(this.isoWeekYear(),1,4)}function ei(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)}function ti(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)}function gs(e,t,s,r,a){var n;return e==null?De(this,r,a).year:(n=Z(e,r,a),t>n&&(t=n),si.call(this,e,t,s,r,a))}function si(e,t,s,r,a){var n=Qt(e,t,s,r,a),i=ve(n.year,0,n.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",Ut),S("Q",function(e,t){t[z]=(m(e)-1)*3});function ri(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),d("D",g,ue),d("DD",g,N),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],j),S("Do",function(e,t){t[j]=m(e.match(g)[0])});var vs=de("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",Ne),d("DDDD",jt),S(["DDD","DDDD"],function(e,t,s){s._dayOfYear=m(e)});function ai(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),d("m",g,lt),d("mm",g,N),S(["m","mm"],I);var ni=de("Minutes",!1);h("s",["ss",2],0,"second"),d("s",g,lt),d("ss",g,N),S(["s","ss"],$);var ii=de("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),d("S",Ne,Ut),d("SS",Ne,N),d("SSS",Ne,jt);var te,Ds;for(te="SSSS";te.length<=9;te+="S")d(te,le);function oi(e,t){t[ae]=m(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")S(te,oi);Ds=de("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function li(){return this._isUTC?"UTC":""}function ui(){return this._isUTC?"Coordinated Universal Time":""}var o=we.prototype;o.add=en,o.calendar=ln,o.clone=un,o.diff=yn,o.endOf=On,o.format=kn,o.from=gn,o.fromNow=vn,o.to=Dn,o.toNow=Yn,o.get=Mr,o.invalidAt=Ln,o.isAfter=dn,o.isBefore=hn,o.isBetween=fn,o.isSame=cn,o.isSameOrAfter=mn,o.isSameOrBefore=_n,o.isValid=Cn,o.lang=ys,o.locale=_s,o.localeData=ws,o.max=Pa,o.min=Na,o.parsingFlags=Wn,o.set=Sr,o.startOf=pn,o.subtract=tn,o.toArray=xn,o.toObject=Nn,o.toDate=Rn,o.toISOString=Mn,o.inspect=Sn,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=Pn,o.toString=wn,o.unix=bn,o.valueOf=Tn,o.creationData=Fn,o.eraName=Hn,o.eraNarrow=Un,o.eraAbbr=jn,o.eraYear=Vn,o.year=zt,o.isLeapYear=wr,o.weekYear=Xn,o.isoWeekYear=Jn,o.quarter=o.quarters=ri,o.month=Xt,o.daysInMonth=br,o.week=o.weeks=Fr,o.isoWeek=o.isoWeeks=Ir,o.weeksInYear=ei,o.weeksInWeekYear=ti,o.isoWeeksInYear=Qn,o.isoWeeksInISOWeekYear=Kn,o.date=vs,o.day=o.days=Xr,o.weekday=Jr,o.isoWeekday=Qr,o.dayOfYear=ai,o.hour=o.hours=na,o.minute=o.minutes=ni,o.second=o.seconds=ii,o.millisecond=o.milliseconds=Ds,o.utcOffset=Ua,o.utc=Va,o.local=Ga,o.parseZone=za,o.hasAlignedHourOffset=$a,o.isDST=Za,o.isLocal=Ba,o.isUtcOffset=Xa,o.isUtc=ds,o.isUTC=ds,o.zoneAbbr=li,o.zoneName=ui,o.dates=P("dates accessor is deprecated. Use date instead.",vs),o.months=P("months accessor is deprecated. Use month instead",Xt),o.years=P("years accessor is deprecated. Use year instead",zt),o.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ja),o.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qa);function di(e){return v(e*1e3)}function hi(){return v.apply(null,arguments).parseZone()}function Ys(e){return e}var M=tt.prototype;M.calendar=Bs,M.longDateFormat=Ks,M.invalidDate=tr,M.ordinal=ar,M.preparse=Ys,M.postformat=Ys,M.relativeTime=ir,M.pastFuture=or,M.set=Zs,M.eras=In,M.erasParse=An,M.erasConvertYear=En,M.erasAbbrRegex=zn,M.erasNameRegex=Gn,M.erasNarrowRegex=$n,M.months=Yr,M.monthsShort=pr,M.monthsParse=Tr,M.monthsRegex=xr,M.monthsShortRegex=Rr,M.week=Pr,M.firstDayOfYear=Lr,M.firstDayOfWeek=Wr,M.weekdays=zr,M.weekdaysMin=Zr,M.weekdaysShort=$r,M.weekdaysParse=Br,M.weekdaysRegex=Kr,M.weekdaysShortRegex=ea,M.weekdaysMinRegex=ta,M.isPM=ra,M.meridiem=ia;function $e(e,t,s,r){var a=q(),n=E().set(r,t);return a[s](n,e)}function ps(e,t,s){if(V(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,s,"month");var r,a=[];for(r=0;r<12;r++)a[r]=$e(e,r,s,"month");return a}function pt(e,t,s,r){typeof e=="boolean"?(V(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,V(t)&&(s=t,t=void 0),t=t||"");var a=q(),n=e?a._week.dow:0,i,u=[];if(s!=null)return $e(t,(s+n)%7,r,"day");for(i=0;i<7;i++)u[i]=$e(t,(i+n)%7,r,"day");return u}function fi(e,t){return ps(e,t,"months")}function ci(e,t){return ps(e,t,"monthsShort")}function mi(e,t,s){return pt(e,t,s,"weekdays")}function _i(e,t,s){return pt(e,t,s,"weekdaysShort")}function yi(e,t,s){return pt(e,t,s,"weekdaysMin")}ee("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,s=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),l.lang=P("moment.lang is deprecated. Use moment.locale instead.",ee),l.langData=P("moment.langData is deprecated. Use moment.localeData instead.",q);var B=Math.abs;function wi(){var e=this._data;return this._milliseconds=B(this._milliseconds),this._days=B(this._days),this._months=B(this._months),e.milliseconds=B(e.milliseconds),e.seconds=B(e.seconds),e.minutes=B(e.minutes),e.hours=B(e.hours),e.months=B(e.months),e.years=B(e.years),this}function Os(e,t,s,r){var a=A(t,s);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Mi(e,t){return Os(this,e,t,1)}function Si(e,t){return Os(this,e,t,-1)}function Ts(e){return e<0?Math.floor(e):Math.ceil(e)}function ki(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,a,n,i,u,f;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Ts(Ot(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,a=W(e/1e3),r.seconds=a%60,n=W(a/60),r.minutes=n%60,i=W(n/60),r.hours=i%24,t+=W(i/24),f=W(bs(t)),s+=f,t-=Ts(Ot(f)),u=W(s/12),s%=12,r.days=t,r.months=s,r.years=u,this}function bs(e){return e*4800/146097}function Ot(e){return e*146097/4800}function gi(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=C(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+bs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Ot(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function X(e){return function(){return this.as(e)}}var Rs=X("ms"),vi=X("s"),Di=X("m"),Yi=X("h"),pi=X("d"),Oi=X("w"),Ti=X("M"),bi=X("Q"),Ri=X("y"),xi=Rs;function Ni(){return A(this)}function Pi(e){return e=C(e),this.isValid()?this[e+"s"]():NaN}function ie(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ci=ie("milliseconds"),Wi=ie("seconds"),Li=ie("minutes"),Fi=ie("hours"),Ii=ie("days"),Ai=ie("months"),Ei=ie("years");function Hi(){return W(this.days()/7)}var J=Math.round,me={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ui(e,t,s,r,a){return a.relativeTime(t||1,!!s,e,r)}function ji(e,t,s,r){var a=A(e).abs(),n=J(a.as("s")),i=J(a.as("m")),u=J(a.as("h")),f=J(a.as("d")),_=J(a.as("M")),T=J(a.as("w")),Q=J(a.as("y")),se=n<=s.ss&&["s",n]||n<s.s&&["ss",n]||i<=1&&["m"]||i<s.m&&["mm",i]||u<=1&&["h"]||u<s.h&&["hh",u]||f<=1&&["d"]||f<s.d&&["dd",f];return s.w!=null&&(se=se||T<=1&&["w"]||T<s.w&&["ww",T]),se=se||_<=1&&["M"]||_<s.M&&["MM",_]||Q<=1&&["y"]||["yy",Q],se[2]=t,se[3]=+e>0,se[4]=r,Ui.apply(null,se)}function Vi(e){return e===void 0?J:typeof e=="function"?(J=e,!0):!1}function Gi(e,t){return me[e]===void 0?!1:t===void 0?me[e]:(me[e]=t,e==="s"&&(me.ss=t-1),!0)}function zi(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=me,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},me,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),n=ji(this,!s,r,a),s&&(n=a.pastFuture(+this,n)),a.postformat(n)}var Tt=Math.abs;function _e(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=Tt(this._milliseconds)/1e3,t=Tt(this._days),s=Tt(this._months),r,a,n,i,u=this.asSeconds(),f,_,T,Q;return u?(r=W(e/60),a=W(r/60),e%=60,r%=60,n=W(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=u<0?"-":"",_=_e(this._months)!==_e(u)?"-":"",T=_e(this._days)!==_e(u)?"-":"",Q=_e(this._milliseconds)!==_e(u)?"-":"",f+"P"+(n?_+n+"Y":"")+(s?_+s+"M":"")+(t?T+t+"D":"")+(a||r||e?"T":"")+(a?Q+a+"H":"")+(r?Q+r+"M":"")+(e?Q+i+"S":"")):"P0D"}var y=He.prototype;y.isValid=Ia,y.abs=wi,y.add=Mi,y.subtract=Si,y.as=gi,y.asMilliseconds=Rs,y.asSeconds=vi,y.asMinutes=Di,y.asHours=Yi,y.asDays=pi,y.asWeeks=Oi,y.asMonths=Ti,y.asQuarters=bi,y.asYears=Ri,y.valueOf=xi,y._bubble=ki,y.clone=Ni,y.get=Pi,y.milliseconds=Ci,y.seconds=Wi,y.minutes=Li,y.hours=Fi,y.days=Ii,y.weeks=Hi,y.months=Ai,y.years=Ei,y.humanize=zi,y.toISOString=Ze,y.toString=Ze,y.toJSON=Ze,y.locale=_s,y.localeData=ws,y.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),y.lang=ys,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Ce),d("X",hr),S("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),S("x",function(e,t,s){s._d=new Date(m(e))});//! moment.js
10
- l.version="2.30.1",zs(v),l.fn=o,l.min=Ca,l.max=Wa,l.now=La,l.utc=E,l.unix=di,l.months=fi,l.isDate=ye,l.locale=ee,l.invalid=Te,l.duration=A,l.isMoment=F,l.weekdays=mi,l.parseZone=hi,l.localeData=q,l.isDuration=Ue,l.monthsShort=ci,l.weekdaysMin=yi,l.defineLocale=mt,l.updateLocale=da,l.locales=ha,l.weekdaysShort=_i,l.normalizeUnits=C,l.relativeTimeRounding=Vi,l.relativeTimeThreshold=Gi,l.calendarFormat=on,l.prototype=o,l.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"};const bt=e=>new Intl.NumberFormat("de-DE").format(e),$i=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Zi=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,xs=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Rt=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],qi={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:xs,monthsShortRegex:xs,monthsStrictRegex:$i,monthsShortStrictRegex:Zi,monthsParse:Rt,longMonthsParse:Rt,shortMonthsParse:Rt,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(e,t)=>{switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}};l.locale("fr",qi);const Ns=e=>Math.round(5e3*Math.pow(200,.01*e)/10)*10,xt=e=>e>=1?xt(e-1)+Ns(e):0,Ps=(e,t=0)=>e<xt(t+1)?t:Ps(e,t+1),Cs=e=>Math.round(1e5*Math.pow(50,.01*e)/10)*10,Nt=e=>e>=1?Nt(e-1)+Cs(e):0,Ws=(e,t=0)=>e<Nt(t+1)?t:Ws(e,t+1),Bi=([e,t])=>t?`${x.tns("common","xp.user",{amount:bt(e),emoji:qe.xp})} ${x.tns("common","xp.crew",{amount:bt(t),emoji:qe.xp})}`:x.tns("common","xp.user",{amount:bt(e),emoji:qe.xp});k.CHARACTERISTICS=Fs,k.CHARACTERISTIC_DEFAULT_POINT_COST=Pt,k.CHARACTERISTIC_POINT_COSTS=As,k.CHARACTERISTIC_POINT_PER_LEVEL=Is,k.DEFAULT_FACTION=js,k.DEFAULT_MAX_HP=Es,k.FACTIONS=Us,k.HP_PER_VITALITY=Hs,k.RANKS=Ls,k.RankId=b,k.SORT_VALUES=Vs,k.crewXpToLevel=Cs,k.displayXp=Bi,k.getCurrentCrewLevel=Ws,k.getCurrentLevel=Ps,k.getNewSortValue=Gs,k.totalCrewXpToLevel=Nt,k.totalXpToLevel=xt,k.xpToLevel=Ns,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})});
1
+ (function(t,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("@opfr/translate"),require("@opfr/utils-lang")):typeof define=="function"&&define.amd?define(["exports","@opfr/translate","@opfr/utils-lang"],C):(t=typeof globalThis<"u"?globalThis:t||self,C(t.utils={},t["@opfr/translate"],t["@opfr/utils-lang"]))})(this,(function(t,C,r){"use strict";var e=(o=>(o.BASIC="BASIC",o.COMMON="COMMON",o.RARE="RARE",o.EPIC="EPIC",o.LEGENDARY="LEGENDARY",o.MYTHIC="MYTHIC",o))(e||{});const R={BASIC:{color:"#fff",strength:0,id:e.BASIC,name:(o,n=1)=>C.tns("common",`ranks.${e.BASIC}.text`,{count:n,context:o})},COMMON:{color:"#813D31",strength:1,id:e.COMMON,name:(o,n=1)=>C.tns("common",`ranks.${e.COMMON}.text`,{count:n,context:o})},RARE:{color:"#5B6870",strength:2,id:e.RARE,name:(o,n=1)=>C.tns("common",`ranks.${e.RARE}.text`,{count:n,context:o})},EPIC:{color:"#C46619",strength:3,id:e.EPIC,name:(o,n=1)=>C.tns("common",`ranks.${e.EPIC}.text`,{count:n,context:o})},LEGENDARY:{color:"#88A3CB",strength:4,id:e.LEGENDARY,name:(o,n=1)=>C.tns("common",`ranks.${e.LEGENDARY}.text`,{count:n,context:o})},MYTHIC:{color:"#F6bF62",strength:5,id:e.MYTHIC,name:(o,n=1)=>C.tns("common",`ranks.${e.MYTHIC}.text`,{count:n,context:o})}},S=["vitality","strength","agility","intelligence","chance","wisdom"],a=10,A=1,s=[[200,4],[100,3],[50,2],[0,A]],f=100,L=10,_={pirate:{name:"pirate",color:"#8A1623",role:"1047815125282848849"},marine:{name:"marine",color:"#387cbc",role:"1047816059937361940"},revolutionary:{name:"revolutionary",color:"#335635",role:"1047815105846444152"},citizen:{name:"citizen",color:"#fff",role:"1147953458507423874"}},l="citizen",N=["category","alpha","quantity"],O=(o,n)=>n===null?null:o===n?`-${o}`:n,T={xp:"<:xp:1084914564379975772>"},m=o=>Math.round(5e3*Math.pow(200,.01*o)/10)*10,c=o=>o>=1?c(o-1)+m(o):0,E=(o,n=0)=>o<c(n+1)?n:E(o,n+1),I=o=>Math.round(1e5*Math.pow(50,.01*o)/10)*10,i=o=>o>=1?i(o-1)+I(o):0,u=(o,n=0)=>o<i(n+1)?n:u(o,n+1),M=([o,n])=>n?`${C.tns("common","xp.user",{amount:r.formatNumber(o),emoji:T.xp})} ${C.tns("common","xp.crew",{amount:r.formatNumber(n),emoji:T.xp})}`:C.tns("common","xp.user",{amount:r.formatNumber(o),emoji:T.xp});t.CHARACTERISTICS=S,t.CHARACTERISTIC_DEFAULT_POINT_COST=A,t.CHARACTERISTIC_POINT_COSTS=s,t.CHARACTERISTIC_POINT_PER_LEVEL=a,t.DEFAULT_FACTION=l,t.DEFAULT_MAX_HP=f,t.FACTIONS=_,t.HP_PER_VITALITY=L,t.RANKS=R,t.RankId=e,t.SORT_VALUES=N,t.crewXpToLevel=I,t.displayXp=M,t.getCurrentCrewLevel=u,t.getCurrentLevel=E,t.getNewSortValue=O,t.totalCrewXpToLevel=i,t.totalXpToLevel=c,t.xpToLevel=m,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/sort-values/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE9D,eAAO,MAAM,eAAe,QACrB,SAAS,YACJ,mBAAmB,KAC5B,SAQF,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/sort-values/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE9D,eAAO,MAAM,eAAe,GAC1B,KAAK,SAAS,EACd,UAAU,mBAAmB,KAC5B,SAQF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/xp/utils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,UAAW,MAAM,WACqB,CAAC;AAE7D,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,MACgB,CAAC;AAEhE,eAAO,MAAM,eAAe,OAAQ,MAAM,UAAS,MAAM,KAAO,MACS,CAAC;AAE1E,eAAO,MAAM,aAAa,UAAW,MAAM,WACmB,CAAC;AAE/D,eAAO,MAAM,kBAAkB,UAAW,MAAM,KAAG,MACoB,CAAC;AAExE,eAAO,MAAM,mBAAmB,OAAQ,MAAM,UAAS,MAAM,KAAO,MAG5B,CAAC;AAEzC,eAAO,MAAM,SAAS,iBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,WAMhD,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/xp/utils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,WACqB,CAAC;AAE7D,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,KAAG,MACgB,CAAC;AAEhE,eAAO,MAAM,eAAe,GAAI,IAAI,MAAM,EAAE,QAAO,MAAU,KAAG,MACS,CAAC;AAE1E,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,WACmB,CAAC;AAE/D,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,KAAG,MACoB,CAAC;AAExE,eAAO,MAAM,mBAAmB,GAAI,IAAI,MAAM,EAAE,QAAO,MAAU,KAAG,MAG5B,CAAC;AAEzC,eAAO,MAAM,SAAS,GAAI,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,WAMhD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opfr/utils-type",
3
- "version": "0.18.4",
3
+ "version": "0.18.7",
4
4
  "private": false,
5
5
  "description": "OPFR utils-type",
6
6
  "author": "Matthieu VEIGA",
@@ -10,11 +10,16 @@
10
10
  "test": "vitest",
11
11
  "test:ci": "vitest run"
12
12
  },
13
- "dependencies": {
13
+ "peerDependencies": {
14
14
  "@opfr/emojis": "^0.16.0",
15
15
  "@opfr/translate": "^0.4.0",
16
16
  "@opfr/utils-lang": "^0.17.0"
17
17
  },
18
+ "devDependencies": {
19
+ "@opfr/emojis": "^0.16.0",
20
+ "@opfr/translate": "^0.4.3",
21
+ "@opfr/utils-lang": "^0.17.3"
22
+ },
18
23
  "main": "dist/index.umd.js",
19
24
  "module": "dist/index.es.js",
20
25
  "types": "./dist/index.d.ts",
@@ -34,5 +39,5 @@
34
39
  "node_modules",
35
40
  "dist"
36
41
  ],
37
- "gitHead": "ae3280dbae9ca199e2e16470b3d6c0f103c7148b"
42
+ "gitHead": "3d75a08b966e5099143579f2706860c0cacc31cd"
38
43
  }