@everymatrix/general-player-register-form-nd 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/components/{GeneralPlayerRegisterFormNd-DiQsI4kU.js → GeneralPlayerRegisterFormNd-8VTYGxnW.js} +686 -631
  2. package/components/{GeneralPlayerRegisterFormNd-BUMyIh_U.js → GeneralPlayerRegisterFormNd-BjOJLme-.js} +707 -652
  3. package/components/GeneralPlayerRegisterFormNd-COjoPcnq.cjs +18 -0
  4. package/components/{GeneralPlayerRegisterFormStep1-Di85W0GA.cjs → GeneralPlayerRegisterFormStep1-BsCbmcDH.cjs} +1 -1
  5. package/components/{GeneralPlayerRegisterFormStep1-ohqnb9Z5.js → GeneralPlayerRegisterFormStep1-CCva_4Fo.js} +61 -59
  6. package/components/{GeneralPlayerRegisterFormStep1-Ctnn3VLy.js → GeneralPlayerRegisterFormStep1-DugGIjlq.js} +61 -59
  7. package/components/GeneralPlayerRegisterFormStep2-BeQ6H63w.cjs +10 -0
  8. package/components/{GeneralPlayerRegisterFormStep2-Dn3Oqt8U.js → GeneralPlayerRegisterFormStep2-JKnXlklk.js} +1275 -1329
  9. package/components/{GeneralPlayerRegisterFormStep2-bfUHBIKJ.js → GeneralPlayerRegisterFormStep2-p71LzdWX.js} +1256 -1310
  10. package/components/{GeneralPlayerRegisterFormStep3-Bem9xLXM.js → GeneralPlayerRegisterFormStep3-8H6c1Q-J.js} +14 -14
  11. package/components/{GeneralPlayerRegisterFormStep3-DtEbjUb_.js → GeneralPlayerRegisterFormStep3-CZTxpXVK.js} +14 -14
  12. package/components/{GeneralPlayerRegisterFormStep3-BG4PaZHC.cjs → GeneralPlayerRegisterFormStep3-Cpht1p_r.cjs} +1 -1
  13. package/components/{GeneralPlayerSmsVerificationForm-jQD-XdiY.cjs → GeneralPlayerSmsVerificationForm-CnRSLLl4.cjs} +1 -1
  14. package/components/{GeneralPlayerSmsVerificationForm-CU2--1J3.js → GeneralPlayerSmsVerificationForm-gWDpjIxA.js} +25 -25
  15. package/components/{GeneralPlayerSmsVerificationForm-tOuaq6vc.js → GeneralPlayerSmsVerificationForm-us-I-beF.js} +25 -25
  16. package/es2015/general-player-register-form-nd.cjs +1 -1
  17. package/es2015/general-player-register-form-nd.js +1 -1
  18. package/esnext/general-player-register-form-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/GeneralPlayerRegisterFormNd-D_476bDL.cjs +0 -5
  21. package/components/GeneralPlayerRegisterFormStep2-BzFYy8Ta.cjs +0 -10
@@ -1,5 +0,0 @@
1
- "use strict";var gn=Object.defineProperty,bn=Object.defineProperties;var yn=Object.getOwnPropertyDescriptors;var It=Object.getOwnPropertySymbols;var vn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable;var Xe=(e,t,r)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Lt=(e,t)=>{for(var r in t||(t={}))vn.call(t,r)&&Xe(e,r,t[r]);if(It)for(var r of It(t))_n.call(t,r)&&Xe(e,r,t[r]);return e},Nt=(e,t)=>bn(e,yn(t));var U=(e,t,r)=>Xe(e,typeof t!="symbol"?t+"":t,r);var Te=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{a(r.next(l))}catch(u){i(u)}},o=l=>{try{a(r.throw(l))}catch(u){i(u)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((r=r.apply(e,t)).next())});function k(){}function cr(e){return e()}function Mt(){return Object.create(null)}function ue(e){e.forEach(cr)}function mt(e){return typeof e=="function"}function pt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let He;function En(e,t){return e===t?!0:(He||(He=document.createElement("a")),He.href=t,e===He.href)}function wn(e){return Object.keys(e).length===0}function mr(e,...t){if(e==null){for(const n of t)n(void 0);return k}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function pr(e,t,r){e.$$.on_destroy.push(mr(t,r))}function _(e,t){e.appendChild(t)}function dr(e,t,r){const n=Sn(e);if(!n.getElementById(t)){const i=H("style");i.id=t,i.textContent=r,xn(n,i)}}function Sn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function xn(e,t){return _(e.head||e,t),t.sheet}function D(e,t,r){e.insertBefore(t,r||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function Tn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function H(e){return document.createElement(e)}function pe(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e){return document.createTextNode(e)}function G(){return j(" ")}function gr(){return j("")}function br(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function x(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function m(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:x(e,t,r)}function Hn(e){return Array.from(e.childNodes)}function J(e,t){t=""+t,e.data!==t&&(e.data=t)}function Bn(e,t){e.value=t==null?"":t}function Pn(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function An(e){const t=e.querySelector(":checked");return t&&t.__value}function On(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ge;function de(e){ge=e}function Cn(){if(!ge)throw new Error("Function called outside component initialization");return ge}function yr(e){Cn().$$.on_mount.push(e)}const te=[],be=[];let re=[];const Dt=[],Rn=Promise.resolve();let Ke=!1;function In(){Ke||(Ke=!0,Rn.then(P))}function Ie(e){re.push(e)}const We=new Set;let K=0;function P(){if(K!==0)return;const e=ge;do{try{for(;K<te.length;){const t=te[K];K++,de(t),Ln(t.$$)}}catch(t){throw te.length=0,K=0,t}for(de(null),te.length=0,K=0;be.length;)be.pop()();for(let t=0;t<re.length;t+=1){const r=re[t];We.has(r)||(We.add(r),r())}re.length=0}while(te.length);for(;Dt.length;)Dt.pop()();Ke=!1,We.clear(),de(e)}function Ln(e){if(e.fragment!==null){e.update(),ue(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ie)}}function Nn(e){const t=[],r=[];re.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),re=t}const Mn=new Set;function Dn(e,t){e&&e.i&&(Mn.delete(e),e.i(t))}function Fn(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Un(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Ie(()=>{const s=e.$$.on_mount.map(cr).filter(mt);e.$$.on_destroy?e.$$.on_destroy.push(...s):ue(s),e.$$.on_mount=[]}),i.forEach(Ie)}function Gn(e,t){const r=e.$$;r.fragment!==null&&(Nn(r.after_update),ue(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function kn(e,t){e.$$.dirty[0]===-1&&(te.push(e),In(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function vr(e,t,r,n,i,s,o=null,a=[-1]){const l=ge;de(e);const u=e.$$={fragment:null,ctx:[],props:s,update:k,not_equal:i,bound:Mt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Mt(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};o&&o(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(c,p,...y)=>{const g=y.length?y[0]:p;return u.ctx&&i(u.ctx[c],u.ctx[c]=g)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](g),h&&kn(e,c)),p}):[],u.update(),h=!0,ue(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const c=Hn(t.target);u.fragment&&u.fragment.l(c),c.forEach(N)}else u.fragment&&u.fragment.c();t.intro&&Dn(e.$$.fragment),Un(e,t.target,t.anchor),P()}de(l)}let _r;typeof HTMLElement=="function"&&(_r=class extends HTMLElement{constructor(t,r,n){super();U(this,"$$ctor");U(this,"$$s");U(this,"$$c");U(this,"$$cn",!1);U(this,"$$d",{});U(this,"$$r",!1);U(this,"$$p_d",{});U(this,"$$l",{});U(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Te(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let o;return{c:function(){o=H("slot"),s!=="default"&&x(o,"name",s)},m:function(u,h){D(u,o,h)},d:function(u){u&&N(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=On(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=Ae(o,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Nt(Lt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const o=Ae(s,this.$$d[s],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const o of this.$$l[s]){const a=this.$$c.$on(s,o);this.$$l_u.set(o,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ae(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Ae(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Er(e,t,r,n,i,s){let o=class extends _r{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=Ae(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),n.forEach(a=>{Object.defineProperty(o.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=o,o}class wr{constructor(){U(this,"$$");U(this,"$$set")}$destroy(){Gn(this,1),this.$destroy=k}$on(t,r){if(!mt(r))return k;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!wn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const jn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(jn);var et=function(e,t){return et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},et(e,t)};function z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");et(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var w=function(){return w=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},w.apply(this,arguments)};function $n(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function tt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function rt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s}function ne(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function X(e){return typeof e=="function"}function Sr(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ze=Sr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
- `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=r}});function nt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Me=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,s;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=tt(o),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(d){t={error:d}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else o.remove(this);var h=this.initialTeardown;if(X(h))try{h()}catch(d){s=d instanceof ze?d.errors:[d]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var p=tt(c),y=p.next();!y.done;y=p.next()){var g=y.value;try{Ft(g)}catch(d){s=s!=null?s:[],d instanceof ze?s=ne(ne([],rt(s)),rt(d.errors)):s.push(d)}}}catch(d){n={error:d}}finally{try{y&&!y.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(s)throw new ze(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Ft(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&nt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&nt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),xr=Me.EMPTY;function Tr(e){return e instanceof Me||e&&"closed"in e&&X(e.remove)&&X(e.add)&&X(e.unsubscribe)}function Ft(e){X(e)?e():e.unsubscribe()}var Vn={Promise:void 0},Xn={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,ne([e,t],rt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Wn(e){Xn.setTimeout(function(){throw e})}function Ut(){}function Oe(e){e()}var Hr=function(e){z(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Tr(r)&&r.add(n)):n.destination=qn,n}return t.create=function(r,n,i){return new it(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Me),zn=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Be(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Be(n)}else Be(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Be(r)}},e}(),it=function(e){z(t,e);function t(r,n,i){var s=e.call(this)||this,o;return X(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:o=r,s.destination=new zn(o),s}return t}(Hr);function Be(e){Wn(e)}function Zn(e){throw e}var qn={closed:!0,next:Ut,error:Zn,complete:Ut},Jn=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Qn(e){return e}function Yn(e){return e.length===0?Qn:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Gt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,s=ei(t)?t:new it(t,r,n);return Oe(function(){var o=i,a=o.operator,l=o.source;s.add(a?a.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=kt(r),new r(function(i,s){var o=new it({next:function(a){try{t(a)}catch(l){s(l),o.unsubscribe()}},error:s,complete:i});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Jn]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Yn(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=kt(t),new t(function(n,i){var s;r.subscribe(function(o){return s=o},function(o){return i(o)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function kt(e){var t;return(t=e!=null?e:Vn.Promise)!==null&&t!==void 0?t:Promise}function Kn(e){return e&&X(e.next)&&X(e.error)&&X(e.complete)}function ei(e){return e&&e instanceof Hr||Kn(e)&&Tr(e)}var ti=Sr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Br=function(e){z(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new jt(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new ti},t.prototype.next=function(r){var n=this;Oe(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=tt(n.currentObservers),a=o.next();!a.done;a=o.next()){var l=a.value;l.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Oe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Oe(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,s=i.hasError,o=i.isStopped,a=i.observers;return s||o?xr:(this.currentObservers=null,a.push(r),new Me(function(){n.currentObservers=null,nt(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,o=n.isStopped;i?r.error(s):o&&r.complete()},t.prototype.asObservable=function(){var r=new Gt;return r.source=this,r},t.create=function(r,n){return new jt(r,n)},t}(Gt),jt=function(e){z(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:xr},t}(Br),Pr={now:function(){return(Pr.delegate||Date).now()},delegate:void 0},ri=function(e){z(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Pr);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,o=n._infiniteTimeWindow,a=n._timestampProvider,l=n._windowTime;i||(s.push(r),!o&&s.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,s=i._infiniteTimeWindow,o=i._buffer,a=o.slice(),l=0;l<a.length&&!r.closed;l+=s?1:2)r.next(a[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,o=r._infiniteTimeWindow,a=(o?1:2)*n;if(n<1/0&&a<s.length&&s.splice(0,s.length-a),!o){for(var l=i.now(),u=0,h=1;h<s.length&&s[h]<=l;h+=2)u=h;u&&s.splice(0,u+1)}},t}(Br);const $t=[],Vt={},ni=(e,t=0)=>{if($t.indexOf(e)==-1){const r=new ri(t);Vt[e]=r,$t.push(e)}return Vt[e]},ee=[];function ii(e,t){return{subscribe:De(e,t).subscribe}}function De(e,t=k){let r;const n=new Set;function i(a){if(pt(e,a)&&(e=a,r)){const l=!ee.length;for(const u of n)u[1](),ee.push(u,e);if(l){for(let u=0;u<ee.length;u+=2)ee[u][0](ee[u+1]);ee.length=0}}}function s(a){i(a(e))}function o(a,l=k){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,s)||k),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:o}}function le(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return ii(r,(o,a)=>{let l=!1;const u=[];let h=0,c=k;const p=()=>{if(h)return;c();const g=t(n?u[0]:u,o,a);s?o(g):c=mt(g)?g:k},y=i.map((g,d)=>mr(g,b=>{u[d]=b,h&=~(1<<d),l&&p()},()=>{h|=1<<d}));return l=!0,p(),function(){ue(y),c(),l=!1}})}function si(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oi=function(t){return ai(t)&&!ui(t)};function ai(e){return!!e&&typeof e=="object"}function ui(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||fi(e)}var li=typeof Symbol=="function"&&Symbol.for,hi=li?Symbol.for("react.element"):60103;function fi(e){return e.$$typeof===hi}function ci(e){return Array.isArray(e)?[]:{}}function ye(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ie(ci(e),e,t):e}function mi(e,t,r){return e.concat(t).map(function(n){return ye(n,r)})}function pi(e,t){if(!t.customMerge)return ie;var r=t.customMerge(e);return typeof r=="function"?r:ie}function di(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Xt(e){return Object.keys(e).concat(di(e))}function Ar(e,t){try{return t in e}catch(r){return!1}}function gi(e,t){return Ar(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function bi(e,t,r){var n={};return r.isMergeableObject(e)&&Xt(e).forEach(function(i){n[i]=ye(e[i],r)}),Xt(t).forEach(function(i){gi(e,i)||(Ar(e,i)&&r.isMergeableObject(t[i])?n[i]=pi(i,r)(e[i],t[i],r):n[i]=ye(t[i],r))}),n}function ie(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||mi,r.isMergeableObject=r.isMergeableObject||oi,r.cloneUnlessOtherwiseSpecified=ye;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):bi(e,t,r):ye(t,r)}ie.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return ie(n,i,r)},{})};var yi=ie,vi=yi;const _i=si(vi);function Ze(e,t){var r=t&&t.cache?t.cache:Bi,n=t&&t.serializer?t.serializer:Ti,i=t&&t.strategy?t.strategy:Si;return i(e,{cache:r,serializer:n})}function Ei(e){return e==null||typeof e=="number"||typeof e=="boolean"}function wi(e,t,r,n){var i=Ei(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Or(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Cr(e,t,r,n,i){return r.bind(t,e,n,i)}function Si(e,t){var r=e.length===1?wi:Or;return Cr(e,this,r,t.cache.create(),t.serializer)}function xi(e,t){return Cr(e,this,Or,t.cache.create(),t.serializer)}var Ti=function(){return JSON.stringify(arguments)},Hi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Bi={create:function(){return new Hi}},qe={variadic:xi},v;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(v||(v={}));var T;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(T||(T={}));var se;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(se||(se={}));function Wt(e){return e.type===T.literal}function Pi(e){return e.type===T.argument}function Rr(e){return e.type===T.number}function Ir(e){return e.type===T.date}function Lr(e){return e.type===T.time}function Nr(e){return e.type===T.select}function Mr(e){return e.type===T.plural}function Ai(e){return e.type===T.pound}function Dr(e){return e.type===T.tag}function Fr(e){return!!(e&&typeof e=="object"&&e.type===se.number)}function st(e){return!!(e&&typeof e=="object"&&e.type===se.dateTime)}var Ur=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Oi=/(?:[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;function Ci(e){var t={};return e.replace(Oi,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"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":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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""}),t}var Ri=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ii(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ri).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],o=s.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var a=o[0],l=o.slice(1),u=0,h=l;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:l})}return r}function Li(e){return e.replace(/^(.*?)-/,"")}var zt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Gr=/^(@+)?(\+|#+)?[rs]?$/g,Ni=/(\*)(0+)|(#+)(0+)|(0+)/g,kr=/^(0+)$/;function Zt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Gr,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function jr(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 Mi(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(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)),!kr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function qt(e){var t={},r=jr(e);return r||t}function Di(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Li(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=w(w(w({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return w(w({},l),qt(u))},{}));continue;case"engineering":t=w(w(w({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return w(w({},l),qt(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ni,function(l,u,h,c,p,y){if(u)t.minimumIntegerDigits=h.length;else{if(c&&p)throw new Error("We currently do not support maximum integer digits");if(y)throw new Error("We currently do not support exact integer digits")}return""});continue}if(kr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(zt.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(zt,function(l,u,h,c,p,y){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:p&&y?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+y.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=w(w({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=w(w({},t),Zt(s)));continue}if(Gr.test(i.stem)){t=w(w({},t),Zt(i.stem));continue}var o=jr(i.stem);o&&(t=w(w({},t),o));var a=Mi(i.stem);a&&(t=w(w({},t),a))}return t}var Pe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Fi(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var o=1+(s&1),a=s<2?1:3+(s>>1),l="a",u=Ui(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;o-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Ui(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Pe[n||""]||Pe[r||""]||Pe["".concat(r,"-001")]||Pe["001"];return i[0]}var Je,Gi=new RegExp("^".concat(Ur.source,"*")),ki=new RegExp("".concat(Ur.source,"*$"));function E(e,t){return{start:e,end:t}}var ji=!!String.prototype.startsWith&&"_a".startsWith("a",1),$i=!!String.fromCodePoint,Vi=!!Object.fromEntries,Xi=!!String.prototype.codePointAt,Wi=!!String.prototype.trimStart,zi=!!String.prototype.trimEnd,Zi=!!Number.isSafeInteger,qi=Zi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ot=!0;try{var Ji=Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ot=((Je=Ji.exec("a"))===null||Je===void 0?void 0:Je[0])==="a"}catch(e){ot=!1}var Jt=ji?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},at=$i?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,o;i>s;){if(o=t[s++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Qt=Vi?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],o=s[0],a=s[1];r[o]=a}return r},$r=Xi?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Qi=Wi?function(t){return t.trimStart()}:function(t){return t.replace(Gi,"")},Yi=zi?function(t){return t.trimEnd()}:function(t){return t.replace(ki,"")};function Vr(e,t){return new RegExp(e,t)}var ut;if(ot){var Yt=Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ut=function(t,r){var n;Yt.lastIndex=r;var i=Yt.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else ut=function(t,r){for(var n=[];;){var i=$r(t,r);if(i===void 0||Xr(i)||rs(i))break;n.push(i),r+=i>=65536?2:1}return at.apply(void 0,n)};var Ki=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:T.pound,location:E(a,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&lt(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:T.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var o=s.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!lt(this.char()))return this.error(v.INVALID_TAG,E(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(v.UNMATCHED_CLOSING_TAG,E(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:T.tag,value:i,children:o,location:E(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,E(a,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ts(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=E(n,this.clonePosition());return{val:{type:T.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!es(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return at.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),at(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:T.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=ut(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),o=E(t,s);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,E(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var p=Yi(c.val);if(p.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var y=E(h,this.clonePosition());u={style:p,styleLocation:y}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var d=E(i,this.clonePosition());if(u&&Jt(u==null?void 0:u.style,"::",0)){var b=Qi(u.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(b,u.styleLocation);return c.err?c:{val:{type:T.number,value:n,location:d,style:c.val},err:null}}else{if(b.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,d);var S=b;this.locale&&(S=Fi(b,this.locale));var p={type:se.dateTime,pattern:S,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ci(S):{}},O=a==="date"?T.date:T.time;return{val:{type:O,value:n,location:d,style:p},err:null}}}return{val:{type:a==="number"?T.number:a==="date"?T.date:T.time,value:n,location:d,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,E(A,w({},A)));this.bumpSpace();var L=this.parseIdentifierIfPossible(),M=0;if(a!=="select"&&L.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),L=this.parseIdentifierIfPossible(),M=c.val}var C=this.tryParsePluralOrSelectOptions(t,a,r,L);if(C.err)return C;var g=this.tryParseArgumentClose(i);if(g.err)return g;var F=E(i,this.clonePosition());return a==="select"?{val:{type:T.select,value:n,options:Qt(C.val),location:F},err:null}:{val:{type:T.plural,value:n,options:Qt(C.val),offset:M,pluralType:a==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,E(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Ii(t)}catch(i){return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:se.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Di(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,o=!1,a=[],l=new Set,u=i.value,h=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=E(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(o=!0),this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var d=this.tryParseArgumentClose(y);if(d.err)return d;a.push([u,{value:g.val,location:E(y,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,h=s.location}return a.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(v.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)s=!0,o=o*10+(a-48),this.bump();else break}var l=E(i,this.clonePosition());return s?(o*=n,qi(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=$r(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Jt(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function lt(e){return e>=97&&e<=122||e>=65&&e<=90}function es(e){return lt(e)||e===47}function ts(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Xr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function rs(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ht(e){e.forEach(function(t){if(delete t.location,Nr(t)||Mr(t))for(var r in t.options)delete t.options[r].location,ht(t.options[r].value);else Rr(t)&&Fr(t.style)||(Ir(t)||Lr(t))&&st(t.style)?delete t.style.location:Dr(t)&&ht(t.children)})}function ns(e,t){t===void 0&&(t={}),t=w({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ki(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||ht(r.val),r.val}var oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oe||(oe={}));var Fe=function(e){z(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Kt=function(e){z(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),oe.INVALID_VALUE,s)||this}return t}(Fe),is=function(e){z(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),oe.INVALID_VALUE,i)||this}return t}(Fe),ss=function(e){z(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),oe.MISSING_VALUE,n)||this}return t}(Fe),I;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(I||(I={}));function os(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==I.literal||r.type!==I.literal?t.push(r):n.value+=r.value,t},[])}function as(e){return typeof e=="function"}function Ce(e,t,r,n,i,s,o){if(e.length===1&&Wt(e[0]))return[{type:I.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var h=u[l];if(Wt(h)){a.push({type:I.literal,value:h.value});continue}if(Ai(h)){typeof s=="number"&&a.push({type:I.literal,value:r.getNumberFormat(t).format(s)});continue}var c=h.value;if(!(i&&c in i))throw new ss(c,o);var p=i[c];if(Pi(h)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),a.push({type:typeof p=="string"?I.literal:I.object,value:p});continue}if(Ir(h)){var y=typeof h.style=="string"?n.date[h.style]:st(h.style)?h.style.parsedOptions:void 0;a.push({type:I.literal,value:r.getDateTimeFormat(t,y).format(p)});continue}if(Lr(h)){var y=typeof h.style=="string"?n.time[h.style]:st(h.style)?h.style.parsedOptions:n.time.medium;a.push({type:I.literal,value:r.getDateTimeFormat(t,y).format(p)});continue}if(Rr(h)){var y=typeof h.style=="string"?n.number[h.style]:Fr(h.style)?h.style.parsedOptions:void 0;y&&y.scale&&(p=p*(y.scale||1)),a.push({type:I.literal,value:r.getNumberFormat(t,y).format(p)});continue}if(Dr(h)){var g=h.children,d=h.value,b=i[d];if(!as(b))throw new is(d,"function",o);var S=Ce(g,t,r,n,i,s),O=b(S.map(function(M){return M.value}));Array.isArray(O)||(O=[O]),a.push.apply(a,O.map(function(M){return{type:typeof M=="string"?I.literal:I.object,value:M}}))}if(Nr(h)){var A=h.options[p]||h.options.other;if(!A)throw new Kt(h.value,p,Object.keys(h.options),o);a.push.apply(a,Ce(A.value,t,r,n,i));continue}if(Mr(h)){var A=h.options["=".concat(p)];if(!A){if(!Intl.PluralRules)throw new Fe(`Intl.PluralRules is not available in this environment.
4
- Try polyfilling it using "@formatjs/intl-pluralrules"
5
- `,oe.MISSING_INTL_API,o);var L=r.getPluralRules(t,{type:h.pluralType}).select(p-(h.offset||0));A=h.options[L]||h.options.other}if(!A)throw new Kt(h.value,p,Object.keys(h.options),o);a.push.apply(a,Ce(A.value,t,r,n,i,p-(h.offset||0)));continue}}return os(a)}function us(e,t){return t?w(w(w({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=w(w({},e[n]),t[n]||{}),r},{})):e}function ls(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=us(e[n],t[n]),r},w({},e)):e}function Qe(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function hs(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ze(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ne([void 0],r,!1)))},{cache:Qe(e.number),strategy:qe.variadic}),getDateTimeFormat:Ze(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ne([void 0],r,!1)))},{cache:Qe(e.dateTime),strategy:qe.variadic}),getPluralRules:Ze(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ne([void 0],r,!1)))},{cache:Qe(e.pluralRules),strategy:qe.variadic})}}var fs=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(c,p){return!c.length||p.type!==I.literal||typeof c[c.length-1]!="string"?c.push(p.value):c[c.length-1]+=p.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return Ce(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var a=$n(o,["formatters"]);this.ast=e.__parse(t,w(w({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ls(e.formats,n),this.formatters=i&&i.formatters||hs(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=ns,e.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"}}},e}();function cs(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const q={},ms=(e,t,r)=>r&&(t in q||(q[t]={}),e in q[t]||(q[t][e]=r),r),Wr=(e,t)=>{if(t==null)return;if(t in q&&e in q[t])return q[t][e];const r=Ue(t);for(let n=0;n<r.length;n++){const i=r[n],s=ds(i,e);if(s)return ms(e,t,s)}};let dt;const Q=De({});function ps(e){return dt[e]||null}function zr(e){return e in dt}function ds(e,t){if(!zr(e))return null;const r=ps(e);return cs(r,t)}function gs(e){if(e==null)return;const t=Ue(e);for(let r=0;r<t.length;r++){const n=t[r];if(zr(n))return n}}function gt(e,...t){delete q[e],Q.update(r=>(r[e]=_i.all([r[e]||{},...t]),r))}le([Q],([e])=>Object.keys(e));Q.subscribe(e=>dt=e);const Re={};function bs(e,t){Re[e].delete(t),Re[e].size===0&&delete Re[e]}function Zr(e){return Re[e]}function ys(e){return Ue(e).map(t=>{const r=Zr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ft(e){return e==null?!1:Ue(e).some(t=>{var r;return(r=Zr(t))==null?void 0:r.size})}function vs(e,t){return Promise.all(t.map(n=>(bs(e,n),n().then(i=>i.default||i)))).then(n=>gt(e,...n))}const me={};function qr(e){if(!ft(e))return e in me?me[e]:Promise.resolve();const t=ys(e);return me[e]=Promise.all(t.map(([r,n])=>vs(r,n))).then(()=>{if(ft(e))return qr(e);delete me[e]}),me[e]}const _s={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"}}},Es={fallbackLocale:null,loadingDelay:200,formats:_s,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ws=Es;function ae(){return ws}const Ye=De(!1);var Ss=Object.defineProperty,xs=Object.defineProperties,Ts=Object.getOwnPropertyDescriptors,er=Object.getOwnPropertySymbols,Hs=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,tr=(e,t,r)=>t in e?Ss(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ps=(e,t)=>{for(var r in t||(t={}))Hs.call(t,r)&&tr(e,r,t[r]);if(er)for(var r of er(t))Bs.call(t,r)&&tr(e,r,t[r]);return e},As=(e,t)=>xs(e,Ts(t));let ct;const Le=De(null);function rr(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Ue(e,t=ae().fallbackLocale){const r=rr(e);return t?[...new Set([...r,...rr(t)])]:r}function Y(){return ct!=null?ct:void 0}Le.subscribe(e=>{ct=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Os=e=>{if(e&&gs(e)&&ft(e)){const{loadingDelay:t}=ae();let r;return typeof window!="undefined"&&Y()!=null&&t?r=window.setTimeout(()=>Ye.set(!0),t):Ye.set(!0),qr(e).then(()=>{Le.set(e)}).finally(()=>{clearTimeout(r),Ye.set(!1)})}return Le.set(e)},W=As(Ps({},Le),{set:Os}),Ge=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Cs=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?Cs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,bt=(e,t)=>{for(var r in t||(t={}))Jr.call(t,r)&&nr(e,r,t[r]);if(Ne)for(var r of Ne(t))Qr.call(t,r)&&nr(e,r,t[r]);return e},he=(e,t)=>{var r={};for(var n in e)Jr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ne)for(var n of Ne(e))t.indexOf(n)<0&&Qr.call(e,n)&&(r[n]=e[n]);return r};const ve=(e,t)=>{const{formats:r}=ae();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Rs=Ge(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ve("number",n)),new Intl.NumberFormat(r,i)}),Is=Ge(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ve("date",n):Object.keys(i).length===0&&(i=ve("date","short")),new Intl.DateTimeFormat(r,i)}),Ls=Ge(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ve("time",n):Object.keys(i).length===0&&(i=ve("time","short")),new Intl.DateTimeFormat(r,i)}),Ns=(e={})=>{var t=e,{locale:r=Y()}=t,n=he(t,["locale"]);return Rs(bt({locale:r},n))},Ms=(e={})=>{var t=e,{locale:r=Y()}=t,n=he(t,["locale"]);return Is(bt({locale:r},n))},Ds=(e={})=>{var t=e,{locale:r=Y()}=t,n=he(t,["locale"]);return Ls(bt({locale:r},n))},Fs=Ge((e,t=Y())=>new fs(e,t,ae().formats,{ignoreTag:ae().ignoreTag})),Us=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=Y(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Wr(e,l);if(!h)h=(s=(i=(n=(r=ae()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let c=h;try{c=Fs(h,l).format(a)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return c},Gs=(e,t)=>Ds(t).format(e),ks=(e,t)=>Ms(t).format(e),js=(e,t)=>Ns(t).format(e),$s=(e,t=Y())=>Wr(e,t),Yr=le([W,Q],()=>Us);le([W],()=>Gs);le([W],()=>ks);le([W],()=>js);le([W,Q],()=>$s);window.emWidgets={topic:ni};const ir=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Vs({withLocale:e,translations:t}){W.subscribe(r=>{r==null&&(Q.set(t),W.set(e))})}function sr(e,t){gt(e,t)}function Xs(e){W.set(e)}const or={en:{goToLoginButton:"Go To Login",error:"We encountered an issue. Please go to Login to receive your SMS code."},zhs:{goToLoginButton:"去登錄",error:"我们遇到了一个问题。请转到登录以接收您的短信代码"},fr:{goToLoginButton:"Aller à la connexion",error:"Nous avons rencontré un problème. Veuillez vous connecter pour recevoir votre code SMS."},tr:{goToLoginButton:"Giriş Yap'a Git",error:"Bir sorunla karşılaştık. SMS kodunuzu almak için lütfen Giriş kısmına gidin."},ro:{goToLoginButton:"Catre Autentificare",error:"Am întâmpinat o problemă. Vă rugăm să accesați Login pentru a primi codul SMS."},es:{goToLoginButton:"Ir a Inicio de Sesión",error:"Encontramos un problema. Vaya a Iniciar sesión para recibir su código SMS."},pt:{goToLoginButton:"Ir para o Login",error:"Encontramos um problema. Vá para Login para receber seu código SMS."},hr:{goToLoginButton:"Idi na Prijava",error:"Naišli smo problem. Idite na Prijava kako biste primili svoj SMS kod."},"pt-br":{goToLoginButton:"Ir ao início da sessão",error:"Descobrimos um problema. Por favor, vá ao início da sessão para receber seu código SMS."},"es-mx":{goToLoginButton:"Ir a inicio de sesión",error:"Encontramos un problema. Por favor vaya al inicio de sesión para recibir su código SMS."},"en-us":{goToLoginButton:"Go To Login",error:"We encountered an issue. Please go to Login to receive your SMS code."}};function Kr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function en(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function tn(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerRegisterFormStep1-Di85W0GA.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step1")&&customElements.define("general-player-register-form-step1",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerRegisterFormStep2-BzFYy8Ta.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step2")&&customElements.define("general-player-register-form-step2",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerRegisterFormStep3-BG4PaZHC.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step3")&&customElements.define("general-player-register-form-step3",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerSmsVerificationForm-jQD-XdiY.cjs")).then(({default:t})=>{!customElements.get("general-player-sms-verification-form")&&customElements.define("general-player-sms-verification-form",t.element)})}function Ws(e){dr(e,"svelte-1ybwcf6",".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}")}function zs(e){let t,r,n,i,s,o,a,l=(e[18]||e[19]||e[20])&&ar(e),u=e[18]&&ur(e),h=e[19]&&lr(e),c=e[20]&&hr(e);function p(b,S){if(b[7]&&b[21])return qs;if(b[31])return Zs}let y=p(e),g=y&&y(e),d=e[22]&&fr(e);return{c(){t=H("div"),r=H("div"),l&&l.c(),n=G(),u&&u.c(),i=G(),h&&h.c(),s=G(),c&&c.c(),o=G(),g&&g.c(),a=G(),d&&d.c(),x(r,"class","RegisterFormContainer "+(e[35]?"RegisterFormContainerMobile":"")),x(t,"class","RegisterFormWrapper")},m(b,S){D(b,t,S),_(t,r),l&&l.m(r,null),_(r,n),u&&u.m(r,null),_(r,i),h&&h.m(r,null),_(r,s),c&&c.m(r,null),_(r,o),g&&g.m(r,null),_(r,a),d&&d.m(r,null)},p(b,S){b[18]||b[19]||b[20]?l?l.p(b,S):(l=ar(b),l.c(),l.m(r,n)):l&&(l.d(1),l=null),b[18]?u?u.p(b,S):(u=ur(b),u.c(),u.m(r,i)):u&&(u.d(1),u=null),b[19]?h?h.p(b,S):(h=lr(b),h.c(),h.m(r,s)):h&&(h.d(1),h=null),b[20]?c?c.p(b,S):(c=hr(b),c.c(),c.m(r,o)):c&&(c.d(1),c=null),y===(y=p(b))&&g?g.p(b,S):(g&&g.d(1),g=y&&y(b),g&&(g.c(),g.m(r,a))),b[22]?d?d.p(b,S):(d=fr(b),d.c(),d.m(r,null)):d&&(d.d(1),d=null)},d(b){b&&N(t),l&&l.d(),u&&u.d(),h&&h.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}function ar(e){let t,r,n,i,s,o,a,l,u;return{c(){t=H("div"),r=H("div"),i=G(),s=H("div"),a=G(),l=H("div"),x(r,"class",n="RegisterFirstStepDash "+(e[18]||!e[18]&&e[19]||!e[18]&&!e[19]&&e[20]?"RegisterStepDashColor":"")),x(s,"class",o="RegisterSecondStepDash "+(e[19]||!e[18]&&!e[19]&&e[20]?"RegisterStepDashColor":"")),x(l,"class",u="RegisterThirdStepDash "+(e[20]?"RegisterStepDashColor":"")),x(t,"class","RegisterSteps")},m(h,c){D(h,t,c),_(t,r),_(t,i),_(t,s),_(t,a),_(t,l),e[41](t)},p(h,c){c[0]&1835008&&n!==(n="RegisterFirstStepDash "+(h[18]||!h[18]&&h[19]||!h[18]&&!h[19]&&h[20]?"RegisterStepDashColor":""))&&x(r,"class",n),c[0]&1835008&&o!==(o="RegisterSecondStepDash "+(h[19]||!h[18]&&!h[19]&&h[20]?"RegisterStepDashColor":""))&&x(s,"class",o),c[0]&1048576&&u!==(u="RegisterThirdStepDash "+(h[20]?"RegisterStepDashColor":""))&&x(l,"class",u)},d(h){h&&N(t),e[41](null)}}}function ur(e){let t,r;return{c(){t=H("div"),r=H("general-player-register-form-step1"),m(r,"lang",e[3]),m(r,"disabledfields",e[5]),m(r,"defaultoptions",e[6]),m(r,"custominputtextswitch",e[14]),m(r,"simplepasswordvalidation",e[8]),m(r,"clientstyling",e[10]),m(r,"clientstylingurl",e[11]),m(r,"savecredentials",e[13]),m(r,"translationurl",e[12]),m(r,"mbsource",e[9]),x(t,"class","RegisterFormStep1")},m(n,i){D(n,t,i),_(t,r)},p(n,i){i[0]&8&&m(r,"lang",n[3]),i[0]&32&&m(r,"disabledfields",n[5]),i[0]&64&&m(r,"defaultoptions",n[6]),i[0]&16384&&m(r,"custominputtextswitch",n[14]),i[0]&256&&m(r,"simplepasswordvalidation",n[8]),i[0]&1024&&m(r,"clientstyling",n[10]),i[0]&2048&&m(r,"clientstylingurl",n[11]),i[0]&8192&&m(r,"savecredentials",n[13]),i[0]&4096&&m(r,"translationurl",n[12]),i[0]&512&&m(r,"mbsource",n[9])},d(n){n&&N(t)}}}function lr(e){let t,r;return{c(){t=H("div"),r=H("general-player-register-form-step2"),m(r,"endpoint",e[0]),m(r,"lang",e[3]),m(r,"licenseyears",e[4]),m(r,"disabledfields",e[5]),m(r,"defaultoptions",e[6]),m(r,"personalidlength",e[15]),m(r,"clientstyling",e[10]),m(r,"clientstylingurl",e[11]),m(r,"translationurl",e[12]),m(r,"mbsource",e[9]),x(t,"class","RegisterFormStep2")},m(n,i){D(n,t,i),_(t,r)},p(n,i){i[0]&1&&m(r,"endpoint",n[0]),i[0]&8&&m(r,"lang",n[3]),i[0]&16&&m(r,"licenseyears",n[4]),i[0]&32&&m(r,"disabledfields",n[5]),i[0]&64&&m(r,"defaultoptions",n[6]),i[0]&32768&&m(r,"personalidlength",n[15]),i[0]&1024&&m(r,"clientstyling",n[10]),i[0]&2048&&m(r,"clientstylingurl",n[11]),i[0]&4096&&m(r,"translationurl",n[12]),i[0]&512&&m(r,"mbsource",n[9])},d(n){n&&N(t)}}}function hr(e){let t,r;return{c(){t=H("div"),r=H("general-player-register-form-step3"),m(r,"userconsentsexist",e[26]),m(r,"termsconditions",e[27]),m(r,"smsoffers",e[28]),m(r,"emailmarketing",e[29]),m(r,"endpoint",e[0]),m(r,"captchakey",e[2]),m(r,"lang",e[3]),m(r,"defaultoptions",e[6]),m(r,"disabledfields",e[5]),m(r,"clientstyling",e[10]),m(r,"clientstylingurl",e[11]),m(r,"translationurl",e[12]),m(r,"mbsource",e[9]),x(t,"class","RegisterFormStep3")},m(n,i){D(n,t,i),_(t,r)},p(n,i){i[0]&67108864&&m(r,"userconsentsexist",n[26]),i[0]&134217728&&m(r,"termsconditions",n[27]),i[0]&268435456&&m(r,"smsoffers",n[28]),i[0]&536870912&&m(r,"emailmarketing",n[29]),i[0]&1&&m(r,"endpoint",n[0]),i[0]&4&&m(r,"captchakey",n[2]),i[0]&8&&m(r,"lang",n[3]),i[0]&64&&m(r,"defaultoptions",n[6]),i[0]&32&&m(r,"disabledfields",n[5]),i[0]&1024&&m(r,"clientstyling",n[10]),i[0]&2048&&m(r,"clientstylingurl",n[11]),i[0]&4096&&m(r,"translationurl",n[12]),i[0]&512&&m(r,"mbsource",n[9])},d(n){n&&N(t)}}}function Zs(e){let t,r=e[34]("error")+"",n;return{c(){t=H("p"),n=j(r),x(t,"class","SMSErrorText")},m(i,s){D(i,t,s),_(t,n)},p(i,s){s[1]&8&&r!==(r=i[34]("error")+"")&&J(n,r)},d(i){i&&N(t)}}}function qs(e){let t;function r(s,o){return s[31]?Js:Qs}let n=r(e),i=n(e);return{c(){i.c(),t=gr()},m(s,o){i.m(s,o),D(s,t,o)},p(s,o){n===(n=r(s))&&i?i.p(s,o):(i.d(1),i=n(s),i&&(i.c(),i.m(t.parentNode,t)))},d(s){s&&N(t),i.d(s)}}}function Js(e){let t,r=e[34]("error")+"",n;return{c(){t=H("p"),n=j(r),x(t,"class","SMSErrorText")},m(i,s){D(i,t,s),_(t,n)},p(i,s){s[1]&8&&r!==(r=i[34]("error")+"")&&J(n,r)},d(i){i&&N(t)}}}function Qs(e){let t;return{c(){t=H("general-player-sms-verification-form"),m(t,"endpoint",e[0]),m(t,"session",e[1]),m(t,"number",e[32]),m(t,"playerid",e[17]),m(t,"tokenid",e[30]),m(t,"clientstyling",e[10]),m(t,"clientstylingurl",e[11]),m(t,"mbsource",e[9])},m(r,n){D(r,t,n)},p(r,n){n[0]&1&&m(t,"endpoint",r[0]),n[0]&2&&m(t,"session",r[1]),n[1]&2&&m(t,"number",r[32]),n[0]&131072&&m(t,"playerid",r[17]),n[0]&1073741824&&m(t,"tokenid",r[30]),n[0]&1024&&m(t,"clientstyling",r[10]),n[0]&2048&&m(t,"clientstylingurl",r[11]),n[0]&512&&m(t,"mbsource",r[9])},d(r){r&&N(t)}}}function fr(e){let t,r,n,i,s,o,a,l,u,h,c,p,y,g,d,b,S,O=e[34]("goToLoginButton")+"",A,L,M;return{c(){t=H("div"),r=pe("svg"),n=pe("defs"),i=pe("style"),s=j(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"),o=pe("path"),a=G(),l=H("h2"),u=j(e[23]),h=G(),c=H("p"),p=j(e[24]),y=G(),g=H("p"),d=j(e[25]),b=G(),S=H("button"),A=j(O),x(o,"class","a"),x(o,"d","M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"),x(r,"xmlns","http://www.w3.org/2000/svg"),x(r,"viewBox","0 0 73.95 51"),x(l,"class","RegisterConfirmationTitle"),x(c,"class","RegisterConfirmationSubtitle"),x(g,"class","RegisterConfirmationNote"),x(S,"class","RegisterConfirmationGoToLogin"),x(t,"class","RegisterConfirmation")},m(C,F){D(C,t,F),_(t,r),_(r,n),_(n,i),_(i,s),_(r,o),_(t,a),_(t,l),_(l,u),_(t,h),_(t,c),_(c,p),_(t,y),_(t,g),_(g,d),_(t,b),_(t,S),_(S,A),L||(M=br(S,"click",e[36]),L=!0)},p(C,F){F[0]&8388608&&J(u,C[23]),F[0]&16777216&&J(p,C[24]),F[0]&33554432&&J(d,C[25]),F[1]&8&&O!==(O=C[34]("goToLoginButton")+"")&&J(A,O)},d(C){C&&N(t),L=!1,M()}}}function Ys(e){let t;function r(s,o){return zs}let i=r()(e);return{c(){t=H("div"),i.c()},m(s,o){D(s,t,o),i.m(t,null),e[42](t)},p(s,o){i.p(s,o)},i:k,o:k,d(s){s&&N(t),i.d(),e[42](null)}}}let Ks="Please use this code {0} to activate your account";function eo(e,t,r){let n;pr(e,Yr,f=>r(34,n=f));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:o=""}=t,{session:a=""}=t,{trackedanalyticsdata:l=""}=t,{captchakey:u=""}=t,{lang:h="en"}=t,{licenseyears:c=""}=t,{disabledfields:p=""}=t,{defaultoptions:y=""}=t,{smsverification:g="false"}=t,{simplepasswordvalidation:d="false"}=t,{userroles:b=""}=t,{mbsource:S}=t,{clientstyling:O=""}=t,{clientstylingurl:A=""}=t,{translationurl:L=""}=t,{savecredentials:M=""}=t,{custominputtextswitch:C="false"}=t,{personalidlength:F="13"}=t,$,yt="",ke=!0,fe=!1,_e=!1,je=!1,$e=!1,Ee,vt=!1,_t="",Et="",wt="",St=window.navigator.userAgent,nn=ir(St)!=="PC",V={},xt=!1,Tt=!1,Ve="false",Ht="false",Bt="false",Pt="false",At="",Ot,we=!1,Ct,Se;Vs({withLocale:"en",translations:{}});const sn=()=>{fetch(L).then(B=>B.json()).then(B=>{Object.keys(B).forEach(R=>{sr(R,B[R])})}).catch(B=>{console.log(B)})};Object.keys(or).forEach(f=>{sr(f,or[f])});const on=()=>{fetch(`${i}/v1/player/consentRequirements`).then(f=>f.json()).then(f=>{f.items.length>0?(r(26,Ve="true"),f.items.forEach(B=>{switch(B.tagCode){case"termsandconditions":r(27,Ht="true");break;case"sms":r(28,Bt="true");break;case"emailmarketing":r(29,Pt="true");break}})):r(26,Ve="false")})},an=()=>{let f=new URL(`${s}/${h}/login-register-content?env=${o}`),B=ir(St);B&&(B==="PC"?f.searchParams.append("device","dk"):f.searchParams.append("device","mtWeb")),fetch(f.href).then(R=>R.json()).then(R=>{Ee=R.registerData,r(23,_t=Ee.title),r(24,Et=Ee.subtitle),r(25,wt=Ee.content)}).catch(R=>{console.error(R)})},xe=()=>{Se.scrollIntoView()},ce=f=>{for(const B in f)V[B]=f[B],B==="mobile"&&r(32,Ct=`${f[B].prefix}${f[B].number}`);V.affiliateMarker=V.promoCode?V.promoCode:l!=null?l:""},Rt=f=>{if(f.data)switch(f.data.type){case"RegisterStepOne":ce(f.data.registerStepOneData),xe(),r(18,ke=!1),r(19,fe=!0),xt==!1?xt=!0:window.postMessage({type:"StepTwoDataBackup",userData:V},window.location.href);break;case"RegisterStepTwo":ce(f.data.registerStepTwoData),xe(),r(19,fe=!1),r(20,_e=!0),Tt==!1?Tt=!0:window.postMessage({type:"StepThreeDataBackup",userData:V},window.location.href);break;case"RegisterStepThree":ce(f.data.registerStepThreeData),ln(V);break;case"SmsHasBeenValidated":r(22,$e=!0),r(21,je=!1);break;case"GoBackStepTwo":ce(f.data.registerStepTwoData),xe(),r(18,ke=!0),r(19,fe=!1),window.postMessage({type:"StepOneDataBackup",userData:V},window.location.href);break;case"GoBackStepThree":ce(f.data.registerStepThreeData),xe(),r(19,fe=!0),r(20,_e=!1),window.postMessage({type:"StepTwoDataBackup",userData:V},window.location.href);break}},un=()=>{typeof gtag=="function"&&gtag("event","Register",{context:"GeneralPlayerRegisterForm"})},ln=f=>Te(this,null,function*(){f.language=h;let B={method:"PUT",headers:{"g-recaptcha-response":f.token,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(f)},R=yield fetch(`${i}/v1/player/register`,B),Z=yield R.json();R.ok?(r(20,_e=!1),g==="false"?r(22,$e=!0):(r(17,yt=Z.id),hn(f,Z.id)),f.username,f.password,un()):(At=Z.error.substring(Z.error.indexOf("errorMessage")+13,Z.error.length),vt=!0,window.postMessage({type:"ShowRegistrationError",showError:vt,error:At},window.location.href))}),hn=(f,B)=>Te(this,null,function*(){localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3)));try{const R=yield fetch(`${i}/v1/player/sms/token`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:B,messageTemplate:Ks,destination:`${f.mobile.prefix}${f.mobile.number}`})}),Z=yield R.json();if(R.ok){r(30,Ot=Z.id);let ro=Z.maxValidationAttempts;r(21,je=!0),r(31,we=!1)}else throw r(31,we=!0),new Error("Failed to fetch")}catch(R){r(31,we=!0),console.error(R)}}),fn=()=>{p.split(",")},cn=()=>{window.postMessage({type:"ToLogin"},window.location.href)},mn=()=>{Xs(h)};yr(()=>(window.addEventListener("message",Rt,!1),()=>{window.removeEventListener("message",Rt)}));function pn(f){be[f?"unshift":"push"](()=>{Se=f,r(33,Se)})}function dn(f){be[f?"unshift":"push"](()=>{$=f,r(16,$)})}return e.$$set=f=>{"endpoint"in f&&r(0,i=f.endpoint),"cmsendpoint"in f&&r(37,s=f.cmsendpoint),"env"in f&&r(38,o=f.env),"session"in f&&r(1,a=f.session),"trackedanalyticsdata"in f&&r(39,l=f.trackedanalyticsdata),"captchakey"in f&&r(2,u=f.captchakey),"lang"in f&&r(3,h=f.lang),"licenseyears"in f&&r(4,c=f.licenseyears),"disabledfields"in f&&r(5,p=f.disabledfields),"defaultoptions"in f&&r(6,y=f.defaultoptions),"smsverification"in f&&r(7,g=f.smsverification),"simplepasswordvalidation"in f&&r(8,d=f.simplepasswordvalidation),"userroles"in f&&r(40,b=f.userroles),"mbsource"in f&&r(9,S=f.mbsource),"clientstyling"in f&&r(10,O=f.clientstyling),"clientstylingurl"in f&&r(11,A=f.clientstylingurl),"translationurl"in f&&r(12,L=f.translationurl),"savecredentials"in f&&r(13,M=f.savecredentials),"custominputtextswitch"in f&&r(14,C=f.custominputtextswitch),"personalidlength"in f&&r(15,F=f.personalidlength)},e.$$.update=()=>{e.$$.dirty[0]&1&&i&&on(),e.$$.dirty[0]&8|e.$$.dirty[1]&704&&s&&h&&o&&b&&an(),e.$$.dirty[0]&131074,e.$$.dirty[0]&8&&h&&mn(),e.$$.dirty[0]&32&&p&&fn(),e.$$.dirty[0]&66560&&O&&$&&Kr($,O),e.$$.dirty[0]&67584&&A&&$&&en($,A),e.$$.dirty[0]&66048&&S&&$&&tn($,`${S}.Style`),e.$$.dirty[0]&4096&&L&&sn()},[i,a,u,h,c,p,y,g,d,S,O,A,L,M,C,F,$,yt,ke,fe,_e,je,$e,_t,Et,wt,Ve,Ht,Bt,Pt,Ot,we,Ct,Se,n,nn,cn,s,o,l,b,pn,dn]}class rn extends wr{constructor(t){super(),vr(this,t,eo,Ys,pt,{endpoint:0,cmsendpoint:37,env:38,session:1,trackedanalyticsdata:39,captchakey:2,lang:3,licenseyears:4,disabledfields:5,defaultoptions:6,smsverification:7,simplepasswordvalidation:8,userroles:40,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,savecredentials:13,custominputtextswitch:14,personalidlength:15},Ws,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),P()}get cmsendpoint(){return this.$$.ctx[37]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),P()}get env(){return this.$$.ctx[38]}set env(t){this.$$set({env:t}),P()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),P()}get trackedanalyticsdata(){return this.$$.ctx[39]}set trackedanalyticsdata(t){this.$$set({trackedanalyticsdata:t}),P()}get captchakey(){return this.$$.ctx[2]}set captchakey(t){this.$$set({captchakey:t}),P()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),P()}get licenseyears(){return this.$$.ctx[4]}set licenseyears(t){this.$$set({licenseyears:t}),P()}get disabledfields(){return this.$$.ctx[5]}set disabledfields(t){this.$$set({disabledfields:t}),P()}get defaultoptions(){return this.$$.ctx[6]}set defaultoptions(t){this.$$set({defaultoptions:t}),P()}get smsverification(){return this.$$.ctx[7]}set smsverification(t){this.$$set({smsverification:t}),P()}get simplepasswordvalidation(){return this.$$.ctx[8]}set simplepasswordvalidation(t){this.$$set({simplepasswordvalidation:t}),P()}get userroles(){return this.$$.ctx[40]}set userroles(t){this.$$set({userroles:t}),P()}get mbsource(){return this.$$.ctx[9]}set mbsource(t){this.$$set({mbsource:t}),P()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),P()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),P()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),P()}get savecredentials(){return this.$$.ctx[13]}set savecredentials(t){this.$$set({savecredentials:t}),P()}get custominputtextswitch(){return this.$$.ctx[14]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),P()}get personalidlength(){return this.$$.ctx[15]}set personalidlength(t){this.$$set({personalidlength:t}),P()}}Er(rn,{endpoint:{},cmsendpoint:{},env:{},session:{},trackedanalyticsdata:{},captchakey:{},lang:{},licenseyears:{},disabledfields:{},defaultoptions:{},smsverification:{},simplepasswordvalidation:{},userroles:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},savecredentials:{},custominputtextswitch:{},personalidlength:{}},[],[],!0);const to=Object.freeze(Object.defineProperty({__proto__:null,default:rn},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=Q;exports.$format=Yr;exports.$locale=W;exports.GeneralPlayerRegisterFormNd_ce=to;exports.SvelteComponent=wr;exports.addMessages=gt;exports.add_render_callback=Ie;exports.append=_;exports.append_styles=dr;exports.attr=x;exports.binding_callbacks=be;exports.component_subscribe=pr;exports.create_custom_element=Er;exports.destroy_each=Tn;exports.detach=N;exports.element=H;exports.empty=gr;exports.ensure_array_like=Fn;exports.flush=P;exports.init=vr;exports.insert=D;exports.listen=br;exports.noop=k;exports.onMount=yr;exports.run_all=ue;exports.safe_not_equal=pt;exports.select_option=Pn;exports.select_value=An;exports.setClientStyling=Kr;exports.setClientStylingURL=en;exports.setStreamStyling=tn;exports.set_data=J;exports.set_input_value=Bn;exports.space=G;exports.src_url_equal=En;exports.svg_element=pe;exports.text=j;
@@ -1,10 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./GeneralPlayerRegisterFormNd-D_476bDL.cjs");function ha(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
- //! version : 2.30.1
3
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
- //! license : MIT
5
- //! momentjs.com
6
- var Xr;function m(){return Xr.apply(null,arguments)}function fa(e){Xr=e}function pe(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ee(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Qt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(O(e,t))return!1;return!0}function ue(e){return e===void 0}function Ce(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function dt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function $r(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function Le(e,t){for(var r in t)O(t,r)&&(e[r]=t[r]);return O(t,"toString")&&(e.toString=t.toString),O(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Se(e,t,r,s){return Ss(e,t,r,s,!0).utc()}function ma(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function M(e){return e._pf==null&&(e._pf=ma()),e._pf}var Vt;Array.prototype.some?Vt=Array.prototype.some:Vt=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Kt(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=M(e),r=Vt.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Tt(e){var t=Se(NaN);return e!=null?Le(M(t),e):M(t).userInvalidated=!0,t}var Dr=m.momentProperties=[],Wt=!1;function Xt(e,t){var r,s,a,n=Dr.length;if(ue(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ue(t._i)||(e._i=t._i),ue(t._f)||(e._f=t._f),ue(t._l)||(e._l=t._l),ue(t._strict)||(e._strict=t._strict),ue(t._tzm)||(e._tzm=t._tzm),ue(t._isUTC)||(e._isUTC=t._isUTC),ue(t._offset)||(e._offset=t._offset),ue(t._pf)||(e._pf=M(t)),ue(t._locale)||(e._locale=t._locale),n>0)for(r=0;r<n;r++)s=Dr[r],a=t[s],ue(a)||(e[s]=a);return e}function ct(e){Xt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Wt===!1&&(Wt=!0,m.updateOffset(this),Wt=!1)}function ye(e){return e instanceof ct||e!=null&&e._isAMomentObject!=null}function es(e){m.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function me(e,t){var r=!0;return Le(function(){if(m.deprecationHandler!=null&&m.deprecationHandler(null,e),r){var s=[],a,n,l,d=arguments.length;for(n=0;n<d;n++){if(a="",typeof arguments[n]=="object"){a+=`
7
- [`+n+"] ";for(l in arguments[0])O(arguments[0],l)&&(a+=l+": "+arguments[0][l]+", ");a=a.slice(0,-2)}else a=arguments[n];s.push(a)}es(e+`
8
- Arguments: `+Array.prototype.slice.call(s).join("")+`
9
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Mr={};function ts(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),Mr[e]||(es(t),Mr[e]=!0)}m.suppressDeprecationWarnings=!1;m.deprecationHandler=null;function De(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function _a(e){var t,r;for(r in e)O(e,r)&&(t=e[r],De(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function jt(e,t){var r=Le({},e),s;for(s in t)O(t,s)&&(Ee(e[s])&&Ee(t[s])?(r[s]={},Le(r[s],e[s]),Le(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)O(e,s)&&!O(t,s)&&Ee(e[s])&&(r[s]=Le({},r[s]));return r}function $t(e){e!=null&&this.set(e)}var Gt;Object.keys?Gt=Object.keys:Gt=function(e){var t,r=[];for(t in e)O(e,t)&&r.push(t);return r};var ga={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function pa(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return De(s)?s.call(t,r):s}function ke(e,t,r){var s=""+Math.abs(e),a=t-s.length,n=e>=0;return(n?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var er=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Et={},ze={};function v(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(ze[e]=a),t&&(ze[t[0]]=function(){return ke(a.apply(this,arguments),t[1],t[2])}),r&&(ze[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function ya(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function wa(e){var t=e.match(er),r,s;for(r=0,s=t.length;r<s;r++)ze[t[r]]?t[r]=ze[t[r]]:t[r]=ya(t[r]);return function(a){var n="",l;for(l=0;l<s;l++)n+=De(t[l])?t[l].call(a,e):t[l];return n}}function vt(e,t){return e.isValid()?(t=rs(t,e.localeData()),Et[t]=Et[t]||wa(t),Et[t](e)):e.localeData().invalidDate()}function rs(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(yt.lastIndex=0;r>=0&&yt.test(e);)e=e.replace(yt,s),yt.lastIndex=0,r-=1;return e}var va={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ka(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(er).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Sa="Invalid date";function Da(){return this._invalidDate}var Ma="%d",ba=/\d{1,2}/;function Ya(e){return this._ordinal.replace("%d",e)}var Oa={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ta(e,t,r,s){var a=this._relativeTime[r];return De(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Na(e,t){var r=this._relativeTime[e>0?"future":"past"];return De(r)?r(t):r.replace(/%s/i,t)}var br={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function _e(e){return typeof e=="string"?br[e]||br[e.toLowerCase()]:void 0}function tr(e){var t={},r,s;for(s in e)O(e,s)&&(r=_e(s),r&&(t[r]=e[s]));return t}var Pa={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ca(e){var t=[],r;for(r in e)O(e,r)&&t.push({unit:r,priority:Pa[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var ss=/\d/,ce=/\d\d/,as=/\d{3}/,rr=/\d{4}/,Nt=/[+-]?\d{6}/,x=/\d\d?/,is=/\d\d\d\d?/,ns=/\d\d\d\d\d\d?/,Pt=/\d{1,3}/,sr=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,Je=/\d+/,Ft=/[+-]?\d+/,Fa=/Z|[+-]\d\d:?\d\d/gi,Bt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ba=/[+-]?\d+(\.\d{1,3})?/,ht=/[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,Qe=/^[1-9]\d?/,ar=/^([1-9]\d|\d)/,Dt;Dt={};function _(e,t,r){Dt[e]=De(t)?t:function(s,a){return s&&r?r:t}}function Ia(e,t){return O(Dt,e)?Dt[e](t._strict,t._locale):new RegExp(La(e))}function La(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,n){return r||s||a||n}))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function fe(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=fe(t)),r}var zt={};function C(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),Ce(t)&&(s=function(n,l){l[t]=b(n)}),a=e.length,r=0;r<a;r++)zt[e[r]]=s}function ft(e,t){C(e,function(r,s,a,n){a._w=a._w||{},t(r,a._w,a,n)})}function Ua(e,t,r){t!=null&&O(zt,e)&&zt[e](t,r._a,r,e)}function It(e){return e%4===0&&e%100!==0||e%400===0}var ne=0,Oe=1,ve=2,$=3,ge=4,Te=5,We=6,xa=7,Ra=8;v("Y",0,0,function(){var e=this.year();return e<=9999?ke(e,4):"+"+e});v(0,["YY",2],0,function(){return this.year()%100});v(0,["YYYY",4],0,"year");v(0,["YYYYY",5],0,"year");v(0,["YYYYYY",6,!0],0,"year");_("Y",Ft);_("YY",x,ce);_("YYYY",sr,rr);_("YYYYY",Ct,Nt);_("YYYYYY",Ct,Nt);C(["YYYYY","YYYYYY"],ne);C("YYYY",function(e,t){t[ne]=e.length===2?m.parseTwoDigitYear(e):b(e)});C("YY",function(e,t){t[ne]=m.parseTwoDigitYear(e)});C("Y",function(e,t){t[ne]=parseInt(e,10)});function it(e){return It(e)?366:365}m.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var ls=Ke("FullYear",!0);function Wa(){return It(this.year())}function Ke(e,t){return function(r){return r!=null?(os(this,e,r),m.updateOffset(this,t),this):nt(this,e)}}function nt(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function os(e,t,r){var s,a,n,l,d;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}n=r,l=e.month(),d=e.date(),d=d===29&&l===1&&!It(n)?28:d,a?s.setUTCFullYear(n,l,d):s.setFullYear(n,l,d)}}function Ea(e){return e=_e(e),De(this[e])?this[e]():this}function Ha(e,t){if(typeof e=="object"){e=tr(e);var r=Ca(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=_e(e),De(this[e]))return this[e](t);return this}function Aa(e,t){return(e%t+t)%t}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ir(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Aa(t,12);return e+=(t-r)/12,r===1?It(e)?29:28:31-r%7%2}v("M",["MM",2],"Mo",function(){return this.month()+1});v("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});v("MMMM",0,0,function(e){return this.localeData().months(this,e)});_("M",x,Qe);_("MM",x,ce);_("MMM",function(e,t){return t.monthsShortRegex(e)});_("MMMM",function(e,t){return t.monthsRegex(e)});C(["M","MM"],function(e,t){t[Oe]=b(e)-1});C(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[Oe]=a:M(r).invalidMonth=e});var Va="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),us="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ds=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ja=ht,Ga=ht;function za(e,t){return e?pe(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ds).test(t)?"format":"standalone"][e.month()]:pe(this._months)?this._months:this._months.standalone}function Za(e,t){return e?pe(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ds.test(t)?"format":"standalone"][e.month()]:pe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function qa(e,t,r){var s,a,n,l=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)n=Se([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(n,"").toLocaleLowerCase();return r?t==="MMM"?(a=q.call(this._shortMonthsParse,l),a!==-1?a:null):(a=q.call(this._longMonthsParse,l),a!==-1?a:null):t==="MMM"?(a=q.call(this._shortMonthsParse,l),a!==-1?a:(a=q.call(this._longMonthsParse,l),a!==-1?a:null)):(a=q.call(this._longMonthsParse,l),a!==-1?a:(a=q.call(this._shortMonthsParse,l),a!==-1?a:null))}function Ja(e,t,r){var s,a,n;if(this._monthsParseExact)return qa.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=Se([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function cs(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!Ce(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ir(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function hs(e){return e!=null?(cs(this,e),m.updateOffset(this,!0),this):nt(this,"Month")}function Qa(){return ir(this.year(),this.month())}function Ka(e){return this._monthsParseExact?(O(this,"_monthsRegex")||fs.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(O(this,"_monthsShortRegex")||(this._monthsShortRegex=ja),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Xa(e){return this._monthsParseExact?(O(this,"_monthsRegex")||fs.call(this),e?this._monthsStrictRegex:this._monthsRegex):(O(this,"_monthsRegex")||(this._monthsRegex=Ga),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function fs(){function e(o,f){return f.length-o.length}var t=[],r=[],s=[],a,n,l,d;for(a=0;a<12;a++)n=Se([2e3,a]),l=Ne(this.monthsShort(n,"")),d=Ne(this.months(n,"")),t.push(l),r.push(d),s.push(d),s.push(l);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function $a(e,t,r,s,a,n,l){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,a,n,l),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,a,n,l),d}function lt(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Mt(e,t,r){var s=7+t-r,a=(7+lt(e,0,s).getUTCDay()-t)%7;return-a+s-1}function ms(e,t,r,s,a){var n=(7+r-s)%7,l=Mt(e,s,a),d=1+7*(t-1)+n+l,o,f;return d<=0?(o=e-1,f=it(o)+d):d>it(e)?(o=e+1,f=d-it(e)):(o=e,f=d),{year:o,dayOfYear:f}}function ot(e,t,r){var s=Mt(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,n,l;return a<1?(l=e.year()-1,n=a+Pe(l,t,r)):a>Pe(e.year(),t,r)?(n=a-Pe(e.year(),t,r),l=e.year()+1):(l=e.year(),n=a),{week:n,year:l}}function Pe(e,t,r){var s=Mt(e,t,r),a=Mt(e+1,t,r);return(it(e)-s+a)/7}v("w",["ww",2],"wo","week");v("W",["WW",2],"Wo","isoWeek");_("w",x,Qe);_("ww",x,ce);_("W",x,Qe);_("WW",x,ce);ft(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=b(e)});function ei(e){return ot(e,this._week.dow,this._week.doy).week}var ti={dow:0,doy:6};function ri(){return this._week.dow}function si(){return this._week.doy}function ai(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ii(e){var t=ot(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}v("d",0,"do","day");v("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});v("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});v("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});v("e",0,0,"weekday");v("E",0,0,"isoWeekday");_("d",x);_("e",x);_("E",x);_("dd",function(e,t){return t.weekdaysMinRegex(e)});_("ddd",function(e,t){return t.weekdaysShortRegex(e)});_("dddd",function(e,t){return t.weekdaysRegex(e)});ft(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:M(r).invalidWeekday=e});ft(["d","e","E"],function(e,t,r,s){t[s]=b(e)});function ni(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function li(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function nr(e,t){return e.slice(t,7).concat(e.slice(0,t))}var oi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_s="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ui="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),di=ht,ci=ht,hi=ht;function fi(e,t){var r=pe(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?nr(r,this._week.dow):e?r[e.day()]:r}function mi(e){return e===!0?nr(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function _i(e){return e===!0?nr(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function gi(e,t,r){var s,a,n,l=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)n=Se([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(n,"").toLocaleLowerCase();return r?t==="dddd"?(a=q.call(this._weekdaysParse,l),a!==-1?a:null):t==="ddd"?(a=q.call(this._shortWeekdaysParse,l),a!==-1?a:null):(a=q.call(this._minWeekdaysParse,l),a!==-1?a:null):t==="dddd"?(a=q.call(this._weekdaysParse,l),a!==-1||(a=q.call(this._shortWeekdaysParse,l),a!==-1)?a:(a=q.call(this._minWeekdaysParse,l),a!==-1?a:null)):t==="ddd"?(a=q.call(this._shortWeekdaysParse,l),a!==-1||(a=q.call(this._weekdaysParse,l),a!==-1)?a:(a=q.call(this._minWeekdaysParse,l),a!==-1?a:null)):(a=q.call(this._minWeekdaysParse,l),a!==-1||(a=q.call(this._weekdaysParse,l),a!==-1)?a:(a=q.call(this._shortWeekdaysParse,l),a!==-1?a:null))}function pi(e,t,r){var s,a,n;if(this._weekdaysParseExact)return gi.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=Se([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function yi(e){if(!this.isValid())return e!=null?this:NaN;var t=nt(this,"Day");return e!=null?(e=ni(e,this.localeData()),this.add(e-t,"d")):t}function wi(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function vi(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=li(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function ki(e){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(O(this,"_weekdaysRegex")||(this._weekdaysRegex=di),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Si(e){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(O(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ci),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Di(e){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(O(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=hi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function lr(){function e(p,S){return S.length-p.length}var t=[],r=[],s=[],a=[],n,l,d,o,f;for(n=0;n<7;n++)l=Se([2e3,1]).day(n),d=Ne(this.weekdaysMin(l,"")),o=Ne(this.weekdaysShort(l,"")),f=Ne(this.weekdays(l,"")),t.push(d),r.push(o),s.push(f),a.push(d),a.push(o),a.push(f);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function or(){return this.hours()%12||12}function Mi(){return this.hours()||24}v("H",["HH",2],0,"hour");v("h",["hh",2],0,or);v("k",["kk",2],0,Mi);v("hmm",0,0,function(){return""+or.apply(this)+ke(this.minutes(),2)});v("hmmss",0,0,function(){return""+or.apply(this)+ke(this.minutes(),2)+ke(this.seconds(),2)});v("Hmm",0,0,function(){return""+this.hours()+ke(this.minutes(),2)});v("Hmmss",0,0,function(){return""+this.hours()+ke(this.minutes(),2)+ke(this.seconds(),2)});function gs(e,t){v(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}gs("a",!0);gs("A",!1);function ps(e,t){return t._meridiemParse}_("a",ps);_("A",ps);_("H",x,ar);_("h",x,Qe);_("k",x,Qe);_("HH",x,ce);_("hh",x,ce);_("kk",x,ce);_("hmm",is);_("hmmss",ns);_("Hmm",is);_("Hmmss",ns);C(["H","HH"],$);C(["k","kk"],function(e,t,r){var s=b(e);t[$]=s===24?0:s});C(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});C(["h","hh"],function(e,t,r){t[$]=b(e),M(r).bigHour=!0});C("hmm",function(e,t,r){var s=e.length-2;t[$]=b(e.substr(0,s)),t[ge]=b(e.substr(s)),M(r).bigHour=!0});C("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[$]=b(e.substr(0,s)),t[ge]=b(e.substr(s,2)),t[Te]=b(e.substr(a)),M(r).bigHour=!0});C("Hmm",function(e,t,r){var s=e.length-2;t[$]=b(e.substr(0,s)),t[ge]=b(e.substr(s))});C("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[$]=b(e.substr(0,s)),t[ge]=b(e.substr(s,2)),t[Te]=b(e.substr(a))});function bi(e){return(e+"").toLowerCase().charAt(0)==="p"}var Yi=/[ap]\.?m?\.?/i,Oi=Ke("Hours",!0);function Ti(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var ys={calendar:ga,longDateFormat:va,invalidDate:Sa,ordinal:Ma,dayOfMonthOrdinalParse:ba,relativeTime:Oa,months:Va,monthsShort:us,week:ti,weekdays:oi,weekdaysMin:ui,weekdaysShort:_s,meridiemParse:Yi},W={},st={},ut;function Ni(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function Yr(e){return e&&e.toLowerCase().replace("_","-")}function Pi(e){for(var t=0,r,s,a,n;t<e.length;){for(n=Yr(e[t]).split("-"),r=n.length,s=Yr(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Lt(n.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Ni(n,s)>=r-1)break;r--}t++}return ut}function Ci(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Lt(e){var t=null,r;if(W[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Ci(e))try{t=ut._abbr,r=ha,r("./locale/"+e),xe(t)}catch(s){W[e]=null}return W[e]}function xe(e,t){var r;return e&&(ue(t)?r=Fe(e):r=ur(e,t),r?ut=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ut._abbr}function ur(e,t){if(t!==null){var r,s=ys;if(t.abbr=e,W[e]!=null)ts("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=W[e]._config;else if(t.parentLocale!=null)if(W[t.parentLocale]!=null)s=W[t.parentLocale]._config;else if(r=Lt(t.parentLocale),r!=null)s=r._config;else return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;return W[e]=new $t(jt(s,t)),st[e]&&st[e].forEach(function(a){ur(a.name,a.config)}),xe(e),W[e]}else return delete W[e],null}function Fi(e,t){if(t!=null){var r,s,a=ys;W[e]!=null&&W[e].parentLocale!=null?W[e].set(jt(W[e]._config,t)):(s=Lt(e),s!=null&&(a=s._config),t=jt(a,t),s==null&&(t.abbr=e),r=new $t(t),r.parentLocale=W[e],W[e]=r),xe(e)}else W[e]!=null&&(W[e].parentLocale!=null?(W[e]=W[e].parentLocale,e===xe()&&xe(e)):W[e]!=null&&delete W[e]);return W[e]}function Fe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ut;if(!pe(e)){if(t=Lt(e),t)return t;e=[e]}return Pi(e)}function Bi(){return Gt(W)}function dr(e){var t,r=e._a;return r&&M(e).overflow===-2&&(t=r[Oe]<0||r[Oe]>11?Oe:r[ve]<1||r[ve]>ir(r[ne],r[Oe])?ve:r[$]<0||r[$]>24||r[$]===24&&(r[ge]!==0||r[Te]!==0||r[We]!==0)?$:r[ge]<0||r[ge]>59?ge:r[Te]<0||r[Te]>59?Te:r[We]<0||r[We]>999?We:-1,M(e)._overflowDayOfYear&&(t<ne||t>ve)&&(t=ve),M(e)._overflowWeeks&&t===-1&&(t=xa),M(e)._overflowWeekday&&t===-1&&(t=Ra),M(e).overflow=t),e}var Ii=/^\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)?)?$/,Li=/^\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)?)?$/,Ui=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xi=/^\/?Date\((-?\d+)/i,Ri=/^(?:(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}))$/,Wi={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function ws(e){var t,r,s=e._i,a=Ii.exec(s)||Li.exec(s),n,l,d,o,f=wt.length,p=Ht.length;if(a){for(M(e).iso=!0,t=0,r=f;t<r;t++)if(wt[t][1].exec(a[1])){l=wt[t][0],n=wt[t][2]!==!1;break}if(l==null){e._isValid=!1;return}if(a[3]){for(t=0,r=p;t<r;t++)if(Ht[t][1].exec(a[3])){d=(a[2]||" ")+Ht[t][0];break}if(d==null){e._isValid=!1;return}}if(!n&&d!=null){e._isValid=!1;return}if(a[4])if(Ui.exec(a[4]))o="Z";else{e._isValid=!1;return}e._f=l+(d||"")+(o||""),hr(e)}else e._isValid=!1}function Ei(e,t,r,s,a,n){var l=[Hi(e),us.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return n&&l.push(parseInt(n,10)),l}function Hi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ai(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Vi(e,t,r){if(e){var s=_s.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function ji(e,t,r){if(e)return Wi[e];if(t)return 0;var s=parseInt(r,10),a=s%100,n=(s-a)/100;return n*60+a}function vs(e){var t=Ri.exec(Ai(e._i)),r;if(t){if(r=Ei(t[4],t[3],t[2],t[5],t[6],t[7]),!Vi(t[1],r,e))return;e._a=r,e._tzm=ji(t[8],t[9],t[10]),e._d=lt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),M(e).rfc2822=!0}else e._isValid=!1}function Gi(e){var t=xi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ws(e),e._isValid===!1)delete e._isValid;else return;if(vs(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=me("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function je(e,t,r){return e!=null?e:t!=null?t:r}function zi(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function cr(e){var t,r,s=[],a,n,l;if(!e._d){for(a=zi(e),e._w&&e._a[ve]==null&&e._a[Oe]==null&&Zi(e),e._dayOfYear!=null&&(l=je(e._a[ne],a[ne]),(e._dayOfYear>it(l)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),r=lt(l,0,e._dayOfYear),e._a[Oe]=r.getUTCMonth(),e._a[ve]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[$]===24&&e._a[ge]===0&&e._a[Te]===0&&e._a[We]===0&&(e._nextDay=!0,e._a[$]=0),e._d=(e._useUTC?lt:$a).apply(null,s),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==n&&(M(e).weekdayMismatch=!0)}}function Zi(e){var t,r,s,a,n,l,d,o,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,l=4,r=je(t.GG,e._a[ne],ot(U(),1,4).year),s=je(t.W,1),a=je(t.E,1),(a<1||a>7)&&(o=!0)):(n=e._locale._week.dow,l=e._locale._week.doy,f=ot(U(),n,l),r=je(t.gg,e._a[ne],f.year),s=je(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(o=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(o=!0)):a=n),s<1||s>Pe(r,n,l)?M(e)._overflowWeeks=!0:o!=null?M(e)._overflowWeekday=!0:(d=ms(r,s,a,n,l),e._a[ne]=d.year,e._dayOfYear=d.dayOfYear)}m.ISO_8601=function(){};m.RFC_2822=function(){};function hr(e){if(e._f===m.ISO_8601){ws(e);return}if(e._f===m.RFC_2822){vs(e);return}e._a=[],M(e).empty=!0;var t=""+e._i,r,s,a,n,l,d=t.length,o=0,f,p;for(a=rs(e._f,e._locale).match(er)||[],p=a.length,r=0;r<p;r++)n=a[r],s=(t.match(Ia(n,e))||[])[0],s&&(l=t.substr(0,t.indexOf(s)),l.length>0&&M(e).unusedInput.push(l),t=t.slice(t.indexOf(s)+s.length),o+=s.length),ze[n]?(s?M(e).empty=!1:M(e).unusedTokens.push(n),Ua(n,s,e)):e._strict&&!s&&M(e).unusedTokens.push(n);M(e).charsLeftOver=d-o,t.length>0&&M(e).unusedInput.push(t),e._a[$]<=12&&M(e).bigHour===!0&&e._a[$]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[$]=qi(e._locale,e._a[$],e._meridiem),f=M(e).era,f!==null&&(e._a[ne]=e._locale.erasConvertYear(f,e._a[ne])),cr(e),dr(e)}function qi(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Ji(e){var t,r,s,a,n,l,d=!1,o=e._f.length;if(o===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<o;a++)n=0,l=!1,t=Xt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],hr(t),Kt(t)&&(l=!0),n+=M(t).charsLeftOver,n+=M(t).unusedTokens.length*10,M(t).score=n,d?n<s&&(s=n,r=t):(s==null||n<s||l)&&(s=n,r=t,l&&(d=!0));Le(e,r||t)}function Qi(e){if(!e._d){var t=tr(e._i),r=t.day===void 0?t.date:t.day;e._a=$r([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),cr(e)}}function Ki(e){var t=new ct(dr(ks(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ks(e){var t=e._i,r=e._f;return e._locale=e._locale||Fe(e._l),t===null||r===void 0&&t===""?Tt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ye(t)?new ct(dr(t)):(dt(t)?e._d=t:pe(r)?Ji(e):r?hr(e):Xi(e),Kt(e)||(e._d=null),e))}function Xi(e){var t=e._i;ue(t)?e._d=new Date(m.now()):dt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Gi(e):pe(t)?(e._a=$r(t.slice(0),function(r){return parseInt(r,10)}),cr(e)):Ee(t)?Qi(e):Ce(t)?e._d=new Date(t):m.createFromInputFallback(e)}function Ss(e,t,r,s,a){var n={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(Ee(e)&&Qt(e)||pe(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=r,n._i=e,n._f=t,n._strict=s,Ki(n)}function U(e,t,r,s){return Ss(e,t,r,s,!1)}var $i=me("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Tt()}),en=me("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Tt()});function Ds(e,t){var r,s;if(t.length===1&&pe(t[0])&&(t=t[0]),!t.length)return U();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function tn(){var e=[].slice.call(arguments,0);return Ds("isBefore",e)}function rn(){var e=[].slice.call(arguments,0);return Ds("isAfter",e)}var sn=function(){return Date.now?Date.now():+new Date},at=["year","quarter","month","week","day","hour","minute","second","millisecond"];function an(e){var t,r=!1,s,a=at.length;for(t in e)if(O(e,t)&&!(q.call(at,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[at[s]]){if(r)return!1;parseFloat(e[at[s]])!==b(e[at[s]])&&(r=!0)}return!0}function nn(){return this._isValid}function ln(){return we(NaN)}function Ut(e){var t=tr(e),r=t.year||0,s=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,l=t.day||0,d=t.hour||0,o=t.minute||0,f=t.second||0,p=t.millisecond||0;this._isValid=an(t),this._milliseconds=+p+f*1e3+o*6e4+d*1e3*60*60,this._days=+l+n*7,this._months=+a+s*3+r*12,this._data={},this._locale=Fe(),this._bubble()}function kt(e){return e instanceof Ut}function Zt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function on(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,l;for(l=0;l<s;l++)b(e[l])!==b(t[l])&&n++;return n+a}function Ms(e,t){v(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+ke(~~(r/60),2)+t+ke(~~r%60,2)})}Ms("Z",":");Ms("ZZ","");_("Z",Bt);_("ZZ",Bt);C(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=fr(Bt,e)});var un=/([\+\-]|\d\d)/gi;function fr(e,t){var r=(t||"").match(e),s,a,n;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(un)||["-",0,0],n=+(a[1]*60)+b(a[2]),n===0?0:a[0]==="+"?n:-n)}function mr(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(ye(e)||dt(e)?e.valueOf():U(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),m.updateOffset(r,!1),r):U(e).local()}function qt(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function dn(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=fr(Bt,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=qt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?Os(this,we(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:qt(this)}function cn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function hn(e){return this.utcOffset(0,e)}function fn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qt(this),"m")),this}function mn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=fr(Fa,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _n(e){return this.isValid()?(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function gn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function pn(){if(!ue(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xt(e,this),e=ks(e),e._a?(t=e._isUTC?Se(e._a):U(e._a),this._isDSTShifted=this.isValid()&&on(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function yn(){return this.isValid()?!this._isUTC:!1}function wn(){return this.isValid()?this._isUTC:!1}function bs(){return this.isValid()?this._isUTC&&this._offset===0:!1}var vn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,kn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function we(e,t){var r=e,s=null,a,n,l;return kt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Ce(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=vn.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:b(s[ve])*a,h:b(s[$])*a,m:b(s[ge])*a,s:b(s[Te])*a,ms:b(Zt(s[We]*1e3))*a}):(s=kn.exec(e))?(a=s[1]==="-"?-1:1,r={y:Re(s[2],a),M:Re(s[3],a),w:Re(s[4],a),d:Re(s[5],a),h:Re(s[6],a),m:Re(s[7],a),s:Re(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(l=Sn(U(r.from),U(r.to)),r={},r.ms=l.milliseconds,r.M=l.months),n=new Ut(r),kt(e)&&O(e,"_locale")&&(n._locale=e._locale),kt(e)&&O(e,"_isValid")&&(n._isValid=e._isValid),n}we.fn=Ut.prototype;we.invalid=ln;function Re(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Or(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Sn(e,t){var r;return e.isValid()&&t.isValid()?(t=mr(t,e),e.isBefore(t)?r=Or(e,t):(r=Or(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ys(e,t){return function(r,s){var a,n;return s!==null&&!isNaN(+s)&&(ts(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=r,r=s,s=n),a=we(r,s),Os(this,a,e),this}}function Os(e,t,r,s){var a=t._milliseconds,n=Zt(t._days),l=Zt(t._months);e.isValid()&&(s=s==null?!0:s,l&&cs(e,nt(e,"Month")+l*r),n&&os(e,"Date",nt(e,"Date")+n*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&m.updateOffset(e,n||l))}var Dn=Ys(1,"add"),Mn=Ys(-1,"subtract");function Ts(e){return typeof e=="string"||e instanceof String}function bn(e){return ye(e)||dt(e)||Ts(e)||Ce(e)||On(e)||Yn(e)||e===null||e===void 0}function Yn(e){var t=Ee(e)&&!Qt(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n,l=s.length;for(a=0;a<l;a+=1)n=s[a],r=r||O(e,n);return t&&r}function On(e){var t=pe(e),r=!1;return t&&(r=e.filter(function(s){return!Ce(s)&&Ts(e)}).length===0),t&&r}function Tn(e){var t=Ee(e)&&!Qt(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<s.length;a+=1)n=s[a],r=r||O(e,n);return t&&r}function Nn(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Pn(e,t){arguments.length===1&&(arguments[0]?bn(arguments[0])?(e=arguments[0],t=void 0):Tn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||U(),s=mr(r,this).startOf("day"),a=m.calendarFormat(this,s)||"sameElse",n=t&&(De(t[a])?t[a].call(this,r):t[a]);return this.format(n||this.localeData().calendar(a,this,U(r)))}function Cn(){return new ct(this)}function Fn(e,t){var r=ye(e)?e:U(e);return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Bn(e,t){var r=ye(e)?e:U(e);return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function In(e,t,r,s){var a=ye(e)?e:U(e),n=ye(t)?t:U(t);return this.isValid()&&a.isValid()&&n.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(n,r):!this.isAfter(n,r))):!1}function Ln(e,t){var r=ye(e)?e:U(e),s;return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Un(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function xn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Rn(e,t,r){var s,a,n;if(!this.isValid())return NaN;if(s=mr(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=_e(t),t){case"year":n=St(this,s)/12;break;case"month":n=St(this,s);break;case"quarter":n=St(this,s)/3;break;case"second":n=(this-s)/1e3;break;case"minute":n=(this-s)/6e4;break;case"hour":n=(this-s)/36e5;break;case"day":n=(this-s-a)/864e5;break;case"week":n=(this-s-a)/6048e5;break;default:n=this-s}return r?n:fe(n)}function St(e,t){if(e.date()<t.date())return-St(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,n;return t-s<0?(a=e.clone().add(r-1,"months"),n=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),n=(t-s)/(a-s)),-(r+n)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Wn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function En(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?vt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):De(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",vt(r,"Z")):vt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Hn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(r+s+a+n)}function An(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=vt(this,e);return this.localeData().postformat(t)}function Vn(e,t){return this.isValid()&&(ye(e)&&e.isValid()||U(e).isValid())?we({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function jn(e){return this.from(U(),e)}function Gn(e,t){return this.isValid()&&(ye(e)&&e.isValid()||U(e).isValid())?we({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function zn(e){return this.to(U(),e)}function Ns(e){var t;return e===void 0?this._locale._abbr:(t=Fe(e),t!=null&&(this._locale=t),this)}var Ps=me("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Cs(){return this._locale}var bt=1e3,Ze=60*bt,Yt=60*Ze,Fs=(365*400+97)*24*Yt;function qe(e,t){return(e%t+t)%t}function Bs(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Fs:new Date(e,t,r).valueOf()}function Is(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Fs:Date.UTC(e,t,r)}function Zn(e){var t,r;if(e=_e(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Is:Bs,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-=qe(t+(this._isUTC?0:this.utcOffset()*Ze),Yt);break;case"minute":t=this._d.valueOf(),t-=qe(t,Ze);break;case"second":t=this._d.valueOf(),t-=qe(t,bt);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function qn(e){var t,r;if(e=_e(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Is:Bs,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Yt-qe(t+(this._isUTC?0:this.utcOffset()*Ze),Yt)-1;break;case"minute":t=this._d.valueOf(),t+=Ze-qe(t,Ze)-1;break;case"second":t=this._d.valueOf(),t+=bt-qe(t,bt)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function Jn(){return this._d.valueOf()-(this._offset||0)*6e4}function Qn(){return Math.floor(this.valueOf()/1e3)}function Kn(){return new Date(this.valueOf())}function Xn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function $n(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function el(){return this.isValid()?this.toISOString():null}function tl(){return Kt(this)}function rl(){return Le({},M(this))}function sl(){return M(this).overflow}function al(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}v("N",0,0,"eraAbbr");v("NN",0,0,"eraAbbr");v("NNN",0,0,"eraAbbr");v("NNNN",0,0,"eraName");v("NNNNN",0,0,"eraNarrow");v("y",["y",1],"yo","eraYear");v("y",["yy",2],0,"eraYear");v("y",["yyy",3],0,"eraYear");v("y",["yyyy",4],0,"eraYear");_("N",_r);_("NN",_r);_("NNN",_r);_("NNNN",_l);_("NNNNN",gl);C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?M(r).era=a:M(r).invalidEra=e});_("y",Je);_("yy",Je);_("yyy",Je);_("yyyy",Je);_("yo",pl);C(["y","yy","yyy","yyyy"],ne);C(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ne]=r._locale.eraYearOrdinalParse(e,a):t[ne]=parseInt(e,10)});function il(e,t){var r,s,a,n=this._eras||Fe("en")._eras;for(r=0,s=n.length;r<s;++r){switch(typeof n[r].since){case"string":a=m(n[r].since).startOf("day"),n[r].since=a.valueOf();break}switch(typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":a=m(n[r].until).startOf("day").valueOf(),n[r].until=a.valueOf();break}}return n}function nl(e,t,r){var s,a,n=this.eras(),l,d,o;for(e=e.toUpperCase(),s=0,a=n.length;s<a;++s)if(l=n[s].name.toUpperCase(),d=n[s].abbr.toUpperCase(),o=n[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return n[s];break;case"NNNN":if(l===e)return n[s];break;case"NNNNN":if(o===e)return n[s];break}else if([l,d,o].indexOf(e)>=0)return n[s]}function ll(e,t){var r=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*r}function ol(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function ul(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function dl(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function cl(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-m(a[e].since).year())*r+a[e].offset;return this.year()}function hl(e){return O(this,"_erasNameRegex")||gr.call(this),e?this._erasNameRegex:this._erasRegex}function fl(e){return O(this,"_erasAbbrRegex")||gr.call(this),e?this._erasAbbrRegex:this._erasRegex}function ml(e){return O(this,"_erasNarrowRegex")||gr.call(this),e?this._erasNarrowRegex:this._erasRegex}function _r(e,t){return t.erasAbbrRegex(e)}function _l(e,t){return t.erasNameRegex(e)}function gl(e,t){return t.erasNarrowRegex(e)}function pl(e,t){return t._eraYearOrdinalRegex||Je}function gr(){var e=[],t=[],r=[],s=[],a,n,l,d,o,f=this.eras();for(a=0,n=f.length;a<n;++a)l=Ne(f[a].name),d=Ne(f[a].abbr),o=Ne(f[a].narrow),t.push(l),e.push(d),r.push(o),s.push(l),s.push(d),s.push(o);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}v(0,["gg",2],0,function(){return this.weekYear()%100});v(0,["GG",2],0,function(){return this.isoWeekYear()%100});function xt(e,t){v(0,[e,e.length],0,t)}xt("gggg","weekYear");xt("ggggg","weekYear");xt("GGGG","isoWeekYear");xt("GGGGG","isoWeekYear");_("G",Ft);_("g",Ft);_("GG",x,ce);_("gg",x,ce);_("GGGG",sr,rr);_("gggg",sr,rr);_("GGGGG",Ct,Nt);_("ggggg",Ct,Nt);ft(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=b(e)});ft(["gg","GG"],function(e,t,r,s){t[s]=m.parseTwoDigitYear(e)});function yl(e){return Ls.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function wl(e){return Ls.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function vl(){return Pe(this.year(),1,4)}function kl(){return Pe(this.isoWeekYear(),1,4)}function Sl(){var e=this.localeData()._week;return Pe(this.year(),e.dow,e.doy)}function Dl(){var e=this.localeData()._week;return Pe(this.weekYear(),e.dow,e.doy)}function Ls(e,t,r,s,a){var n;return e==null?ot(this,s,a).year:(n=Pe(e,s,a),t>n&&(t=n),Ml.call(this,e,t,r,s,a))}function Ml(e,t,r,s,a){var n=ms(e,t,r,s,a),l=lt(n.year,0,n.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}v("Q",0,"Qo","quarter");_("Q",ss);C("Q",function(e,t){t[Oe]=(b(e)-1)*3});function bl(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}v("D",["DD",2],"Do","date");_("D",x,Qe);_("DD",x,ce);_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});C(["D","DD"],ve);C("Do",function(e,t){t[ve]=b(e.match(x)[0])});var Us=Ke("Date",!0);v("DDD",["DDDD",3],"DDDo","dayOfYear");_("DDD",Pt);_("DDDD",as);C(["DDD","DDDD"],function(e,t,r){r._dayOfYear=b(e)});function Yl(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}v("m",["mm",2],0,"minute");_("m",x,ar);_("mm",x,ce);C(["m","mm"],ge);var Ol=Ke("Minutes",!1);v("s",["ss",2],0,"second");_("s",x,ar);_("ss",x,ce);C(["s","ss"],Te);var Tl=Ke("Seconds",!1);v("S",0,0,function(){return~~(this.millisecond()/100)});v(0,["SS",2],0,function(){return~~(this.millisecond()/10)});v(0,["SSS",3],0,"millisecond");v(0,["SSSS",4],0,function(){return this.millisecond()*10});v(0,["SSSSS",5],0,function(){return this.millisecond()*100});v(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});v(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});v(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});v(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});_("S",Pt,ss);_("SS",Pt,ce);_("SSS",Pt,as);var Ue,xs;for(Ue="SSSS";Ue.length<=9;Ue+="S")_(Ue,Je);function Nl(e,t){t[We]=b(("0."+e)*1e3)}for(Ue="S";Ue.length<=9;Ue+="S")C(Ue,Nl);xs=Ke("Milliseconds",!1);v("z",0,0,"zoneAbbr");v("zz",0,0,"zoneName");function Pl(){return this._isUTC?"UTC":""}function Cl(){return this._isUTC?"Coordinated Universal Time":""}var h=ct.prototype;h.add=Dn;h.calendar=Pn;h.clone=Cn;h.diff=Rn;h.endOf=qn;h.format=An;h.from=Vn;h.fromNow=jn;h.to=Gn;h.toNow=zn;h.get=Ea;h.invalidAt=sl;h.isAfter=Fn;h.isBefore=Bn;h.isBetween=In;h.isSame=Ln;h.isSameOrAfter=Un;h.isSameOrBefore=xn;h.isValid=tl;h.lang=Ps;h.locale=Ns;h.localeData=Cs;h.max=en;h.min=$i;h.parsingFlags=rl;h.set=Ha;h.startOf=Zn;h.subtract=Mn;h.toArray=Xn;h.toObject=$n;h.toDate=Kn;h.toISOString=En;h.inspect=Hn;typeof Symbol!="undefined"&&Symbol.for!=null&&(h[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});h.toJSON=el;h.toString=Wn;h.unix=Qn;h.valueOf=Jn;h.creationData=al;h.eraName=ol;h.eraNarrow=ul;h.eraAbbr=dl;h.eraYear=cl;h.year=ls;h.isLeapYear=Wa;h.weekYear=yl;h.isoWeekYear=wl;h.quarter=h.quarters=bl;h.month=hs;h.daysInMonth=Qa;h.week=h.weeks=ai;h.isoWeek=h.isoWeeks=ii;h.weeksInYear=Sl;h.weeksInWeekYear=Dl;h.isoWeeksInYear=vl;h.isoWeeksInISOWeekYear=kl;h.date=Us;h.day=h.days=yi;h.weekday=wi;h.isoWeekday=vi;h.dayOfYear=Yl;h.hour=h.hours=Oi;h.minute=h.minutes=Ol;h.second=h.seconds=Tl;h.millisecond=h.milliseconds=xs;h.utcOffset=dn;h.utc=hn;h.local=fn;h.parseZone=mn;h.hasAlignedHourOffset=_n;h.isDST=gn;h.isLocal=yn;h.isUtcOffset=wn;h.isUtc=bs;h.isUTC=bs;h.zoneAbbr=Pl;h.zoneName=Cl;h.dates=me("dates accessor is deprecated. Use date instead.",Us);h.months=me("months accessor is deprecated. Use month instead",hs);h.years=me("years accessor is deprecated. Use year instead",ls);h.zone=me("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",cn);h.isDSTShifted=me("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",pn);function Fl(e){return U(e*1e3)}function Bl(){return U.apply(null,arguments).parseZone()}function Rs(e){return e}var T=$t.prototype;T.calendar=pa;T.longDateFormat=ka;T.invalidDate=Da;T.ordinal=Ya;T.preparse=Rs;T.postformat=Rs;T.relativeTime=Ta;T.pastFuture=Na;T.set=_a;T.eras=il;T.erasParse=nl;T.erasConvertYear=ll;T.erasAbbrRegex=fl;T.erasNameRegex=hl;T.erasNarrowRegex=ml;T.months=za;T.monthsShort=Za;T.monthsParse=Ja;T.monthsRegex=Xa;T.monthsShortRegex=Ka;T.week=ei;T.firstDayOfYear=si;T.firstDayOfWeek=ri;T.weekdays=fi;T.weekdaysMin=_i;T.weekdaysShort=mi;T.weekdaysParse=pi;T.weekdaysRegex=ki;T.weekdaysShortRegex=Si;T.weekdaysMinRegex=Di;T.isPM=bi;T.meridiem=Ti;function Ot(e,t,r,s){var a=Fe(),n=Se().set(s,t);return a[r](n,e)}function Ws(e,t,r){if(Ce(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ot(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Ot(e,s,r,"month");return a}function pr(e,t,r,s){typeof e=="boolean"?(Ce(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Ce(t)&&(r=t,t=void 0),t=t||"");var a=Fe(),n=e?a._week.dow:0,l,d=[];if(r!=null)return Ot(t,(r+n)%7,s,"day");for(l=0;l<7;l++)d[l]=Ot(t,(l+n)%7,s,"day");return d}function Il(e,t){return Ws(e,t,"months")}function Ll(e,t){return Ws(e,t,"monthsShort")}function Ul(e,t,r){return pr(e,t,r,"weekdays")}function xl(e,t,r){return pr(e,t,r,"weekdaysShort")}function Rl(e,t,r){return pr(e,t,r,"weekdaysMin")}xe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=b(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});m.lang=me("moment.lang is deprecated. Use moment.locale instead.",xe);m.langData=me("moment.langData is deprecated. Use moment.localeData instead.",Fe);var be=Math.abs;function Wl(){var e=this._data;return this._milliseconds=be(this._milliseconds),this._days=be(this._days),this._months=be(this._months),e.milliseconds=be(e.milliseconds),e.seconds=be(e.seconds),e.minutes=be(e.minutes),e.hours=be(e.hours),e.months=be(e.months),e.years=be(e.years),this}function Es(e,t,r,s){var a=we(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function El(e,t){return Es(this,e,t,1)}function Hl(e,t){return Es(this,e,t,-1)}function Tr(e){return e<0?Math.floor(e):Math.ceil(e)}function Al(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,n,l,d,o;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Tr(Jt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=fe(e/1e3),s.seconds=a%60,n=fe(a/60),s.minutes=n%60,l=fe(n/60),s.hours=l%24,t+=fe(l/24),o=fe(Hs(t)),r+=o,t-=Tr(Jt(o)),d=fe(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function Hs(e){return e*4800/146097}function Jt(e){return e*146097/4800}function Vl(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=_e(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Hs(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Jt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Be(e){return function(){return this.as(e)}}var As=Be("ms"),jl=Be("s"),Gl=Be("m"),zl=Be("h"),Zl=Be("d"),ql=Be("w"),Jl=Be("M"),Ql=Be("Q"),Kl=Be("y"),Xl=As;function $l(){return we(this)}function eo(e){return e=_e(e),this.isValid()?this[e+"s"]():NaN}function He(e){return function(){return this.isValid()?this._data[e]:NaN}}var to=He("milliseconds"),ro=He("seconds"),so=He("minutes"),ao=He("hours"),io=He("days"),no=He("months"),lo=He("years");function oo(){return fe(this.days()/7)}var Ye=Math.round,Ge={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function uo(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function co(e,t,r,s){var a=we(e).abs(),n=Ye(a.as("s")),l=Ye(a.as("m")),d=Ye(a.as("h")),o=Ye(a.as("d")),f=Ye(a.as("M")),p=Ye(a.as("w")),S=Ye(a.as("y")),D=n<=r.ss&&["s",n]||n<r.s&&["ss",n]||l<=1&&["m"]||l<r.m&&["mm",l]||d<=1&&["h"]||d<r.h&&["hh",d]||o<=1&&["d"]||o<r.d&&["dd",o];return r.w!=null&&(D=D||p<=1&&["w"]||p<r.w&&["ww",p]),D=D||f<=1&&["M"]||f<r.M&&["MM",f]||S<=1&&["y"]||["yy",S],D[2]=t,D[3]=+e>0,D[4]=s,uo.apply(null,D)}function ho(e){return e===void 0?Ye:typeof e=="function"?(Ye=e,!0):!1}function fo(e,t){return Ge[e]===void 0?!1:t===void 0?Ge[e]:(Ge[e]=t,e==="s"&&(Ge.ss=t-1),!0)}function mo(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=Ge,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},Ge,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),n=co(this,!r,s,a),r&&(n=a.pastFuture(+this,n)),a.postformat(n)}var At=Math.abs;function Ve(e){return(e>0)-(e<0)||+e}function Rt(){if(!this.isValid())return this.localeData().invalidDate();var e=At(this._milliseconds)/1e3,t=At(this._days),r=At(this._months),s,a,n,l,d=this.asSeconds(),o,f,p,S;return d?(s=fe(e/60),a=fe(s/60),e%=60,s%=60,n=fe(r/12),r%=12,l=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",f=Ve(this._months)!==Ve(d)?"-":"",p=Ve(this._days)!==Ve(d)?"-":"",S=Ve(this._milliseconds)!==Ve(d)?"-":"",o+"P"+(n?f+n+"Y":"")+(r?f+r+"M":"")+(t?p+t+"D":"")+(a||s||e?"T":"")+(a?S+a+"H":"")+(s?S+s+"M":"")+(e?S+l+"S":"")):"P0D"}var Y=Ut.prototype;Y.isValid=nn;Y.abs=Wl;Y.add=El;Y.subtract=Hl;Y.as=Vl;Y.asMilliseconds=As;Y.asSeconds=jl;Y.asMinutes=Gl;Y.asHours=zl;Y.asDays=Zl;Y.asWeeks=ql;Y.asMonths=Jl;Y.asQuarters=Ql;Y.asYears=Kl;Y.valueOf=Xl;Y._bubble=Al;Y.clone=$l;Y.get=eo;Y.milliseconds=to;Y.seconds=ro;Y.minutes=so;Y.hours=ao;Y.days=io;Y.weeks=oo;Y.months=no;Y.years=lo;Y.humanize=mo;Y.toISOString=Rt;Y.toString=Rt;Y.toJSON=Rt;Y.locale=Ns;Y.localeData=Cs;Y.toIsoString=me("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Rt);Y.lang=Ps;v("X",0,0,"unix");v("x",0,0,"valueOf");_("x",Ft);_("X",Ba);C("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});C("x",function(e,t,r){r._d=new Date(b(e))});//! moment.js
10
- m.version="2.30.1";fa(U);m.fn=h;m.min=tn;m.max=rn;m.now=sn;m.utc=Se;m.unix=Fl;m.months=Il;m.isDate=dt;m.locale=xe;m.invalid=Tt;m.duration=we;m.isMoment=ye;m.weekdays=Ul;m.parseZone=Bl;m.localeData=Fe;m.isDuration=kt;m.monthsShort=Ll;m.weekdaysMin=Rl;m.defineLocale=ur;m.updateLocale=Fi;m.locales=Bi;m.weekdaysShort=xl;m.normalizeUnits=_e;m.relativeTimeRounding=ho;m.relativeTimeThreshold=fo;m.calendarFormat=Nn;m.prototype=h;m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function Nr(e,t){i.addMessages(e,t)}function _o(e){i.$locale.set(e)}const Pr={en:{registerBackButton:"Back",registerUserTitle:"Title",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"First Name",registerFirstNameError:"First name must be 2-50 characters long.",registerLastName:"Last Name",registerLastNameError:"Last name must be 2-50 characters.",registerDateOfBirth:"Date of Birth",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Birth Place",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Currency",registerNext:"Next",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},"zh-hk":{registerBackButton:"後退",registerUserTitle:"標題",registerUserTitleSelect:"选择标题",registerUserTitleSelectMr:"先生.",registerUserTitleSelectMrs:"太太.",registerUserTitleSelectMs:"小姐.",registerFirstName:"名",registerFirstNameError:"名字的長度必須至少為 2 個字符,並且不包含特殊字符。",registerLastName:"姓",registerLastNameError:"姓氏必須至少有 2 個字符長並且不包含特殊字符。",registerDateOfBirth:"出生日期",registerBirthDay:"天",registerBirthMonth:"月",registerBirthYear:"年",registerBirthDateError:"最低注册年龄为 {licenseyears} 年。",registerBirthPlace:"出生地",registerBirthPlaceError:"出生地必須至少有 1 個字符長。",registerCurrency:"貨幣",registerNext:"下一個",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},fr:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Mademoiselle",registerFirstName:"Prénom",registerFirstNameError:"Le prénom doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerLastName:"Nom de famille",registerLastNameError:"Le nom de famille doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerDateOfBirth:"Date de naissance",registerBirthDay:"Jour",registerBirthMonth:"Mois",registerBirthYear:"An",registerBirthDateError:"L'âge minimum d'enregistrement est de {licenseyears} ans.",registerBirthPlace:"Lieu de naissance",registerBirthPlaceError:"Le lieu de naissance doit comporter au moins un caractère.",registerCurrency:"Monnaie",registerNext:"Suivant",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},tr:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seçin",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soy isim",registerLastNameError:"Soyadı 2-50 karakter arasında olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıldır.",registerBirthPlace:"Doğum Yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki",registerPersonalId:"Kişisel kimlik",registerPersonalIdCharacters:"Sadece sayılar",registerPersonalIdLength:"Yanlış Uzunluk"},ro:{registerBackButton:"Inapoi",registerUserTitle:"Titlu",registerUserTitleSelect:"Selecteaza Titlu",registerUserTitleSelectMr:"Dl.",registerUserTitleSelectMrs:"Dna.",registerUserTitleSelectMs:"Dra.",registerFirstName:"Prenume",registerFirstNameError:"Prenumele trebuie sa fie de 2-50 litere lungime.",registerLastName:"Nume",registerLastNameError:"Numele trebuie sa fie de 2-50 litere lungime.",registerDateOfBirth:"Data Nasterii",registerBirthDay:"Zi",registerBirthMonth:"Luna",registerBirthYear:"An",registerBirthDateError:"Varsta minima pentru inregistrare este de {licenseyears} ani.",registerBirthPlace:"Locule nasterii",registerBirthPlaceError:"Locul nasterii trebuie sa contina minim o litera",registerCurrency:"Moneda",registerNext:"Urmatorul",registerPersonalId:"Cod Numeric Personal",registerPersonalIdCharacters:"Pot fi introduse doar cifre",registerPersonalIdLength:"Codul numeric personal trebuie sa contina 13 cifre."},es:{registerBackButton:"Anterior",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar Título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srta.",registerFirstName:"Nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Apellido",registerLastNameError:"Apellido debe tener entre 2 a 50 caracteres.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima para registrarse es {licenseyears} años",registerBirthPlace:"Lugar de Nacimiento",registerBirthPlaceError:"Lugar de Nacimiento debe tener al menos 1 carácter.",registerCurrency:"Moneda",registerNext:"Siguiente",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},pt:{registerBackButton:"Voltar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primeiro nome",registerFirstNameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerLastName:"Último nome",registerLastNameError:"O sobrenome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Local de Nascimento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moeda",registerNext:"Próximo",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},hr:{registerBackButton:"Prethodno",registerUserTitle:"Titula",registerUserTitleSelect:"Odaberite titulu",registerUserTitleSelectMr:"Gosp.",registerUserTitleSelectMrs:"Gđa",registerUserTitleSelectMs:"Gđica",registerFirstName:"Ime",registerFirstNameError:"Ime mora imati 2-50 znakova.",registerLastName:"Prezime",registerLastNameError:"Prezime mora imati 2-50 znakova.",registerDateOfBirth:"Datum rođenja",registerBirthDay:"Dan",registerBirthMonth:"Mjesec",registerBirthYear:"Godina",registerBirthDateError:"Za registraciju morate imati najmanje 18 godina.",registerBirthPlace:"Mjesto rođenja",registerBirthPlaceError:"Mjesto rođenja mora imati najmanje 1 znak.",registerCurrency:"Valuta",registerNext:"Slijedeće",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Samo brojevi",registerPersonalIdLength:"Pogrešna duljina"},"pt-br":{registerBackButton:"Atrás",registerUserTitle:"Título",registerUserTitleSelect:"Selecionar título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srita.",registerFirstName:"Nome",registerFirstNameError:"O nome deve ser de 2 a 20 caracteres de comprimento.",registerLastName:"Sobrenome",registerLastNameError:"O sobrenome deve ter de 2 a 50 caracteres.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Ano",registerBirthDateError:"A idade mínimo de registro é {licenseyears} anos.",registerBirthPlace:"Lugar de nascimento",registerBirthPlaceError:"O lugar de nascimento deve ter pelo menos 1 caractere",registerCurrency:"Moeda",registerNext:"Próximo",registerPersonalId:"Identificación",registerPersonalIdCharacters:"Somente números",registerPersonalIdLength:"Formato de número de identificação incorreto"},"es-mx":{registerBackButton:"Atrás",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srita.",registerFirstName:"Nombre",registerFirstNameError:"Nombre debe ser de 2 a 20 caracteres de largo.",registerLastName:"Apellido",registerLastNameError:"Apellido debe ser de 2 a 50 caracteres de largo.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima de registro es {licenseyears} años.",registerBirthPlace:"Lugar de nacimiento",registerBirthPlaceError:"Lugar de nacimiento debe tener al menos 1 caracter",registerCurrency:"Moneda",registerNext:"Siguiente",registerPersonalId:"Identificación",registerPersonalIdCharacters:"Sólo números",registerPersonalIdLength:"Formato de número de identificación Incorrecto"},"en-us":{registerBackButton:"Back",registerUserTitle:"Title",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"First Name",registerFirstNameError:"First name must be 2-50 characters long.",registerLastName:"Last Name",registerLastNameError:"Last name must be 2-50 characters.",registerDateOfBirth:"Date of Birth",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Birth Place",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Currency",registerNext:"Next",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"}};function go(e){i.append_styles(e,"svelte-12cj2jf",`.BackButton{display:inline-flex;color:var(--emw--registration-typography, var(--emw--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(--emw--registration-color-primary, var(--emw--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(--emw--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(--emw--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(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.PersonalIdContainer,.CurrencyContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.UserTitleContainer label,.FirstNameContainer label,.LastNameContainer label,.BirthDateContainer label,.BirthPlaceContainer label,.PersonalIdContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer input,.UserTitleContainer select,.FirstNameContainer input,.FirstNameContainer select,.LastNameContainer input,.LastNameContainer select,.BirthDateContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.BirthPlaceContainer select,.PersonalIdContainer input,.PersonalIdContainer select,.CurrencyContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserTitleContainer.InvalidField input,.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthDateContainer.InvalidField input,.BirthPlaceContainer.InvalidField input,.PersonalIdContainer.InvalidField input,.CurrencyContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.UserTitleContainer.Hidden,.FirstNameContainer.Hidden,.LastNameContainer.Hidden,.BirthDateContainer.Hidden,.BirthPlaceContainer.Hidden,.PersonalIdContainer.Hidden,.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--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(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--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(--emw--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(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--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(--emw--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(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;bottom:-3px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--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(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}`)}function Cr(e,t,r){const s=e.slice();return s[82]=t[r],s}function Fr(e,t,r){const s=e.slice();return s[85]=t[r],s}function Br(e,t,r){const s=e.slice();return s[88]=t[r],s}function Ir(e,t,r){const s=e.slice();return s[91]=t[r],s}function Lr(e){let t,r,s=e[24]("registerUserTitle")+"",a,n,l,d,o,f,p=e[24]("registerUserTitleSelect")+"",S,D,u=e[24]("registerUserTitleSelectMr")+"",c,g,L=e[24]("registerUserTitleSelectMrs")+"",F,K,R=e[24]("registerUserTitleSelectMs")+"",J,ie,oe;return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("select"),f=i.element("option"),S=i.text(p),D=i.element("option"),c=i.text(u),g=i.element("option"),F=i.text(L),K=i.element("option"),J=i.text(R),i.attr(l,"class","FormRequired"),i.attr(r,"for","Title"),f.__value="",i.set_input_value(f,f.__value),f.disabled=!0,f.selected=!0,D.__value="Mr.",i.set_input_value(D,D.__value),g.__value="Mrs.",i.set_input_value(g,g.__value),K.__value="Ms.",i.set_input_value(K,K.__value),i.attr(o,"id","Title"),e[12]===void 0&&i.add_render_callback(()=>e[44].call(o)),i.attr(t,"class","UserTitleContainer")},m(Q,E){i.insert(Q,t,E),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.append(o,f),i.append(f,S),i.append(o,D),i.append(D,c),i.append(o,g),i.append(g,F),i.append(o,K),i.append(K,J),i.select_option(o,e[12],!0),ie||(oe=[i.listen(o,"change",e[44]),i.listen(o,"change",e[29])],ie=!0)},p(Q,E){E[0]&16777216&&s!==(s=Q[24]("registerUserTitle")+"")&&i.set_data(a,s),E[0]&16777216&&p!==(p=Q[24]("registerUserTitleSelect")+"")&&i.set_data(S,p),E[0]&16777216&&u!==(u=Q[24]("registerUserTitleSelectMr")+"")&&i.set_data(c,u),E[0]&16777216&&L!==(L=Q[24]("registerUserTitleSelectMrs")+"")&&i.set_data(F,L),E[0]&16777216&&R!==(R=Q[24]("registerUserTitleSelectMs")+"")&&i.set_data(J,R),E[0]&4096&&i.select_option(o,Q[12])},d(Q){Q&&i.detach(t),ie=!1,i.run_all(oe)}}}function Ur(e){let t,r,s=e[24]("registerFirstName")+"",a,n,l,d,o,f,p,S,D,u=e[2]&&xr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","FirstName"),i.attr(o,"type","text"),i.attr(o,"id","FirstName"),i.attr(t,"class",p="FirstNameContainer "+(e[2]&&!e[7]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[13]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[45]),i.listen(o,"keyup",e[30]),i.listen(o,"focus",e[46]),i.listen(o,"keyup",e[47])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerFirstName")+"")&&i.set_data(a,s),g[0]&8192&&o.value!==c[13]&&i.set_input_value(o,c[13]),c[2]?u?u.p(c,g):(u=xr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&132&&p!==(p="FirstNameContainer "+(c[2]&&!c[7]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function xr(e){let t,r=e[24]("registerFirstNameError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerFirstNameError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Rr(e){let t,r,s=e[24]("registerLastName")+"",a,n,l,d,o,f,p,S,D,u=e[3]&&Wr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","LastName"),i.attr(o,"type","text"),i.attr(o,"id","LastName"),i.attr(t,"class",p="LastNameContainer "+(e[3]&&!e[8]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[14]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[48]),i.listen(o,"keyup",e[31]),i.listen(o,"focus",e[49]),i.listen(o,"blur",e[50])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerLastName")+"")&&i.set_data(a,s),g[0]&16384&&o.value!==c[14]&&i.set_input_value(o,c[14]),c[3]?u?u.p(c,g):(u=Wr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&264&&p!==(p="LastNameContainer "+(c[3]&&!c[8]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function Wr(e){let t,r=e[24]("registerLastNameError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerLastNameError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Er(e){let t,r,s=e[24]("registerDateOfBirth")+"",a,n,l,d,o,f,p,S=e[24]("registerBirthDay")+"",D,u,c,g,L=e[24]("registerBirthMonth")+"",F,K,R,J,ie=e[24]("registerBirthYear")+"",oe,Q,E,de,ee=i.ensure_array_like(e[25]),j=[];for(let k=0;k<ee.length;k+=1)j[k]=Hr(Ir(e,ee,k));let G=i.ensure_array_like(e[26]),H=[];for(let k=0;k<G.length;k+=1)H[k]=Ar(Br(e,G,k));let I=!e[23]&&Vr(e),A=e[4]&&Gr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("div"),f=i.element("select"),p=i.element("option"),D=i.text(S);for(let k=0;k<j.length;k+=1)j[k].c();u=i.space(),c=i.element("select"),g=i.element("option"),F=i.text(L);for(let k=0;k<H.length;k+=1)H[k].c();K=i.space(),R=i.element("select"),J=i.element("option"),oe=i.text(ie),I&&I.c(),Q=i.space(),A&&A.c(),i.attr(l,"class","FormRequired"),p.__value="",i.set_input_value(p,p.__value),p.disabled=!0,p.selected=!0,i.attr(f,"class","BirthDaySelected"),e[15]===void 0&&i.add_render_callback(()=>e[51].call(f)),g.__value="",i.set_input_value(g,g.__value),g.disabled=!0,g.selected=!0,i.attr(c,"class","BirthMonthSelected"),e[16]===void 0&&i.add_render_callback(()=>e[52].call(c)),J.__value="",i.set_input_value(J,J.__value),J.disabled=!0,J.selected=!0,i.attr(R,"class","BirthYearSelected"),e[17]===void 0&&i.add_render_callback(()=>e[53].call(R)),i.attr(o,"class","BirthDateOptions"),i.attr(t,"class","BirthDateContainer")},m(k,B){i.insert(k,t,B),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.append(o,f),i.append(f,p),i.append(p,D);for(let y=0;y<j.length;y+=1)j[y]&&j[y].m(f,null);i.select_option(f,e[15],!0),i.append(o,u),i.append(o,c),i.append(c,g),i.append(g,F);for(let y=0;y<H.length;y+=1)H[y]&&H[y].m(c,null);i.select_option(c,e[16],!0),i.append(o,K),i.append(o,R),i.append(R,J),i.append(J,oe),I&&I.m(R,null),i.select_option(R,e[17],!0),i.append(o,Q),A&&A.m(o,null),E||(de=[i.listen(f,"change",e[51]),i.listen(f,"change",e[28]),i.listen(c,"change",e[52]),i.listen(c,"change",e[28]),i.listen(R,"change",e[53]),i.listen(R,"change",e[28])],E=!0)},p(k,B){if(B[0]&16777216&&s!==(s=k[24]("registerDateOfBirth")+"")&&i.set_data(a,s),B[0]&16777216&&S!==(S=k[24]("registerBirthDay")+"")&&i.set_data(D,S),B[0]&33554432){ee=i.ensure_array_like(k[25]);let y;for(y=0;y<ee.length;y+=1){const P=Ir(k,ee,y);j[y]?j[y].p(P,B):(j[y]=Hr(P),j[y].c(),j[y].m(f,null))}for(;y<j.length;y+=1)j[y].d(1);j.length=ee.length}if(B[0]&33587200&&i.select_option(f,k[15]),B[0]&16777216&&L!==(L=k[24]("registerBirthMonth")+"")&&i.set_data(F,L),B[0]&67108864){G=i.ensure_array_like(k[26]);let y;for(y=0;y<G.length;y+=1){const P=Br(k,G,y);H[y]?H[y].p(P,B):(H[y]=Ar(P),H[y].c(),H[y].m(c,null))}for(;y<H.length;y+=1)H[y].d(1);H.length=G.length}B[0]&67174400&&i.select_option(c,k[16]),B[0]&16777216&&ie!==(ie=k[24]("registerBirthYear")+"")&&i.set_data(oe,ie),k[23]?I&&(I.d(1),I=null):I?I.p(k,B):(I=Vr(k),I.c(),I.m(R,null)),B[0]&134348800&&i.select_option(R,k[17]),k[4]?A?A.p(k,B):(A=Gr(k),A.c(),A.m(o,null)):A&&(A.d(1),A=null)},d(k){k&&i.detach(t),i.destroy_each(j,k),i.destroy_each(H,k),I&&I.d(),A&&A.d(),E=!1,i.run_all(de)}}}function Hr(e){let t,r=e[91]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[91],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Ar(e){let t,r=e[88]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[88],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Vr(e){let t,r=i.ensure_array_like(e[27]),s=[];for(let a=0;a<r.length;a+=1)s[a]=jr(Fr(e,r,a));return{c(){for(let a=0;a<s.length;a+=1)s[a].c();t=i.empty()},m(a,n){for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(a,n);i.insert(a,t,n)},p(a,n){if(n[0]&134217728){r=i.ensure_array_like(a[27]);let l;for(l=0;l<r.length;l+=1){const d=Fr(a,r,l);s[l]?s[l].p(d,n):(s[l]=jr(d),s[l].c(),s[l].m(t.parentNode,t))}for(;l<s.length;l+=1)s[l].d(1);s.length=r.length}},d(a){a&&i.detach(t),i.destroy_each(s,a)}}}function jr(e){let t,r=e[85]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[85],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Gr(e){let t,r=e[24]("registerBirthDateError",{values:{licenseyears:e[0]}})+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777217&&r!==(r=a[24]("registerBirthDateError",{values:{licenseyears:a[0]}})+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function zr(e){let t,r,s=e[24]("registerBirthPlace")+"",a,n,l,d,o,f,p,S,D,u=e[5]&&Zr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","BirthPlace"),i.attr(o,"type","text"),i.attr(o,"id","BirthPlace"),i.attr(t,"class",p="BirthPlaceContainer "+(e[5]&&!e[9]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[18]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[54]),i.listen(o,"keyup",e[32]),i.listen(o,"focus",e[55]),i.listen(o,"blur",e[56])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerBirthPlace")+"")&&i.set_data(a,s),g[0]&262144&&o.value!==c[18]&&i.set_input_value(o,c[18]),c[5]?u?u.p(c,g):(u=Zr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&544&&p!==(p="BirthPlaceContainer "+(c[5]&&!c[9]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function Zr(e){let t,r=e[24]("registerBirthPlaceError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerBirthPlaceError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function qr(e){let t,r,s=e[24]("registerPersonalId")+"",a,n,l,d,o,f,p,S,D,u=e[6]&&Jr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","PersonalId"),i.attr(o,"type","text"),i.attr(o,"id","PersonalId"),i.attr(t,"class",p="PersonalIdContainer "+(e[6]&&!e[10]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[21]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[57]),i.listen(o,"keyup",e[33]),i.listen(o,"focus",e[58]),i.listen(o,"blur",e[59])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerPersonalId")+"")&&i.set_data(a,s),g[0]&2097152&&o.value!==c[21]&&i.set_input_value(o,c[21]),c[6]?u?u.p(c,g):(u=Jr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&1088&&p!==(p="PersonalIdContainer "+(c[6]&&!c[10]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function Jr(e){let t,r;function s(l,d){return d[0]&2097152&&(t=null),t==null&&(t=!/^\d+$/.test(l[21])),t?yo:po}let a=s(e,[-1,-1,-1,-1]),n=a(e);return{c(){n.c(),r=i.empty()},m(l,d){n.m(l,d),i.insert(l,r,d)},p(l,d){a===(a=s(l,d))&&n?n.p(l,d):(n.d(1),n=a(l),n&&(n.c(),n.m(r.parentNode,r)))},d(l){l&&i.detach(r),n.d(l)}}}function po(e){let t,r=e[24]("registerPersonalIdLength")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerPersonalIdLength")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function yo(e){let t,r=e[24]("registerPersonalIdCharacters")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerPersonalIdCharacters")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Qr(e){let t,r,s=e[24]("registerCurrency")+"",a,n,l,d,o,f,p,S,D=i.ensure_array_like(e[19]),u=[];for(let c=0;c<D.length;c+=1)u[c]=Kr(Cr(e,D,c));return{c(){var c;t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("select");for(let g=0;g<u.length;g+=1)u[g].c();i.attr(l,"class","FormRequired"),i.attr(r,"for","Currency"),i.attr(o,"id","Currency"),e[20]===void 0&&i.add_render_callback(()=>e[60].call(o)),i.attr(t,"class",f="CurrencyContainer "+(((c=e[11])==null?void 0:c.indexOf("currency"))>=0?"Hidden":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o);for(let L=0;L<u.length;L+=1)u[L]&&u[L].m(o,null);i.select_option(o,e[20],!0),p||(S=i.listen(o,"change",e[60]),p=!0)},p(c,g){var L;if(g[0]&16777216&&s!==(s=c[24]("registerCurrency")+"")&&i.set_data(a,s),g[0]&524288){D=i.ensure_array_like(c[19]);let F;for(F=0;F<D.length;F+=1){const K=Cr(c,D,F);u[F]?u[F].p(K,g):(u[F]=Kr(K),u[F].c(),u[F].m(o,null))}for(;F<u.length;F+=1)u[F].d(1);u.length=D.length}g[0]&1572864&&i.select_option(o,c[20]),g[0]&2048&&f!==(f="CurrencyContainer "+(((L=c[11])==null?void 0:L.indexOf("currency"))>=0?"Hidden":""))&&i.attr(t,"class",f)},d(c){c&&i.detach(t),i.destroy_each(u,c),p=!1,S()}}}function Kr(e){let t,r=e[82]+"",s,a;return{c(){t=i.element("option"),s=i.text(r),t.__value=a=e[82],i.set_input_value(t,t.__value)},m(n,l){i.insert(n,t,l),i.append(t,s)},p(n,l){l[0]&524288&&r!==(r=n[82]+"")&&i.set_data(s,r),l[0]&524288&&a!==(a=n[82])&&(t.__value=a,i.set_input_value(t,t.__value))},d(n){n&&i.detach(t)}}}function wo(e){var ae,le,Ae,Xe,he,mt,_t;let t,r,s,a,n,l,d,o,f,p=e[24]("registerBackButton")+"",S,D,u,c=!(((ae=e[11])==null?void 0:ae.indexOf("title"))>=0),g,L=!(((le=e[11])==null?void 0:le.indexOf("firstName"))>=0),F,K=!(((Ae=e[11])==null?void 0:Ae.indexOf("lastName"))>=0),R,J=!(((Xe=e[11])==null?void 0:Xe.indexOf("birthDate"))>=0),ie,oe=!(((he=e[11])==null?void 0:he.indexOf("birthPlace"))>=0),Q,E=!(((mt=e[11])==null?void 0:mt.indexOf("personalId"))>=0),de,ee=!(((_t=e[11])==null?void 0:_t.indexOf("currency"))>=0),j,G,H=e[24]("registerNext")+"",I,A,k,B,y=c&&Lr(e),P=L&&Ur(e),V=K&&Rr(e),z=J&&Er(e),te=oe&&zr(e),re=E&&qr(e),se=ee&&Qr(e);return{c(){t=i.element("div"),r=i.element("div"),s=i.element("button"),a=i.svg_element("svg"),n=i.svg_element("defs"),l=i.svg_element("style"),d=i.text(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));}"),o=i.svg_element("path"),f=i.space(),S=i.text(p),D=i.space(),u=i.element("form"),y&&y.c(),g=i.space(),P&&P.c(),F=i.space(),V&&V.c(),R=i.space(),z&&z.c(),ie=i.space(),te&&te.c(),Q=i.space(),re&&re.c(),de=i.space(),se&&se.c(),j=i.space(),G=i.element("button"),I=i.text(H),i.attr(o,"class","a"),i.attr(o,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),i.attr(o,"transform","translate(24 24) rotate(180)"),i.attr(a,"xmlns","http://www.w3.org/2000/svg"),i.attr(a,"viewBox","0 0 24 24"),i.attr(s,"class","BackButton"),i.attr(r,"class","RegisterFormHeader"),i.attr(G,"class","RegisterStepNext"),G.disabled=A=!e[22],i.attr(u,"class","RegisterFormContent")},m(N,Z){i.insert(N,t,Z),i.append(t,r),i.append(r,s),i.append(s,a),i.append(a,n),i.append(n,l),i.append(l,d),i.append(a,o),i.append(s,f),i.append(s,S),i.append(t,D),i.append(t,u),y&&y.m(u,null),i.append(u,g),P&&P.m(u,null),i.append(u,F),V&&V.m(u,null),i.append(u,R),z&&z.m(u,null),i.append(u,ie),te&&te.m(u,null),i.append(u,Q),re&&re.m(u,null),i.append(u,de),se&&se.m(u,null),i.append(u,j),i.append(u,G),i.append(G,I),e[62](t),k||(B=[i.listen(s,"click",e[35]),i.listen(G,"click",e[61])],k=!0)},p(N,Z){var gt,Me,$e,et,tt,rt,pt;Z[0]&16777216&&p!==(p=N[24]("registerBackButton")+"")&&i.set_data(S,p),Z[0]&2048&&(c=!(((gt=N[11])==null?void 0:gt.indexOf("title"))>=0)),c?y?y.p(N,Z):(y=Lr(N),y.c(),y.m(u,g)):y&&(y.d(1),y=null),Z[0]&2048&&(L=!(((Me=N[11])==null?void 0:Me.indexOf("firstName"))>=0)),L?P?P.p(N,Z):(P=Ur(N),P.c(),P.m(u,F)):P&&(P.d(1),P=null),Z[0]&2048&&(K=!((($e=N[11])==null?void 0:$e.indexOf("lastName"))>=0)),K?V?V.p(N,Z):(V=Rr(N),V.c(),V.m(u,R)):V&&(V.d(1),V=null),Z[0]&2048&&(J=!(((et=N[11])==null?void 0:et.indexOf("birthDate"))>=0)),J?z?z.p(N,Z):(z=Er(N),z.c(),z.m(u,ie)):z&&(z.d(1),z=null),Z[0]&2048&&(oe=!(((tt=N[11])==null?void 0:tt.indexOf("birthPlace"))>=0)),oe?te?te.p(N,Z):(te=zr(N),te.c(),te.m(u,Q)):te&&(te.d(1),te=null),Z[0]&2048&&(E=!(((rt=N[11])==null?void 0:rt.indexOf("personalId"))>=0)),E?re?re.p(N,Z):(re=qr(N),re.c(),re.m(u,de)):re&&(re.d(1),re=null),Z[0]&2048&&(ee=!(((pt=N[11])==null?void 0:pt.indexOf("currency"))>=0)),ee?se?se.p(N,Z):(se=Qr(N),se.c(),se.m(u,j)):se&&(se.d(1),se=null),Z[0]&16777216&&H!==(H=N[24]("registerNext")+"")&&i.set_data(I,H),Z[0]&4194304&&A!==(A=!N[22])&&(G.disabled=A)},i:i.noop,o:i.noop,d(N){N&&i.detach(t),y&&y.d(),P&&P.d(),V&&V.d(),z&&z.d(),te&&te.d(),re&&re.d(),se&&se.d(),e[62](null),k=!1,i.run_all(B)}}}function vo(e,t,r){let s;i.component_subscribe(e,i.$format,w=>r(24,s=w));let{endpoint:a=""}=t,{lang:n=""}=t,{licenseyears:l=""}=t,{disabledfields:d=""}=t,{personalidlength:o=""}=t,{mbsource:f}=t,{clientstyling:p=""}=t,{clientstylingurl:S=""}=t,{translationurl:D=""}=t,u=!1,c=!1,g=!1,L=!1,F=!1,K=!1,R=!1,J=!1,ie=!1,oe=!1,Q,E="",de="",ee="",j=[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],G,H=[1,2,3,4,5,6,7,8,9,10,11,12],I,A=[],k,B="",y=[],P="",V="",z=new Date,te,re,se,ae={},le={title:!1,firstname:!1,lastname:!1,birthPlace:!1,birthDate:!1,currency:!1,personalId:!1},Ae=!1,Xe=!0,he;const mt=()=>{fetch(D).then(X=>X.json()).then(X=>{Object.keys(X).forEach(Ie=>{Nr(Ie,X[Ie])})}).catch(X=>{console.log(X)})};Object.keys(Pr).forEach(w=>{Nr(w,Pr[w])});const _t=()=>{re=parseInt(m(z.setDate(z.getDate())).subtract(parseInt(l,10),"y").format("YYYY")),te=parseInt(m(z.setDate(z.getDate())).subtract(100+parseInt(l,10),"y").format("YYYY"));for(let w=re;w>=te;w--)A.push(w);r(23,Xe=!1)},N=()=>{ae.birth={},ae.birth.day=G,ae.birth.month=I,ae.birth.year=k,k&&I&&G?(se=m(z.setDate(z.getDate())).diff(m(`${k}-${I}-${G}`,"YYYY-MM-DD"),"years").toString(),r(4,g=se<l)):r(4,g=!0),le.birthDate=!g,Me()},Z=()=>{fetch(`${a}/v1/player/operatorSupportedCurrencies`).then(w=>w.json()).then(w=>{r(19,y=w.currencies),P||(r(20,P=y[0]),le.currency=!0)})},gt=(w,X)=>{if(w==="birth"&&(w="birthDate"),!(d.indexOf(w)>=0))switch(w){case"title":r(12,E=X),et();break;case"firstname":r(13,de=X),tt();break;case"lastname":r(14,ee=X),rt();break;case"birthPlace":r(18,B=X),yr();break;case"birthDate":r(15,G=X.day),r(16,I=X.month),r(17,k=X.year),N();break;case"personalId":r(21,V=X),vr();break;case"currency":r(20,P=X),le.currency=!0;break}},Me=()=>{r(22,Ae=Object.keys(le).every(w=>d.includes(w)?!0:le[w]!==!1))},$e=w=>!!(w&&w.length>=2&&w.length<=50),et=()=>{ae.title=E,K=!E,le.title=!K,Me()},tt=()=>{ae.firstname=de,r(2,u=!$e(de)),le.firstname=!u,Me()},rt=()=>{ae.lastname=ee,r(3,c=!$e(ee)),le.lastname=!c,Me()},pt=()=>(ae.birthPlace=B,!!(B&&B.length<=120)),yr=()=>{ae.birthPlace=B,r(5,L=!pt()),le.birthPlace=!L,Me()},wr=()=>!!(V&&V.length===Number(o)&&/^\d+$/.test(V)),vr=()=>{ae.personalId=V,r(6,F=!wr()),le.personalId=wr(),Me()},kr=w=>{ae.currency=P,w.preventDefault(),window.postMessage({type:"RegisterStepTwo",registerStepTwoData:ae},window.location.href)},js=()=>{ae.currency=P,window.postMessage({type:"GoBackStepTwo",registerStepTwoData:ae},window.location.href)},Sr=w=>{if(w.data)switch(w.data.type){case"StepTwoDataBackup":const X=w.data.userData;for(const Ie in X)gt(Ie,X[Ie]);r(22,Ae=Object.keys(le).every(Ie=>d.includes(Ie)?!0:le[Ie]!==!1));break}},Gs=()=>{r(11,Q=d.split(","))},zs=()=>{_o(n)};i.onMount(()=>(window.addEventListener("message",Sr,!1),()=>{window.removeEventListener("message",Sr)}));function Zs(){E=i.select_value(this),r(12,E)}function qs(){de=this.value,r(13,de)}const Js=()=>r(7,R=!0),Qs=()=>r(7,R=!1);function Ks(){ee=this.value,r(14,ee)}const Xs=()=>r(8,J=!0),$s=()=>r(8,J=!1);function ea(){G=i.select_value(this),r(15,G),r(25,j)}function ta(){I=i.select_value(this),r(16,I),r(26,H)}function ra(){k=i.select_value(this),r(17,k),r(27,A)}function sa(){B=this.value,r(18,B)}const aa=()=>r(9,ie=!0),ia=()=>r(9,ie=!1);function na(){V=this.value,r(21,V)}const la=()=>r(10,oe=!0),oa=()=>r(10,oe=!1);function ua(){P=i.select_value(this),r(20,P),r(19,y)}const da=w=>kr(w);function ca(w){i.binding_callbacks[w?"unshift":"push"](()=>{he=w,r(1,he)})}return e.$$set=w=>{"endpoint"in w&&r(36,a=w.endpoint),"lang"in w&&r(37,n=w.lang),"licenseyears"in w&&r(0,l=w.licenseyears),"disabledfields"in w&&r(38,d=w.disabledfields),"personalidlength"in w&&r(39,o=w.personalidlength),"mbsource"in w&&r(40,f=w.mbsource),"clientstyling"in w&&r(41,p=w.clientstyling),"clientstylingurl"in w&&r(42,S=w.clientstylingurl),"translationurl"in w&&r(43,D=w.translationurl)},e.$$.update=()=>{e.$$.dirty[1]&160&&a&&d.indexOf("currency")===-1&&Z(),e.$$.dirty[1]&64&&n&&zs(),e.$$.dirty[0]&1&&l&&_t(),e.$$.dirty[1]&128&&d&&Gs(),e.$$.dirty[0]&2|e.$$.dirty[1]&1024&&p&&he&&i.setClientStyling(he,p),e.$$.dirty[0]&2|e.$$.dirty[1]&2048&&S&&he&&i.setClientStylingURL(he,S),e.$$.dirty[0]&2|e.$$.dirty[1]&512&&f&&he&&i.setStreamStyling(he,`${f}.Style`),e.$$.dirty[1]&4096&&D&&mt()},[l,he,u,c,g,L,F,R,J,ie,oe,Q,E,de,ee,G,I,k,B,y,P,V,Ae,Xe,s,j,H,A,N,et,tt,rt,yr,vr,kr,js,a,n,d,o,f,p,S,D,Zs,qs,Js,Qs,Ks,Xs,$s,ea,ta,ra,sa,aa,ia,na,la,oa,ua,da,ca]}class Vs extends i.SvelteComponent{constructor(t){super(),i.init(this,t,vo,wo,i.safe_not_equal,{endpoint:36,lang:37,licenseyears:0,disabledfields:38,personalidlength:39,mbsource:40,clientstyling:41,clientstylingurl:42,translationurl:43},go,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[36]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[37]}set lang(t){this.$$set({lang:t}),i.flush()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(t){this.$$set({licenseyears:t}),i.flush()}get disabledfields(){return this.$$.ctx[38]}set disabledfields(t){this.$$set({disabledfields:t}),i.flush()}get personalidlength(){return this.$$.ctx[39]}set personalidlength(t){this.$$set({personalidlength:t}),i.flush()}get mbsource(){return this.$$.ctx[40]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}get clientstyling(){return this.$$.ctx[41]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[42]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get translationurl(){return this.$$.ctx[43]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}}i.create_custom_element(Vs,{endpoint:{},lang:{},licenseyears:{},disabledfields:{},personalidlength:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Vs;