@everymatrix/general-player-register-form-step2 0.0.281 → 0.0.284
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function ft(){}function h(e){return e()}function d(){return Object.create(null)}function mt(e){e.forEach(h)}function f(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function Y(e,...t){if(null==e)return ft;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function pt(e,t){e.appendChild(t)}function gt(e,t,r){e.insertBefore(t,r||null)}function yt(e){e.parentNode.removeChild(e)}function _t(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function vt(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function wt(e){return document.createTextNode(e)}function bt(){return wt(" ")}function St(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Et(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Tt(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Dt(e,t){e.value=null==t?"":t}function Mt(t,r){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===r)return n.selected=!0,0}}function L(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}let F;function m(e){F=e}const p=[],e=[],n=[],i=[],g=Promise.resolve();let y=!1;function kt(e){n.push(e)}let s=!1;const a=new Set;function _(){if(!s){s=!0;do{for(let e=0;e<p.length;e+=1){var t=p[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),mt(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(kt))}}(t.$$)}for(m(null),p.length=0;e.length;)e.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];a.has(r)||(a.add(r),r())}}while(n.length=0,p.length);for(;i.length;)i.pop()();y=!1,s=!1,a.clear()}}const v=new Set;function o(n,e,t,r,i,s,a=[-1]){var o,l=F;m(n);const u=n.$$={fragment:null,ctx:null,props:s,update:ft,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let c=!1;if(u.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c&&(r=e,-1===(e=n).$$.dirty[0]&&(p.push(e),y||(y=!0,g.then(_)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],u.update(),c=!0,mt(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){const ft=(r=e.target,Array.from(r.childNodes));u.fragment&&u.fragment.l(ft),ft.forEach(yt)}else u.fragment&&u.fragment.c();e.intro&&(o=n.$$.fragment)&&o.i&&(v.delete(o),o.i(void 0)),function(t,e,r,n){const{fragment:i,on_mount:s,on_destroy:a,after_update:o}=t.$$;i&&i.m(e,r),n||kt(()=>{var e=s.map(h).filter(f);a?a.push(...e):mt(e),t.$$.on_mount=[]}),o.forEach(kt)}(n,e.target,e.anchor,e.customElement),_()}m(l)}let l;function Cr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){mt(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(mt(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=ft}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var u,Pr,A=(Pr=u={path:void 0,exports:{},require:function(e,t){return Cr(null==t&&u.path)}},u.exports,Pr.exports=function(){var e;function m(){return e.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function n(e,t){for(var r=[],n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){for(var r in t)f(t,r)&&(e[r]=t[r]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,n){return Nt(e,t,r,n,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function d(e){if(null==e._isValid){var t=p(e),r=y.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function g(e){var t=h(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},_=m.momentProperties=[],t=!1;function v(e,t){var r,n,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),0<_.length)for(r=0;r<_.length;r++)s(i=t[n=_[r]])||(e[n]=i);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function b(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function S(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function r(i,s){var a=!0;return c(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),a){for(var e,t,r=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];r.push(e)}S(i+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var E={};function T(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),E[e]||(S(t),E[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var r,n=c({},e);for(r in t)f(t,r)&&(o(e[r])&&o(t[r])?(n[r]={},c(n[r],e[r]),c(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)f(e,r)&&!f(t,r)&&o(e[r])&&(n[r]=c({},n[r]));return n}function k(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var O=Object.keys||function(e){var t,r=[];for(t in e)f(e,t)&&r.push(t);return r};function N(e,t,r){var n=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var C=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,x={},Y={};function L(e,t,r,n){var i="string"==typeof n?function(){return this[n]()}:n;e&&(Y[e]=i),t&&(Y[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),r&&(Y[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=A(t,e.localeData()),x[t]=x[t]||function(n){for(var e,i=n.match(C),t=0,s=i.length;t<s;t++)Y[i[t]]?i[t]=Y[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<s;r++)t+=D(i[r])?i[r].call(e,n):i[r];return t}}(t),x[t](e)):e.localeData().invalidDate()}function A(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;0<=r&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,--r;return e}var R={};function U(e,t){var r=e.toLowerCase();R[r]=R[r+"s"]=R[t]=e}function I(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function G(e){var t,r,n={};for(r in e)f(e,r)&&(t=I(r))&&(n[t]=e[r]);return n}var B={};function j(e,t){B[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?V(t):e}function H(t,r){return function(e){return null!=e?(Z(this,t,e),m.updateOffset(this,r),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(r=$(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Oe(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var X=/\d/,q=/\d\d/,K=/\d{3}/,Q=/\d{4}/,J=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,ie=/\d{1,4}/,se=/[+-]?\d{1,6}/,ae=/\d+/,oe=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[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;function he(e,r,n){me[e]=D(r)?r:function(e,t){return e&&n?n:r}}function de(e,t){return f(me,e)?me[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},pe={};function ge(e,r){var t,n=r;for("string"==typeof e&&(e=[e]),u(r)&&(n=function(e,t){t[r]=$(e)}),t=0;t<e.length;t++)pe[e[t]]=n}function ye(e,i){ge(e,function(e,t,r,n){r._w=r._w||{},i(e,r._w,r,n)})}var _e,ve=0,we=1,be=2,Se=3,Ee=4,Te=5,De=6,Me=7,ke=8;function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var r,r=(t%(r=12)+r)%r;return e+=(t-r)/12,1==r?W(e)?29:28:31-r%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),L("MMMM",0,0,function(e){return this.localeData().months(this,e)}),U("month","M"),j("month",8),he("M",ee),he("MM",ee,q),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=$(e)-1}),ge(["MMM","MMMM"],function(e,t,r,n){n=r._locale.monthsParse(e,n,r._strict);null!=n?t[we]=n:p(r).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xe=ce,Ye=ce;function Le(e,t){var r;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=$(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return r=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Fe(e){return null!=e?(Le(this,e),m.updateOffset(this,!0),this):z(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,r=[],n=[],i=[],s=0;s<12;s++)t=h([2e3,s]),r.push(this.monthsShort(t,"")),n.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(r.sort(e),n.sort(e),i.sort(e),s=0;s<12;s++)r[s]=fe(r[s]),n[s]=fe(n[s]);for(s=0;s<24;s++)i[s]=fe(i[s]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Re(e){return W(e)?366:365}L("Y",0,0,function(){var e=this.year();return e<=9999?N(e,4):"+"+e}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),U("year","y"),j("year",1),he("Y",oe),he("YY",ee,q),he("YYYY",ie,Q),he("YYYYY",se,J),he("YYYYYY",se,J),ge(["YYYYY","YYYYYY"],ve),ge("YYYY",function(e,t){t[ve]=2===e.length?m.parseTwoDigitYear(e):$(e)}),ge("YY",function(e,t){t[ve]=m.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[ve]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return $(e)+(68<$(e)?1900:2e3)};var Ue=H("FullYear",!0);function Ie(e,t,r,n,i,s,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Ge(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Be(e,t,r){r=7+t-r;return-(7+Ge(e,0,r).getUTCDay()-t)%7+r-1}function je(e,t,r,n,i){var s,i=1+7*(t-1)+(7+r-n)%7+Be(e,n,i),i=i<=0?Re(s=e-1)+i:i>Re(e)?(s=e+1,i-Re(e)):(s=e,i);return{year:s,dayOfYear:i}}function We(e,t,r){var n,i,s=Be(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?n=s+Ve(i=e.year()-1,t,r):s>Ve(e.year(),t,r)?(n=s-Ve(e.year(),t,r),i=e.year()+1):(i=e.year(),n=s),{week:n,year:i}}function Ve(e,t,r){var n=Be(e,t,r),r=Be(e+1,t,r);return(Re(e)-n+r)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),j("week",5),j("isoWeek",5),he("w",ee),he("ww",ee,q),he("W",ee),he("WW",ee,q),ye(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=$(e)});function $e(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("d",0,"do","day"),L("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),L("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),L("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,r,n){n=r._locale.weekdaysParse(e,n,r._strict);null!=n?t.d=n:p(r).invalidWeekday=e}),ye(["d","e","E"],function(e,t,r,n){t[n]=$(e)});var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,qe=ce,Ke=ce;function Qe(){function e(e,t){return t.length-e.length}for(var t,r,n,i=[],s=[],a=[],o=[],l=0;l<7;l++)n=h([2e3,1]).day(l),t=fe(this.weekdaysMin(n,"")),r=fe(this.weekdaysShort(n,"")),n=fe(this.weekdays(n,"")),i.push(t),s.push(r),a.push(n),o.push(t),o.push(r),o.push(n);i.sort(e),s.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Je(){return this.hours()%12||12}function et(e,t){L(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Je),L("k",["kk",2],0,function(){return this.hours()||24}),L("hmm",0,0,function(){return""+Je.apply(this)+N(this.minutes(),2)}),L("hmmss",0,0,function(){return""+Je.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),L("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),L("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),et("a",!0),et("A",!1),U("hour","h"),j("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,q),he("hh",ee,q),he("kk",ee,q),he("hmm",te),he("hmmss",re),he("Hmm",te),he("Hmmss",re),ge(["H","HH"],Se),ge(["k","kk"],function(e,t,r){e=$(e);t[Se]=24===e?0:e}),ge(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),ge(["h","hh"],function(e,t,r){t[Se]=$(e),p(r).bigHour=!0}),ge("hmm",function(e,t,r){var n=e.length-2;t[Se]=$(e.substr(0,n)),t[Ee]=$(e.substr(n)),p(r).bigHour=!0}),ge("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Se]=$(e.substr(0,n)),t[Ee]=$(e.substr(n,2)),t[Te]=$(e.substr(i)),p(r).bigHour=!0}),ge("Hmm",function(e,t,r){var n=e.length-2;t[Se]=$(e.substr(0,n)),t[Ee]=$(e.substr(n))}),ge("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Se]=$(e.substr(0,n)),t[Ee]=$(e.substr(n,2)),t[Te]=$(e.substr(i))});var rt=H("Hours",!0);var nt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Ce,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},st={},at={};function ot(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,r,n,i,s=0;s<e.length;){for(t=(i=ot(e[s]).split("-")).length,r=(r=ot(e[s+1]))?r.split("-"):null;0<t;){if(n=ut(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}(i,r)>=t-1)break;t--}s++}return nt}function ut(t){var e;if(void 0===st[t]&&Pr&&Pr.exports)try{e=nt._abbr,Cr(),ct(e)}catch(e){st[t]=null}return st[t]}function ct(e,t){return e&&((t=s(t)?dt(e):ht(e,t))?nt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function ht(e,t){if(null===t)return delete st[e],null;var r,n=it;if(t.abbr=e,null!=st[e])T("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."),n=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])n=st[t.parentLocale]._config;else{if(null==(r=ut(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;n=r._config}return st[e]=new k(M(n,t)),at[e]&&at[e].forEach(function(e){ht(e.name,e.config)}),ct(e),st[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return nt;if(!a(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[we]<0||11<t[we]?we:t[be]<1||t[be]>Oe(t[ve],t[we])?be:t[Se]<0||24<t[Se]||24===t[Se]&&(0!==t[Ee]||0!==t[Te]||0!==t[De])?Se:t[Ee]<0||59<t[Ee]?Ee:t[Te]<0||59<t[Te]?Te:t[De]<0||999<t[De]?De:-1,p(e)._overflowDayOfYear&&(t<ve||be<t)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Me),p(e)._overflowWeekday&&-1===t&&(t=ke),p(e).overflow=t),e}var mt=/^\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)?)?$/,pt=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],vt=/^\/?Date\((-?\d+)/i,wt=/^(?:(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}))$/,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,r,n,i,s,a,o=e._i,l=mt.exec(o)||pt.exec(o);if(l){for(p(e).iso=!0,t=0,r=yt.length;t<r;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],n=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,r=_t.length;t<r;t++)if(_t[t][1].exec(l[3])){s=(l[2]||" ")+_t[t][0];break}if(null==s)return e._isValid=!1}if(!n&&null!=s)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=i+(s||"")+(a||""),kt(e)}else e._isValid=!1}function Et(e,t,r,n,i,s){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ce.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&i.push(parseInt(s,10)),i}function Tt(e){var t,r,n,i,s=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=Et(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],n=t,i=e,r&&ze.indexOf(r)!==new Date(n[0],n[1],n[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=s[8],t=s[9],s=s[10],i?bt[i]:t?0:((t=parseInt(s,10))-(s=t%100))/100*60+s),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Dt(e,t,r){return null!=e?e:null!=t?t:r}function Mt(e){var t,r,n,i,s,a,o,l,u,c,h,d,f=[];if(!e._d){for(h=e,d=new Date(m.now()),r=h._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[be]&&null==e._a[we]&&(null!=(h=(i=e)._w).GG||null!=h.W||null!=h.E?(l=1,u=4,s=Dt(h.GG,i._a[ve],We(Ct(),1,4).year),a=Dt(h.W,1),((o=Dt(h.E,1))<1||7<o)&&(c=!0)):(l=i._locale._week.dow,u=i._locale._week.doy,d=We(Ct(),l,u),s=Dt(h.gg,i._a[ve],d.year),a=Dt(h.w,d.week),null!=h.d?((o=h.d)<0||6<o)&&(c=!0):null!=h.e?(o=h.e+l,(h.e<0||6<h.e)&&(c=!0)):o=l),a<1||a>Ve(s,l,u)?p(i)._overflowWeeks=!0:null!=c?p(i)._overflowWeekday=!0:(u=je(s,a,o,l,u),i._a[ve]=u.year,i._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Dt(e._a[ve],r[ve]),(e._dayOfYear>Re(n)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ge(n,0,e._dayOfYear),e._a[we]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=r[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Se]&&0===e._a[Ee]&&0===e._a[Te]&&0===e._a[De]&&(e._nextDay=!0,e._a[Se]=0),e._d=(e._useUTC?Ge:Ie).apply(null,f),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Se]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,r,n=""+e._i,i=n.length,s=0,a=A(e._f,e._locale).match(C)||[],o=0;o<a.length;o++)r=a[o],(t=(n.match(de(r,e))||[])[0])&&(0<(h=n.substr(0,n.indexOf(t))).length&&p(e).unusedInput.push(h),n=n.slice(n.indexOf(t)+t.length),s+=t.length),Y[r]?(t?p(e).empty=!1:p(e).unusedTokens.push(r),c=r,d=e,null!=(h=t)&&f(pe,c)&&pe[c](h,d._a,d,c)):e._strict&&!t&&p(e).unusedTokens.push(r);p(e).charsLeftOver=i-s,0<n.length&&p(e).unusedInput.push(n),e._a[Se]<=12&&!0===p(e).bigHour&&0<e._a[Se]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Se]=(l=e._locale,u=e._a[Se],null==(i=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,i):null!=l.isPM?((i=l.isPM(i))&&u<12&&(u+=12),u=i||12!==u?u:0):u),null!==(u=p(e).era)&&(e._a[ve]=e._locale.erasConvertYear(u,e._a[ve])),Mt(e),ft(e)}else Tt(e);else St(e);var l,u,c,h,d}function Ot(e){var t=e._i,r=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===r&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new w(ft(t)):(i(t)?e._d=t:a(r)?function(e){var t,r,n,i,s,a,o=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)s=0,a=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),d(t)&&(a=!0),s+=p(t).charsLeftOver,s+=10*p(t).unusedTokens.length,p(t).score=s,o?s<n&&(n=s,r=t):(null==n||s<n||a)&&(n=s,r=t,a&&(o=!0));c(e,r||t)}(e):r?kt(e):s(r=(t=e)._i)?t._d=new Date(m.now()):i(r)?t._d=new Date(r.valueOf()):"string"==typeof r?function(e){var t=vt.exec(e._i);null===t?(St(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):a(r)?(t._a=n(r.slice(0),function(e){return parseInt(e,10)}),Mt(t)):o(r)?function(e){var t,r;e._d||(r=void 0===(t=G(e._i)).day?t.date:t.day,e._a=n([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):u(r)?t._d=new Date(r):m.createFromInputFallback(t),d(e)||(e._d=null),e))}function Nt(e,t,r,n,i){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,(s=new w(ft(Ot(s=s))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ct(e,t,r,n){return Nt(e,t,r,n,!1)}m.createFromInputFallback=r("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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var Pt=r("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),xt=r("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Yt(e,t){var r,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return Ct();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var t=G(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,r,n=!1;for(t in e)if(f(e,t)&&(-1===_e.call(Lt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<Lt.length;++r)if(e[Lt[r]]){if(n)return!1;parseFloat(e[Lt[r]])!==$(e[Lt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*o*60*60,this._days=+a+7*s,this._months=+i+3*n+12*r,this._data={},this._locale=dt(),this._bubble()}function At(e){return e instanceof Ft}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ut(e,r){L(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+N(~~(e/60),2)+r+N(~~e%60,2)})}Ut("Z",":"),Ut("ZZ",""),he("Z",ue),he("ZZ",ue),ge(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Gt(ue,e)});var It=/([\+\-]|\d\d)/gi;function Gt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(It)||["-",0,0])[1]+$(e[2]))?0:"+"===e[0]?t:-t}function Bt(e,t){var r;return t._isUTC?(r=t.clone(),t=(b(e)||i(e)?e:Ct(e)).valueOf()-r.valueOf(),r._d.setTime(r._d.valueOf()+t),m.updateOffset(r,!1),r):Ct(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$t=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var r,n,i=e,s=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Vt.exec(e))?(r="-"===s[1]?-1:1,i={y:0,d:$(s[be])*r,h:$(s[Se])*r,m:$(s[Ee])*r,s:$(s[Te])*r,ms:$(Rt(1e3*s[De]))*r}):(s=$t.exec(e))?(r="-"===s[1]?-1:1,i={y:zt(s[2],r),M:zt(s[3],r),w:zt(s[4],r),d:zt(s[5],r),h:zt(s[6],r),m:zt(s[7],r),s:zt(s[8],r)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(s=Ct(i.from),r=Ct(i.to),n=s.isValid()&&r.isValid()?(r=Bt(r,s),s.isBefore(r)?n=Zt(s,r):((n=Zt(r,s)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),i=new Ft(i),At(e)&&f(e,"_locale")&&(i._locale=e._locale),At(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Xt(n,i){return function(e,t){var r;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),qt(this,Ht(e,t),n),this}}function qt(e,t,r,n){var i=t._milliseconds,s=Rt(t._days),t=Rt(t._months);e.isValid()&&(n=null==n||n,t&&Le(e,z(e,"Month")+t*r),s&&Z(e,"Date",z(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&m.updateOffset(e,s||t))}Ht.fn=Ft.prototype,Ht.invalid=function(){return Ht(NaN)};var Kt=Xt(1,"add"),ce=Xt(-1,"subtract");function Qt(e){return"string"==typeof e||e instanceof String}function Jt(e){return b(e)||i(e)||Qt(e)||u(e)||(r=a(t=e),n=!1,r&&(n=0===t.filter(function(e){return!u(e)&&Qt(t)}).length),r&&n)||function(e){var t,r,n=o(e)&&!l(e),i=!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"];for(t=0;t<s.length;t+=1)r=s[t],i=i||f(e,r);return n&&i}(e)||null==e;var t,r,n}function er(e,t){if(e.date()<t.date())return-er(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(1+r,"months")-n)))||0}function tr(e){return void 0===e?this._locale._abbr:(null!=(e=dt(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=r("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function rr(){return this._locale}var nr=126227808e5;function ir(e,t){return(e%t+t)%t}function sr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-nr:new Date(e,t,r).valueOf()}function ar(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-nr:Date.UTC(e,t,r)}function or(e,t){return t.erasAbbrRegex(e)}function lr(){for(var e=[],t=[],r=[],n=[],i=this.eras(),s=0,a=i.length;s<a;++s)t.push(fe(i[s].name)),e.push(fe(i[s].abbr)),r.push(fe(i[s].narrow)),n.push(fe(i[s].name)),n.push(fe(i[s].abbr)),n.push(fe(i[s].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ur(e,t){L(0,[e,e.length],0,t)}function cr(e,t,r,n,i){var s;return null==e?We(this,n,i).year:(t>(s=Ve(e,n,i))&&(t=s),function(e,t,r,n,i){i=je(e,t,r,n,i),i=Ge(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,r,n,i))}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),he("N",or),he("NN",or),he("NNN",or),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){n=r._locale.erasParse(e,n,r._strict);n?p(r).era=n:p(r).invalidEra=e}),he("y",ae),he("yy",ae),he("yyy",ae),he("yyyy",ae),he("yo",function(e,t){return t._eraYearOrdinalRegex||ae}),ge(["y","yy","yyy","yyyy"],ve),ge(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ve]=r._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ur("gggg","weekYear"),ur("ggggg","weekYear"),ur("GGGG","isoWeekYear"),ur("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),he("G",oe),he("g",oe),he("GG",ee,q),he("gg",ee,q),he("GGGG",ie,Q),he("gggg",ie,Q),he("GGGGG",se,J),he("ggggg",se,J),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=$(e)}),ye(["gg","GG"],function(e,t,r,n){t[n]=m.parseTwoDigitYear(e)}),L("Q",0,"Qo","quarter"),U("quarter","Q"),j("quarter",7),he("Q",X),ge("Q",function(e,t){t[we]=3*($(e)-1)}),L("D",["DD",2],"Do","date"),U("date","D"),j("date",9),he("D",ee),he("DD",ee,q),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],be),ge("Do",function(e,t){t[be]=$(e.match(ee)[0])});re=H("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),j("dayOfYear",4),he("DDD",ne),he("DDDD",K),ge(["DDD","DDDD"],function(e,t,r){r._dayOfYear=$(e)}),L("m",["mm",2],0,"minute"),U("minute","m"),j("minute",14),he("m",ee),he("mm",ee,q),ge(["m","mm"],Ee);Ne=H("Minutes",!1);L("s",["ss",2],0,"second"),U("second","s"),j("second",15),he("s",ee),he("ss",ee,q),ge(["s","ss"],Te);var hr,He=H("Seconds",!1);for(L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),U("millisecond","ms"),j("millisecond",16),he("S",ne,X),he("SS",ne,q),he("SSS",ne,K),hr="SSSS";hr.length<=9;hr+="S")he(hr,ae);function dr(e,t){t[De]=$(1e3*("0."+e))}for(hr="S";hr.length<=9;hr+="S")ge(hr,dr);Ze=H("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");ie=w.prototype;function fr(e){return e}ie.add=Kt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=o(e)&&!l(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<n.length;i+=1)r=r||f(e,n[i]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var r=e||Ct(),e=Bt(r,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(D(t[e])?t[e].call(this,r):t[e]);return this.format(t||this.localeData().calendar(e,this,Ct(r)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=Bt(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=I(t)){case"year":s=er(this,n)/12;break;case"month":s=er(this,n);break;case"quarter":s=er(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:V(s)},ie.endOf=function(e){var t,r;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ar:sr,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+=36e5-ir(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ir(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ir(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=F(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Ct(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Ct(),e)},ie.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Ct(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Ct(),e)},ie.get=function(e){return D(this[e=I(e)])?this[e]():this},ie.invalidAt=function(){return p(this).overflow},ie.isAfter=function(e,t){return e=b(e)?e:Ct(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=b(e)?e:Ct(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,r,n){return e=b(e)?e:Ct(e),t=b(t)?t:Ct(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===n[1]?this.isBefore(t,r):!this.isAfter(t,r))},ie.isSame=function(e,t){var e=b(e)?e:Ct(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return d(this)},ie.lang=te,ie.locale=tr,ie.localeData=rr,ie.max=xt,ie.min=Pt,ie.parsingFlags=function(){return c({},p(this))},ie.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)f(e,t)&&r.push({unit:t,priority:B[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=G(e)),n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit]);else if(D(this[e=I(e)]))return this[e](t);return this},ie.startOf=function(e){var t,r;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ar:sr,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-=ir(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ir(t,6e4);break;case"second":t=this._d.valueOf(),t-=ir(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ce,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){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()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?F(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(e,"Z")):F(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",r="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},ie.eraYear=function(){for(var e,t,r=this.localeData().eras(),n=0,i=r.length;n<i;++n)if(e=r[n].since<=r[n].until?1:-1,t=this.clone().startOf("day").valueOf(),r[n].since<=t&&t<=r[n].until||r[n].until<=t&&t<=r[n].since)return(this.year()-m(r[n].since).year())*e+r[n].offset;return this.year()},ie.year=Ue,ie.isLeapYear=function(){return W(this.year())},ie.weekYear=function(e){return cr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return cr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Fe,ie.daysInMonth=function(){return Oe(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=We(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return Ve(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return Ve(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return Ve(this.isoWeekYear(),1,4)},ie.date=re,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=rt,ie.minute=ie.minutes=Ne,ie.second=ie.seconds=He,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,r){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Gt(ue,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=jt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?qt(this,Ht(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Gt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Wt,ie.isUTC=Wt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=r("dates accessor is deprecated. Use date instead.",re),ie.months=r("months accessor is deprecated. Use month instead",Fe),ie.years=r("years accessor is deprecated. Use year instead",Ue),ie.zone=r("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=r("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Ot(t))._a?(e=(t._isUTC?h:Ct)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a=0;a<n;a++)(r&&e[a]!==t[a]||!r&&$(e[a])!==$(t[a]))&&s++;return s+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});Q=k.prototype;function mr(e,t,r,n){var i=dt(),t=h().set(n,t);return i[r](t,e)}function pr(e,t,r){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return mr(e,t,r,"month");for(var n=[],i=0;i<12;i++)n[i]=mr(e,i,r,"month");return n}function gr(e,t,r,n){t=("boolean"==typeof e||(r=t=e,e=!1),u(t)&&(r=t,t=void 0),t||"");var i,s=dt(),a=e?s._week.dow:0,o=[];if(null!=r)return mr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)o[i]=mr(t,(i+a)%7,n,"day");return o}Q.calendar=function(e,t,r){return D(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},Q.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(C).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Q.invalidDate=function(){return this._invalidDate},Q.ordinal=function(e){return this._ordinal.replace("%d",e)},Q.preparse=fr,Q.postformat=fr,Q.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return D(i)?i(e,t,r,n):i.replace(/%d/i,e)},Q.pastFuture=function(e,t){return D(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},Q.set=function(e){var t,r;for(r in e)f(e,r)&&(D(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Q.eras=function(e,t){for(var r,n=this._eras||dt("en")._eras,i=0,s=n.length;i<s;++i)switch("string"==typeof n[i].since&&(r=m(n[i].since).startOf("day"),n[i].since=r.valueOf()),typeof n[i].until){case"undefined":n[i].until=1/0;break;case"string":r=m(n[i].until).startOf("day").valueOf(),n[i].until=r.valueOf()}return n},Q.erasParse=function(e,t,r){var n,i,s,a,o,l=this.eras();for(e=e.toUpperCase(),n=0,i=l.length;n<i;++n)if(s=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(s===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if(0<=[s,a,o].indexOf(e))return l[n]},Q.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},Q.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||lr.call(this),e?this._erasAbbrRegex:this._erasRegex},Q.erasNameRegex=function(e){return f(this,"_erasNameRegex")||lr.call(this),e?this._erasNameRegex:this._erasRegex},Q.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||lr.call(this),e?this._erasNarrowRegex:this._erasRegex},Q.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},Q.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Pe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Q.monthsParse=function(e,t,r){var n,i;if(this._monthsParseExact)return function(e,t,r){var n,i,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))||-1!==(i=_e.call(this._longMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))||-1!==(i=_e.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=h([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},Q.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ye),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Q.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Q.week=function(e){return We(e,this._week.dow,this._week.doy).week},Q.firstDayOfYear=function(){return this._week.doy},Q.firstDayOfWeek=function(){return this._week.dow},Q.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?$e(t,this._week.dow):e?t[e.day()]:t},Q.weekdaysMin=function(e){return!0===e?$e(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Q.weekdaysShort=function(e){return!0===e?$e(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Q.weekdaysParse=function(e,t,r){var n,i;if(this._weekdaysParseExact)return function(e,t,r){var n,i,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=h([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},Q.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Q.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Q.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Q.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Q.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===$(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=r("moment.lang is deprecated. Use moment.locale instead.",ct),m.langData=r("moment.langData is deprecated. Use moment.localeData instead.",dt);var yr=Math.abs;function _r(e,t,r,n){r=Ht(t,r);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function vr(e){return e<0?Math.floor(e):Math.ceil(e)}function wr(e){return 4800*e/146097}function br(e){return 146097*e/4800}function Sr(e){return function(){return this.as(e)}}se=Sr("ms"),J=Sr("s"),X=Sr("m"),q=Sr("h"),ne=Sr("d"),K=Sr("w"),Kt=Sr("M"),xt=Sr("Q"),Pt=Sr("y");function Er(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Er("milliseconds"),rt=Er("seconds"),Ne=Er("minutes"),He=Er("hours"),Ze=Er("days"),re=Er("months"),Ue=Er("years");var Tr=Math.round,Dr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mr(e,t,r,n){var i=Ht(e).abs(),s=Tr(i.as("s")),a=Tr(i.as("m")),o=Tr(i.as("h")),l=Tr(i.as("d")),u=Tr(i.as("M")),c=Tr(i.as("w")),i=Tr(i.as("y")),l=(s<=r.ss?["s",s]:s<r.s&&["ss",s])||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return(l=(l=null!=r.w?l||c<=1&&["w"]||c<r.w&&["ww",c]:l)||u<=1&&["M"]||u<r.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=n,function(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}.apply(null,l)}var kr=Math.abs;function Or(e){return(0<e)-(e<0)||+e}function Nr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,s,a,o=kr(this._milliseconds)/1e3,l=kr(this._days),u=kr(this._months),c=this.asSeconds();return c?(e=V(o/60),t=V(e/60),o%=60,e%=60,r=V(u/12),u%=12,n=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Or(this._months)!==Or(c)?"-":"",s=Or(this._days)!==Or(c)?"-":"",a=Or(this._milliseconds)!==Or(c)?"-":"",(c<0?"-":"")+"P"+(r?i+r+"Y":"")+(u?i+u+"M":"")+(l?s+l+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+n+"S":"")):"P0D"}Q=Ft.prototype;return Q.isValid=function(){return this._isValid},Q.abs=function(){var e=this._data;return this._milliseconds=yr(this._milliseconds),this._days=yr(this._days),this._months=yr(this._months),e.milliseconds=yr(e.milliseconds),e.seconds=yr(e.seconds),e.minutes=yr(e.minutes),e.hours=yr(e.hours),e.months=yr(e.months),e.years=yr(e.years),this},Q.add=function(e,t){return _r(this,e,t,1)},Q.subtract=function(e,t){return _r(this,e,t,-1)},Q.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+wr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(br(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Q.asMilliseconds=se,Q.asSeconds=J,Q.asMinutes=X,Q.asHours=q,Q.asDays=ne,Q.asWeeks=K,Q.asMonths=Kt,Q.asQuarters=xt,Q.asYears=Pt,Q.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},Q._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*vr(br(r)+t),r=t=0),n.milliseconds=e%1e3,e=V(e/1e3),n.seconds=e%60,e=V(e/60),n.minutes=e%60,e=V(e/60),n.hours=e%24,t+=V(e/24),r+=e=V(wr(t)),t-=vr(br(e)),e=V(r/12),r%=12,n.days=t,n.months=r,n.years=e,this},Q.clone=function(){return Ht(this)},Q.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},Q.milliseconds=ce,Q.seconds=rt,Q.minutes=Ne,Q.hours=He,Q.days=Ze,Q.weeks=function(){return V(this.days()/7)},Q.months=re,Q.years=Ue,Q.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Dr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(n=Object.assign({},Dr,t),null!=t.s&&null==t.ss&&(n.ss=t.s-1)),n=Mr(this,!r,n,t=this.localeData()),r&&(n=t.pastFuture(+this,n)),t.postformat(n)},Q.toISOString=Nr,Q.toString=Nr,Q.toJSON=Nr,Q.locale=tr,Q.localeData=rr,Q.toIsoString=r("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nr),Q.lang=te,L("X",0,0,"unix"),L("x",0,0,"valueOf"),he("x",oe),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,r){r._d=new Date($(e))}),m.version="2.29.1",e=Ct,m.fn=ie,m.min=function(){return Yt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Yt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return Ct(1e3*e)},m.months=function(e,t){return pr(e,t,"months")},m.isDate=i,m.locale=ct,m.invalid=g,m.duration=Ht,m.isMoment=b,m.weekdays=function(e,t,r){return gr(e,t,r,"weekdays")},m.parseZone=function(){return Ct.apply(null,arguments).parseZone()},m.localeData=dt,m.isDuration=At,m.monthsShort=function(e,t){return pr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return gr(e,t,r,"weekdaysMin")},m.defineLocale=ht,m.updateLocale=function(e,t){var r,n;return null!=t?(n=it,null!=st[e]&&null!=st[e].parentLocale?st[e].set(M(st[e]._config,t)):(t=M(n=null!=(r=ut(e))?r._config:n,t),null==r&&(t.abbr=e),(t=new k(t)).parentLocale=st[e],st[e]=t),ct(e)):null!=st[e]&&(null!=st[e].parentLocale?(st[e]=st[e].parentLocale,e===ct()&&ct(e)):null!=st[e]&&delete st[e]),st[e]},m.locales=function(){return O(st)},m.weekdaysShort=function(e,t,r){return gr(e,t,r,"weekdaysShort")},m.normalizeUnits=I,m.relativeTimeRounding=function(e){return void 0===e?Tr:"function"==typeof e&&(Tr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Dr[e]&&(void 0===t?Dr[e]:(Dr[e]=t,"s"===e&&(Dr.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,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"},m}(),u.exports);const c=[];function w(n,i=ft){let s;const a=[];function o(e){if(r(n,e)&&(n=e,s)){const e=!c.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),c.push(t,n)}if(e){for(let e=0;e<c.length;e+=2)c[e][0](c[e+1]);c.length=0}}}return{set:o,update:function(e){o(e(n))},subscribe:function(e,t=ft){const r=[e,t];return a.push(r),1===a.length&&(s=i(o)||ft),e(n),()=>{var e=a.indexOf(r);-1!==e&&a.splice(e,1),0===a.length&&(s(),s=null)}}}}function b(e,o,t){const l=!Array.isArray(e),u=l?[e]:e,c=o.length<2;return{subscribe:w(t,t=>{let r=!1;const n=[];let i=0,s=ft;const a=()=>{var e;i||(s(),e=o(l?n[0]:n,t),c?t(e):s=f(e)?e:ft)},e=u.map((e,t)=>Y(e,e=>{n[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){mt(e),s()}}).subscribe}}var S=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===E));var t},E="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function T(e,t){return!1!==t.clone&&t.isMergeableObject(e)?N(Array.isArray(e)?[]:{},e,t):e}function D(e,t,r){return e.concat(t).map(function(e){return T(e,r)})}function M(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function k(e,t){try{return t in e}catch(e){return!1}}function O(n,i,s){var a={};return s.isMergeableObject(n)&&M(n).forEach(function(e){a[e]=T(n[e],s)}),M(i).forEach(function(t){var e,r;(!k(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(k(n,t)&&s.isMergeableObject(i[t])?a[t]=function(){if(!s.customMerge)return N;var e=s.customMerge(t);return"function"==typeof e?e:N}()(n[t],i[t],s):a[t]=T(i[t],s))}),a}function N(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||D,r.isMergeableObject=r.isMergeableObject||S,r.cloneUnlessOtherwiseSpecified=T;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):O(e,t,r):T(t,r)}N.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return N(e,t,r)},{})};var C=N,P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var R,U,I,G=function(){return(G=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function B(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e}function j(e){return e.type===U.literal}function W(e){return e.type===U.number}function V(e){return e.type===U.date}function $(e){return e.type===U.time}function H(e){return e.type===U.select}function z(e){return e.type===U.plural}function Z(e){return e.type===U.tag}function X(e){return e&&"object"==typeof e&&e.type===I.number}function q(e){return e&&"object"==typeof e&&e.type===I.dateTime}(pe=R=R||{})[pe.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",pe[pe.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",pe[pe.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",pe[pe.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",pe[pe.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",pe[pe.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",pe[pe.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",pe[pe.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",pe[pe.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",pe[pe.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",pe[pe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",pe[pe.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",pe[pe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",pe[pe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",pe[pe.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",pe[pe.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",pe[pe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",pe[pe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",pe[pe.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",pe[pe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",pe[pe.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",pe[pe.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",pe[pe.INVALID_TAG=23]="INVALID_TAG",pe[pe.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",pe[pe.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",pe[pe.UNCLOSED_TAG=27]="UNCLOSED_TAG",(ge=U=U||{})[ge.literal=0]="literal",ge[ge.argument=1]="argument",ge[ge.number=2]="number",ge[ge.date=3]="date",ge[ge.time=4]="time",ge[ge.select=5]="select",ge[ge.plural=6]="plural",ge[ge.pound=7]="pound",ge[ge.tag=8]="tag",(ye=I=I||{})[ye.number=0]="number",ye[ye.dateTime=1]="dateTime";var K=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Q=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var J,ee=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,te=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,re=/^(@+)?(\+|#+)?$/g,ne=/(\*)(0+)|(#+)(0+)|(0+)/g,ie=/^(0+)$/;function se(e){var n={};return e.replace(re,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function ae(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function oe(e){return ae(e)||{}}function le(e){for(var a={},t=0,r=e;t<r.length;t++){var n,i=r[t];switch(i.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=i.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=G(G(G({},a),{notation:"scientific"}),i.options.reduce(function(e,t){return G(G({},e),oe(t))},{}));continue;case"engineering":a=G(G(G({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return G(G({},e),oe(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(ne,function(e,t,r,n,i,s){if(t)a.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ie.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(te.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(te,function(e,t,r,n,i,s){return"*"===r?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:i&&s?(a.minimumFractionDigits=i.length,a.maximumFractionDigits=i.length+s.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),i.options.length&&(a=G(G({},a),se(i.options[0])))}else re.test(i.stem)?a=G(G({},a),se(i.stem)):((n=ae(i.stem))&&(a=G(G({},a),n)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!ie.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(a=G(G({},a),n)))}return a}var ue=new RegExp("^"+K.source+"*"),ce=new RegExp(K.source+"*$");function he(e,t){return{start:e,end:t}}var de=!!String.prototype.startsWith,fe=!!String.fromCodePoint,me=!!Object.fromEntries,pe=!!String.prototype.codePointAt,ge=!!String.prototype.trimStart,ye=!!String.prototype.trimEnd,_e=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},K=!0;try{K="a"===(null===(J=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===J?void 0:J[0])}catch(ft){K=!1}var ve,we,be=de?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Se=fe?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,s=0;s<i;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ee=me?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],s=i[0],i=i[1];t[s]=i}return t},Te=pe?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,i=e.charCodeAt(t);return i<55296||56319<i||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?i:n-56320+(i-55296<<10)+65536}},De=ge?function(e){return e.trimStart()}:function(e){return e.replace(ue,"")},Me=ye?function(e){return e.trimEnd()}:function(e){return e.replace(ce,"")};function ke(e,t){return new RegExp(e,t)}we=K?(ve=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return ve.lastIndex=t,null!==(e=ve.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var i=Te(e,t);if(void 0===i||Pe(i)||(33<=(r=i)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(i),t+=65536<=i?2:1}return Se.apply(void 0,n)};var Oe=(Ne.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Ne.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i,s=this.char();if(123===s){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(R.UNMATCHED_CLOSING_TAG,he(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&Ce(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{s=this.clonePosition();this.bump(),n.push({type:U.pound,location:he(s,this.clonePosition())})}}}return{val:n,err:null}},Ne.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<"+n+"/>",location:he(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ce(this.char()))return this.error(R.INVALID_TAG,he(t,this.clonePosition()));i=this.clonePosition();return n!==this.parseTagName()?this.error(R.UNMATCHED_CLOSING_TAG,he(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:n,children:e,location:he(r,this.clonePosition())},err:null}:this.error(R.INVALID_TAG,he(t,this.clonePosition())))}return this.error(R.UNCLOSED_TAG,he(r,this.clonePosition()))}return this.error(R.INVALID_TAG,he(r,this.clonePosition()))},Ne.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},Ne.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=he(r,this.clonePosition());return{val:{type:U.literal,value:n,location:r},err:null}},Ne.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ce(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Ne.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Se.apply(void 0,t)},Ne.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Se(r))},Ne.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(R.EMPTY_ARGUMENT,he(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(R.MALFORMED_ARGUMENT,he(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:n,location:he(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(R.MALFORMED_ARGUMENT,he(r,this.clonePosition()))}},Ne.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=we(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:he(e,this.clonePosition())}},Ne.prototype.parseArgumentOptions=function(e,t,r,n){var i,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case"":return this.error(R.EXPECT_ARGUMENT_TYPE,he(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=Me(d.val)).length)return this.error(R.EXPECT_ARGUMENT_STYLE,he(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:he(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var c=he(n,this.clonePosition());if(l&&be(null==l?void 0:l.style,"::",0)){u=De(l.style.slice(2));if("number"===a)return(d=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?d:{val:{type:U.number,value:r,location:c,style:d.val},err:null};if(0===u.length)return this.error(R.EXPECT_DATE_TIME_SKELETON,c);var h={type:I.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(Q,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===a?U.date:U.time,value:r,location:c,style:h},err:null}}return{val:{type:"number"===a?U.number:"date"===a?U.date:U.time,value:r,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS,he(l,G({},l)));this.bumpSpace();var d,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,he(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=d.val}c=this.tryParsePluralOrSelectOptions(e,a,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(n)).err)return f;var f=he(n,this.clonePosition());return"select"===a?{val:{type:U.select,value:r,options:Ee(c.val),location:f},err:null}:{val:{type:U.plural,value:r,options:Ee(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null};default:return this.error(R.INVALID_ARGUMENT_TYPE,he(s,o))}},Ne.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Ne.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(R.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,he(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},Ne.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(ee).filter(function(e){return 0<e.length});r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],i=i.slice(1),a=0,o=i;a<o.length;a++)if(0===o[a].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:i})}return t}(e)}catch(e){return this.error(R.INVALID_NUMBER_SKELETON,t)}return{val:{type:I.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?le(r):{}},err:null}},Ne.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i=!1,s=[],a=new Set,o=n.value,l=n.location;;){if(0===o.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR,R.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=he(u,this.clonePosition()),o=this.message.slice(u.offset,this.offset())}if(a.has(o))return this.error("select"===t?R.DUPLICATE_SELECT_ARGUMENT_SELECTOR:R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,he(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;u=this.tryParseArgumentClose(h);if(u.err)return u;s.push([o,{value:c.val,location:he(h,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?R.EXPECT_SELECT_ARGUMENT_SELECTOR:R.EXPECT_PLURAL_ARGUMENT_SELECTOR,he(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(R.MISSING_OTHER_CLAUSE,he(this.clonePosition(),this.clonePosition())):{val:s,err:null}},Ne.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,s=10*s+(a-48),this.bump()}n=he(n,this.clonePosition());return i?_e(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},Ne.prototype.offset=function(){return this.position.offset},Ne.prototype.isEOF=function(){return this.offset()===this.message.length},Ne.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Ne.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Te(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Ne.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Ne.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},Ne.prototype.bumpIf=function(e){if(be(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Ne.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Ne.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Ne.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pe(this.char());)this.bump()},Ne.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Ne);function Ne(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ce(e){return 97<=e&&e<=122||65<=e&&e<=90}function Pe(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function xe(e,t){t=G({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Oe(e,t).parse();if(r.err){e=SyntaxError(R[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,H(e)||z(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else W(e)&&X(e.style)||(V(e)||$(e))&&q(e.style)?delete e.style.location:Z(e)&&r(e.children)})}(r.val),r.val}function Ye(e,t){var r=t&&t.cache?t.cache:Ge,n=t&&t.serializer?t.serializer:Re;return(t&&t.strategy?t.strategy:function(e,t){return Ae(e,this,1===e.length?Le:Fe,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Le(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(i);return void 0===r&&(r=e.call(this,n),t.set(i,r)),r}function Fe(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),r=t.get(i);return void 0===r&&(r=e.apply(this,n),t.set(i,r)),r}function Ae(e,t,r,n,i){return r.bind(t,e,n,i)}var Re=function(){return JSON.stringify(arguments)};function Ue(){this.cache=Object.create(null)}Ue.prototype.has=function(e){return e in this.cache},Ue.prototype.get=function(e){return this.cache[e]},Ue.prototype.set=function(e,t){this.cache[e]=t};var Ie,Ge={create:function(){return new Ue}},Be={variadic:function(e,t){return Ae(e,this,Fe,t.cache.create(),t.serializer)},monadic:function(e,t){return Ae(e,this,Le,t.cache.create(),t.serializer)}};(K=Ie=Ie||{}).MISSING_VALUE="MISSING_VALUE",K.INVALID_VALUE="INVALID_VALUE",K.MISSING_INTL_API="MISSING_INTL_API";var je,We,Ve,$e,He,ze=(x(et,He=Error),et.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},et),Ze=(x(Je,$e=ze),Je),Xe=(x(Qe,Ve=ze),Qe),qe=(x(Ke,We=ze),Ke);function Ke(e,t){return We.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Ie.MISSING_VALUE,t)||this}function Qe(e,t,r){return Ve.call(this,'Value for "'+e+'" must be of type '+t,Ie.INVALID_VALUE,r)||this}function Je(e,t,r,n){return $e.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',Ie.INVALID_VALUE,n)||this}function et(e,t,r){e=He.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function tt(e,t,r,n,i,s,a){if(1===e.length&&j(e[0]))return[{type:je.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var c=u[l];if(j(c))o.push({type:je.literal,value:c.value});else if(c.type===U.pound)"number"==typeof s&&o.push({type:je.literal,value:r.getNumberFormat(t).format(s)});else{var h=c.value;if(!(i&&h in i))throw new qe(h,a);var d=i[h];if(c.type===U.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),o.push({type:"string"==typeof d?je.literal:je.object,value:d});else if(V(c)){var f="string"==typeof c.style?n.date[c.style]:q(c.style)?c.style.parsedOptions:void 0;o.push({type:je.literal,value:r.getDateTimeFormat(t,f).format(d)})}else if($(c))f="string"==typeof c.style?n.time[c.style]:q(c.style)?c.style.parsedOptions:void 0,o.push({type:je.literal,value:r.getDateTimeFormat(t,f).format(d)});else if(W(c))(f="string"==typeof c.style?n.number[c.style]:X(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),o.push({type:je.literal,value:r.getNumberFormat(t,f).format(d)});else{if(Z(c)){var m=c.children,p=c.value,h=i[p];if("function"!=typeof h)throw new Xe(p,"function",a);m=h(tt(m,t,r,n,i,s).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),o.push.apply(o,m.map(function(e){return{type:"string"==typeof e?je.literal:je.object,value:e}}))}if(H(c)){if(!(g=c.options[d]||c.options.other))throw new Ze(c.value,d,Object.keys(c.options),a);o.push.apply(o,tt(g.value,t,r,n,i))}else if(z(c)){if(!(g=c.options["="+d])){if(!Intl.PluralRules)throw new ze('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ie.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),g=c.options[m]||c.options.other}if(!g)throw new Ze(c.value,d,Object.keys(c.options),a);o.push.apply(o,tt(g.value,t,r,n,i,d-(c.offset||0)))}}}}return o.length<2?o:o.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===je.literal&&t.type===je.literal?r.value+=t.value:e.push(t),e},[])}function rt(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(K=je=je||{})[K.literal=0]="literal",K[K.object=1]="object";var nt=(Object.defineProperty(it,"defaultLocale",{get:function(){return it.memoizedDefaultLocale||(it.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),it.memoizedDefaultLocale},enumerable:!1,configurable:!0}),it.memoizedDefaultLocale=null,it.__parse=xe,it.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},it);function it(e,t,r,n){var i,s,a=this;if(void 0===t&&(t=it.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===je.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return tt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!it.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=it.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=it.formats,(s=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=s[t])?G(G(G({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=G(G({},r[t]),n[t]||{}),e},{})):r),e},G({},i)):i),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:Ye(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,B([void 0],t)))},{cache:rt((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Be.variadic}),getDateTimeFormat:Ye(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,B([void 0],t)))},{cache:rt(n.dateTime),strategy:Be.variadic}),getPluralRules:Ye(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,B([void 0],t)))},{cache:rt(n.pluralRules),strategy:Be.variadic})}}const st={},at=(t,r)=>{if(null!=r){if(r in st&&t in st[r])return st[r][t];var n,i,s=Rt(r);for(let e=0;e<s.length;e++){var a=(n=s[e],i=t,ut(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return ot[e]||null}(n),i):null);if(a)return n=t,i=r,(a=a)&&(i in st||(st[i]={}),n in st[i]||(st[i][n]=a),a)}}};let ot;const lt=w({});function ut(e){return e in ot}function ct(t,...r){delete st[t],lt.update(e=>(e[t]=C.all([e[t]||{},...r]),e))}b([lt],([e])=>Object.keys(e)),lt.subscribe(e=>ot=e);const ht={};function dt(e){return ht[e]}function Ot(e){return Rt(e).some(e=>{return null===(e=dt(e))||void 0===e?void 0:e.size})}const Nt={};function Ct(e){if(!Ot(e))return e in Nt?Nt[e]:void 0;const t=Rt(e).map(e=>{var t=dt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Nt[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){ht[e].delete(t),0===ht[e].size&&delete ht[e]}(t,e),e().then(e=>e.default||e)))).then(e=>ct(t,...e))}(e))).then(()=>Ot(e)?Ct(e):void delete Nt[e]),Nt[e]}function Pt(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const xt={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Yt=w(!1);let Lt;const Ft=w(null);function At(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Rt(e,t=xt.fallbackLocale){e=At(e);return t?[...new Set([...e,...At(t)])]:e}Ft.subscribe(e=>{Lt=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ut=Ft.set;Ft.set=t=>{if(function(e){if(null!=e){var t=Rt(e);for(let e=0;e<t.length;e++){var r=t[e];if(ut(r))return r}}}(t)&&Ot(t)){var{loadingDelay:r}=xt;let e;return"undefined"!=typeof window&&null!=Lt&&r?e=window.setTimeout(()=>Yt.set(!0),r):Yt.set(!0),Ct(t).then(()=>{Ut(t)}).finally(()=>{clearTimeout(e),Yt.set(!1)})}return Ut(t)},Ft.update=e=>Ut(e(Lt));const It=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Gt=(e,t)=>{var{formats:r}=xt;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Bt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Gt("number",r)),new Intl.NumberFormat(t,e)}),jt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Gt("date",r):0===Object.keys(e).length&&(e=Gt("date","short")),new Intl.DateTimeFormat(t,e)}),Wt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Gt("time",r):0===Object.keys(e).length&&(e=Gt("time","short")),new Intl.DateTimeFormat(t,e)}),Vt=It((e,t=Lt)=>new nt(e,t,xt.formats,{ignoreTag:xt.ignoreTag})),$t=b([Ft,lt],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=Lt,default:i}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let s=at(e,n);if(s){if("string"!=typeof s)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),s}else xt.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Rt(n).join('", "')}".${Ot(Lt)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),s=i||e;if(!r)return s;let a=s;try{a=Vt(s,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});b([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Lt}=e,e=Pt(e,["locale"]);return Wt(Object.assign({locale:t},e))})(t).format(e)),b([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Lt}=e,e=Pt(e,["locale"]);return jt(Object.assign({locale:t},e))})(t).format(e)),b([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Lt}=e,e=Pt(e,["locale"]);return Bt(Object.assign({locale:t},e))})(t).format(e)),b([Ft,lt],()=>(e,t=Lt)=>at(e,t));const Ht={en:{registerFormStep2:{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"}},tr:{registerFormStep2:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki"}},ro:{registerFormStep2:{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"}}};function zt(e,t,r){const n=e.slice();return n[47]=t[r],n}function Zt(e,t,r){const n=e.slice();return n[50]=t[r],n}function Xt(e,t,r){const n=e.slice();return n[53]=t[r],n}function qt(e,t,r){const n=e.slice();return n[56]=t[r],n}function Kt(e){let r,n,i=e[16]("registerFormStep2.registerFirstNameError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerFirstNameError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function Qt(e){let r,n,i=e[16]("registerFormStep2.registerLastNameError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerLastNameError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function Jt(e){let r,n,t=e[56]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[56],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function er(e){let r,n,t=e[53]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[53],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function tr(t){let i,s=t[19],a=[];for(let e=0;e<s.length;e+=1)a[e]=rr(Zt(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=wt("")},m(t,r){for(let e=0;e<a.length;e+=1)a[e].m(t,r);gt(t,i,r)},p(t,r){if(524288&r[0]){let e;for(s=t[19],e=0;e<s.length;e+=1){var n=Zt(t,s,e);a[e]?a[e].p(n,r):(a[e]=rr(n),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}},d(e){_t(a,e),e&&yt(i)}}}function rr(e){let r,n,t=e[50]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[50],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function nr(e){let r,n,i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65537&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function ir(e){let r,n,i=e[16]("registerFormStep2.registerBirthPlaceError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthPlaceError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function sr(e){let r,n,i,s=e[47]+"";return{c(){r=vt("option"),n=wt(s),r.__value=i=e[47],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){4096&t[0]&&s!==(s=e[47]+"")&&Tt(n,s),4096&t[0]&&i!==(i=e[47])&&(r.__value=i,r.value=r.__value)},d(e){e&&yt(r)}}}function ar(r){let n,i,s,a,o,l,u,c,h,d,f,m,p,g,y,_,v,w,b,S,E,T,D,M,k,O,N,C,P,x,Y,L,F,A,R,e,U,I,G,B,j,W,V,$,H,z,Z,X,q,K,Q,J,ee,te,re,ne,ie,se,ae,oe,le,ue,ce,he,de,fe,me,pe,ge,ye,_e,ve,we,be,Se,Ee,Te,De,Me,ke,Oe,Ne,Ce,Pe,xe,Ye,Le,Fe,Ae,Re,Ue,Ie,Ge,Be=r[16]("registerFormStep2.registerBackButton")+"",je=r[16]("registerFormStep2.registerUserTitle")+"",We=r[16]("registerFormStep2.registerUserTitleSelect")+"",Ve=r[16]("registerFormStep2.registerUserTitleSelectMr")+"",$e=r[16]("registerFormStep2.registerUserTitleSelectMrs")+"",He=r[16]("registerFormStep2.registerUserTitleSelectMs")+"",ze=r[16]("registerFormStep2.registerFirstName")+"",Ze=r[16]("registerFormStep2.registerLastName")+"",Xe=r[16]("registerFormStep2.registerDateOfBirth")+"",qe=r[16]("registerFormStep2.registerBirthDay")+"",Ke=r[16]("registerFormStep2.registerBirthMonth")+"",Qe=r[16]("registerFormStep2.registerBirthYear")+"",Je=r[16]("registerFormStep2.registerBirthPlace")+"",et=r[16]("registerFormStep2.registerCurrency")+"",tt=r[16]("registerFormStep2.registerNext")+"",rt=r[1]&&Kt(r),nt=r[2]&&Qt(r),it=r[17],st=[];for(let e=0;e<it.length;e+=1)st[e]=Jt(qt(r,it,e));let at=r[18],ot=[];for(let e=0;e<at.length;e+=1)ot[e]=er(Xt(r,at,e));let lt=!r[15]&&tr(r),ut=r[3]&&nr(r),ct=r[4]&&ir(r),ht=r[12],dt=[];for(let e=0;e<ht.length;e+=1)dt[e]=sr(zt(r,ht,e));return{c(){n=vt("div"),i=vt("button"),s=t("svg"),a=t("defs"),o=t("style"),l=wt(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=t("path"),c=bt(),h=wt(Be),d=bt(),f=vt("div"),m=vt("div"),p=vt("label"),g=wt(je),y=wt(":"),_=vt("span"),_.textContent="*",v=bt(),w=vt("select"),b=vt("option"),S=wt(We),E=vt("option"),T=wt(Ve),D=vt("option"),M=wt($e),k=vt("option"),O=wt(He),N=bt(),C=vt("div"),P=vt("label"),x=wt(ze),Y=wt(":"),L=vt("span"),L.textContent="*",F=bt(),A=vt("input"),R=bt(),rt&&rt.c(),I=bt(),G=vt("div"),B=vt("label"),j=wt(Ze),W=wt(":"),V=vt("span"),V.textContent="*",$=bt(),H=vt("input"),z=bt(),nt&&nt.c(),q=bt(),K=vt("div"),Q=vt("label"),J=wt(Xe),ee=wt(":"),te=vt("span"),te.textContent="*",re=bt(),ne=vt("div"),ie=vt("select"),se=vt("option"),ae=wt(qe);for(let e=0;e<st.length;e+=1)st[e].c();oe=bt(),le=vt("select"),ue=vt("option"),ce=wt(Ke);for(let e=0;e<ot.length;e+=1)ot[e].c();he=bt(),de=vt("select"),fe=vt("option"),me=wt(Qe),lt&<.c(),pe=bt(),ut&&ut.c(),ge=bt(),ye=vt("div"),_e=vt("label"),ve=wt(Je),we=wt(":"),be=vt("span"),be.textContent="*",Se=bt(),Ee=vt("input"),Te=bt(),ct&&ct.c(),ke=bt(),Oe=vt("div"),Ne=vt("label"),Ce=wt(et),Pe=wt(":"),xe=vt("span"),xe.textContent="*",Ye=bt(),Le=vt("select");for(let e=0;e<dt.length;e+=1)dt[e].c();Fe=bt(),Ae=vt("button"),Re=wt(tt),this.c=ft,Et(u,"class","a"),Et(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Et(u,"transform","translate(24 24) rotate(180)"),Et(s,"xmlns","http://www.w3.org/2000/svg"),Et(s,"viewBox","0 0 24 24"),Et(i,"class","BackButton"),Et(i,"part","BackButton"),Et(n,"class","RegisterFormHeader"),Et(n,"part","RegisterFormHeader"),Et(_,"class","FormRequired"),Et(_,"part","FormRequired"),Et(p,"for","Title"),b.__value="",b.value=b.__value,b.disabled=!0,b.selected=!0,E.__value="Mr.",E.value=E.__value,D.__value="Mrs.",D.value=D.__value,k.__value="Ms.",k.value=k.__value,Et(w,"id","Title"),void 0===r[5]&&kt(()=>r[29].call(w)),Et(m,"class","UserTitleContainer"),Et(m,"part","UserTitleContainer"),Et(L,"class","FormRequired"),Et(L,"part","FormRequired"),Et(P,"for","FirstName"),Et(A,"type","text"),Et(A,"id","FirstName"),Et(C,"class",e="FirstNameContainer "+(r[1]?"InvalidField":"")),Et(C,"part",U="FirstNameContainer "+(r[1]?"InvalidField":"")),Et(V,"class","FormRequired"),Et(V,"part","FormRequired"),Et(B,"for","LastName"),Et(H,"type","text"),Et(H,"id","LastName"),Et(G,"class",Z="LastNameContainer "+(r[2]?"InvalidField":"")),Et(G,"part",X="LastNameContainer "+(r[2]?"InvalidField":"")),Et(te,"class","FormRequired"),Et(te,"part","FormRequired"),se.__value="",se.value=se.__value,se.disabled=!0,se.selected=!0,Et(ie,"class","BirthDaySelected"),Et(ie,"part","BirthDaySelected"),void 0===r[8]&&kt(()=>r[32].call(ie)),ue.__value="",ue.value=ue.__value,ue.disabled=!0,ue.selected=!0,Et(le,"class","BirthMonthSelected"),Et(le,"part","BirthMonthSelected"),void 0===r[9]&&kt(()=>r[33].call(le)),fe.__value="",fe.value=fe.__value,fe.disabled=!0,fe.selected=!0,Et(de,"class","BirthYearSelected"),Et(de,"part","BirthYearSelected"),void 0===r[10]&&kt(()=>r[34].call(de)),Et(ne,"class","BirthDateOptions"),Et(ne,"part","BirthDateOptions"),Et(K,"class","BirthDateContainer"),Et(K,"part","BirthDateContainer"),Et(be,"class","FormRequired"),Et(be,"part","FormRequired"),Et(_e,"for","BirthPlace"),Et(Ee,"type","text"),Et(Ee,"id","BirthPlace"),Et(ye,"class",De="BirthPlaceContainer "+(r[4]?"InvalidField":"")),Et(ye,"part",Me="BirthPlaceContainer "+(r[4]?"InvalidField":"")),Et(xe,"class","FormRequired"),Et(xe,"part","FormRequired"),Et(Ne,"for","Currency"),Et(Le,"id","Currency"),void 0===r[13]&&kt(()=>r[36].call(Le)),Et(Oe,"class","CurrencyContainer"),Et(Oe,"part","CurrencyContainer"),Et(f,"class","RegisterFormContent"),Et(f,"part","RegisterFormContent"),Et(Ae,"class","RegisterStepNext"),Et(Ae,"part","RegisterStepNext"),Ae.disabled=Ue=!r[14]},m(e,t){gt(e,n,t),pt(n,i),pt(i,s),pt(s,a),pt(a,o),pt(o,l),pt(s,u),pt(i,c),pt(i,h),gt(e,d,t),gt(e,f,t),pt(f,m),pt(m,p),pt(p,g),pt(p,y),pt(p,_),pt(m,v),pt(m,w),pt(w,b),pt(b,S),pt(w,E),pt(E,T),pt(w,D),pt(D,M),pt(w,k),pt(k,O),Mt(w,r[5]),pt(f,N),pt(f,C),pt(C,P),pt(P,x),pt(P,Y),pt(P,L),pt(C,F),pt(C,A),Dt(A,r[6]),pt(C,R),rt&&rt.m(C,null),pt(f,I),pt(f,G),pt(G,B),pt(B,j),pt(B,W),pt(B,V),pt(G,$),pt(G,H),Dt(H,r[7]),pt(G,z),nt&&nt.m(G,null),pt(f,q),pt(f,K),pt(K,Q),pt(Q,J),pt(Q,ee),pt(Q,te),pt(K,re),pt(K,ne),pt(ne,ie),pt(ie,se),pt(se,ae);for(let e=0;e<st.length;e+=1)st[e].m(ie,null);Mt(ie,r[8]),pt(ne,oe),pt(ne,le),pt(le,ue),pt(ue,ce);for(let e=0;e<ot.length;e+=1)ot[e].m(le,null);Mt(le,r[9]),pt(ne,he),pt(ne,de),pt(de,fe),pt(fe,me),lt&<.m(de,null),Mt(de,r[10]),pt(ne,pe),ut&&ut.m(ne,null),pt(f,ge),pt(f,ye),pt(ye,_e),pt(_e,ve),pt(_e,we),pt(_e,be),pt(ye,Se),pt(ye,Ee),Dt(Ee,r[11]),pt(ye,Te),ct&&ct.m(ye,null),pt(f,ke),pt(f,Oe),pt(Oe,Ne),pt(Ne,Ce),pt(Ne,Pe),pt(Ne,xe),pt(Oe,Ye),pt(Oe,Le);for(let e=0;e<dt.length;e+=1)dt[e].m(Le,null);Mt(Le,r[13]),gt(e,Fe,t),gt(e,Ae,t),pt(Ae,Re),Ie||(Ge=[St(i,"click",r[26]),St(w,"change",r[29]),St(w,"change",r[21]),St(A,"input",r[30]),St(A,"blur",r[22]),St(H,"input",r[31]),St(H,"blur",r[23]),St(ie,"change",r[32]),St(ie,"change",r[20]),St(le,"change",r[33]),St(le,"change",r[20]),St(de,"change",r[34]),St(de,"change",r[20]),St(Ee,"input",r[35]),St(Ee,"keyup",r[24]),St(Le,"change",r[36]),St(Ae,"click",r[25])],Ie=!0)},p(t,r){if(65536&r[0]&&Be!==(Be=t[16]("registerFormStep2.registerBackButton")+"")&&Tt(h,Be),65536&r[0]&&je!==(je=t[16]("registerFormStep2.registerUserTitle")+"")&&Tt(g,je),65536&r[0]&&We!==(We=t[16]("registerFormStep2.registerUserTitleSelect")+"")&&Tt(S,We),65536&r[0]&&Ve!==(Ve=t[16]("registerFormStep2.registerUserTitleSelectMr")+"")&&Tt(T,Ve),65536&r[0]&&$e!==($e=t[16]("registerFormStep2.registerUserTitleSelectMrs")+"")&&Tt(M,$e),65536&r[0]&&He!==(He=t[16]("registerFormStep2.registerUserTitleSelectMs")+"")&&Tt(O,He),32&r[0]&&Mt(w,t[5]),65536&r[0]&&ze!==(ze=t[16]("registerFormStep2.registerFirstName")+"")&&Tt(x,ze),64&r[0]&&A.value!==t[6]&&Dt(A,t[6]),t[1]?rt?rt.p(t,r):(rt=Kt(t),rt.c(),rt.m(C,null)):rt&&(rt.d(1),rt=null),2&r[0]&&e!==(e="FirstNameContainer "+(t[1]?"InvalidField":""))&&Et(C,"class",e),2&r[0]&&U!==(U="FirstNameContainer "+(t[1]?"InvalidField":""))&&Et(C,"part",U),65536&r[0]&&Ze!==(Ze=t[16]("registerFormStep2.registerLastName")+"")&&Tt(j,Ze),128&r[0]&&H.value!==t[7]&&Dt(H,t[7]),t[2]?nt?nt.p(t,r):(nt=Qt(t),nt.c(),nt.m(G,null)):nt&&(nt.d(1),nt=null),4&r[0]&&Z!==(Z="LastNameContainer "+(t[2]?"InvalidField":""))&&Et(G,"class",Z),4&r[0]&&X!==(X="LastNameContainer "+(t[2]?"InvalidField":""))&&Et(G,"part",X),65536&r[0]&&Xe!==(Xe=t[16]("registerFormStep2.registerDateOfBirth")+"")&&Tt(J,Xe),65536&r[0]&&qe!==(qe=t[16]("registerFormStep2.registerBirthDay")+"")&&Tt(ae,qe),131072&r[0]){let e;for(it=t[17],e=0;e<it.length;e+=1){var n=qt(t,it,e);st[e]?st[e].p(n,r):(st[e]=Jt(n),st[e].c(),st[e].m(ie,null))}for(;e<st.length;e+=1)st[e].d(1);st.length=it.length}if(131328&r[0]&&Mt(ie,t[8]),65536&r[0]&&Ke!==(Ke=t[16]("registerFormStep2.registerBirthMonth")+"")&&Tt(ce,Ke),262144&r[0]){let e;for(at=t[18],e=0;e<at.length;e+=1){var i=Xt(t,at,e);ot[e]?ot[e].p(i,r):(ot[e]=er(i),ot[e].c(),ot[e].m(le,null))}for(;e<ot.length;e+=1)ot[e].d(1);ot.length=at.length}if(262656&r[0]&&Mt(le,t[9]),65536&r[0]&&Qe!==(Qe=t[16]("registerFormStep2.registerBirthYear")+"")&&Tt(me,Qe),t[15]?lt&&(lt.d(1),lt=null):lt?lt.p(t,r):(lt=tr(t),lt.c(),lt.m(de,null)),525312&r[0]&&Mt(de,t[10]),t[3]?ut?ut.p(t,r):(ut=nr(t),ut.c(),ut.m(ne,null)):ut&&(ut.d(1),ut=null),65536&r[0]&&Je!==(Je=t[16]("registerFormStep2.registerBirthPlace")+"")&&Tt(ve,Je),2048&r[0]&&Ee.value!==t[11]&&Dt(Ee,t[11]),t[4]?ct?ct.p(t,r):(ct=ir(t),ct.c(),ct.m(ye,null)):ct&&(ct.d(1),ct=null),16&r[0]&&De!==(De="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&Et(ye,"class",De),16&r[0]&&Me!==(Me="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&Et(ye,"part",Me),65536&r[0]&&et!==(et=t[16]("registerFormStep2.registerCurrency")+"")&&Tt(Ce,et),4096&r[0]){let e;for(ht=t[12],e=0;e<ht.length;e+=1){var s=zt(t,ht,e);dt[e]?dt[e].p(s,r):(dt[e]=sr(s),dt[e].c(),dt[e].m(Le,null))}for(;e<dt.length;e+=1)dt[e].d(1);dt.length=ht.length}12288&r[0]&&Mt(Le,t[13]),65536&r[0]&&tt!==(tt=t[16]("registerFormStep2.registerNext")+"")&&Tt(Re,tt),16384&r[0]&&Ue!==(Ue=!t[14])&&(Ae.disabled=Ue)},i:ft,o:ft,d(e){e&&yt(n),e&&yt(d),e&&yt(f),rt&&rt.d(),nt&&nt.d(),_t(st,e),_t(ot,e),lt&<.d(),ut&&ut.d(),ct&&ct.d(),_t(dt,e),e&&yt(Fe),e&&yt(Ae),Ie=!1,mt(Ge)}}}function or(t,e,r){let n;var i=$t;t.$$.on_destroy.push(Y(i,e=>r(16,n=e)));let s,a,o,l,u,c,h,{endpoint:d=""}=e,{lang:f=""}=e,{licenseyears:m=""}=e,p=!1,g=!1,y=!1,_=!1,v="",w="",b=[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],S=[1,2,3,4,5,6,7,8,9,10,11,12],E=[],T="",D=[],M="",k=new Date,O=!1,N=!0;Object.keys(Ht).forEach(e=>{ct(e,Ht[e])});const C=()=>{r(14,O=!(p||g||y||_)),!(v.length<=0||w.length<=0||T.length<=0)&&s&&a&&o&&l||r(14,O=!1)},P=e=>!!(e&&2<=e.length&&e.length<=50),x=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(5,s=e.data.userData.title),r(6,v=e.data.userData.firstname),r(7,w=e.data.userData.lastname),r(8,a=e.data.userData.birth.day),r(9,o=e.data.userData.birth.month),r(10,l=e.data.userData.birth.year),r(11,T=e.data.userData.birthPlace),r(13,M=e.data.userData.currency),C())};return e=()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}),function(){if(!F)throw new Error("Function called outside component initialization");return F}().$$.on_mount.push(e),t.$$set=e=>{"endpoint"in e&&r(27,d=e.endpoint),"lang"in e&&r(28,f=e.lang),"licenseyears"in e&&r(0,m=e.licenseyears)},t.$$.update=()=>{var e;134217728&t.$$.dirty[0]&&d&&fetch(`${d}/player/operatorSupportedCurrencies`).then(e=>e.json()).then(e=>{r(12,D=e.currencies),M||r(13,M=D[0])}),268435456&t.$$.dirty[0]&&f&&(e=f,Ft.set(e)),1&t.$$.dirty[0]&&m&&(()=>{c=parseInt(A(k.setDate(k.getDate())).subtract(parseInt(m,10),"y").format("YYYY")),u=parseInt(A(k.setDate(k.getDate())).subtract(100+parseInt(m,10),"y").format("YYYY"));for(let e=c;e>=u;e--)E.push(e);r(15,N=!1)})()},[m,p,g,y,_,s,v,w,a,o,l,T,D,M,O,N,n,b,S,E,()=>{l&&o&&a&&(h=A(k.setDate(k.getDate())).diff(A(`${l}-${o}-${a}`,"YYYY-MM-DD"),"years").toString(),r(3,y=h<m)),C()},C,()=>{r(1,p=!P(v)),C()},()=>{r(2,g=!P(w)),C()},()=>{r(4,_=!(T&&T.length<=120)),C()},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:w,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:M};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:w,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:M};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},d,f,function(){s=L(this),r(5,s)},function(){v=this.value,r(6,v)},function(){w=this.value,r(7,w)},function(){a=L(this),r(8,a),r(17,b)},function(){o=L(this),r(9,o),r(18,S)},function(){l=L(this),r(10,l),r(19,E)},function(){T=this.value,r(11,T)},function(){M=L(this),r(13,M),r(12,D)}]}class lr extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BackButton{display:inline-flex;color: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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.CurrencyContainer{color: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,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer 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}.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthPlaceContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid 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}</style>",o(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},or,ar,r,{endpoint:27,lang:28,licenseyears:0},[-1,-1]),e&&(e.target&>(e.target,this,e.anchor),e.props&&(this.$set(e.props),_()))}static get observedAttributes(){return["endpoint","lang","licenseyears"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$set({endpoint:e}),_()}get lang(){return this.$$.ctx[28]}set lang(e){this.$set({lang:e}),_()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$set({licenseyears:e}),_()}}return customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",lr),lr});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function ft(){}function h(e){return e()}function d(){return Object.create(null)}function mt(e){e.forEach(h)}function f(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function Y(e,...t){if(null==e)return ft;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function pt(e,t){e.appendChild(t)}function gt(e,t,r){e.insertBefore(t,r||null)}function yt(e){e.parentNode.removeChild(e)}function _t(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function vt(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function wt(e){return document.createTextNode(e)}function St(){return wt(" ")}function bt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Et(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Tt(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Dt(e,t){e.value=null==t?"":t}function Mt(t,r){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===r)return n.selected=!0,0}}function L(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}let F;function m(e){F=e}const p=[],e=[],n=[],i=[],g=Promise.resolve();let y=!1;function kt(e){n.push(e)}let s=!1;const a=new Set;function _(){if(!s){s=!0;do{for(let e=0;e<p.length;e+=1){var t=p[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),mt(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(kt))}}(t.$$)}for(m(null),p.length=0;e.length;)e.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];a.has(r)||(a.add(r),r())}}while(n.length=0,p.length);for(;i.length;)i.pop()();y=!1,s=!1,a.clear()}}const v=new Set;function o(n,e,t,r,i,s,a=[-1]){var o,l=F;m(n);const u=n.$$={fragment:null,ctx:null,props:s,update:ft,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let c=!1;if(u.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c&&(r=e,-1===(e=n).$$.dirty[0]&&(p.push(e),y||(y=!0,g.then(_)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],u.update(),c=!0,mt(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){const ft=(r=e.target,Array.from(r.childNodes));u.fragment&&u.fragment.l(ft),ft.forEach(yt)}else u.fragment&&u.fragment.c();e.intro&&(o=n.$$.fragment)&&o.i&&(v.delete(o),o.i(void 0)),function(t,e,r,n){const{fragment:i,on_mount:s,on_destroy:a,after_update:o}=t.$$;i&&i.m(e,r),n||kt(()=>{var e=s.map(h).filter(f);a?a.push(...e):mt(e),t.$$.on_mount=[]}),o.forEach(kt)}(n,e.target,e.anchor,e.customElement),_()}m(l)}let l;function Cr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){mt(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(mt(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=ft}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var u,Pr,A=(Pr=u={path:void 0,exports:{},require:function(e,t){return Cr(null==t&&u.path)}},u.exports,Pr.exports=function(){var e;function m(){return e.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function n(e,t){for(var r=[],n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){for(var r in t)f(t,r)&&(e[r]=t[r]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,n){return Ot(e,t,r,n,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function d(e){if(null==e._isValid){var t=p(e),r=y.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function g(e){var t=h(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},_=m.momentProperties=[],t=!1;function v(e,t){var r,n,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),0<_.length)for(r=0;r<_.length;r++)s(i=t[n=_[r]])||(e[n]=i);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function S(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function b(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function r(i,s){var a=!0;return c(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),a){for(var e,t,r=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];r.push(e)}b(i+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var E={};function T(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),E[e]||(b(t),E[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var r,n=c({},e);for(r in t)f(t,r)&&(o(e[r])&&o(t[r])?(n[r]={},c(n[r],e[r]),c(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)f(e,r)&&!f(t,r)&&o(e[r])&&(n[r]=c({},n[r]));return n}function k(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var N=Object.keys||function(e){var t,r=[];for(t in e)f(e,t)&&r.push(t);return r};function O(e,t,r){var n=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var C=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,x={},Y={};function L(e,t,r,n){var i="string"==typeof n?function(){return this[n]()}:n;e&&(Y[e]=i),t&&(Y[t[0]]=function(){return O(i.apply(this,arguments),t[1],t[2])}),r&&(Y[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=A(t,e.localeData()),x[t]=x[t]||function(n){for(var e,i=n.match(C),t=0,s=i.length;t<s;t++)Y[i[t]]?i[t]=Y[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<s;r++)t+=D(i[r])?i[r].call(e,n):i[r];return t}}(t),x[t](e)):e.localeData().invalidDate()}function A(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;0<=r&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,--r;return e}var R={};function U(e,t){var r=e.toLowerCase();R[r]=R[r+"s"]=R[t]=e}function I(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function B(e){var t,r,n={};for(r in e)f(e,r)&&(t=I(r))&&(n[t]=e[r]);return n}var G={};function j(e,t){G[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?V(t):e}function H(t,r){return function(e){return null!=e?(Z(this,t,e),m.updateOffset(this,r),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(r=$(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ne(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var X=/\d/,q=/\d\d/,K=/\d{3}/,Q=/\d{4}/,J=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,ie=/\d{1,4}/,se=/[+-]?\d{1,6}/,ae=/\d+/,oe=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[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;function he(e,r,n){me[e]=D(r)?r:function(e,t){return e&&n?n:r}}function de(e,t){return f(me,e)?me[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},pe={};function ge(e,r){var t,n=r;for("string"==typeof e&&(e=[e]),u(r)&&(n=function(e,t){t[r]=$(e)}),t=0;t<e.length;t++)pe[e[t]]=n}function ye(e,i){ge(e,function(e,t,r,n){r._w=r._w||{},i(e,r._w,r,n)})}var _e,ve=0,we=1,Se=2,be=3,Ee=4,Te=5,De=6,Me=7,ke=8;function Ne(e,t){if(isNaN(e)||isNaN(t))return NaN;var r,r=(t%(r=12)+r)%r;return e+=(t-r)/12,1==r?W(e)?29:28:31-r%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),L("MMMM",0,0,function(e){return this.localeData().months(this,e)}),U("month","M"),j("month",8),he("M",ee),he("MM",ee,q),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=$(e)-1}),ge(["MMM","MMMM"],function(e,t,r,n){n=r._locale.monthsParse(e,n,r._strict);null!=n?t[we]=n:p(r).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xe=ce,Ye=ce;function Le(e,t){var r;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=$(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return r=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Fe(e){return null!=e?(Le(this,e),m.updateOffset(this,!0),this):z(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,r=[],n=[],i=[],s=0;s<12;s++)t=h([2e3,s]),r.push(this.monthsShort(t,"")),n.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(r.sort(e),n.sort(e),i.sort(e),s=0;s<12;s++)r[s]=fe(r[s]),n[s]=fe(n[s]);for(s=0;s<24;s++)i[s]=fe(i[s]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Re(e){return W(e)?366:365}L("Y",0,0,function(){var e=this.year();return e<=9999?O(e,4):"+"+e}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),U("year","y"),j("year",1),he("Y",oe),he("YY",ee,q),he("YYYY",ie,Q),he("YYYYY",se,J),he("YYYYYY",se,J),ge(["YYYYY","YYYYYY"],ve),ge("YYYY",function(e,t){t[ve]=2===e.length?m.parseTwoDigitYear(e):$(e)}),ge("YY",function(e,t){t[ve]=m.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[ve]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return $(e)+(68<$(e)?1900:2e3)};var Ue=H("FullYear",!0);function Ie(e,t,r,n,i,s,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Be(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ge(e,t,r){r=7+t-r;return-(7+Be(e,0,r).getUTCDay()-t)%7+r-1}function je(e,t,r,n,i){var s,i=1+7*(t-1)+(7+r-n)%7+Ge(e,n,i),i=i<=0?Re(s=e-1)+i:i>Re(e)?(s=e+1,i-Re(e)):(s=e,i);return{year:s,dayOfYear:i}}function We(e,t,r){var n,i,s=Ge(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?n=s+Ve(i=e.year()-1,t,r):s>Ve(e.year(),t,r)?(n=s-Ve(e.year(),t,r),i=e.year()+1):(i=e.year(),n=s),{week:n,year:i}}function Ve(e,t,r){var n=Ge(e,t,r),r=Ge(e+1,t,r);return(Re(e)-n+r)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),j("week",5),j("isoWeek",5),he("w",ee),he("ww",ee,q),he("W",ee),he("WW",ee,q),ye(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=$(e)});function $e(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("d",0,"do","day"),L("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),L("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),L("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,r,n){n=r._locale.weekdaysParse(e,n,r._strict);null!=n?t.d=n:p(r).invalidWeekday=e}),ye(["d","e","E"],function(e,t,r,n){t[n]=$(e)});var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,qe=ce,Ke=ce;function Qe(){function e(e,t){return t.length-e.length}for(var t,r,n,i=[],s=[],a=[],o=[],l=0;l<7;l++)n=h([2e3,1]).day(l),t=fe(this.weekdaysMin(n,"")),r=fe(this.weekdaysShort(n,"")),n=fe(this.weekdays(n,"")),i.push(t),s.push(r),a.push(n),o.push(t),o.push(r),o.push(n);i.sort(e),s.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Je(){return this.hours()%12||12}function et(e,t){L(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Je),L("k",["kk",2],0,function(){return this.hours()||24}),L("hmm",0,0,function(){return""+Je.apply(this)+O(this.minutes(),2)}),L("hmmss",0,0,function(){return""+Je.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)}),L("Hmm",0,0,function(){return""+this.hours()+O(this.minutes(),2)}),L("Hmmss",0,0,function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)}),et("a",!0),et("A",!1),U("hour","h"),j("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,q),he("hh",ee,q),he("kk",ee,q),he("hmm",te),he("hmmss",re),he("Hmm",te),he("Hmmss",re),ge(["H","HH"],be),ge(["k","kk"],function(e,t,r){e=$(e);t[be]=24===e?0:e}),ge(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),ge(["h","hh"],function(e,t,r){t[be]=$(e),p(r).bigHour=!0}),ge("hmm",function(e,t,r){var n=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n)),p(r).bigHour=!0}),ge("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n,2)),t[Te]=$(e.substr(i)),p(r).bigHour=!0}),ge("Hmm",function(e,t,r){var n=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n))}),ge("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n,2)),t[Te]=$(e.substr(i))});var rt=H("Hours",!0);var nt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:Ce,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},st={},at={};function ot(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,r,n,i,s=0;s<e.length;){for(t=(i=ot(e[s]).split("-")).length,r=(r=ot(e[s+1]))?r.split("-"):null;0<t;){if(n=ut(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}(i,r)>=t-1)break;t--}s++}return nt}function ut(t){var e;if(void 0===st[t]&&Pr&&Pr.exports)try{e=nt._abbr,Cr(),ct(e)}catch(e){st[t]=null}return st[t]}function ct(e,t){return e&&((t=s(t)?dt(e):ht(e,t))?nt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function ht(e,t){if(null===t)return delete st[e],null;var r,n=it;if(t.abbr=e,null!=st[e])T("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."),n=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])n=st[t.parentLocale]._config;else{if(null==(r=ut(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;n=r._config}return st[e]=new k(M(n,t)),at[e]&&at[e].forEach(function(e){ht(e.name,e.config)}),ct(e),st[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return nt;if(!a(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[we]<0||11<t[we]?we:t[Se]<1||t[Se]>Ne(t[ve],t[we])?Se:t[be]<0||24<t[be]||24===t[be]&&(0!==t[Ee]||0!==t[Te]||0!==t[De])?be:t[Ee]<0||59<t[Ee]?Ee:t[Te]<0||59<t[Te]?Te:t[De]<0||999<t[De]?De:-1,p(e)._overflowDayOfYear&&(t<ve||Se<t)&&(t=Se),p(e)._overflowWeeks&&-1===t&&(t=Me),p(e)._overflowWeekday&&-1===t&&(t=ke),p(e).overflow=t),e}var mt=/^\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)?)?$/,pt=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],vt=/^\/?Date\((-?\d+)/i,wt=/^(?:(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}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,r,n,i,s,a,o=e._i,l=mt.exec(o)||pt.exec(o);if(l){for(p(e).iso=!0,t=0,r=yt.length;t<r;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],n=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,r=_t.length;t<r;t++)if(_t[t][1].exec(l[3])){s=(l[2]||" ")+_t[t][0];break}if(null==s)return e._isValid=!1}if(!n&&null!=s)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=i+(s||"")+(a||""),kt(e)}else e._isValid=!1}function Et(e,t,r,n,i,s){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ce.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&i.push(parseInt(s,10)),i}function Tt(e){var t,r,n,i,s=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=Et(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],n=t,i=e,r&&ze.indexOf(r)!==new Date(n[0],n[1],n[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=s[8],t=s[9],s=s[10],i?St[i]:t?0:((t=parseInt(s,10))-(s=t%100))/100*60+s),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Dt(e,t,r){return null!=e?e:null!=t?t:r}function Mt(e){var t,r,n,i,s,a,o,l,u,c,h,d,f=[];if(!e._d){for(h=e,d=new Date(m.now()),r=h._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[Se]&&null==e._a[we]&&(null!=(h=(i=e)._w).GG||null!=h.W||null!=h.E?(l=1,u=4,s=Dt(h.GG,i._a[ve],We(Ct(),1,4).year),a=Dt(h.W,1),((o=Dt(h.E,1))<1||7<o)&&(c=!0)):(l=i._locale._week.dow,u=i._locale._week.doy,d=We(Ct(),l,u),s=Dt(h.gg,i._a[ve],d.year),a=Dt(h.w,d.week),null!=h.d?((o=h.d)<0||6<o)&&(c=!0):null!=h.e?(o=h.e+l,(h.e<0||6<h.e)&&(c=!0)):o=l),a<1||a>Ve(s,l,u)?p(i)._overflowWeeks=!0:null!=c?p(i)._overflowWeekday=!0:(u=je(s,a,o,l,u),i._a[ve]=u.year,i._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Dt(e._a[ve],r[ve]),(e._dayOfYear>Re(n)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Be(n,0,e._dayOfYear),e._a[we]=n.getUTCMonth(),e._a[Se]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=r[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[be]&&0===e._a[Ee]&&0===e._a[Te]&&0===e._a[De]&&(e._nextDay=!0,e._a[be]=0),e._d=(e._useUTC?Be:Ie).apply(null,f),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[be]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,r,n=""+e._i,i=n.length,s=0,a=A(e._f,e._locale).match(C)||[],o=0;o<a.length;o++)r=a[o],(t=(n.match(de(r,e))||[])[0])&&(0<(h=n.substr(0,n.indexOf(t))).length&&p(e).unusedInput.push(h),n=n.slice(n.indexOf(t)+t.length),s+=t.length),Y[r]?(t?p(e).empty=!1:p(e).unusedTokens.push(r),c=r,d=e,null!=(h=t)&&f(pe,c)&&pe[c](h,d._a,d,c)):e._strict&&!t&&p(e).unusedTokens.push(r);p(e).charsLeftOver=i-s,0<n.length&&p(e).unusedInput.push(n),e._a[be]<=12&&!0===p(e).bigHour&&0<e._a[be]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[be]=(l=e._locale,u=e._a[be],null==(i=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,i):null!=l.isPM?((i=l.isPM(i))&&u<12&&(u+=12),u=i||12!==u?u:0):u),null!==(u=p(e).era)&&(e._a[ve]=e._locale.erasConvertYear(u,e._a[ve])),Mt(e),ft(e)}else Tt(e);else bt(e);var l,u,c,h,d}function Nt(e){var t=e._i,r=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===r&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new w(ft(t)):(i(t)?e._d=t:a(r)?function(e){var t,r,n,i,s,a,o=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)s=0,a=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),d(t)&&(a=!0),s+=p(t).charsLeftOver,s+=10*p(t).unusedTokens.length,p(t).score=s,o?s<n&&(n=s,r=t):(null==n||s<n||a)&&(n=s,r=t,a&&(o=!0));c(e,r||t)}(e):r?kt(e):s(r=(t=e)._i)?t._d=new Date(m.now()):i(r)?t._d=new Date(r.valueOf()):"string"==typeof r?function(e){var t=vt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):a(r)?(t._a=n(r.slice(0),function(e){return parseInt(e,10)}),Mt(t)):o(r)?function(e){var t,r;e._d||(r=void 0===(t=B(e._i)).day?t.date:t.day,e._a=n([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):u(r)?t._d=new Date(r):m.createFromInputFallback(t),d(e)||(e._d=null),e))}function Ot(e,t,r,n,i){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,(s=new w(ft(Nt(s=s))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ct(e,t,r,n){return Ot(e,t,r,n,!1)}m.createFromInputFallback=r("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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var Pt=r("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),xt=r("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Yt(e,t){var r,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return Ct();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var t=B(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,r,n=!1;for(t in e)if(f(e,t)&&(-1===_e.call(Lt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<Lt.length;++r)if(e[Lt[r]]){if(n)return!1;parseFloat(e[Lt[r]])!==$(e[Lt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*o*60*60,this._days=+a+7*s,this._months=+i+3*n+12*r,this._data={},this._locale=dt(),this._bubble()}function At(e){return e instanceof Ft}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ut(e,r){L(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+O(~~(e/60),2)+r+O(~~e%60,2)})}Ut("Z",":"),Ut("ZZ",""),he("Z",ue),he("ZZ",ue),ge(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Bt(ue,e)});var It=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(It)||["-",0,0])[1]+$(e[2]))?0:"+"===e[0]?t:-t}function Gt(e,t){var r;return t._isUTC?(r=t.clone(),t=(S(e)||i(e)?e:Ct(e)).valueOf()-r.valueOf(),r._d.setTime(r._d.valueOf()+t),m.updateOffset(r,!1),r):Ct(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$t=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var r,n,i=e,s=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Vt.exec(e))?(r="-"===s[1]?-1:1,i={y:0,d:$(s[Se])*r,h:$(s[be])*r,m:$(s[Ee])*r,s:$(s[Te])*r,ms:$(Rt(1e3*s[De]))*r}):(s=$t.exec(e))?(r="-"===s[1]?-1:1,i={y:zt(s[2],r),M:zt(s[3],r),w:zt(s[4],r),d:zt(s[5],r),h:zt(s[6],r),m:zt(s[7],r),s:zt(s[8],r)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(s=Ct(i.from),r=Ct(i.to),n=s.isValid()&&r.isValid()?(r=Gt(r,s),s.isBefore(r)?n=Zt(s,r):((n=Zt(r,s)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),i=new Ft(i),At(e)&&f(e,"_locale")&&(i._locale=e._locale),At(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Xt(n,i){return function(e,t){var r;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),qt(this,Ht(e,t),n),this}}function qt(e,t,r,n){var i=t._milliseconds,s=Rt(t._days),t=Rt(t._months);e.isValid()&&(n=null==n||n,t&&Le(e,z(e,"Month")+t*r),s&&Z(e,"Date",z(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&m.updateOffset(e,s||t))}Ht.fn=Ft.prototype,Ht.invalid=function(){return Ht(NaN)};var Kt=Xt(1,"add"),ce=Xt(-1,"subtract");function Qt(e){return"string"==typeof e||e instanceof String}function Jt(e){return S(e)||i(e)||Qt(e)||u(e)||(r=a(t=e),n=!1,r&&(n=0===t.filter(function(e){return!u(e)&&Qt(t)}).length),r&&n)||function(e){var t,r,n=o(e)&&!l(e),i=!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"];for(t=0;t<s.length;t+=1)r=s[t],i=i||f(e,r);return n&&i}(e)||null==e;var t,r,n}function er(e,t){if(e.date()<t.date())return-er(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(1+r,"months")-n)))||0}function tr(e){return void 0===e?this._locale._abbr:(null!=(e=dt(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=r("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function rr(){return this._locale}var nr=126227808e5;function ir(e,t){return(e%t+t)%t}function sr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-nr:new Date(e,t,r).valueOf()}function ar(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-nr:Date.UTC(e,t,r)}function or(e,t){return t.erasAbbrRegex(e)}function lr(){for(var e=[],t=[],r=[],n=[],i=this.eras(),s=0,a=i.length;s<a;++s)t.push(fe(i[s].name)),e.push(fe(i[s].abbr)),r.push(fe(i[s].narrow)),n.push(fe(i[s].name)),n.push(fe(i[s].abbr)),n.push(fe(i[s].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ur(e,t){L(0,[e,e.length],0,t)}function cr(e,t,r,n,i){var s;return null==e?We(this,n,i).year:(t>(s=Ve(e,n,i))&&(t=s),function(e,t,r,n,i){i=je(e,t,r,n,i),i=Be(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,r,n,i))}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),he("N",or),he("NN",or),he("NNN",or),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){n=r._locale.erasParse(e,n,r._strict);n?p(r).era=n:p(r).invalidEra=e}),he("y",ae),he("yy",ae),he("yyy",ae),he("yyyy",ae),he("yo",function(e,t){return t._eraYearOrdinalRegex||ae}),ge(["y","yy","yyy","yyyy"],ve),ge(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ve]=r._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ur("gggg","weekYear"),ur("ggggg","weekYear"),ur("GGGG","isoWeekYear"),ur("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),he("G",oe),he("g",oe),he("GG",ee,q),he("gg",ee,q),he("GGGG",ie,Q),he("gggg",ie,Q),he("GGGGG",se,J),he("ggggg",se,J),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=$(e)}),ye(["gg","GG"],function(e,t,r,n){t[n]=m.parseTwoDigitYear(e)}),L("Q",0,"Qo","quarter"),U("quarter","Q"),j("quarter",7),he("Q",X),ge("Q",function(e,t){t[we]=3*($(e)-1)}),L("D",["DD",2],"Do","date"),U("date","D"),j("date",9),he("D",ee),he("DD",ee,q),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],Se),ge("Do",function(e,t){t[Se]=$(e.match(ee)[0])});re=H("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),j("dayOfYear",4),he("DDD",ne),he("DDDD",K),ge(["DDD","DDDD"],function(e,t,r){r._dayOfYear=$(e)}),L("m",["mm",2],0,"minute"),U("minute","m"),j("minute",14),he("m",ee),he("mm",ee,q),ge(["m","mm"],Ee);Oe=H("Minutes",!1);L("s",["ss",2],0,"second"),U("second","s"),j("second",15),he("s",ee),he("ss",ee,q),ge(["s","ss"],Te);var hr,He=H("Seconds",!1);for(L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),U("millisecond","ms"),j("millisecond",16),he("S",ne,X),he("SS",ne,q),he("SSS",ne,K),hr="SSSS";hr.length<=9;hr+="S")he(hr,ae);function dr(e,t){t[De]=$(1e3*("0."+e))}for(hr="S";hr.length<=9;hr+="S")ge(hr,dr);Ze=H("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");ie=w.prototype;function fr(e){return e}ie.add=Kt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=o(e)&&!l(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<n.length;i+=1)r=r||f(e,n[i]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var r=e||Ct(),e=Gt(r,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(D(t[e])?t[e].call(this,r):t[e]);return this.format(t||this.localeData().calendar(e,this,Ct(r)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=Gt(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=I(t)){case"year":s=er(this,n)/12;break;case"month":s=er(this,n);break;case"quarter":s=er(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:V(s)},ie.endOf=function(e){var t,r;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ar:sr,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+=36e5-ir(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ir(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ir(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=F(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Ct(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Ct(),e)},ie.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Ct(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Ct(),e)},ie.get=function(e){return D(this[e=I(e)])?this[e]():this},ie.invalidAt=function(){return p(this).overflow},ie.isAfter=function(e,t){return e=S(e)?e:Ct(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=S(e)?e:Ct(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,r,n){return e=S(e)?e:Ct(e),t=S(t)?t:Ct(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===n[1]?this.isBefore(t,r):!this.isAfter(t,r))},ie.isSame=function(e,t){var e=S(e)?e:Ct(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return d(this)},ie.lang=te,ie.locale=tr,ie.localeData=rr,ie.max=xt,ie.min=Pt,ie.parsingFlags=function(){return c({},p(this))},ie.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)f(e,t)&&r.push({unit:t,priority:G[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=B(e)),n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit]);else if(D(this[e=I(e)]))return this[e](t);return this},ie.startOf=function(e){var t,r;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ar:sr,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-=ir(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ir(t,6e4);break;case"second":t=this._d.valueOf(),t-=ir(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ce,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){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()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?F(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(e,"Z")):F(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",r="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},ie.eraYear=function(){for(var e,t,r=this.localeData().eras(),n=0,i=r.length;n<i;++n)if(e=r[n].since<=r[n].until?1:-1,t=this.clone().startOf("day").valueOf(),r[n].since<=t&&t<=r[n].until||r[n].until<=t&&t<=r[n].since)return(this.year()-m(r[n].since).year())*e+r[n].offset;return this.year()},ie.year=Ue,ie.isLeapYear=function(){return W(this.year())},ie.weekYear=function(e){return cr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return cr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Fe,ie.daysInMonth=function(){return Ne(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=We(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return Ve(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return Ve(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return Ve(this.isoWeekYear(),1,4)},ie.date=re,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=rt,ie.minute=ie.minutes=Oe,ie.second=ie.seconds=He,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,r){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Bt(ue,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=jt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?qt(this,Ht(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Wt,ie.isUTC=Wt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=r("dates accessor is deprecated. Use date instead.",re),ie.months=r("months accessor is deprecated. Use month instead",Fe),ie.years=r("years accessor is deprecated. Use year instead",Ue),ie.zone=r("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=r("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Nt(t))._a?(e=(t._isUTC?h:Ct)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a=0;a<n;a++)(r&&e[a]!==t[a]||!r&&$(e[a])!==$(t[a]))&&s++;return s+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});Q=k.prototype;function mr(e,t,r,n){var i=dt(),t=h().set(n,t);return i[r](t,e)}function pr(e,t,r){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return mr(e,t,r,"month");for(var n=[],i=0;i<12;i++)n[i]=mr(e,i,r,"month");return n}function gr(e,t,r,n){t=("boolean"==typeof e||(r=t=e,e=!1),u(t)&&(r=t,t=void 0),t||"");var i,s=dt(),a=e?s._week.dow:0,o=[];if(null!=r)return mr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)o[i]=mr(t,(i+a)%7,n,"day");return o}Q.calendar=function(e,t,r){return D(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},Q.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(C).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Q.invalidDate=function(){return this._invalidDate},Q.ordinal=function(e){return this._ordinal.replace("%d",e)},Q.preparse=fr,Q.postformat=fr,Q.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return D(i)?i(e,t,r,n):i.replace(/%d/i,e)},Q.pastFuture=function(e,t){return D(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},Q.set=function(e){var t,r;for(r in e)f(e,r)&&(D(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Q.eras=function(e,t){for(var r,n=this._eras||dt("en")._eras,i=0,s=n.length;i<s;++i)switch("string"==typeof n[i].since&&(r=m(n[i].since).startOf("day"),n[i].since=r.valueOf()),typeof n[i].until){case"undefined":n[i].until=1/0;break;case"string":r=m(n[i].until).startOf("day").valueOf(),n[i].until=r.valueOf()}return n},Q.erasParse=function(e,t,r){var n,i,s,a,o,l=this.eras();for(e=e.toUpperCase(),n=0,i=l.length;n<i;++n)if(s=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(s===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if(0<=[s,a,o].indexOf(e))return l[n]},Q.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},Q.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||lr.call(this),e?this._erasAbbrRegex:this._erasRegex},Q.erasNameRegex=function(e){return f(this,"_erasNameRegex")||lr.call(this),e?this._erasNameRegex:this._erasRegex},Q.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||lr.call(this),e?this._erasNarrowRegex:this._erasRegex},Q.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},Q.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Pe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Q.monthsParse=function(e,t,r){var n,i;if(this._monthsParseExact)return function(e,t,r){var n,i,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))||-1!==(i=_e.call(this._longMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))||-1!==(i=_e.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=h([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},Q.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ye),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Q.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Q.week=function(e){return We(e,this._week.dow,this._week.doy).week},Q.firstDayOfYear=function(){return this._week.doy},Q.firstDayOfWeek=function(){return this._week.dow},Q.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?$e(t,this._week.dow):e?t[e.day()]:t},Q.weekdaysMin=function(e){return!0===e?$e(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Q.weekdaysShort=function(e){return!0===e?$e(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Q.weekdaysParse=function(e,t,r){var n,i;if(this._weekdaysParseExact)return function(e,t,r){var n,i,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=h([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},Q.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Q.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Q.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Q.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Q.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===$(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=r("moment.lang is deprecated. Use moment.locale instead.",ct),m.langData=r("moment.langData is deprecated. Use moment.localeData instead.",dt);var yr=Math.abs;function _r(e,t,r,n){r=Ht(t,r);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function vr(e){return e<0?Math.floor(e):Math.ceil(e)}function wr(e){return 4800*e/146097}function Sr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}se=br("ms"),J=br("s"),X=br("m"),q=br("h"),ne=br("d"),K=br("w"),Kt=br("M"),xt=br("Q"),Pt=br("y");function Er(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Er("milliseconds"),rt=Er("seconds"),Oe=Er("minutes"),He=Er("hours"),Ze=Er("days"),re=Er("months"),Ue=Er("years");var Tr=Math.round,Dr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mr(e,t,r,n){var i=Ht(e).abs(),s=Tr(i.as("s")),a=Tr(i.as("m")),o=Tr(i.as("h")),l=Tr(i.as("d")),u=Tr(i.as("M")),c=Tr(i.as("w")),i=Tr(i.as("y")),l=(s<=r.ss?["s",s]:s<r.s&&["ss",s])||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return(l=(l=null!=r.w?l||c<=1&&["w"]||c<r.w&&["ww",c]:l)||u<=1&&["M"]||u<r.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=n,function(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}.apply(null,l)}var kr=Math.abs;function Nr(e){return(0<e)-(e<0)||+e}function Or(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,s,a,o=kr(this._milliseconds)/1e3,l=kr(this._days),u=kr(this._months),c=this.asSeconds();return c?(e=V(o/60),t=V(e/60),o%=60,e%=60,r=V(u/12),u%=12,n=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Nr(this._months)!==Nr(c)?"-":"",s=Nr(this._days)!==Nr(c)?"-":"",a=Nr(this._milliseconds)!==Nr(c)?"-":"",(c<0?"-":"")+"P"+(r?i+r+"Y":"")+(u?i+u+"M":"")+(l?s+l+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+n+"S":"")):"P0D"}Q=Ft.prototype;return Q.isValid=function(){return this._isValid},Q.abs=function(){var e=this._data;return this._milliseconds=yr(this._milliseconds),this._days=yr(this._days),this._months=yr(this._months),e.milliseconds=yr(e.milliseconds),e.seconds=yr(e.seconds),e.minutes=yr(e.minutes),e.hours=yr(e.hours),e.months=yr(e.months),e.years=yr(e.years),this},Q.add=function(e,t){return _r(this,e,t,1)},Q.subtract=function(e,t){return _r(this,e,t,-1)},Q.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+wr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Sr(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Q.asMilliseconds=se,Q.asSeconds=J,Q.asMinutes=X,Q.asHours=q,Q.asDays=ne,Q.asWeeks=K,Q.asMonths=Kt,Q.asQuarters=xt,Q.asYears=Pt,Q.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},Q._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*vr(Sr(r)+t),r=t=0),n.milliseconds=e%1e3,e=V(e/1e3),n.seconds=e%60,e=V(e/60),n.minutes=e%60,e=V(e/60),n.hours=e%24,t+=V(e/24),r+=e=V(wr(t)),t-=vr(Sr(e)),e=V(r/12),r%=12,n.days=t,n.months=r,n.years=e,this},Q.clone=function(){return Ht(this)},Q.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},Q.milliseconds=ce,Q.seconds=rt,Q.minutes=Oe,Q.hours=He,Q.days=Ze,Q.weeks=function(){return V(this.days()/7)},Q.months=re,Q.years=Ue,Q.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Dr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(n=Object.assign({},Dr,t),null!=t.s&&null==t.ss&&(n.ss=t.s-1)),n=Mr(this,!r,n,t=this.localeData()),r&&(n=t.pastFuture(+this,n)),t.postformat(n)},Q.toISOString=Or,Q.toString=Or,Q.toJSON=Or,Q.locale=tr,Q.localeData=rr,Q.toIsoString=r("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Or),Q.lang=te,L("X",0,0,"unix"),L("x",0,0,"valueOf"),he("x",oe),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,r){r._d=new Date($(e))}),m.version="2.29.1",e=Ct,m.fn=ie,m.min=function(){return Yt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Yt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return Ct(1e3*e)},m.months=function(e,t){return pr(e,t,"months")},m.isDate=i,m.locale=ct,m.invalid=g,m.duration=Ht,m.isMoment=S,m.weekdays=function(e,t,r){return gr(e,t,r,"weekdays")},m.parseZone=function(){return Ct.apply(null,arguments).parseZone()},m.localeData=dt,m.isDuration=At,m.monthsShort=function(e,t){return pr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return gr(e,t,r,"weekdaysMin")},m.defineLocale=ht,m.updateLocale=function(e,t){var r,n;return null!=t?(n=it,null!=st[e]&&null!=st[e].parentLocale?st[e].set(M(st[e]._config,t)):(t=M(n=null!=(r=ut(e))?r._config:n,t),null==r&&(t.abbr=e),(t=new k(t)).parentLocale=st[e],st[e]=t),ct(e)):null!=st[e]&&(null!=st[e].parentLocale?(st[e]=st[e].parentLocale,e===ct()&&ct(e)):null!=st[e]&&delete st[e]),st[e]},m.locales=function(){return N(st)},m.weekdaysShort=function(e,t,r){return gr(e,t,r,"weekdaysShort")},m.normalizeUnits=I,m.relativeTimeRounding=function(e){return void 0===e?Tr:"function"==typeof e&&(Tr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Dr[e]&&(void 0===t?Dr[e]:(Dr[e]=t,"s"===e&&(Dr.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,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"},m}(),u.exports);const c=[];function w(n,i=ft){let s;const a=[];function o(e){if(r(n,e)&&(n=e,s)){const e=!c.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),c.push(t,n)}if(e){for(let e=0;e<c.length;e+=2)c[e][0](c[e+1]);c.length=0}}}return{set:o,update:function(e){o(e(n))},subscribe:function(e,t=ft){const r=[e,t];return a.push(r),1===a.length&&(s=i(o)||ft),e(n),()=>{var e=a.indexOf(r);-1!==e&&a.splice(e,1),0===a.length&&(s(),s=null)}}}}function S(e,o,t){const l=!Array.isArray(e),u=l?[e]:e,c=o.length<2;return{subscribe:w(t,t=>{let r=!1;const n=[];let i=0,s=ft;const a=()=>{var e;i||(s(),e=o(l?n[0]:n,t),c?t(e):s=f(e)?e:ft)},e=u.map((e,t)=>Y(e,e=>{n[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){mt(e),s()}}).subscribe}}var b=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===E));var t},E="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function T(e,t){return!1!==t.clone&&t.isMergeableObject(e)?O(Array.isArray(e)?[]:{},e,t):e}function D(e,t,r){return e.concat(t).map(function(e){return T(e,r)})}function M(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function k(e,t){try{return t in e}catch(e){return!1}}function N(n,i,s){var a={};return s.isMergeableObject(n)&&M(n).forEach(function(e){a[e]=T(n[e],s)}),M(i).forEach(function(t){var e,r;(!k(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(k(n,t)&&s.isMergeableObject(i[t])?a[t]=function(){if(!s.customMerge)return O;var e=s.customMerge(t);return"function"==typeof e?e:O}()(n[t],i[t],s):a[t]=T(i[t],s))}),a}function O(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||D,r.isMergeableObject=r.isMergeableObject||b,r.cloneUnlessOtherwiseSpecified=T;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):N(e,t,r):T(t,r)}O.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return O(e,t,r)},{})};var C=O,P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var R,U,I,B=function(){return(B=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function G(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e}function j(e){return e.type===U.literal}function W(e){return e.type===U.number}function V(e){return e.type===U.date}function $(e){return e.type===U.time}function H(e){return e.type===U.select}function z(e){return e.type===U.plural}function Z(e){return e.type===U.tag}function X(e){return e&&"object"==typeof e&&e.type===I.number}function q(e){return e&&"object"==typeof e&&e.type===I.dateTime}(pe=R=R||{})[pe.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",pe[pe.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",pe[pe.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",pe[pe.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",pe[pe.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",pe[pe.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",pe[pe.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",pe[pe.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",pe[pe.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",pe[pe.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",pe[pe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",pe[pe.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",pe[pe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",pe[pe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",pe[pe.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",pe[pe.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",pe[pe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",pe[pe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",pe[pe.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",pe[pe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",pe[pe.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",pe[pe.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",pe[pe.INVALID_TAG=23]="INVALID_TAG",pe[pe.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",pe[pe.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",pe[pe.UNCLOSED_TAG=27]="UNCLOSED_TAG",(ge=U=U||{})[ge.literal=0]="literal",ge[ge.argument=1]="argument",ge[ge.number=2]="number",ge[ge.date=3]="date",ge[ge.time=4]="time",ge[ge.select=5]="select",ge[ge.plural=6]="plural",ge[ge.pound=7]="pound",ge[ge.tag=8]="tag",(ye=I=I||{})[ye.number=0]="number",ye[ye.dateTime=1]="dateTime";var K=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Q=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var J,ee=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,te=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,re=/^(@+)?(\+|#+)?$/g,ne=/(\*)(0+)|(#+)(0+)|(0+)/g,ie=/^(0+)$/;function se(e){var n={};return e.replace(re,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function ae(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function oe(e){return ae(e)||{}}function le(e){for(var a={},t=0,r=e;t<r.length;t++){var n,i=r[t];switch(i.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=i.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=B(B(B({},a),{notation:"scientific"}),i.options.reduce(function(e,t){return B(B({},e),oe(t))},{}));continue;case"engineering":a=B(B(B({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return B(B({},e),oe(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(ne,function(e,t,r,n,i,s){if(t)a.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ie.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(te.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(te,function(e,t,r,n,i,s){return"*"===r?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:i&&s?(a.minimumFractionDigits=i.length,a.maximumFractionDigits=i.length+s.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),i.options.length&&(a=B(B({},a),se(i.options[0])))}else re.test(i.stem)?a=B(B({},a),se(i.stem)):((n=ae(i.stem))&&(a=B(B({},a),n)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!ie.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(a=B(B({},a),n)))}return a}var ue=new RegExp("^"+K.source+"*"),ce=new RegExp(K.source+"*$");function he(e,t){return{start:e,end:t}}var de=!!String.prototype.startsWith,fe=!!String.fromCodePoint,me=!!Object.fromEntries,pe=!!String.prototype.codePointAt,ge=!!String.prototype.trimStart,ye=!!String.prototype.trimEnd,_e=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},K=!0;try{K="a"===(null===(J=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===J?void 0:J[0])}catch(ft){K=!1}var ve,we,Se=de?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},be=fe?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,s=0;s<i;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ee=me?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],s=i[0],i=i[1];t[s]=i}return t},Te=pe?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,i=e.charCodeAt(t);return i<55296||56319<i||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?i:n-56320+(i-55296<<10)+65536}},De=ge?function(e){return e.trimStart()}:function(e){return e.replace(ue,"")},Me=ye?function(e){return e.trimEnd()}:function(e){return e.replace(ce,"")};function ke(e,t){return new RegExp(e,t)}we=K?(ve=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return ve.lastIndex=t,null!==(e=ve.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var i=Te(e,t);if(void 0===i||Pe(i)||(33<=(r=i)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(i),t+=65536<=i?2:1}return be.apply(void 0,n)};var Ne=(Oe.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Oe.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i,s=this.char();if(123===s){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(R.UNMATCHED_CLOSING_TAG,he(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&Ce(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{s=this.clonePosition();this.bump(),n.push({type:U.pound,location:he(s,this.clonePosition())})}}}return{val:n,err:null}},Oe.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<"+n+"/>",location:he(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ce(this.char()))return this.error(R.INVALID_TAG,he(t,this.clonePosition()));i=this.clonePosition();return n!==this.parseTagName()?this.error(R.UNMATCHED_CLOSING_TAG,he(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:n,children:e,location:he(r,this.clonePosition())},err:null}:this.error(R.INVALID_TAG,he(t,this.clonePosition())))}return this.error(R.UNCLOSED_TAG,he(r,this.clonePosition()))}return this.error(R.INVALID_TAG,he(r,this.clonePosition()))},Oe.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},Oe.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=he(r,this.clonePosition());return{val:{type:U.literal,value:n,location:r},err:null}},Oe.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ce(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Oe.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return be.apply(void 0,t)},Oe.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),be(r))},Oe.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(R.EMPTY_ARGUMENT,he(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(R.MALFORMED_ARGUMENT,he(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:n,location:he(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(R.MALFORMED_ARGUMENT,he(r,this.clonePosition()))}},Oe.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=we(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:he(e,this.clonePosition())}},Oe.prototype.parseArgumentOptions=function(e,t,r,n){var i,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case"":return this.error(R.EXPECT_ARGUMENT_TYPE,he(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=Me(d.val)).length)return this.error(R.EXPECT_ARGUMENT_STYLE,he(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:he(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var c=he(n,this.clonePosition());if(l&&Se(null==l?void 0:l.style,"::",0)){u=De(l.style.slice(2));if("number"===a)return(d=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?d:{val:{type:U.number,value:r,location:c,style:d.val},err:null};if(0===u.length)return this.error(R.EXPECT_DATE_TIME_SKELETON,c);var h={type:I.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(Q,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===a?U.date:U.time,value:r,location:c,style:h},err:null}}return{val:{type:"number"===a?U.number:"date"===a?U.date:U.time,value:r,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS,he(l,B({},l)));this.bumpSpace();var d,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,he(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=d.val}c=this.tryParsePluralOrSelectOptions(e,a,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(n)).err)return f;var f=he(n,this.clonePosition());return"select"===a?{val:{type:U.select,value:r,options:Ee(c.val),location:f},err:null}:{val:{type:U.plural,value:r,options:Ee(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null};default:return this.error(R.INVALID_ARGUMENT_TYPE,he(s,o))}},Oe.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Oe.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(R.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,he(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},Oe.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(ee).filter(function(e){return 0<e.length});r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],i=i.slice(1),a=0,o=i;a<o.length;a++)if(0===o[a].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:i})}return t}(e)}catch(e){return this.error(R.INVALID_NUMBER_SKELETON,t)}return{val:{type:I.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?le(r):{}},err:null}},Oe.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i=!1,s=[],a=new Set,o=n.value,l=n.location;;){if(0===o.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR,R.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=he(u,this.clonePosition()),o=this.message.slice(u.offset,this.offset())}if(a.has(o))return this.error("select"===t?R.DUPLICATE_SELECT_ARGUMENT_SELECTOR:R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,he(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;u=this.tryParseArgumentClose(h);if(u.err)return u;s.push([o,{value:c.val,location:he(h,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?R.EXPECT_SELECT_ARGUMENT_SELECTOR:R.EXPECT_PLURAL_ARGUMENT_SELECTOR,he(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(R.MISSING_OTHER_CLAUSE,he(this.clonePosition(),this.clonePosition())):{val:s,err:null}},Oe.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,s=10*s+(a-48),this.bump()}n=he(n,this.clonePosition());return i?_e(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},Oe.prototype.offset=function(){return this.position.offset},Oe.prototype.isEOF=function(){return this.offset()===this.message.length},Oe.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Oe.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Te(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Oe.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Oe.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},Oe.prototype.bumpIf=function(e){if(Se(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Oe.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Oe.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Oe.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pe(this.char());)this.bump()},Oe.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Oe);function Oe(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ce(e){return 97<=e&&e<=122||65<=e&&e<=90}function Pe(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function xe(e,t){t=B({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Ne(e,t).parse();if(r.err){e=SyntaxError(R[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,H(e)||z(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else W(e)&&X(e.style)||(V(e)||$(e))&&q(e.style)?delete e.style.location:Z(e)&&r(e.children)})}(r.val),r.val}function Ye(e,t){var r=t&&t.cache?t.cache:Be,n=t&&t.serializer?t.serializer:Re;return(t&&t.strategy?t.strategy:function(e,t){return Ae(e,this,1===e.length?Le:Fe,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Le(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(i);return void 0===r&&(r=e.call(this,n),t.set(i,r)),r}function Fe(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),r=t.get(i);return void 0===r&&(r=e.apply(this,n),t.set(i,r)),r}function Ae(e,t,r,n,i){return r.bind(t,e,n,i)}var Re=function(){return JSON.stringify(arguments)};function Ue(){this.cache=Object.create(null)}Ue.prototype.has=function(e){return e in this.cache},Ue.prototype.get=function(e){return this.cache[e]},Ue.prototype.set=function(e,t){this.cache[e]=t};var Ie,Be={create:function(){return new Ue}},Ge={variadic:function(e,t){return Ae(e,this,Fe,t.cache.create(),t.serializer)},monadic:function(e,t){return Ae(e,this,Le,t.cache.create(),t.serializer)}};(K=Ie=Ie||{}).MISSING_VALUE="MISSING_VALUE",K.INVALID_VALUE="INVALID_VALUE",K.MISSING_INTL_API="MISSING_INTL_API";var je,We,Ve,$e,He,ze=(x(et,He=Error),et.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},et),Ze=(x(Je,$e=ze),Je),Xe=(x(Qe,Ve=ze),Qe),qe=(x(Ke,We=ze),Ke);function Ke(e,t){return We.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Ie.MISSING_VALUE,t)||this}function Qe(e,t,r){return Ve.call(this,'Value for "'+e+'" must be of type '+t,Ie.INVALID_VALUE,r)||this}function Je(e,t,r,n){return $e.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',Ie.INVALID_VALUE,n)||this}function et(e,t,r){e=He.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function tt(e,t,r,n,i,s,a){if(1===e.length&&j(e[0]))return[{type:je.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var c=u[l];if(j(c))o.push({type:je.literal,value:c.value});else if(c.type===U.pound)"number"==typeof s&&o.push({type:je.literal,value:r.getNumberFormat(t).format(s)});else{var h=c.value;if(!(i&&h in i))throw new qe(h,a);var d=i[h];if(c.type===U.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),o.push({type:"string"==typeof d?je.literal:je.object,value:d});else if(V(c)){var f="string"==typeof c.style?n.date[c.style]:q(c.style)?c.style.parsedOptions:void 0;o.push({type:je.literal,value:r.getDateTimeFormat(t,f).format(d)})}else if($(c))f="string"==typeof c.style?n.time[c.style]:q(c.style)?c.style.parsedOptions:void 0,o.push({type:je.literal,value:r.getDateTimeFormat(t,f).format(d)});else if(W(c))(f="string"==typeof c.style?n.number[c.style]:X(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),o.push({type:je.literal,value:r.getNumberFormat(t,f).format(d)});else{if(Z(c)){var m=c.children,p=c.value,h=i[p];if("function"!=typeof h)throw new Xe(p,"function",a);m=h(tt(m,t,r,n,i,s).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),o.push.apply(o,m.map(function(e){return{type:"string"==typeof e?je.literal:je.object,value:e}}))}if(H(c)){if(!(g=c.options[d]||c.options.other))throw new Ze(c.value,d,Object.keys(c.options),a);o.push.apply(o,tt(g.value,t,r,n,i))}else if(z(c)){if(!(g=c.options["="+d])){if(!Intl.PluralRules)throw new ze('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ie.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),g=c.options[m]||c.options.other}if(!g)throw new Ze(c.value,d,Object.keys(c.options),a);o.push.apply(o,tt(g.value,t,r,n,i,d-(c.offset||0)))}}}}return o.length<2?o:o.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===je.literal&&t.type===je.literal?r.value+=t.value:e.push(t),e},[])}function rt(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(K=je=je||{})[K.literal=0]="literal",K[K.object=1]="object";var nt=(Object.defineProperty(it,"defaultLocale",{get:function(){return it.memoizedDefaultLocale||(it.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),it.memoizedDefaultLocale},enumerable:!1,configurable:!0}),it.memoizedDefaultLocale=null,it.__parse=xe,it.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},it);function it(e,t,r,n){var i,s,a=this;if(void 0===t&&(t=it.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===je.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return tt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!it.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=it.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=it.formats,(s=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=s[t])?B(B(B({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=B(B({},r[t]),n[t]||{}),e},{})):r),e},B({},i)):i),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:Ye(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,G([void 0],t)))},{cache:rt((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Ge.variadic}),getDateTimeFormat:Ye(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,G([void 0],t)))},{cache:rt(n.dateTime),strategy:Ge.variadic}),getPluralRules:Ye(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,G([void 0],t)))},{cache:rt(n.pluralRules),strategy:Ge.variadic})}}const st={},at=(t,r)=>{if(null!=r){if(r in st&&t in st[r])return st[r][t];var n,i,s=Rt(r);for(let e=0;e<s.length;e++){var a=(n=s[e],i=t,ut(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return ot[e]||null}(n),i):null);if(a)return n=t,i=r,(a=a)&&(i in st||(st[i]={}),n in st[i]||(st[i][n]=a),a)}}};let ot;const lt=w({});function ut(e){return e in ot}function ct(t,...r){delete st[t],lt.update(e=>(e[t]=C.all([e[t]||{},...r]),e))}S([lt],([e])=>Object.keys(e)),lt.subscribe(e=>ot=e);const ht={};function dt(e){return ht[e]}function Nt(e){return Rt(e).some(e=>{return null===(e=dt(e))||void 0===e?void 0:e.size})}const Ot={};function Ct(e){if(!Nt(e))return e in Ot?Ot[e]:void 0;const t=Rt(e).map(e=>{var t=dt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Ot[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){ht[e].delete(t),0===ht[e].size&&delete ht[e]}(t,e),e().then(e=>e.default||e)))).then(e=>ct(t,...e))}(e))).then(()=>Nt(e)?Ct(e):void delete Ot[e]),Ot[e]}function Pt(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const xt={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Yt=w(!1);let Lt;const Ft=w(null);function At(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Rt(e,t=xt.fallbackLocale){e=At(e);return t?[...new Set([...e,...At(t)])]:e}Ft.subscribe(e=>{Lt=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ut=Ft.set;Ft.set=t=>{if(function(e){if(null!=e){var t=Rt(e);for(let e=0;e<t.length;e++){var r=t[e];if(ut(r))return r}}}(t)&&Nt(t)){var{loadingDelay:r}=xt;let e;return"undefined"!=typeof window&&null!=Lt&&r?e=window.setTimeout(()=>Yt.set(!0),r):Yt.set(!0),Ct(t).then(()=>{Ut(t)}).finally(()=>{clearTimeout(e),Yt.set(!1)})}return Ut(t)},Ft.update=e=>Ut(e(Lt));const It=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Bt=(e,t)=>{var{formats:r}=xt;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Bt("number",r)),new Intl.NumberFormat(t,e)}),jt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Bt("date",r):0===Object.keys(e).length&&(e=Bt("date","short")),new Intl.DateTimeFormat(t,e)}),Wt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Bt("time",r):0===Object.keys(e).length&&(e=Bt("time","short")),new Intl.DateTimeFormat(t,e)}),Vt=It((e,t=Lt)=>new nt(e,t,xt.formats,{ignoreTag:xt.ignoreTag})),$t=S([Ft,lt],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=Lt,default:i}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let s=at(e,n);if(s){if("string"!=typeof s)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),s}else xt.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Rt(n).join('", "')}".${Nt(Lt)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),s=i||e;if(!r)return s;let a=s;try{a=Vt(s,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});S([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Lt}=e,e=Pt(e,["locale"]);return Wt(Object.assign({locale:t},e))})(t).format(e)),S([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Lt}=e,e=Pt(e,["locale"]);return jt(Object.assign({locale:t},e))})(t).format(e)),S([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Lt}=e,e=Pt(e,["locale"]);return Gt(Object.assign({locale:t},e))})(t).format(e)),S([Ft,lt],()=>(e,t=Lt)=>at(e,t));const Ht={en:{registerFormStep2:{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"}},tr:{registerFormStep2:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki"}},ro:{registerFormStep2:{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"}},es:{registerFormStep2:{registerBackButton:"Regresar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primer nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Ultimo nombre",registerLastNameError:"El apellido debe tener al menos 2 caracteres y no contener caracteres especiales.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"El lugar de nacimiento debe tener al menos 1 carácter.",registerBirthPlace:"Lugar de nacimiento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moneda",registerNext:"Siguiente"}},pt:{registerFormStep2:{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"}}};function zt(e,t,r){const n=e.slice();return n[47]=t[r],n}function Zt(e,t,r){const n=e.slice();return n[50]=t[r],n}function Xt(e,t,r){const n=e.slice();return n[53]=t[r],n}function qt(e,t,r){const n=e.slice();return n[56]=t[r],n}function Kt(e){let r,n,i=e[16]("registerFormStep2.registerFirstNameError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerFirstNameError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function Qt(e){let r,n,i=e[16]("registerFormStep2.registerLastNameError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerLastNameError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function Jt(e){let r,n,t=e[56]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[56],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function er(e){let r,n,t=e[53]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[53],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function tr(t){let i,s=t[19],a=[];for(let e=0;e<s.length;e+=1)a[e]=rr(Zt(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=wt("")},m(t,r){for(let e=0;e<a.length;e+=1)a[e].m(t,r);gt(t,i,r)},p(t,r){if(524288&r[0]){let e;for(s=t[19],e=0;e<s.length;e+=1){var n=Zt(t,s,e);a[e]?a[e].p(n,r):(a[e]=rr(n),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}},d(e){_t(a,e),e&&yt(i)}}}function rr(e){let r,n,t=e[50]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[50],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function nr(e){let r,n,i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65537&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function ir(e){let r,n,i=e[16]("registerFormStep2.registerBirthPlaceError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthPlaceError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function sr(e){let r,n,i,s=e[47]+"";return{c(){r=vt("option"),n=wt(s),r.__value=i=e[47],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){4096&t[0]&&s!==(s=e[47]+"")&&Tt(n,s),4096&t[0]&&i!==(i=e[47])&&(r.__value=i,r.value=r.__value)},d(e){e&&yt(r)}}}function ar(r){let n,i,s,a,o,l,u,c,h,d,f,m,p,g,y,_,v,w,S,b,E,T,D,M,k,N,O,C,P,x,Y,L,F,A,R,e,U,I,B,G,j,W,V,$,H,z,Z,X,q,K,Q,J,ee,te,re,ne,ie,se,ae,oe,le,ue,ce,he,de,fe,me,pe,ge,ye,_e,ve,we,Se,be,Ee,Te,De,Me,ke,Ne,Oe,Ce,Pe,xe,Ye,Le,Fe,Ae,Re,Ue,Ie,Be,Ge=r[16]("registerFormStep2.registerBackButton")+"",je=r[16]("registerFormStep2.registerUserTitle")+"",We=r[16]("registerFormStep2.registerUserTitleSelect")+"",Ve=r[16]("registerFormStep2.registerUserTitleSelectMr")+"",$e=r[16]("registerFormStep2.registerUserTitleSelectMrs")+"",He=r[16]("registerFormStep2.registerUserTitleSelectMs")+"",ze=r[16]("registerFormStep2.registerFirstName")+"",Ze=r[16]("registerFormStep2.registerLastName")+"",Xe=r[16]("registerFormStep2.registerDateOfBirth")+"",qe=r[16]("registerFormStep2.registerBirthDay")+"",Ke=r[16]("registerFormStep2.registerBirthMonth")+"",Qe=r[16]("registerFormStep2.registerBirthYear")+"",Je=r[16]("registerFormStep2.registerBirthPlace")+"",et=r[16]("registerFormStep2.registerCurrency")+"",tt=r[16]("registerFormStep2.registerNext")+"",rt=r[1]&&Kt(r),nt=r[2]&&Qt(r),it=r[17],st=[];for(let e=0;e<it.length;e+=1)st[e]=Jt(qt(r,it,e));let at=r[18],ot=[];for(let e=0;e<at.length;e+=1)ot[e]=er(Xt(r,at,e));let lt=!r[15]&&tr(r),ut=r[3]&&nr(r),ct=r[4]&&ir(r),ht=r[12],dt=[];for(let e=0;e<ht.length;e+=1)dt[e]=sr(zt(r,ht,e));return{c(){n=vt("div"),i=vt("button"),s=t("svg"),a=t("defs"),o=t("style"),l=wt(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=t("path"),c=St(),h=wt(Ge),d=St(),f=vt("div"),m=vt("div"),p=vt("label"),g=wt(je),y=wt(":"),_=vt("span"),_.textContent="*",v=St(),w=vt("select"),S=vt("option"),b=wt(We),E=vt("option"),T=wt(Ve),D=vt("option"),M=wt($e),k=vt("option"),N=wt(He),O=St(),C=vt("div"),P=vt("label"),x=wt(ze),Y=wt(":"),L=vt("span"),L.textContent="*",F=St(),A=vt("input"),R=St(),rt&&rt.c(),I=St(),B=vt("div"),G=vt("label"),j=wt(Ze),W=wt(":"),V=vt("span"),V.textContent="*",$=St(),H=vt("input"),z=St(),nt&&nt.c(),q=St(),K=vt("div"),Q=vt("label"),J=wt(Xe),ee=wt(":"),te=vt("span"),te.textContent="*",re=St(),ne=vt("div"),ie=vt("select"),se=vt("option"),ae=wt(qe);for(let e=0;e<st.length;e+=1)st[e].c();oe=St(),le=vt("select"),ue=vt("option"),ce=wt(Ke);for(let e=0;e<ot.length;e+=1)ot[e].c();he=St(),de=vt("select"),fe=vt("option"),me=wt(Qe),lt&<.c(),pe=St(),ut&&ut.c(),ge=St(),ye=vt("div"),_e=vt("label"),ve=wt(Je),we=wt(":"),Se=vt("span"),Se.textContent="*",be=St(),Ee=vt("input"),Te=St(),ct&&ct.c(),ke=St(),Ne=vt("div"),Oe=vt("label"),Ce=wt(et),Pe=wt(":"),xe=vt("span"),xe.textContent="*",Ye=St(),Le=vt("select");for(let e=0;e<dt.length;e+=1)dt[e].c();Fe=St(),Ae=vt("button"),Re=wt(tt),this.c=ft,Et(u,"class","a"),Et(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Et(u,"transform","translate(24 24) rotate(180)"),Et(s,"xmlns","http://www.w3.org/2000/svg"),Et(s,"viewBox","0 0 24 24"),Et(i,"class","BackButton"),Et(i,"part","BackButton"),Et(n,"class","RegisterFormHeader"),Et(n,"part","RegisterFormHeader"),Et(_,"class","FormRequired"),Et(_,"part","FormRequired"),Et(p,"for","Title"),S.__value="",S.value=S.__value,S.disabled=!0,S.selected=!0,E.__value="Mr.",E.value=E.__value,D.__value="Mrs.",D.value=D.__value,k.__value="Ms.",k.value=k.__value,Et(w,"id","Title"),void 0===r[5]&&kt(()=>r[29].call(w)),Et(m,"class","UserTitleContainer"),Et(m,"part","UserTitleContainer"),Et(L,"class","FormRequired"),Et(L,"part","FormRequired"),Et(P,"for","FirstName"),Et(A,"type","text"),Et(A,"id","FirstName"),Et(C,"class",e="FirstNameContainer "+(r[1]?"InvalidField":"")),Et(C,"part",U="FirstNameContainer "+(r[1]?"InvalidField":"")),Et(V,"class","FormRequired"),Et(V,"part","FormRequired"),Et(G,"for","LastName"),Et(H,"type","text"),Et(H,"id","LastName"),Et(B,"class",Z="LastNameContainer "+(r[2]?"InvalidField":"")),Et(B,"part",X="LastNameContainer "+(r[2]?"InvalidField":"")),Et(te,"class","FormRequired"),Et(te,"part","FormRequired"),se.__value="",se.value=se.__value,se.disabled=!0,se.selected=!0,Et(ie,"class","BirthDaySelected"),Et(ie,"part","BirthDaySelected"),void 0===r[8]&&kt(()=>r[32].call(ie)),ue.__value="",ue.value=ue.__value,ue.disabled=!0,ue.selected=!0,Et(le,"class","BirthMonthSelected"),Et(le,"part","BirthMonthSelected"),void 0===r[9]&&kt(()=>r[33].call(le)),fe.__value="",fe.value=fe.__value,fe.disabled=!0,fe.selected=!0,Et(de,"class","BirthYearSelected"),Et(de,"part","BirthYearSelected"),void 0===r[10]&&kt(()=>r[34].call(de)),Et(ne,"class","BirthDateOptions"),Et(ne,"part","BirthDateOptions"),Et(K,"class","BirthDateContainer"),Et(K,"part","BirthDateContainer"),Et(Se,"class","FormRequired"),Et(Se,"part","FormRequired"),Et(_e,"for","BirthPlace"),Et(Ee,"type","text"),Et(Ee,"id","BirthPlace"),Et(ye,"class",De="BirthPlaceContainer "+(r[4]?"InvalidField":"")),Et(ye,"part",Me="BirthPlaceContainer "+(r[4]?"InvalidField":"")),Et(xe,"class","FormRequired"),Et(xe,"part","FormRequired"),Et(Oe,"for","Currency"),Et(Le,"id","Currency"),void 0===r[13]&&kt(()=>r[36].call(Le)),Et(Ne,"class","CurrencyContainer"),Et(Ne,"part","CurrencyContainer"),Et(f,"class","RegisterFormContent"),Et(f,"part","RegisterFormContent"),Et(Ae,"class","RegisterStepNext"),Et(Ae,"part","RegisterStepNext"),Ae.disabled=Ue=!r[14]},m(e,t){gt(e,n,t),pt(n,i),pt(i,s),pt(s,a),pt(a,o),pt(o,l),pt(s,u),pt(i,c),pt(i,h),gt(e,d,t),gt(e,f,t),pt(f,m),pt(m,p),pt(p,g),pt(p,y),pt(p,_),pt(m,v),pt(m,w),pt(w,S),pt(S,b),pt(w,E),pt(E,T),pt(w,D),pt(D,M),pt(w,k),pt(k,N),Mt(w,r[5]),pt(f,O),pt(f,C),pt(C,P),pt(P,x),pt(P,Y),pt(P,L),pt(C,F),pt(C,A),Dt(A,r[6]),pt(C,R),rt&&rt.m(C,null),pt(f,I),pt(f,B),pt(B,G),pt(G,j),pt(G,W),pt(G,V),pt(B,$),pt(B,H),Dt(H,r[7]),pt(B,z),nt&&nt.m(B,null),pt(f,q),pt(f,K),pt(K,Q),pt(Q,J),pt(Q,ee),pt(Q,te),pt(K,re),pt(K,ne),pt(ne,ie),pt(ie,se),pt(se,ae);for(let e=0;e<st.length;e+=1)st[e].m(ie,null);Mt(ie,r[8]),pt(ne,oe),pt(ne,le),pt(le,ue),pt(ue,ce);for(let e=0;e<ot.length;e+=1)ot[e].m(le,null);Mt(le,r[9]),pt(ne,he),pt(ne,de),pt(de,fe),pt(fe,me),lt&<.m(de,null),Mt(de,r[10]),pt(ne,pe),ut&&ut.m(ne,null),pt(f,ge),pt(f,ye),pt(ye,_e),pt(_e,ve),pt(_e,we),pt(_e,Se),pt(ye,be),pt(ye,Ee),Dt(Ee,r[11]),pt(ye,Te),ct&&ct.m(ye,null),pt(f,ke),pt(f,Ne),pt(Ne,Oe),pt(Oe,Ce),pt(Oe,Pe),pt(Oe,xe),pt(Ne,Ye),pt(Ne,Le);for(let e=0;e<dt.length;e+=1)dt[e].m(Le,null);Mt(Le,r[13]),gt(e,Fe,t),gt(e,Ae,t),pt(Ae,Re),Ie||(Be=[bt(i,"click",r[26]),bt(w,"change",r[29]),bt(w,"change",r[21]),bt(A,"input",r[30]),bt(A,"blur",r[22]),bt(H,"input",r[31]),bt(H,"blur",r[23]),bt(ie,"change",r[32]),bt(ie,"change",r[20]),bt(le,"change",r[33]),bt(le,"change",r[20]),bt(de,"change",r[34]),bt(de,"change",r[20]),bt(Ee,"input",r[35]),bt(Ee,"keyup",r[24]),bt(Le,"change",r[36]),bt(Ae,"click",r[25])],Ie=!0)},p(t,r){if(65536&r[0]&&Ge!==(Ge=t[16]("registerFormStep2.registerBackButton")+"")&&Tt(h,Ge),65536&r[0]&&je!==(je=t[16]("registerFormStep2.registerUserTitle")+"")&&Tt(g,je),65536&r[0]&&We!==(We=t[16]("registerFormStep2.registerUserTitleSelect")+"")&&Tt(b,We),65536&r[0]&&Ve!==(Ve=t[16]("registerFormStep2.registerUserTitleSelectMr")+"")&&Tt(T,Ve),65536&r[0]&&$e!==($e=t[16]("registerFormStep2.registerUserTitleSelectMrs")+"")&&Tt(M,$e),65536&r[0]&&He!==(He=t[16]("registerFormStep2.registerUserTitleSelectMs")+"")&&Tt(N,He),32&r[0]&&Mt(w,t[5]),65536&r[0]&&ze!==(ze=t[16]("registerFormStep2.registerFirstName")+"")&&Tt(x,ze),64&r[0]&&A.value!==t[6]&&Dt(A,t[6]),t[1]?rt?rt.p(t,r):(rt=Kt(t),rt.c(),rt.m(C,null)):rt&&(rt.d(1),rt=null),2&r[0]&&e!==(e="FirstNameContainer "+(t[1]?"InvalidField":""))&&Et(C,"class",e),2&r[0]&&U!==(U="FirstNameContainer "+(t[1]?"InvalidField":""))&&Et(C,"part",U),65536&r[0]&&Ze!==(Ze=t[16]("registerFormStep2.registerLastName")+"")&&Tt(j,Ze),128&r[0]&&H.value!==t[7]&&Dt(H,t[7]),t[2]?nt?nt.p(t,r):(nt=Qt(t),nt.c(),nt.m(B,null)):nt&&(nt.d(1),nt=null),4&r[0]&&Z!==(Z="LastNameContainer "+(t[2]?"InvalidField":""))&&Et(B,"class",Z),4&r[0]&&X!==(X="LastNameContainer "+(t[2]?"InvalidField":""))&&Et(B,"part",X),65536&r[0]&&Xe!==(Xe=t[16]("registerFormStep2.registerDateOfBirth")+"")&&Tt(J,Xe),65536&r[0]&&qe!==(qe=t[16]("registerFormStep2.registerBirthDay")+"")&&Tt(ae,qe),131072&r[0]){let e;for(it=t[17],e=0;e<it.length;e+=1){var n=qt(t,it,e);st[e]?st[e].p(n,r):(st[e]=Jt(n),st[e].c(),st[e].m(ie,null))}for(;e<st.length;e+=1)st[e].d(1);st.length=it.length}if(131328&r[0]&&Mt(ie,t[8]),65536&r[0]&&Ke!==(Ke=t[16]("registerFormStep2.registerBirthMonth")+"")&&Tt(ce,Ke),262144&r[0]){let e;for(at=t[18],e=0;e<at.length;e+=1){var i=Xt(t,at,e);ot[e]?ot[e].p(i,r):(ot[e]=er(i),ot[e].c(),ot[e].m(le,null))}for(;e<ot.length;e+=1)ot[e].d(1);ot.length=at.length}if(262656&r[0]&&Mt(le,t[9]),65536&r[0]&&Qe!==(Qe=t[16]("registerFormStep2.registerBirthYear")+"")&&Tt(me,Qe),t[15]?lt&&(lt.d(1),lt=null):lt?lt.p(t,r):(lt=tr(t),lt.c(),lt.m(de,null)),525312&r[0]&&Mt(de,t[10]),t[3]?ut?ut.p(t,r):(ut=nr(t),ut.c(),ut.m(ne,null)):ut&&(ut.d(1),ut=null),65536&r[0]&&Je!==(Je=t[16]("registerFormStep2.registerBirthPlace")+"")&&Tt(ve,Je),2048&r[0]&&Ee.value!==t[11]&&Dt(Ee,t[11]),t[4]?ct?ct.p(t,r):(ct=ir(t),ct.c(),ct.m(ye,null)):ct&&(ct.d(1),ct=null),16&r[0]&&De!==(De="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&Et(ye,"class",De),16&r[0]&&Me!==(Me="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&Et(ye,"part",Me),65536&r[0]&&et!==(et=t[16]("registerFormStep2.registerCurrency")+"")&&Tt(Ce,et),4096&r[0]){let e;for(ht=t[12],e=0;e<ht.length;e+=1){var s=zt(t,ht,e);dt[e]?dt[e].p(s,r):(dt[e]=sr(s),dt[e].c(),dt[e].m(Le,null))}for(;e<dt.length;e+=1)dt[e].d(1);dt.length=ht.length}12288&r[0]&&Mt(Le,t[13]),65536&r[0]&&tt!==(tt=t[16]("registerFormStep2.registerNext")+"")&&Tt(Re,tt),16384&r[0]&&Ue!==(Ue=!t[14])&&(Ae.disabled=Ue)},i:ft,o:ft,d(e){e&&yt(n),e&&yt(d),e&&yt(f),rt&&rt.d(),nt&&nt.d(),_t(st,e),_t(ot,e),lt&<.d(),ut&&ut.d(),ct&&ct.d(),_t(dt,e),e&&yt(Fe),e&&yt(Ae),Ie=!1,mt(Be)}}}function or(t,e,r){let n;var i=$t;t.$$.on_destroy.push(Y(i,e=>r(16,n=e)));let s,a,o,l,u,c,h,{endpoint:d=""}=e,{lang:f=""}=e,{licenseyears:m=""}=e,p=!1,g=!1,y=!1,_=!1,v="",w="",S=[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],b=[1,2,3,4,5,6,7,8,9,10,11,12],E=[],T="",D=[],M="",k=new Date,N=!1,O=!0;Object.keys(Ht).forEach(e=>{ct(e,Ht[e])});const C=()=>{r(14,N=!(p||g||y||_)),!(v.length<=0||w.length<=0||T.length<=0)&&s&&a&&o&&l||r(14,N=!1)},P=e=>!!(e&&2<=e.length&&e.length<=50),x=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(5,s=e.data.userData.title),r(6,v=e.data.userData.firstname),r(7,w=e.data.userData.lastname),r(8,a=e.data.userData.birth.day),r(9,o=e.data.userData.birth.month),r(10,l=e.data.userData.birth.year),r(11,T=e.data.userData.birthPlace),r(13,M=e.data.userData.currency),C())};return e=()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}),function(){if(!F)throw new Error("Function called outside component initialization");return F}().$$.on_mount.push(e),t.$$set=e=>{"endpoint"in e&&r(27,d=e.endpoint),"lang"in e&&r(28,f=e.lang),"licenseyears"in e&&r(0,m=e.licenseyears)},t.$$.update=()=>{var e;134217728&t.$$.dirty[0]&&d&&fetch(`${d}/player/operatorSupportedCurrencies`).then(e=>e.json()).then(e=>{r(12,D=e.currencies),M||r(13,M=D[0])}),268435456&t.$$.dirty[0]&&f&&(e=f,Ft.set(e)),1&t.$$.dirty[0]&&m&&(()=>{c=parseInt(A(k.setDate(k.getDate())).subtract(parseInt(m,10),"y").format("YYYY")),u=parseInt(A(k.setDate(k.getDate())).subtract(100+parseInt(m,10),"y").format("YYYY"));for(let e=c;e>=u;e--)E.push(e);r(15,O=!1)})()},[m,p,g,y,_,s,v,w,a,o,l,T,D,M,N,O,n,S,b,E,()=>{l&&o&&a&&(h=A(k.setDate(k.getDate())).diff(A(`${l}-${o}-${a}`,"YYYY-MM-DD"),"years").toString(),r(3,y=h<m)),C()},C,()=>{r(1,p=!P(v)),C()},()=>{r(2,g=!P(w)),C()},()=>{r(4,_=!(T&&T.length<=120)),C()},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:w,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:M};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:w,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:M};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},d,f,function(){s=L(this),r(5,s)},function(){v=this.value,r(6,v)},function(){w=this.value,r(7,w)},function(){a=L(this),r(8,a),r(17,S)},function(){o=L(this),r(9,o),r(18,b)},function(){l=L(this),r(10,l),r(19,E)},function(){T=this.value,r(11,T)},function(){M=L(this),r(13,M),r(12,D)}]}class lr extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BackButton{display:inline-flex;color: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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.CurrencyContainer{color: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,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer 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}.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthPlaceContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid 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}</style>",o(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},or,ar,r,{endpoint:27,lang:28,licenseyears:0},[-1,-1]),e&&(e.target&>(e.target,this,e.anchor),e.props&&(this.$set(e.props),_()))}static get observedAttributes(){return["endpoint","lang","licenseyears"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$set({endpoint:e}),_()}get lang(){return this.$$.ctx[28]}set lang(e){this.$set({lang:e}),_()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$set({licenseyears:e}),_()}}return customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",lr),lr});
|
|
2
2
|
//# sourceMappingURL=general-player-register-form-step2.js.map
|