@everymatrix/general-player-register-form 1.44.0 → 1.45.2
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/components/GeneralPlayerRegisterForm-BOLELs5O.cjs +5 -0
- package/components/GeneralPlayerRegisterForm-Y56mkgqH.js +5517 -0
- package/components/GeneralPlayerRegisterFormStep1-DIlPb4nM.js +1333 -0
- package/components/GeneralPlayerRegisterFormStep1-YPmHPq9_.cjs +1 -0
- package/components/GeneralPlayerRegisterFormStep2-DexCH1et.js +4122 -0
- package/components/GeneralPlayerRegisterFormStep2-cC3MeVwi.cjs +10 -0
- package/components/GeneralPlayerRegisterFormStep3-_owCNxHP.js +1393 -0
- package/components/GeneralPlayerRegisterFormStep3-hKeXhHzF.cjs +1 -0
- package/components/GeneralPlayerSmsVerificationForm-COlVfRZ3.cjs +1 -0
- package/components/GeneralPlayerSmsVerificationForm-CcyiwB1W.js +548 -0
- package/es2015/general-player-register-form.cjs +1 -0
- package/es2015/general-player-register-form.js +16 -0
- package/package.json +20 -32
- package/CHANGELOG.md +0 -7
- package/README.md +0 -30
- package/dist/general-player-register-form.js +0 -2
- package/dist/general-player-register-form.js.map +0 -1
- package/index.html +0 -37
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/GeneralPlayerRegisterForm.svelte +0 -611
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -42
- package/stories/GeneralPlayerRegisterForm.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./GeneralPlayerRegisterForm-BOLELs5O.cjs");function ua(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
2
|
+
//! version : 2.30.1
|
|
3
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
|
+
//! license : MIT
|
|
5
|
+
//! momentjs.com
|
|
6
|
+
var qr;function m(){return qr.apply(null,arguments)}function da(e){qr=e}function me(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function xe(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Qt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(T(e,t))return!1;return!0}function ne(e){return e===void 0}function Ne(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function at(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Jr(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function Fe(e,t){for(var r in t)T(t,r)&&(e[r]=t[r]);return T(t,"toString")&&(e.toString=t.toString),T(t,"valueOf")&&(e.valueOf=t.valueOf),e}function ke(e,t,r,s){return ys(e,t,r,s,!0).utc()}function ca(){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 M(e){return e._pf==null&&(e._pf=ca()),e._pf}var Vt;Array.prototype.some?Vt=Array.prototype.some:Vt=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Kt(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=M(e),r=Vt.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Tt(e){var t=ke(NaN);return e!=null?Fe(M(t),e):M(t).userInvalidated=!0,t}var wr=m.momentProperties=[],Wt=!1;function Xt(e,t){var r,s,a,n=wr.length;if(ne(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ne(t._i)||(e._i=t._i),ne(t._f)||(e._f=t._f),ne(t._l)||(e._l=t._l),ne(t._strict)||(e._strict=t._strict),ne(t._tzm)||(e._tzm=t._tzm),ne(t._isUTC)||(e._isUTC=t._isUTC),ne(t._offset)||(e._offset=t._offset),ne(t._pf)||(e._pf=M(t)),ne(t._locale)||(e._locale=t._locale),n>0)for(r=0;r<n;r++)s=wr[r],a=t[s],ne(a)||(e[s]=a);return e}function it(e){Xt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Wt===!1&&(Wt=!0,m.updateOffset(this),Wt=!1)}function _e(e){return e instanceof it||e!=null&&e._isAMomentObject!=null}function Qr(e){m.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function de(e,t){var r=!0;return Fe(function(){if(m.deprecationHandler!=null&&m.deprecationHandler(null,e),r){var s=[],a,n,l,d=arguments.length;for(n=0;n<d;n++){if(a="",typeof arguments[n]=="object"){a+=`
|
|
7
|
+
[`+n+"] ";for(l in arguments[0])T(arguments[0],l)&&(a+=l+": "+arguments[0][l]+", ");a=a.slice(0,-2)}else a=arguments[n];s.push(a)}Qr(e+`
|
|
8
|
+
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var vr={};function Kr(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),vr[e]||(Qr(t),vr[e]=!0)}m.suppressDeprecationWarnings=!1;m.deprecationHandler=null;function De(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function fa(e){var t,r;for(r in e)T(e,r)&&(t=e[r],De(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Gt(e,t){var r=Fe({},e),s;for(s in t)T(t,s)&&(xe(e[s])&&xe(t[s])?(r[s]={},Fe(r[s],e[s]),Fe(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)T(e,s)&&!T(t,s)&&xe(e[s])&&(r[s]=Fe({},r[s]));return r}function $t(e){e!=null&&this.set(e)}var jt;Object.keys?jt=Object.keys:jt=function(e){var t,r=[];for(t in e)T(e,t)&&r.push(t);return r};var ha={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ma(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return De(s)?s.call(t,r):s}function ve(e,t,r){var s=""+Math.abs(e),a=t-s.length,n=e>=0;return(n?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var er=/(\[[^\[]*\])|(\\)?([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,yt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Et={},Ve={};function k(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(Ve[e]=a),t&&(Ve[t[0]]=function(){return ve(a.apply(this,arguments),t[1],t[2])}),r&&(Ve[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function _a(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function pa(e){var t=e.match(er),r,s;for(r=0,s=t.length;r<s;r++)Ve[t[r]]?t[r]=Ve[t[r]]:t[r]=_a(t[r]);return function(a){var n="",l;for(l=0;l<s;l++)n+=De(t[l])?t[l].call(a,e):t[l];return n}}function vt(e,t){return e.isValid()?(t=Xr(t,e.localeData()),Et[t]=Et[t]||pa(t),Et[t](e)):e.localeData().invalidDate()}function Xr(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(yt.lastIndex=0;r>=0&&yt.test(e);)e=e.replace(yt,s),yt.lastIndex=0,r-=1;return e}var ga={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 ya(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(er).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var wa="Invalid date";function va(){return this._invalidDate}var ka="%d",Da=/\d{1,2}/;function Sa(e){return this._ordinal.replace("%d",e)}var Ma={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 ba(e,t,r,s){var a=this._relativeTime[r];return De(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Ya(e,t){var r=this._relativeTime[e>0?"future":"past"];return De(r)?r(t):r.replace(/%s/i,t)}var kr={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 ce(e){return typeof e=="string"?kr[e]||kr[e.toLowerCase()]:void 0}function tr(e){var t={},r,s;for(s in e)T(e,s)&&(r=ce(s),r&&(t[r]=e[s]));return t}var Oa={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 Ta(e){var t=[],r;for(r in e)T(e,r)&&t.push({unit:r,priority:Oa[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var $r=/\d/,oe=/\d\d/,es=/\d{3}/,rr=/\d{4}/,Nt=/[+-]?\d{6}/,E=/\d\d?/,ts=/\d\d\d\d?/,rs=/\d\d\d\d\d\d?/,Pt=/\d{1,3}/,sr=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,ze=/\d+/,Ft=/[+-]?\d+/,Na=/Z|[+-]\d\d:?\d\d/gi,It=/Z|[+-]\d\d(?::?\d\d)?/gi,Pa=/[+-]?\d+(\.\d{1,3})?/,nt=/[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,Ze=/^[1-9]\d?/,ar=/^([1-9]\d|\d)/,St;St={};function _(e,t,r){St[e]=De(t)?t:function(s,a){return s&&r?r:t}}function Ca(e,t){return T(St,e)?St[e](t._strict,t._locale):new RegExp(Fa(e))}function Fa(e){return Oe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,n){return r||s||a||n}))}function Oe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ue(t)),r}var zt={};function L(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),Ne(t)&&(s=function(n,l){l[t]=b(n)}),a=e.length,r=0;r<a;r++)zt[e[r]]=s}function lt(e,t){L(e,function(r,s,a,n){a._w=a._w||{},t(r,a._w,a,n)})}function Ia(e,t,r){t!=null&&T(zt,e)&&zt[e](t,r._a,r,e)}function Bt(e){return e%4===0&&e%100!==0||e%400===0}var ie=0,be=1,we=2,K=3,he=4,Ye=5,Ue=6,Ba=7,La=8;k("Y",0,0,function(){var e=this.year();return e<=9999?ve(e,4):"+"+e});k(0,["YY",2],0,function(){return this.year()%100});k(0,["YYYY",4],0,"year");k(0,["YYYYY",5],0,"year");k(0,["YYYYYY",6,!0],0,"year");_("Y",Ft);_("YY",E,oe);_("YYYY",sr,rr);_("YYYYY",Ct,Nt);_("YYYYYY",Ct,Nt);L(["YYYYY","YYYYYY"],ie);L("YYYY",function(e,t){t[ie]=e.length===2?m.parseTwoDigitYear(e):b(e)});L("YY",function(e,t){t[ie]=m.parseTwoDigitYear(e)});L("Y",function(e,t){t[ie]=parseInt(e,10)});function $e(e){return Bt(e)?366:365}m.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var ss=qe("FullYear",!0);function Ua(){return Bt(this.year())}function qe(e,t){return function(r){return r!=null?(as(this,e,r),m.updateOffset(this,t),this):et(this,e)}}function et(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function as(e,t,r){var s,a,n,l,d;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}n=r,l=e.month(),d=e.date(),d=d===29&&l===1&&!Bt(n)?28:d,a?s.setUTCFullYear(n,l,d):s.setFullYear(n,l,d)}}function xa(e){return e=ce(e),De(this[e])?this[e]():this}function Ra(e,t){if(typeof e=="object"){e=tr(e);var r=Ta(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=ce(e),De(this[e]))return this[e](t);return this}function Wa(e,t){return(e%t+t)%t}var Z;Array.prototype.indexOf?Z=Array.prototype.indexOf:Z=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ir(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Wa(t,12);return e+=(t-r)/12,r===1?Bt(e)?29:28:31-r%7%2}k("M",["MM",2],"Mo",function(){return this.month()+1});k("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});k("MMMM",0,0,function(e){return this.localeData().months(this,e)});_("M",E,Ze);_("MM",E,oe);_("MMM",function(e,t){return t.monthsShortRegex(e)});_("MMMM",function(e,t){return t.monthsRegex(e)});L(["M","MM"],function(e,t){t[be]=b(e)-1});L(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[be]=a:M(r).invalidMonth=e});var Ea="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),is="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ns=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ha=nt,Aa=nt;function Va(e,t){return e?me(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ns).test(t)?"format":"standalone"][e.month()]:me(this._months)?this._months:this._months.standalone}function Ga(e,t){return e?me(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ns.test(t)?"format":"standalone"][e.month()]:me(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ja(e,t,r){var s,a,n,l=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)n=ke([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(n,"").toLocaleLowerCase();return r?t==="MMM"?(a=Z.call(this._shortMonthsParse,l),a!==-1?a:null):(a=Z.call(this._longMonthsParse,l),a!==-1?a:null):t==="MMM"?(a=Z.call(this._shortMonthsParse,l),a!==-1?a:(a=Z.call(this._longMonthsParse,l),a!==-1?a:null)):(a=Z.call(this._longMonthsParse,l),a!==-1?a:(a=Z.call(this._shortMonthsParse,l),a!==-1?a:null))}function za(e,t,r){var s,a,n;if(this._monthsParseExact)return ja.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=ke([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function ls(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!Ne(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ir(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function os(e){return e!=null?(ls(this,e),m.updateOffset(this,!0),this):et(this,"Month")}function Za(){return ir(this.year(),this.month())}function qa(e){return this._monthsParseExact?(T(this,"_monthsRegex")||us.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(T(this,"_monthsShortRegex")||(this._monthsShortRegex=Ha),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ja(e){return this._monthsParseExact?(T(this,"_monthsRegex")||us.call(this),e?this._monthsStrictRegex:this._monthsRegex):(T(this,"_monthsRegex")||(this._monthsRegex=Aa),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function us(){function e(o,h){return h.length-o.length}var t=[],r=[],s=[],a,n,l,d;for(a=0;a<12;a++)n=ke([2e3,a]),l=Oe(this.monthsShort(n,"")),d=Oe(this.months(n,"")),t.push(l),r.push(d),s.push(d),s.push(l);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Qa(e,t,r,s,a,n,l){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,a,n,l),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,a,n,l),d}function tt(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Mt(e,t,r){var s=7+t-r,a=(7+tt(e,0,s).getUTCDay()-t)%7;return-a+s-1}function ds(e,t,r,s,a){var n=(7+r-s)%7,l=Mt(e,s,a),d=1+7*(t-1)+n+l,o,h;return d<=0?(o=e-1,h=$e(o)+d):d>$e(e)?(o=e+1,h=d-$e(e)):(o=e,h=d),{year:o,dayOfYear:h}}function rt(e,t,r){var s=Mt(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,n,l;return a<1?(l=e.year()-1,n=a+Te(l,t,r)):a>Te(e.year(),t,r)?(n=a-Te(e.year(),t,r),l=e.year()+1):(l=e.year(),n=a),{week:n,year:l}}function Te(e,t,r){var s=Mt(e,t,r),a=Mt(e+1,t,r);return($e(e)-s+a)/7}k("w",["ww",2],"wo","week");k("W",["WW",2],"Wo","isoWeek");_("w",E,Ze);_("ww",E,oe);_("W",E,Ze);_("WW",E,oe);lt(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=b(e)});function Ka(e){return rt(e,this._week.dow,this._week.doy).week}var Xa={dow:0,doy:6};function $a(){return this._week.dow}function ei(){return this._week.doy}function ti(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ri(e){var t=rt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day");k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});k("e",0,0,"weekday");k("E",0,0,"isoWeekday");_("d",E);_("e",E);_("E",E);_("dd",function(e,t){return t.weekdaysMinRegex(e)});_("ddd",function(e,t){return t.weekdaysShortRegex(e)});_("dddd",function(e,t){return t.weekdaysRegex(e)});lt(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:M(r).invalidWeekday=e});lt(["d","e","E"],function(e,t,r,s){t[s]=b(e)});function si(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ai(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function nr(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ii="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ni="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),li=nt,oi=nt,ui=nt;function di(e,t){var r=me(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?nr(r,this._week.dow):e?r[e.day()]:r}function ci(e){return e===!0?nr(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function fi(e){return e===!0?nr(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function hi(e,t,r){var s,a,n,l=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)n=ke([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(n,"").toLocaleLowerCase();return r?t==="dddd"?(a=Z.call(this._weekdaysParse,l),a!==-1?a:null):t==="ddd"?(a=Z.call(this._shortWeekdaysParse,l),a!==-1?a:null):(a=Z.call(this._minWeekdaysParse,l),a!==-1?a:null):t==="dddd"?(a=Z.call(this._weekdaysParse,l),a!==-1||(a=Z.call(this._shortWeekdaysParse,l),a!==-1)?a:(a=Z.call(this._minWeekdaysParse,l),a!==-1?a:null)):t==="ddd"?(a=Z.call(this._shortWeekdaysParse,l),a!==-1||(a=Z.call(this._weekdaysParse,l),a!==-1)?a:(a=Z.call(this._minWeekdaysParse,l),a!==-1?a:null)):(a=Z.call(this._minWeekdaysParse,l),a!==-1||(a=Z.call(this._weekdaysParse,l),a!==-1)?a:(a=Z.call(this._shortWeekdaysParse,l),a!==-1?a:null))}function mi(e,t,r){var s,a,n;if(this._weekdaysParseExact)return hi.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=ke([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function _i(e){if(!this.isValid())return e!=null?this:NaN;var t=et(this,"Day");return e!=null?(e=si(e,this.localeData()),this.add(e-t,"d")):t}function pi(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 gi(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ai(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function yi(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(T(this,"_weekdaysRegex")||(this._weekdaysRegex=li),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function wi(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(T(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=oi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function vi(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(T(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ui),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function lr(){function e(g,D){return D.length-g.length}var t=[],r=[],s=[],a=[],n,l,d,o,h;for(n=0;n<7;n++)l=ke([2e3,1]).day(n),d=Oe(this.weekdaysMin(l,"")),o=Oe(this.weekdaysShort(l,"")),h=Oe(this.weekdays(l,"")),t.push(d),r.push(o),s.push(h),a.push(d),a.push(o),a.push(h);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function or(){return this.hours()%12||12}function ki(){return this.hours()||24}k("H",["HH",2],0,"hour");k("h",["hh",2],0,or);k("k",["kk",2],0,ki);k("hmm",0,0,function(){return""+or.apply(this)+ve(this.minutes(),2)});k("hmmss",0,0,function(){return""+or.apply(this)+ve(this.minutes(),2)+ve(this.seconds(),2)});k("Hmm",0,0,function(){return""+this.hours()+ve(this.minutes(),2)});k("Hmmss",0,0,function(){return""+this.hours()+ve(this.minutes(),2)+ve(this.seconds(),2)});function fs(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}fs("a",!0);fs("A",!1);function hs(e,t){return t._meridiemParse}_("a",hs);_("A",hs);_("H",E,ar);_("h",E,Ze);_("k",E,Ze);_("HH",E,oe);_("hh",E,oe);_("kk",E,oe);_("hmm",ts);_("hmmss",rs);_("Hmm",ts);_("Hmmss",rs);L(["H","HH"],K);L(["k","kk"],function(e,t,r){var s=b(e);t[K]=s===24?0:s});L(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});L(["h","hh"],function(e,t,r){t[K]=b(e),M(r).bigHour=!0});L("hmm",function(e,t,r){var s=e.length-2;t[K]=b(e.substr(0,s)),t[he]=b(e.substr(s)),M(r).bigHour=!0});L("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[K]=b(e.substr(0,s)),t[he]=b(e.substr(s,2)),t[Ye]=b(e.substr(a)),M(r).bigHour=!0});L("Hmm",function(e,t,r){var s=e.length-2;t[K]=b(e.substr(0,s)),t[he]=b(e.substr(s))});L("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[K]=b(e.substr(0,s)),t[he]=b(e.substr(s,2)),t[Ye]=b(e.substr(a))});function Di(e){return(e+"").toLowerCase().charAt(0)==="p"}var Si=/[ap]\.?m?\.?/i,Mi=qe("Hours",!0);function bi(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var ms={calendar:ha,longDateFormat:ga,invalidDate:wa,ordinal:ka,dayOfMonthOrdinalParse:Da,relativeTime:Ma,months:Ea,monthsShort:is,week:Xa,weekdays:ii,weekdaysMin:ni,weekdaysShort:cs,meridiemParse:Si},A={},Ke={},st;function Yi(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function Dr(e){return e&&e.toLowerCase().replace("_","-")}function Oi(e){for(var t=0,r,s,a,n;t<e.length;){for(n=Dr(e[t]).split("-"),r=n.length,s=Dr(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Lt(n.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Yi(n,s)>=r-1)break;r--}t++}return st}function Ti(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Lt(e){var t=null,r;if(A[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Ti(e))try{t=st._abbr,r=ua,r("./locale/"+e),Be(t)}catch(s){A[e]=null}return A[e]}function Be(e,t){var r;return e&&(ne(t)?r=Pe(e):r=ur(e,t),r?st=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ur(e,t){if(t!==null){var r,s=ms;if(t.abbr=e,A[e]!=null)Kr("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."),s=A[e]._config;else if(t.parentLocale!=null)if(A[t.parentLocale]!=null)s=A[t.parentLocale]._config;else if(r=Lt(t.parentLocale),r!=null)s=r._config;else return Ke[t.parentLocale]||(Ke[t.parentLocale]=[]),Ke[t.parentLocale].push({name:e,config:t}),null;return A[e]=new $t(Gt(s,t)),Ke[e]&&Ke[e].forEach(function(a){ur(a.name,a.config)}),Be(e),A[e]}else return delete A[e],null}function Ni(e,t){if(t!=null){var r,s,a=ms;A[e]!=null&&A[e].parentLocale!=null?A[e].set(Gt(A[e]._config,t)):(s=Lt(e),s!=null&&(a=s._config),t=Gt(a,t),s==null&&(t.abbr=e),r=new $t(t),r.parentLocale=A[e],A[e]=r),Be(e)}else A[e]!=null&&(A[e].parentLocale!=null?(A[e]=A[e].parentLocale,e===Be()&&Be(e)):A[e]!=null&&delete A[e]);return A[e]}function Pe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return st;if(!me(e)){if(t=Lt(e),t)return t;e=[e]}return Oi(e)}function Pi(){return jt(A)}function dr(e){var t,r=e._a;return r&&M(e).overflow===-2&&(t=r[be]<0||r[be]>11?be:r[we]<1||r[we]>ir(r[ie],r[be])?we:r[K]<0||r[K]>24||r[K]===24&&(r[he]!==0||r[Ye]!==0||r[Ue]!==0)?K:r[he]<0||r[he]>59?he:r[Ye]<0||r[Ye]>59?Ye:r[Ue]<0||r[Ue]>999?Ue:-1,M(e)._overflowDayOfYear&&(t<ie||t>we)&&(t=we),M(e)._overflowWeeks&&t===-1&&(t=Ba),M(e)._overflowWeekday&&t===-1&&(t=La),M(e).overflow=t),e}var Ci=/^\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)?)?$/,Fi=/^\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)?)?$/,Ii=/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]],Ht=[["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/]],Bi=/^\/?Date\((-?\d+)/i,Li=/^(?:(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}))$/,Ui={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 _s(e){var t,r,s=e._i,a=Ci.exec(s)||Fi.exec(s),n,l,d,o,h=wt.length,g=Ht.length;if(a){for(M(e).iso=!0,t=0,r=h;t<r;t++)if(wt[t][1].exec(a[1])){l=wt[t][0],n=wt[t][2]!==!1;break}if(l==null){e._isValid=!1;return}if(a[3]){for(t=0,r=g;t<r;t++)if(Ht[t][1].exec(a[3])){d=(a[2]||" ")+Ht[t][0];break}if(d==null){e._isValid=!1;return}}if(!n&&d!=null){e._isValid=!1;return}if(a[4])if(Ii.exec(a[4]))o="Z";else{e._isValid=!1;return}e._f=l+(d||"")+(o||""),fr(e)}else e._isValid=!1}function xi(e,t,r,s,a,n){var l=[Ri(e),is.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return n&&l.push(parseInt(n,10)),l}function Ri(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Wi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ei(e,t,r){if(e){var s=cs.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Hi(e,t,r){if(e)return Ui[e];if(t)return 0;var s=parseInt(r,10),a=s%100,n=(s-a)/100;return n*60+a}function ps(e){var t=Li.exec(Wi(e._i)),r;if(t){if(r=xi(t[4],t[3],t[2],t[5],t[6],t[7]),!Ei(t[1],r,e))return;e._a=r,e._tzm=Hi(t[8],t[9],t[10]),e._d=tt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),M(e).rfc2822=!0}else e._isValid=!1}function Ai(e){var t=Bi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(_s(e),e._isValid===!1)delete e._isValid;else return;if(ps(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=de("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,r){return e!=null?e:t!=null?t:r}function Vi(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function cr(e){var t,r,s=[],a,n,l;if(!e._d){for(a=Vi(e),e._w&&e._a[we]==null&&e._a[be]==null&&Gi(e),e._dayOfYear!=null&&(l=He(e._a[ie],a[ie]),(e._dayOfYear>$e(l)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),r=tt(l,0,e._dayOfYear),e._a[be]=r.getUTCMonth(),e._a[we]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[K]===24&&e._a[he]===0&&e._a[Ye]===0&&e._a[Ue]===0&&(e._nextDay=!0,e._a[K]=0),e._d=(e._useUTC?tt:Qa).apply(null,s),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[K]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==n&&(M(e).weekdayMismatch=!0)}}function Gi(e){var t,r,s,a,n,l,d,o,h;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,l=4,r=He(t.GG,e._a[ie],rt(W(),1,4).year),s=He(t.W,1),a=He(t.E,1),(a<1||a>7)&&(o=!0)):(n=e._locale._week.dow,l=e._locale._week.doy,h=rt(W(),n,l),r=He(t.gg,e._a[ie],h.year),s=He(t.w,h.week),t.d!=null?(a=t.d,(a<0||a>6)&&(o=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(o=!0)):a=n),s<1||s>Te(r,n,l)?M(e)._overflowWeeks=!0:o!=null?M(e)._overflowWeekday=!0:(d=ds(r,s,a,n,l),e._a[ie]=d.year,e._dayOfYear=d.dayOfYear)}m.ISO_8601=function(){};m.RFC_2822=function(){};function fr(e){if(e._f===m.ISO_8601){_s(e);return}if(e._f===m.RFC_2822){ps(e);return}e._a=[],M(e).empty=!0;var t=""+e._i,r,s,a,n,l,d=t.length,o=0,h,g;for(a=Xr(e._f,e._locale).match(er)||[],g=a.length,r=0;r<g;r++)n=a[r],s=(t.match(Ca(n,e))||[])[0],s&&(l=t.substr(0,t.indexOf(s)),l.length>0&&M(e).unusedInput.push(l),t=t.slice(t.indexOf(s)+s.length),o+=s.length),Ve[n]?(s?M(e).empty=!1:M(e).unusedTokens.push(n),Ia(n,s,e)):e._strict&&!s&&M(e).unusedTokens.push(n);M(e).charsLeftOver=d-o,t.length>0&&M(e).unusedInput.push(t),e._a[K]<=12&&M(e).bigHour===!0&&e._a[K]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[K]=ji(e._locale,e._a[K],e._meridiem),h=M(e).era,h!==null&&(e._a[ie]=e._locale.erasConvertYear(h,e._a[ie])),cr(e),dr(e)}function ji(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function zi(e){var t,r,s,a,n,l,d=!1,o=e._f.length;if(o===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<o;a++)n=0,l=!1,t=Xt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],fr(t),Kt(t)&&(l=!0),n+=M(t).charsLeftOver,n+=M(t).unusedTokens.length*10,M(t).score=n,d?n<s&&(s=n,r=t):(s==null||n<s||l)&&(s=n,r=t,l&&(d=!0));Fe(e,r||t)}function Zi(e){if(!e._d){var t=tr(e._i),r=t.day===void 0?t.date:t.day;e._a=Jr([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),cr(e)}}function qi(e){var t=new it(dr(gs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gs(e){var t=e._i,r=e._f;return e._locale=e._locale||Pe(e._l),t===null||r===void 0&&t===""?Tt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),_e(t)?new it(dr(t)):(at(t)?e._d=t:me(r)?zi(e):r?fr(e):Ji(e),Kt(e)||(e._d=null),e))}function Ji(e){var t=e._i;ne(t)?e._d=new Date(m.now()):at(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ai(e):me(t)?(e._a=Jr(t.slice(0),function(r){return parseInt(r,10)}),cr(e)):xe(t)?Zi(e):Ne(t)?e._d=new Date(t):m.createFromInputFallback(e)}function ys(e,t,r,s,a){var n={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(xe(e)&&Qt(e)||me(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=r,n._i=e,n._f=t,n._strict=s,qi(n)}function W(e,t,r,s){return ys(e,t,r,s,!1)}var Qi=de("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Tt()}),Ki=de("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Tt()});function ws(e,t){var r,s;if(t.length===1&&me(t[0])&&(t=t[0]),!t.length)return W();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Xi(){var e=[].slice.call(arguments,0);return ws("isBefore",e)}function $i(){var e=[].slice.call(arguments,0);return ws("isAfter",e)}var en=function(){return Date.now?Date.now():+new Date},Xe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function tn(e){var t,r=!1,s,a=Xe.length;for(t in e)if(T(e,t)&&!(Z.call(Xe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Xe[s]]){if(r)return!1;parseFloat(e[Xe[s]])!==b(e[Xe[s]])&&(r=!0)}return!0}function rn(){return this._isValid}function sn(){return pe(NaN)}function Ut(e){var t=tr(e),r=t.year||0,s=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,l=t.day||0,d=t.hour||0,o=t.minute||0,h=t.second||0,g=t.millisecond||0;this._isValid=tn(t),this._milliseconds=+g+h*1e3+o*6e4+d*1e3*60*60,this._days=+l+n*7,this._months=+a+s*3+r*12,this._data={},this._locale=Pe(),this._bubble()}function kt(e){return e instanceof Ut}function Zt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function an(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,l;for(l=0;l<s;l++)b(e[l])!==b(t[l])&&n++;return n+a}function vs(e,t){k(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+ve(~~(r/60),2)+t+ve(~~r%60,2)})}vs("Z",":");vs("ZZ","");_("Z",It);_("ZZ",It);L(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=hr(It,e)});var nn=/([\+\-]|\d\d)/gi;function hr(e,t){var r=(t||"").match(e),s,a,n;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(nn)||["-",0,0],n=+(a[1]*60)+b(a[2]),n===0?0:a[0]==="+"?n:-n)}function mr(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(_e(e)||at(e)?e.valueOf():W(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),m.updateOffset(r,!1),r):W(e).local()}function qt(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function ln(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=hr(It,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=qt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?Ss(this,pe(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:qt(this)}function on(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function un(e){return this.utcOffset(0,e)}function dn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qt(this),"m")),this}function cn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=hr(Na,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function fn(e){return this.isValid()?(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function hn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function mn(){if(!ne(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xt(e,this),e=gs(e),e._a?(t=e._isUTC?ke(e._a):W(e._a),this._isDSTShifted=this.isValid()&&an(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _n(){return this.isValid()?!this._isUTC:!1}function pn(){return this.isValid()?this._isUTC:!1}function ks(){return this.isValid()?this._isUTC&&this._offset===0:!1}var gn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,yn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function pe(e,t){var r=e,s=null,a,n,l;return kt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Ne(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=gn.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:b(s[we])*a,h:b(s[K])*a,m:b(s[he])*a,s:b(s[Ye])*a,ms:b(Zt(s[Ue]*1e3))*a}):(s=yn.exec(e))?(a=s[1]==="-"?-1:1,r={y:Le(s[2],a),M:Le(s[3],a),w:Le(s[4],a),d:Le(s[5],a),h:Le(s[6],a),m:Le(s[7],a),s:Le(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(l=wn(W(r.from),W(r.to)),r={},r.ms=l.milliseconds,r.M=l.months),n=new Ut(r),kt(e)&&T(e,"_locale")&&(n._locale=e._locale),kt(e)&&T(e,"_isValid")&&(n._isValid=e._isValid),n}pe.fn=Ut.prototype;pe.invalid=sn;function Le(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Sr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function wn(e,t){var r;return e.isValid()&&t.isValid()?(t=mr(t,e),e.isBefore(t)?r=Sr(e,t):(r=Sr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ds(e,t){return function(r,s){var a,n;return s!==null&&!isNaN(+s)&&(Kr(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=r,r=s,s=n),a=pe(r,s),Ss(this,a,e),this}}function Ss(e,t,r,s){var a=t._milliseconds,n=Zt(t._days),l=Zt(t._months);e.isValid()&&(s=s==null?!0:s,l&&ls(e,et(e,"Month")+l*r),n&&as(e,"Date",et(e,"Date")+n*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&m.updateOffset(e,n||l))}var vn=Ds(1,"add"),kn=Ds(-1,"subtract");function Ms(e){return typeof e=="string"||e instanceof String}function Dn(e){return _e(e)||at(e)||Ms(e)||Ne(e)||Mn(e)||Sn(e)||e===null||e===void 0}function Sn(e){var t=xe(e)&&!Qt(e),r=!1,s=["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,l=s.length;for(a=0;a<l;a+=1)n=s[a],r=r||T(e,n);return t&&r}function Mn(e){var t=me(e),r=!1;return t&&(r=e.filter(function(s){return!Ne(s)&&Ms(e)}).length===0),t&&r}function bn(e){var t=xe(e)&&!Qt(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<s.length;a+=1)n=s[a],r=r||T(e,n);return t&&r}function Yn(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function On(e,t){arguments.length===1&&(arguments[0]?Dn(arguments[0])?(e=arguments[0],t=void 0):bn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||W(),s=mr(r,this).startOf("day"),a=m.calendarFormat(this,s)||"sameElse",n=t&&(De(t[a])?t[a].call(this,r):t[a]);return this.format(n||this.localeData().calendar(a,this,W(r)))}function Tn(){return new it(this)}function Nn(e,t){var r=_e(e)?e:W(e);return this.isValid()&&r.isValid()?(t=ce(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Pn(e,t){var r=_e(e)?e:W(e);return this.isValid()&&r.isValid()?(t=ce(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Cn(e,t,r,s){var a=_e(e)?e:W(e),n=_e(t)?t:W(t);return this.isValid()&&a.isValid()&&n.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(n,r):!this.isAfter(n,r))):!1}function Fn(e,t){var r=_e(e)?e:W(e),s;return this.isValid()&&r.isValid()?(t=ce(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function In(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Bn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ln(e,t,r){var s,a,n;if(!this.isValid())return NaN;if(s=mr(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=ce(t),t){case"year":n=Dt(this,s)/12;break;case"month":n=Dt(this,s);break;case"quarter":n=Dt(this,s)/3;break;case"second":n=(this-s)/1e3;break;case"minute":n=(this-s)/6e4;break;case"hour":n=(this-s)/36e5;break;case"day":n=(this-s-a)/864e5;break;case"week":n=(this-s-a)/6048e5;break;default:n=this-s}return r?n:ue(n)}function Dt(e,t){if(e.date()<t.date())return-Dt(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,n;return t-s<0?(a=e.clone().add(r-1,"months"),n=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),n=(t-s)/(a-s)),-(r+n)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Un(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function xn(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?vt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):De(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",vt(r,"Z")):vt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Rn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(r+s+a+n)}function Wn(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=vt(this,e);return this.localeData().postformat(t)}function En(e,t){return this.isValid()&&(_e(e)&&e.isValid()||W(e).isValid())?pe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Hn(e){return this.from(W(),e)}function An(e,t){return this.isValid()&&(_e(e)&&e.isValid()||W(e).isValid())?pe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Vn(e){return this.to(W(),e)}function bs(e){var t;return e===void 0?this._locale._abbr:(t=Pe(e),t!=null&&(this._locale=t),this)}var Ys=de("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 Os(){return this._locale}var bt=1e3,Ge=60*bt,Yt=60*Ge,Ts=(365*400+97)*24*Yt;function je(e,t){return(e%t+t)%t}function Ns(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Ts:new Date(e,t,r).valueOf()}function Ps(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Ts:Date.UTC(e,t,r)}function Gn(e){var t,r;if(e=ce(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ps:Ns,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=je(t+(this._isUTC?0:this.utcOffset()*Ge),Yt);break;case"minute":t=this._d.valueOf(),t-=je(t,Ge);break;case"second":t=this._d.valueOf(),t-=je(t,bt);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function jn(e){var t,r;if(e=ce(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ps:Ns,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Yt-je(t+(this._isUTC?0:this.utcOffset()*Ge),Yt)-1;break;case"minute":t=this._d.valueOf(),t+=Ge-je(t,Ge)-1;break;case"second":t=this._d.valueOf(),t+=bt-je(t,bt)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function zn(){return this._d.valueOf()-(this._offset||0)*6e4}function Zn(){return Math.floor(this.valueOf()/1e3)}function qn(){return new Date(this.valueOf())}function Jn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Qn(){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 Kn(){return this.isValid()?this.toISOString():null}function Xn(){return Kt(this)}function $n(){return Fe({},M(this))}function el(){return M(this).overflow}function tl(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr");k("NN",0,0,"eraAbbr");k("NNN",0,0,"eraAbbr");k("NNNN",0,0,"eraName");k("NNNNN",0,0,"eraNarrow");k("y",["y",1],"yo","eraYear");k("y",["yy",2],0,"eraYear");k("y",["yyy",3],0,"eraYear");k("y",["yyyy",4],0,"eraYear");_("N",_r);_("NN",_r);_("NNN",_r);_("NNNN",fl);_("NNNNN",hl);L(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?M(r).era=a:M(r).invalidEra=e});_("y",ze);_("yy",ze);_("yyy",ze);_("yyyy",ze);_("yo",ml);L(["y","yy","yyy","yyyy"],ie);L(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ie]=r._locale.eraYearOrdinalParse(e,a):t[ie]=parseInt(e,10)});function rl(e,t){var r,s,a,n=this._eras||Pe("en")._eras;for(r=0,s=n.length;r<s;++r){switch(typeof n[r].since){case"string":a=m(n[r].since).startOf("day"),n[r].since=a.valueOf();break}switch(typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":a=m(n[r].until).startOf("day").valueOf(),n[r].until=a.valueOf();break}}return n}function sl(e,t,r){var s,a,n=this.eras(),l,d,o;for(e=e.toUpperCase(),s=0,a=n.length;s<a;++s)if(l=n[s].name.toUpperCase(),d=n[s].abbr.toUpperCase(),o=n[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return n[s];break;case"NNNN":if(l===e)return n[s];break;case"NNNNN":if(o===e)return n[s];break}else if([l,d,o].indexOf(e)>=0)return n[s]}function al(e,t){var r=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*r}function il(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function nl(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function ll(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function ol(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-m(a[e].since).year())*r+a[e].offset;return this.year()}function ul(e){return T(this,"_erasNameRegex")||pr.call(this),e?this._erasNameRegex:this._erasRegex}function dl(e){return T(this,"_erasAbbrRegex")||pr.call(this),e?this._erasAbbrRegex:this._erasRegex}function cl(e){return T(this,"_erasNarrowRegex")||pr.call(this),e?this._erasNarrowRegex:this._erasRegex}function _r(e,t){return t.erasAbbrRegex(e)}function fl(e,t){return t.erasNameRegex(e)}function hl(e,t){return t.erasNarrowRegex(e)}function ml(e,t){return t._eraYearOrdinalRegex||ze}function pr(){var e=[],t=[],r=[],s=[],a,n,l,d,o,h=this.eras();for(a=0,n=h.length;a<n;++a)l=Oe(h[a].name),d=Oe(h[a].abbr),o=Oe(h[a].narrow),t.push(l),e.push(d),r.push(o),s.push(l),s.push(d),s.push(o);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}k(0,["gg",2],0,function(){return this.weekYear()%100});k(0,["GG",2],0,function(){return this.isoWeekYear()%100});function xt(e,t){k(0,[e,e.length],0,t)}xt("gggg","weekYear");xt("ggggg","weekYear");xt("GGGG","isoWeekYear");xt("GGGGG","isoWeekYear");_("G",Ft);_("g",Ft);_("GG",E,oe);_("gg",E,oe);_("GGGG",sr,rr);_("gggg",sr,rr);_("GGGGG",Ct,Nt);_("ggggg",Ct,Nt);lt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=b(e)});lt(["gg","GG"],function(e,t,r,s){t[s]=m.parseTwoDigitYear(e)});function _l(e){return Cs.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function pl(e){return Cs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function gl(){return Te(this.year(),1,4)}function yl(){return Te(this.isoWeekYear(),1,4)}function wl(){var e=this.localeData()._week;return Te(this.year(),e.dow,e.doy)}function vl(){var e=this.localeData()._week;return Te(this.weekYear(),e.dow,e.doy)}function Cs(e,t,r,s,a){var n;return e==null?rt(this,s,a).year:(n=Te(e,s,a),t>n&&(t=n),kl.call(this,e,t,r,s,a))}function kl(e,t,r,s,a){var n=ds(e,t,r,s,a),l=tt(n.year,0,n.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}k("Q",0,"Qo","quarter");_("Q",$r);L("Q",function(e,t){t[be]=(b(e)-1)*3});function Dl(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date");_("D",E,Ze);_("DD",E,oe);_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});L(["D","DD"],we);L("Do",function(e,t){t[we]=b(e.match(E)[0])});var Fs=qe("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear");_("DDD",Pt);_("DDDD",es);L(["DDD","DDDD"],function(e,t,r){r._dayOfYear=b(e)});function Sl(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute");_("m",E,ar);_("mm",E,oe);L(["m","mm"],he);var Ml=qe("Minutes",!1);k("s",["ss",2],0,"second");_("s",E,ar);_("ss",E,oe);L(["s","ss"],Ye);var bl=qe("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)});k(0,["SS",2],0,function(){return~~(this.millisecond()/10)});k(0,["SSS",3],0,"millisecond");k(0,["SSSS",4],0,function(){return this.millisecond()*10});k(0,["SSSSS",5],0,function(){return this.millisecond()*100});k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});_("S",Pt,$r);_("SS",Pt,oe);_("SSS",Pt,es);var Ie,Is;for(Ie="SSSS";Ie.length<=9;Ie+="S")_(Ie,ze);function Yl(e,t){t[Ue]=b(("0."+e)*1e3)}for(Ie="S";Ie.length<=9;Ie+="S")L(Ie,Yl);Is=qe("Milliseconds",!1);k("z",0,0,"zoneAbbr");k("zz",0,0,"zoneName");function Ol(){return this._isUTC?"UTC":""}function Tl(){return this._isUTC?"Coordinated Universal Time":""}var f=it.prototype;f.add=vn;f.calendar=On;f.clone=Tn;f.diff=Ln;f.endOf=jn;f.format=Wn;f.from=En;f.fromNow=Hn;f.to=An;f.toNow=Vn;f.get=xa;f.invalidAt=el;f.isAfter=Nn;f.isBefore=Pn;f.isBetween=Cn;f.isSame=Fn;f.isSameOrAfter=In;f.isSameOrBefore=Bn;f.isValid=Xn;f.lang=Ys;f.locale=bs;f.localeData=Os;f.max=Ki;f.min=Qi;f.parsingFlags=$n;f.set=Ra;f.startOf=Gn;f.subtract=kn;f.toArray=Jn;f.toObject=Qn;f.toDate=qn;f.toISOString=xn;f.inspect=Rn;typeof Symbol!="undefined"&&Symbol.for!=null&&(f[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});f.toJSON=Kn;f.toString=Un;f.unix=Zn;f.valueOf=zn;f.creationData=tl;f.eraName=il;f.eraNarrow=nl;f.eraAbbr=ll;f.eraYear=ol;f.year=ss;f.isLeapYear=Ua;f.weekYear=_l;f.isoWeekYear=pl;f.quarter=f.quarters=Dl;f.month=os;f.daysInMonth=Za;f.week=f.weeks=ti;f.isoWeek=f.isoWeeks=ri;f.weeksInYear=wl;f.weeksInWeekYear=vl;f.isoWeeksInYear=gl;f.isoWeeksInISOWeekYear=yl;f.date=Fs;f.day=f.days=_i;f.weekday=pi;f.isoWeekday=gi;f.dayOfYear=Sl;f.hour=f.hours=Mi;f.minute=f.minutes=Ml;f.second=f.seconds=bl;f.millisecond=f.milliseconds=Is;f.utcOffset=ln;f.utc=un;f.local=dn;f.parseZone=cn;f.hasAlignedHourOffset=fn;f.isDST=hn;f.isLocal=_n;f.isUtcOffset=pn;f.isUtc=ks;f.isUTC=ks;f.zoneAbbr=Ol;f.zoneName=Tl;f.dates=de("dates accessor is deprecated. Use date instead.",Fs);f.months=de("months accessor is deprecated. Use month instead",os);f.years=de("years accessor is deprecated. Use year instead",ss);f.zone=de("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",on);f.isDSTShifted=de("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",mn);function Nl(e){return W(e*1e3)}function Pl(){return W.apply(null,arguments).parseZone()}function Bs(e){return e}var N=$t.prototype;N.calendar=ma;N.longDateFormat=ya;N.invalidDate=va;N.ordinal=Sa;N.preparse=Bs;N.postformat=Bs;N.relativeTime=ba;N.pastFuture=Ya;N.set=fa;N.eras=rl;N.erasParse=sl;N.erasConvertYear=al;N.erasAbbrRegex=dl;N.erasNameRegex=ul;N.erasNarrowRegex=cl;N.months=Va;N.monthsShort=Ga;N.monthsParse=za;N.monthsRegex=Ja;N.monthsShortRegex=qa;N.week=Ka;N.firstDayOfYear=ei;N.firstDayOfWeek=$a;N.weekdays=di;N.weekdaysMin=fi;N.weekdaysShort=ci;N.weekdaysParse=mi;N.weekdaysRegex=yi;N.weekdaysShortRegex=wi;N.weekdaysMinRegex=vi;N.isPM=Di;N.meridiem=bi;function Ot(e,t,r,s){var a=Pe(),n=ke().set(s,t);return a[r](n,e)}function Ls(e,t,r){if(Ne(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ot(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Ot(e,s,r,"month");return a}function gr(e,t,r,s){typeof e=="boolean"?(Ne(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Ne(t)&&(r=t,t=void 0),t=t||"");var a=Pe(),n=e?a._week.dow:0,l,d=[];if(r!=null)return Ot(t,(r+n)%7,s,"day");for(l=0;l<7;l++)d[l]=Ot(t,(l+n)%7,s,"day");return d}function Cl(e,t){return Ls(e,t,"months")}function Fl(e,t){return Ls(e,t,"monthsShort")}function Il(e,t,r){return gr(e,t,r,"weekdays")}function Bl(e,t,r){return gr(e,t,r,"weekdaysShort")}function Ll(e,t,r){return gr(e,t,r,"weekdaysMin")}Be("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,r=b(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});m.lang=de("moment.lang is deprecated. Use moment.locale instead.",Be);m.langData=de("moment.langData is deprecated. Use moment.localeData instead.",Pe);var Se=Math.abs;function Ul(){var e=this._data;return this._milliseconds=Se(this._milliseconds),this._days=Se(this._days),this._months=Se(this._months),e.milliseconds=Se(e.milliseconds),e.seconds=Se(e.seconds),e.minutes=Se(e.minutes),e.hours=Se(e.hours),e.months=Se(e.months),e.years=Se(e.years),this}function Us(e,t,r,s){var a=pe(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function xl(e,t){return Us(this,e,t,1)}function Rl(e,t){return Us(this,e,t,-1)}function Mr(e){return e<0?Math.floor(e):Math.ceil(e)}function Wl(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,n,l,d,o;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Mr(Jt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=ue(e/1e3),s.seconds=a%60,n=ue(a/60),s.minutes=n%60,l=ue(n/60),s.hours=l%24,t+=ue(l/24),o=ue(xs(t)),r+=o,t-=Mr(Jt(o)),d=ue(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function xs(e){return e*4800/146097}function Jt(e){return e*146097/4800}function El(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=ce(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+xs(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Jt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Ce(e){return function(){return this.as(e)}}var Rs=Ce("ms"),Hl=Ce("s"),Al=Ce("m"),Vl=Ce("h"),Gl=Ce("d"),jl=Ce("w"),zl=Ce("M"),Zl=Ce("Q"),ql=Ce("y"),Jl=Rs;function Ql(){return pe(this)}function Kl(e){return e=ce(e),this.isValid()?this[e+"s"]():NaN}function Re(e){return function(){return this.isValid()?this._data[e]:NaN}}var Xl=Re("milliseconds"),$l=Re("seconds"),eo=Re("minutes"),to=Re("hours"),ro=Re("days"),so=Re("months"),ao=Re("years");function io(){return ue(this.days()/7)}var Me=Math.round,Ae={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function lo(e,t,r,s){var a=pe(e).abs(),n=Me(a.as("s")),l=Me(a.as("m")),d=Me(a.as("h")),o=Me(a.as("d")),h=Me(a.as("M")),g=Me(a.as("w")),D=Me(a.as("y")),S=n<=r.ss&&["s",n]||n<r.s&&["ss",n]||l<=1&&["m"]||l<r.m&&["mm",l]||d<=1&&["h"]||d<r.h&&["hh",d]||o<=1&&["d"]||o<r.d&&["dd",o];return r.w!=null&&(S=S||g<=1&&["w"]||g<r.w&&["ww",g]),S=S||h<=1&&["M"]||h<r.M&&["MM",h]||D<=1&&["y"]||["yy",D],S[2]=t,S[3]=+e>0,S[4]=s,no.apply(null,S)}function oo(e){return e===void 0?Me:typeof e=="function"?(Me=e,!0):!1}function uo(e,t){return Ae[e]===void 0?!1:t===void 0?Ae[e]:(Ae[e]=t,e==="s"&&(Ae.ss=t-1),!0)}function co(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=Ae,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},Ae,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),n=lo(this,!r,s,a),r&&(n=a.pastFuture(+this,n)),a.postformat(n)}var At=Math.abs;function Ee(e){return(e>0)-(e<0)||+e}function Rt(){if(!this.isValid())return this.localeData().invalidDate();var e=At(this._milliseconds)/1e3,t=At(this._days),r=At(this._months),s,a,n,l,d=this.asSeconds(),o,h,g,D;return d?(s=ue(e/60),a=ue(s/60),e%=60,s%=60,n=ue(r/12),r%=12,l=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",h=Ee(this._months)!==Ee(d)?"-":"",g=Ee(this._days)!==Ee(d)?"-":"",D=Ee(this._milliseconds)!==Ee(d)?"-":"",o+"P"+(n?h+n+"Y":"")+(r?h+r+"M":"")+(t?g+t+"D":"")+(a||s||e?"T":"")+(a?D+a+"H":"")+(s?D+s+"M":"")+(e?D+l+"S":"")):"P0D"}var Y=Ut.prototype;Y.isValid=rn;Y.abs=Ul;Y.add=xl;Y.subtract=Rl;Y.as=El;Y.asMilliseconds=Rs;Y.asSeconds=Hl;Y.asMinutes=Al;Y.asHours=Vl;Y.asDays=Gl;Y.asWeeks=jl;Y.asMonths=zl;Y.asQuarters=Zl;Y.asYears=ql;Y.valueOf=Jl;Y._bubble=Wl;Y.clone=Ql;Y.get=Kl;Y.milliseconds=Xl;Y.seconds=$l;Y.minutes=eo;Y.hours=to;Y.days=ro;Y.weeks=io;Y.months=so;Y.years=ao;Y.humanize=co;Y.toISOString=Rt;Y.toString=Rt;Y.toJSON=Rt;Y.locale=bs;Y.localeData=Os;Y.toIsoString=de("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Rt);Y.lang=Ys;k("X",0,0,"unix");k("x",0,0,"valueOf");_("x",Ft);_("X",Pa);L("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});L("x",function(e,t,r){r._d=new Date(b(e))});//! moment.js
|
|
10
|
+
m.version="2.30.1";da(W);m.fn=f;m.min=Xi;m.max=$i;m.now=en;m.utc=ke;m.unix=Nl;m.months=Cl;m.isDate=at;m.locale=Be;m.invalid=Tt;m.duration=pe;m.isMoment=_e;m.weekdays=Il;m.parseZone=Pl;m.localeData=Pe;m.isDuration=kt;m.monthsShort=Fl;m.weekdaysMin=Ll;m.defineLocale=ur;m.updateLocale=Ni;m.locales=Pi;m.weekdaysShort=Bl;m.normalizeUnits=ce;m.relativeTimeRounding=oo;m.relativeTimeThreshold=uo;m.calendarFormat=Yn;m.prototype=f;m.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"};function br(e,t){i.addMessages(e,t)}function fo(e){i.$locale.set(e)}const Yr={en:{registerBackButton:"Back",registerUserTitle:"Title",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"First Name",registerFirstNameError:"First name must be 2-50 characters long.",registerLastName:"Last Name",registerLastNameError:"Last name must be 2-50 characters.",registerDateOfBirth:"Date of Birth",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Birth Place",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Currency",registerNext:"Next",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},"zh-hk":{registerBackButton:"後退",registerUserTitle:"標題",registerUserTitleSelect:"选择标题",registerUserTitleSelectMr:"先生.",registerUserTitleSelectMrs:"太太.",registerUserTitleSelectMs:"小姐.",registerFirstName:"名",registerFirstNameError:"名字的長度必須至少為 2 個字符,並且不包含特殊字符。",registerLastName:"姓",registerLastNameError:"姓氏必須至少有 2 個字符長並且不包含特殊字符。",registerDateOfBirth:"出生日期",registerBirthDay:"天",registerBirthMonth:"月",registerBirthYear:"年",registerBirthDateError:"最低注册年龄为 {licenseyears} 年。",registerBirthPlace:"出生地",registerBirthPlaceError:"出生地必須至少有 1 個字符長。",registerCurrency:"貨幣",registerNext:"下一個",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},fr:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Mademoiselle",registerFirstName:"Prénom",registerFirstNameError:"Le prénom doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerLastName:"Nom de famille",registerLastNameError:"Le nom de famille doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerDateOfBirth:"Date de naissance",registerBirthDay:"Jour",registerBirthMonth:"Mois",registerBirthYear:"An",registerBirthDateError:"L'âge minimum d'enregistrement est de {licenseyears} ans.",registerBirthPlace:"Lieu de naissance",registerBirthPlaceError:"Le lieu de naissance doit comporter au moins un caractère.",registerCurrency:"Monnaie",registerNext:"Suivant",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},tr:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seçin",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soy isim",registerLastNameError:"Soyadı 2-50 karakter arasında olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıldır.",registerBirthPlace:"Doğum Yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki",registerPersonalId:"Kişisel kimlik",registerPersonalIdCharacters:"Sadece sayılar",registerPersonalIdLength:"Yanlış Uzunluk"},ro:{registerBackButton:"Inapoi",registerUserTitle:"Titlu",registerUserTitleSelect:"Selecteaza Titlu",registerUserTitleSelectMr:"Dl.",registerUserTitleSelectMrs:"Dna.",registerUserTitleSelectMs:"Dra.",registerFirstName:"Prenume",registerFirstNameError:"Prenumele trebuie sa fie de 2-50 litere lungime.",registerLastName:"Nume",registerLastNameError:"Numele trebuie sa fie de 2-50 litere lungime.",registerDateOfBirth:"Data Nasterii",registerBirthDay:"Zi",registerBirthMonth:"Luna",registerBirthYear:"An",registerBirthDateError:"Varsta minima pentru inregistrare este de {licenseyears} ani.",registerBirthPlace:"Locule nasterii",registerBirthPlaceError:"Locul nasterii trebuie sa contina minim o litera",registerCurrency:"Moneda",registerNext:"Urmatorul",registerPersonalId:"Cod Numeric Personal",registerPersonalIdCharacters:"Pot fi introduse doar cifre",registerPersonalIdLength:"Codul numeric personal trebuie sa contina 13 cifre."},es:{registerBackButton:"Anterior",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar Título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srta.",registerFirstName:"Nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Apellido",registerLastNameError:"Apellido debe tener entre 2 a 50 caracteres.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima para registrarse es {licenseyears} años",registerBirthPlace:"Lugar de Nacimiento",registerBirthPlaceError:"Lugar de Nacimiento debe tener al menos 1 carácter.",registerCurrency:"Moneda",registerNext:"Siguiente",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},pt:{registerBackButton:"Voltar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primeiro nome",registerFirstNameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerLastName:"Último nome",registerLastNameError:"O sobrenome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Local de Nascimento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moeda",registerNext:"Próximo",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},hr:{registerBackButton:"Prethodno",registerUserTitle:"Titula",registerUserTitleSelect:"Odaberite titulu",registerUserTitleSelectMr:"Gosp.",registerUserTitleSelectMrs:"Gđa",registerUserTitleSelectMs:"Gđica",registerFirstName:"Ime",registerFirstNameError:"Ime mora imati 2-50 znakova.",registerLastName:"Prezime",registerLastNameError:"Prezime mora imati 2-50 znakova.",registerDateOfBirth:"Datum rođenja",registerBirthDay:"Dan",registerBirthMonth:"Mjesec",registerBirthYear:"Godina",registerBirthDateError:"Za registraciju morate imati najmanje 18 godina.",registerBirthPlace:"Mjesto rođenja",registerBirthPlaceError:"Mjesto rođenja mora imati najmanje 1 znak.",registerCurrency:"Valuta",registerNext:"Slijedeće",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Samo brojevi",registerPersonalIdLength:"Pogrešna duljina"},"pt-br":{registerBackButton:"Atrás",registerUserTitle:"Título",registerUserTitleSelect:"Selecionar título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srita.",registerFirstName:"Nome",registerFirstNameError:"O nome deve ser de 2 a 20 caracteres de comprimento.",registerLastName:"Sobrenome",registerLastNameError:"O sobrenome deve ter de 2 a 50 caracteres.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Ano",registerBirthDateError:"A idade mínimo de registro é {licenseyears} anos.",registerBirthPlace:"Lugar de nascimento",registerBirthPlaceError:"O lugar de nascimento deve ter pelo menos 1 caractere",registerCurrency:"Moeda",registerNext:"Próximo",registerPersonalId:"Identificación",registerPersonalIdCharacters:"Somente números",registerPersonalIdLength:"Formato de número de identificação incorreto"},"es-mx":{registerBackButton:"Atrás",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srita.",registerFirstName:"Nombre",registerFirstNameError:"Nombre debe ser de 2 a 20 caracteres de largo.",registerLastName:"Apellido",registerLastNameError:"Apellido debe ser de 2 a 50 caracteres de largo.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima de registro es {licenseyears} años.",registerBirthPlace:"Lugar de nacimiento",registerBirthPlaceError:"Lugar de nacimiento debe tener al menos 1 caracter",registerCurrency:"Moneda",registerNext:"Siguiente",registerPersonalId:"Identificación",registerPersonalIdCharacters:"Sólo números",registerPersonalIdLength:"Formato de número de identificación Incorrecto"}};function ho(e){i.append_styles(e,"svelte-jo74i8",`.BackButton{display:inline-flex;color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.UserTitleContainer select:focus,.UserTitleContainer select :focus-within,.UserTitleContainer select :focus-visible,.UserTitleContainer select :visited,.CurrencyContainer select:focus,.CurrencyContainer select :focus-within,.CurrencyContainer select :focus-visible,.CurrencyContainer select :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.PersonalIdContainer,.CurrencyContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.UserTitleContainer label,.FirstNameContainer label,.LastNameContainer label,.BirthDateContainer label,.BirthPlaceContainer label,.PersonalIdContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer input,.UserTitleContainer select,.FirstNameContainer input,.FirstNameContainer select,.LastNameContainer input,.LastNameContainer select,.BirthDateContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.BirthPlaceContainer select,.PersonalIdContainer input,.PersonalIdContainer select,.CurrencyContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserTitleContainer.InvalidField input,.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthDateContainer.InvalidField input,.BirthPlaceContainer.InvalidField input,.PersonalIdContainer.InvalidField input,.CurrencyContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer.Hidden,.FirstNameContainer.Hidden,.LastNameContainer.Hidden,.BirthDateContainer.Hidden,.BirthPlaceContainer.Hidden,.PersonalIdContainer.Hidden,.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthDaySelected:focus,.BirthDateOptions .BirthDaySelected :focus-within,.BirthDateOptions .BirthDaySelected :focus-visible,.BirthDateOptions .BirthDaySelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.BirthDateOptions .BirthMonthSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthMonthSelected:focus,.BirthDateOptions .BirthMonthSelected :focus-within,.BirthDateOptions .BirthMonthSelected :focus-visible,.BirthDateOptions .BirthMonthSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.BirthDateOptions .BirthYearSelected{width:40%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthYearSelected:focus,.BirthDateOptions .BirthYearSelected :focus-within,.BirthDateOptions .BirthYearSelected :focus-visible,.BirthDateOptions .BirthYearSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;bottom:-3px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}`)}function Or(e,t,r){const s=e.slice();return s[79]=t[r],s}function Tr(e,t,r){const s=e.slice();return s[82]=t[r],s}function Nr(e,t,r){const s=e.slice();return s[85]=t[r],s}function Pr(e,t,r){const s=e.slice();return s[88]=t[r],s}function Cr(e){let t,r,s=e[24]("registerUserTitle")+"",a,n,l,d,o,h,g=e[24]("registerUserTitleSelect")+"",D,S,u=e[24]("registerUserTitleSelectMr")+"",c,p,U=e[24]("registerUserTitleSelectMrs")+"",F,q,H=e[24]("registerUserTitleSelectMs")+"",J,se,Q;return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("select"),h=i.element("option"),D=i.text(g),S=i.element("option"),c=i.text(u),p=i.element("option"),F=i.text(U),q=i.element("option"),J=i.text(H),i.attr(l,"class","FormRequired"),i.attr(r,"for","Title"),h.__value="",i.set_input_value(h,h.__value),h.disabled=!0,h.selected=!0,S.__value="Mr.",i.set_input_value(S,S.__value),p.__value="Mrs.",i.set_input_value(p,p.__value),q.__value="Ms.",i.set_input_value(q,q.__value),i.attr(o,"id","Title"),e[12]===void 0&&i.add_render_callback(()=>e[44].call(o)),i.attr(t,"class","UserTitleContainer")},m(x,R){i.insert(x,t,R),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.append(o,h),i.append(h,D),i.append(o,S),i.append(S,c),i.append(o,p),i.append(p,F),i.append(o,q),i.append(q,J),i.select_option(o,e[12],!0),se||(Q=[i.listen(o,"change",e[44]),i.listen(o,"change",e[29])],se=!0)},p(x,R){R[0]&16777216&&s!==(s=x[24]("registerUserTitle")+"")&&i.set_data(a,s),R[0]&16777216&&g!==(g=x[24]("registerUserTitleSelect")+"")&&i.set_data(D,g),R[0]&16777216&&u!==(u=x[24]("registerUserTitleSelectMr")+"")&&i.set_data(c,u),R[0]&16777216&&U!==(U=x[24]("registerUserTitleSelectMrs")+"")&&i.set_data(F,U),R[0]&16777216&&H!==(H=x[24]("registerUserTitleSelectMs")+"")&&i.set_data(J,H),R[0]&4096&&i.select_option(o,x[12])},d(x){x&&i.detach(t),se=!1,i.run_all(Q)}}}function Fr(e){let t,r,s=e[24]("registerFirstName")+"",a,n,l,d,o,h,g,D,S,u=e[2]&&Ir(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),h=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","FirstName"),i.attr(o,"type","text"),i.attr(o,"id","FirstName"),i.attr(t,"class",g="FirstNameContainer "+(e[2]&&!e[7]?"InvalidField":""))},m(c,p){i.insert(c,t,p),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[13]),i.append(t,h),u&&u.m(t,null),D||(S=[i.listen(o,"input",e[45]),i.listen(o,"keyup",e[30]),i.listen(o,"focus",e[46]),i.listen(o,"keyup",e[47])],D=!0)},p(c,p){p[0]&16777216&&s!==(s=c[24]("registerFirstName")+"")&&i.set_data(a,s),p[0]&8192&&o.value!==c[13]&&i.set_input_value(o,c[13]),c[2]?u?u.p(c,p):(u=Ir(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),p[0]&132&&g!==(g="FirstNameContainer "+(c[2]&&!c[7]?"InvalidField":""))&&i.attr(t,"class",g)},d(c){c&&i.detach(t),u&&u.d(),D=!1,i.run_all(S)}}}function Ir(e){let t,r=e[24]("registerFirstNameError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerFirstNameError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Br(e){let t,r,s=e[24]("registerLastName")+"",a,n,l,d,o,h,g,D,S,u=e[3]&&Lr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),h=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","LastName"),i.attr(o,"type","text"),i.attr(o,"id","LastName"),i.attr(t,"class",g="LastNameContainer "+(e[3]&&!e[8]?"InvalidField":""))},m(c,p){i.insert(c,t,p),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[14]),i.append(t,h),u&&u.m(t,null),D||(S=[i.listen(o,"input",e[48]),i.listen(o,"keyup",e[31]),i.listen(o,"focus",e[49]),i.listen(o,"blur",e[50])],D=!0)},p(c,p){p[0]&16777216&&s!==(s=c[24]("registerLastName")+"")&&i.set_data(a,s),p[0]&16384&&o.value!==c[14]&&i.set_input_value(o,c[14]),c[3]?u?u.p(c,p):(u=Lr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),p[0]&264&&g!==(g="LastNameContainer "+(c[3]&&!c[8]?"InvalidField":""))&&i.attr(t,"class",g)},d(c){c&&i.detach(t),u&&u.d(),D=!1,i.run_all(S)}}}function Lr(e){let t,r=e[24]("registerLastNameError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerLastNameError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Ur(e){let t,r,s=e[24]("registerDateOfBirth")+"",a,n,l,d,o,h,g,D=e[24]("registerBirthDay")+"",S,u,c,p,U=e[24]("registerBirthMonth")+"",F,q,H,J,se=e[24]("registerBirthYear")+"",Q,x,R,ae,le=i.ensure_array_like(e[25]),I=[];for(let v=0;v<le.length;v+=1)I[v]=xr(Pr(e,le,v));let $=i.ensure_array_like(e[26]),C=[];for(let v=0;v<$.length;v+=1)C[v]=Rr(Nr(e,$,v));let G=!e[23]&&Wr(e),B=e[4]&&Hr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("div"),h=i.element("select"),g=i.element("option"),S=i.text(D);for(let v=0;v<I.length;v+=1)I[v].c();u=i.space(),c=i.element("select"),p=i.element("option"),F=i.text(U);for(let v=0;v<C.length;v+=1)C[v].c();q=i.space(),H=i.element("select"),J=i.element("option"),Q=i.text(se),G&&G.c(),x=i.space(),B&&B.c(),i.attr(l,"class","FormRequired"),g.__value="",i.set_input_value(g,g.__value),g.disabled=!0,g.selected=!0,i.attr(h,"class","BirthDaySelected"),e[15]===void 0&&i.add_render_callback(()=>e[51].call(h)),p.__value="",i.set_input_value(p,p.__value),p.disabled=!0,p.selected=!0,i.attr(c,"class","BirthMonthSelected"),e[16]===void 0&&i.add_render_callback(()=>e[52].call(c)),J.__value="",i.set_input_value(J,J.__value),J.disabled=!0,J.selected=!0,i.attr(H,"class","BirthYearSelected"),e[17]===void 0&&i.add_render_callback(()=>e[53].call(H)),i.attr(o,"class","BirthDateOptions"),i.attr(t,"class","BirthDateContainer")},m(v,V){i.insert(v,t,V),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.append(o,h),i.append(h,g),i.append(g,S);for(let w=0;w<I.length;w+=1)I[w]&&I[w].m(h,null);i.select_option(h,e[15],!0),i.append(o,u),i.append(o,c),i.append(c,p),i.append(p,F);for(let w=0;w<C.length;w+=1)C[w]&&C[w].m(c,null);i.select_option(c,e[16],!0),i.append(o,q),i.append(o,H),i.append(H,J),i.append(J,Q),G&&G.m(H,null),i.select_option(H,e[17],!0),i.append(o,x),B&&B.m(o,null),R||(ae=[i.listen(h,"change",e[51]),i.listen(h,"change",e[28]),i.listen(c,"change",e[52]),i.listen(c,"change",e[28]),i.listen(H,"change",e[53]),i.listen(H,"change",e[28])],R=!0)},p(v,V){if(V[0]&16777216&&s!==(s=v[24]("registerDateOfBirth")+"")&&i.set_data(a,s),V[0]&16777216&&D!==(D=v[24]("registerBirthDay")+"")&&i.set_data(S,D),V[0]&33554432){le=i.ensure_array_like(v[25]);let w;for(w=0;w<le.length;w+=1){const O=Pr(v,le,w);I[w]?I[w].p(O,V):(I[w]=xr(O),I[w].c(),I[w].m(h,null))}for(;w<I.length;w+=1)I[w].d(1);I.length=le.length}if(V[0]&33587200&&i.select_option(h,v[15]),V[0]&16777216&&U!==(U=v[24]("registerBirthMonth")+"")&&i.set_data(F,U),V[0]&67108864){$=i.ensure_array_like(v[26]);let w;for(w=0;w<$.length;w+=1){const O=Nr(v,$,w);C[w]?C[w].p(O,V):(C[w]=Rr(O),C[w].c(),C[w].m(c,null))}for(;w<C.length;w+=1)C[w].d(1);C.length=$.length}V[0]&67174400&&i.select_option(c,v[16]),V[0]&16777216&&se!==(se=v[24]("registerBirthYear")+"")&&i.set_data(Q,se),v[23]?G&&(G.d(1),G=null):G?G.p(v,V):(G=Wr(v),G.c(),G.m(H,null)),V[0]&134348800&&i.select_option(H,v[17]),v[4]?B?B.p(v,V):(B=Hr(v),B.c(),B.m(o,null)):B&&(B.d(1),B=null)},d(v){v&&i.detach(t),i.destroy_each(I,v),i.destroy_each(C,v),G&&G.d(),B&&B.d(),R=!1,i.run_all(ae)}}}function xr(e){let t,r=e[88]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[88],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Rr(e){let t,r=e[85]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[85],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Wr(e){let t,r=i.ensure_array_like(e[27]),s=[];for(let a=0;a<r.length;a+=1)s[a]=Er(Tr(e,r,a));return{c(){for(let a=0;a<s.length;a+=1)s[a].c();t=i.empty()},m(a,n){for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(a,n);i.insert(a,t,n)},p(a,n){if(n[0]&134217728){r=i.ensure_array_like(a[27]);let l;for(l=0;l<r.length;l+=1){const d=Tr(a,r,l);s[l]?s[l].p(d,n):(s[l]=Er(d),s[l].c(),s[l].m(t.parentNode,t))}for(;l<s.length;l+=1)s[l].d(1);s.length=r.length}},d(a){a&&i.detach(t),i.destroy_each(s,a)}}}function Er(e){let t,r=e[82]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[82],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Hr(e){let t,r=e[24]("registerBirthDateError",{values:{licenseyears:e[0]}})+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777217&&r!==(r=a[24]("registerBirthDateError",{values:{licenseyears:a[0]}})+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Ar(e){let t,r,s=e[24]("registerBirthPlace")+"",a,n,l,d,o,h,g,D,S,u=e[5]&&Vr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),h=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","BirthPlace"),i.attr(o,"type","text"),i.attr(o,"id","BirthPlace"),i.attr(t,"class",g="BirthPlaceContainer "+(e[5]&&!e[9]?"InvalidField":""))},m(c,p){i.insert(c,t,p),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[18]),i.append(t,h),u&&u.m(t,null),D||(S=[i.listen(o,"input",e[54]),i.listen(o,"keyup",e[32]),i.listen(o,"focus",e[55]),i.listen(o,"blur",e[56])],D=!0)},p(c,p){p[0]&16777216&&s!==(s=c[24]("registerBirthPlace")+"")&&i.set_data(a,s),p[0]&262144&&o.value!==c[18]&&i.set_input_value(o,c[18]),c[5]?u?u.p(c,p):(u=Vr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),p[0]&544&&g!==(g="BirthPlaceContainer "+(c[5]&&!c[9]?"InvalidField":""))&&i.attr(t,"class",g)},d(c){c&&i.detach(t),u&&u.d(),D=!1,i.run_all(S)}}}function Vr(e){let t,r=e[24]("registerBirthPlaceError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerBirthPlaceError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Gr(e){let t,r,s=e[24]("registerPersonalId")+"",a,n,l,d,o,h,g,D,S,u=e[6]&&jr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),h=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","PersonalId"),i.attr(o,"type","text"),i.attr(o,"id","PersonalId"),i.attr(t,"class",g="PersonalIdContainer "+(e[6]&&!e[10]?"InvalidField":""))},m(c,p){i.insert(c,t,p),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[21]),i.append(t,h),u&&u.m(t,null),D||(S=[i.listen(o,"input",e[57]),i.listen(o,"keyup",e[33]),i.listen(o,"focus",e[58]),i.listen(o,"blur",e[59])],D=!0)},p(c,p){p[0]&16777216&&s!==(s=c[24]("registerPersonalId")+"")&&i.set_data(a,s),p[0]&2097152&&o.value!==c[21]&&i.set_input_value(o,c[21]),c[6]?u?u.p(c,p):(u=jr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),p[0]&1088&&g!==(g="PersonalIdContainer "+(c[6]&&!c[10]?"InvalidField":""))&&i.attr(t,"class",g)},d(c){c&&i.detach(t),u&&u.d(),D=!1,i.run_all(S)}}}function jr(e){let t,r;function s(l,d){return d[0]&2097152&&(t=null),t==null&&(t=!/^\d+$/.test(l[21])),t?_o:mo}let a=s(e,[-1,-1,-1]),n=a(e);return{c(){n.c(),r=i.empty()},m(l,d){n.m(l,d),i.insert(l,r,d)},p(l,d){a===(a=s(l,d))&&n?n.p(l,d):(n.d(1),n=a(l),n&&(n.c(),n.m(r.parentNode,r)))},d(l){l&&i.detach(r),n.d(l)}}}function mo(e){let t,r=e[24]("registerPersonalIdLength")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerPersonalIdLength")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function _o(e){let t,r=e[24]("registerPersonalIdCharacters")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerPersonalIdCharacters")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function zr(e){let t,r,s=e[24]("registerCurrency")+"",a,n,l,d,o,h,g,D,S=i.ensure_array_like(e[19]),u=[];for(let c=0;c<S.length;c+=1)u[c]=Zr(Or(e,S,c));return{c(){var c;t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("select");for(let p=0;p<u.length;p+=1)u[p].c();i.attr(l,"class","FormRequired"),i.attr(r,"for","Currency"),i.attr(o,"id","Currency"),e[20]===void 0&&i.add_render_callback(()=>e[60].call(o)),i.attr(t,"class",h="CurrencyContainer "+(((c=e[11])==null?void 0:c.indexOf("currency"))>=0?"Hidden":""))},m(c,p){i.insert(c,t,p),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o);for(let U=0;U<u.length;U+=1)u[U]&&u[U].m(o,null);i.select_option(o,e[20],!0),g||(D=i.listen(o,"change",e[60]),g=!0)},p(c,p){var U;if(p[0]&16777216&&s!==(s=c[24]("registerCurrency")+"")&&i.set_data(a,s),p[0]&524288){S=i.ensure_array_like(c[19]);let F;for(F=0;F<S.length;F+=1){const q=Or(c,S,F);u[F]?u[F].p(q,p):(u[F]=Zr(q),u[F].c(),u[F].m(o,null))}for(;F<u.length;F+=1)u[F].d(1);u.length=S.length}p[0]&1572864&&i.select_option(o,c[20]),p[0]&2048&&h!==(h="CurrencyContainer "+(((U=c[11])==null?void 0:U.indexOf("currency"))>=0?"Hidden":""))&&i.attr(t,"class",h)},d(c){c&&i.detach(t),i.destroy_each(u,c),g=!1,D()}}}function Zr(e){let t,r=e[79]+"",s,a;return{c(){t=i.element("option"),s=i.text(r),t.__value=a=e[79],i.set_input_value(t,t.__value)},m(n,l){i.insert(n,t,l),i.append(t,s)},p(n,l){l[0]&524288&&r!==(r=n[79]+"")&&i.set_data(s,r),l[0]&524288&&a!==(a=n[79])&&(t.__value=a,i.set_input_value(t,t.__value))},d(n){n&&i.detach(t)}}}function po(e){var Je,ge,ot,ut,dt,ct,ye;let t,r,s,a,n,l,d,o,h,g=e[24]("registerBackButton")+"",D,S,u,c=!(((Je=e[11])==null?void 0:Je.indexOf("title"))>=0),p,U=!(((ge=e[11])==null?void 0:ge.indexOf("firstName"))>=0),F,q=!(((ot=e[11])==null?void 0:ot.indexOf("lastName"))>=0),H,J=!(((ut=e[11])==null?void 0:ut.indexOf("birthDate"))>=0),se,Q=!(((dt=e[11])==null?void 0:dt.indexOf("birthPlace"))>=0),x,R=!(((ct=e[11])==null?void 0:ct.indexOf("personalId"))>=0),ae,le=!(((ye=e[11])==null?void 0:ye.indexOf("currency"))>=0),I,$,C=e[24]("registerNext")+"",G,B,v,V,w=c&&Cr(e),O=U&&Fr(e),j=q&&Br(e),ee=J&&Ur(e),te=Q&&Ar(e),re=R&&Gr(e),X=le&&zr(e);return{c(){t=i.element("div"),r=i.element("div"),s=i.element("button"),a=i.svg_element("svg"),n=i.svg_element("defs"),l=i.svg_element("style"),d=i.text(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));}"),o=i.svg_element("path"),h=i.space(),D=i.text(g),S=i.space(),u=i.element("form"),w&&w.c(),p=i.space(),O&&O.c(),F=i.space(),j&&j.c(),H=i.space(),ee&&ee.c(),se=i.space(),te&&te.c(),x=i.space(),re&&re.c(),ae=i.space(),X&&X.c(),I=i.space(),$=i.element("button"),G=i.text(C),i.attr(o,"class","a"),i.attr(o,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),i.attr(o,"transform","translate(24 24) rotate(180)"),i.attr(a,"xmlns","http://www.w3.org/2000/svg"),i.attr(a,"viewBox","0 0 24 24"),i.attr(s,"class","BackButton"),i.attr(r,"class","RegisterFormHeader"),i.attr($,"class","RegisterStepNext"),$.disabled=B=!e[22],i.attr(u,"class","RegisterFormContent")},m(P,z){i.insert(P,t,z),i.append(t,r),i.append(r,s),i.append(s,a),i.append(a,n),i.append(n,l),i.append(l,d),i.append(a,o),i.append(s,h),i.append(s,D),i.append(t,S),i.append(t,u),w&&w.m(u,null),i.append(u,p),O&&O.m(u,null),i.append(u,F),j&&j.m(u,null),i.append(u,H),ee&&ee.m(u,null),i.append(u,se),te&&te.m(u,null),i.append(u,x),re&&re.m(u,null),i.append(u,ae),X&&X.m(u,null),i.append(u,I),i.append(u,$),i.append($,G),e[62](t),v||(V=[i.listen(s,"click",e[35]),i.listen($,"click",e[61])],v=!0)},p(P,z){var ft,ht,mt,_t,pt,Qe,gt;z[0]&16777216&&g!==(g=P[24]("registerBackButton")+"")&&i.set_data(D,g),z[0]&2048&&(c=!(((ft=P[11])==null?void 0:ft.indexOf("title"))>=0)),c?w?w.p(P,z):(w=Cr(P),w.c(),w.m(u,p)):w&&(w.d(1),w=null),z[0]&2048&&(U=!(((ht=P[11])==null?void 0:ht.indexOf("firstName"))>=0)),U?O?O.p(P,z):(O=Fr(P),O.c(),O.m(u,F)):O&&(O.d(1),O=null),z[0]&2048&&(q=!(((mt=P[11])==null?void 0:mt.indexOf("lastName"))>=0)),q?j?j.p(P,z):(j=Br(P),j.c(),j.m(u,H)):j&&(j.d(1),j=null),z[0]&2048&&(J=!(((_t=P[11])==null?void 0:_t.indexOf("birthDate"))>=0)),J?ee?ee.p(P,z):(ee=Ur(P),ee.c(),ee.m(u,se)):ee&&(ee.d(1),ee=null),z[0]&2048&&(Q=!(((pt=P[11])==null?void 0:pt.indexOf("birthPlace"))>=0)),Q?te?te.p(P,z):(te=Ar(P),te.c(),te.m(u,x)):te&&(te.d(1),te=null),z[0]&2048&&(R=!(((Qe=P[11])==null?void 0:Qe.indexOf("personalId"))>=0)),R?re?re.p(P,z):(re=Gr(P),re.c(),re.m(u,ae)):re&&(re.d(1),re=null),z[0]&2048&&(le=!(((gt=P[11])==null?void 0:gt.indexOf("currency"))>=0)),le?X?X.p(P,z):(X=zr(P),X.c(),X.m(u,I)):X&&(X.d(1),X=null),z[0]&16777216&&C!==(C=P[24]("registerNext")+"")&&i.set_data(G,C),z[0]&4194304&&B!==(B=!P[22])&&($.disabled=B)},i:i.noop,o:i.noop,d(P){P&&i.detach(t),w&&w.d(),O&&O.d(),j&&j.d(),ee&&ee.d(),te&&te.d(),re&&re.d(),X&&X.d(),e[62](null),v=!1,i.run_all(V)}}}function go(e,t,r){let s;i.component_subscribe(e,i.$format,y=>r(24,s=y));let{endpoint:a=""}=t,{lang:n=""}=t,{licenseyears:l=""}=t,{disabledfields:d=""}=t,{defaultoptions:o=""}=t,{personalidlength:h=""}=t,{clientstyling:g=""}=t,{clientstylingurl:D=""}=t,{translationurl:S=""}=t,u=!1,c=!1,p=!1,U=!1,F=!1,q=!1,H=!1,J=!1,se=!1,Q,x="",R="",ae="",le=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],I,$=[1,2,3,4,5,6,7,8,9,10,11,12],C,G=[],B,v="",V=[],w="",O="",j=new Date,ee,te,re,X=!1,Je=!0,ge;const ot=()=>{fetch(S).then(fe=>fe.json()).then(fe=>{Object.keys(fe).forEach(We=>{br(We,fe[We])})}).catch(fe=>{console.log(fe)})};Object.keys(Yr).forEach(y=>{br(y,Yr[y])});const ut=()=>{te=parseInt(m(j.setDate(j.getDate())).subtract(parseInt(l,10),"y").format("YYYY")),ee=parseInt(m(j.setDate(j.getDate())).subtract(100+parseInt(l,10),"y").format("YYYY"));for(let y=te;y>=ee;y--)G.push(y);r(23,Je=!1)},dt=()=>{B&&C&&I&&(re=m(j.setDate(j.getDate())).diff(m(`${B}-${C}-${I}`,"YYYY-MM-DD"),"years").toString(),r(4,p=re<l)),ye()},ct=()=>{fetch(`${a}/v1/player/operatorSupportedCurrencies`).then(y=>y.json()).then(y=>{r(19,V=y.currencies),w||r(20,w=V[0])})},ye=()=>{r(22,X=!(u||c||p||U||F)),(R.length<=0||ae.length<=0||v.length<=0||O.length<=0||!x||!I||!C||!B)&&r(22,X=!1)},P=y=>!!(y&&y.length>=2&&y.length<=50),z=()=>{r(2,u=!P(R)),ye()},ft=()=>{r(3,c=!P(ae)),ye()},ht=()=>!!(v&&v.length<=120),mt=()=>{r(5,U=!ht()),ye()},_t=()=>!!(O&&O.length===Number(h)&&/^\d+$/.test(O)),pt=()=>{r(6,F=!_t()),ye()},Qe=y=>{y.preventDefault();let fe={userTitleSelected:x,userFirstName:R,userLastName:ae,birthDaySelected:I,birthMonthSelected:C,birthYearSelected:B,birthPlace:v,personalId:O,currencySelected:w};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:fe},window.location.href)},gt=()=>{let y={userTitleSelected:x,userFirstName:R,userLastName:ae,birthDaySelected:I,birthMonthSelected:C,birthYearSelected:B,birthPlace:v,personalId:O,currencySelected:w};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:y},window.location.href)},yr=y=>{if(y.data)switch(y.data.type){case"StepTwoDataBackup":r(12,x=y.data.userData.title),r(13,R=y.data.userData.firstname),r(14,ae=y.data.userData.lastname),r(15,I=y.data.userData.birth.day),r(16,C=y.data.userData.birth.month),r(17,B=y.data.userData.birth.year),r(18,v=y.data.userData.birthPlace),r(20,w=y.data.userData.currency),r(21,O=y.data.userData.personalId),ye();break}},Es=()=>{r(11,Q=d.split(",")),Q.indexOf("firstName")>=0&&(r(13,R="dummy first name"),r(2,u=!1)),Q.indexOf("lastName")>=0&&(r(14,ae="dummy last name"),r(3,c=!1)),Q.indexOf("birthPlace")>=0&&(r(18,v="dummy birth place"),r(5,U=!1)),Q.indexOf("personalId")>=0&&(r(21,O="dummy personal id"),r(6,F=!1)),Q.indexOf("birthDate")>=0&&r(4,p=!1),Q.indexOf("title")>=0&&r(12,x="Mr."),Q.indexOf("currency")>=0&&r(20,w="CDF")},Hs=()=>{fo(n)},As=()=>{let y=document.createElement("style");y.innerHTML=g,ge.appendChild(y)},Vs=()=>{let y=new URL(D),fe=document.createElement("style");fetch(y.href).then(We=>We.text()).then(We=>{fe.innerHTML=We,setTimeout(()=>{ge.appendChild(fe)},1),setTimeout(()=>{},500)})};i.onMount(()=>(window.addEventListener("message",yr,!1),()=>{window.removeEventListener("message",yr)}));function Gs(){x=i.select_value(this),r(12,x)}function js(){R=this.value,r(13,R)}const zs=()=>r(7,q=!0),Zs=()=>r(7,q=!1);function qs(){ae=this.value,r(14,ae)}const Js=()=>r(8,H=!0),Qs=()=>r(8,H=!1);function Ks(){I=i.select_value(this),r(15,I),r(25,le)}function Xs(){C=i.select_value(this),r(16,C),r(26,$)}function $s(){B=i.select_value(this),r(17,B),r(27,G)}function ea(){v=this.value,r(18,v)}const ta=()=>r(9,J=!0),ra=()=>r(9,J=!1);function sa(){O=this.value,r(21,O)}const aa=()=>r(10,se=!0),ia=()=>r(10,se=!1);function na(){w=i.select_value(this),r(20,w),r(19,V)}const la=y=>Qe(y);function oa(y){i.binding_callbacks[y?"unshift":"push"](()=>{ge=y,r(1,ge)})}return e.$$set=y=>{"endpoint"in y&&r(36,a=y.endpoint),"lang"in y&&r(37,n=y.lang),"licenseyears"in y&&r(0,l=y.licenseyears),"disabledfields"in y&&r(38,d=y.disabledfields),"defaultoptions"in y&&r(39,o=y.defaultoptions),"personalidlength"in y&&r(40,h=y.personalidlength),"clientstyling"in y&&r(41,g=y.clientstyling),"clientstylingurl"in y&&r(42,D=y.clientstylingurl),"translationurl"in y&&r(43,S=y.translationurl)},e.$$.update=()=>{e.$$.dirty[1]&32&&a&&ct(),e.$$.dirty[1]&64&&n&&Hs(),e.$$.dirty[0]&1&&l&&ut(),e.$$.dirty[1]&128&&d&&Es(),e.$$.dirty[0]&2|e.$$.dirty[1]&1024&&g&&ge&&As(),e.$$.dirty[0]&2|e.$$.dirty[1]&2048&&D&&ge&&Vs(),e.$$.dirty[1]&4096&&S&&ot()},[l,ge,u,c,p,U,F,q,H,J,se,Q,x,R,ae,I,C,B,v,V,w,O,X,Je,s,le,$,G,dt,ye,z,ft,mt,pt,Qe,gt,a,n,d,o,h,g,D,S,Gs,js,zs,Zs,qs,Js,Qs,Ks,Xs,$s,ea,ta,ra,sa,aa,ia,na,la,oa]}class Ws extends i.SvelteComponent{constructor(t){super(),i.init(this,t,go,po,i.safe_not_equal,{endpoint:36,lang:37,licenseyears:0,disabledfields:38,defaultoptions:39,personalidlength:40,clientstyling:41,clientstylingurl:42,translationurl:43},ho,[-1,-1,-1])}get endpoint(){return this.$$.ctx[36]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[37]}set lang(t){this.$$set({lang:t}),i.flush()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(t){this.$$set({licenseyears:t}),i.flush()}get disabledfields(){return this.$$.ctx[38]}set disabledfields(t){this.$$set({disabledfields:t}),i.flush()}get defaultoptions(){return this.$$.ctx[39]}set defaultoptions(t){this.$$set({defaultoptions:t}),i.flush()}get personalidlength(){return this.$$.ctx[40]}set personalidlength(t){this.$$set({personalidlength:t}),i.flush()}get clientstyling(){return this.$$.ctx[41]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[42]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get translationurl(){return this.$$.ctx[43]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}}i.create_custom_element(Ws,{endpoint:{},lang:{},licenseyears:{},disabledfields:{},defaultoptions:{},personalidlength:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Ws;
|