@everymatrix/general-player-register-form 1.12.7 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(f){"use strict";(L=f)&&"object"==typeof L&&0 in L;function yt(){}function w(e){return e()}function _(){return Object.create(null)}function vt(e){e.forEach(w)}function S(e){return"function"==typeof e}function C(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let E,x;function T(e,t){return(E=E||document.createElement("a")).href=t,e===E.href}function k(e,...t){if(null==e)return yt;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function se(e,t,r){e.$$.on_destroy.push(k(t,r))}function bt(e,t){e.appendChild(t)}function wt(e,t,r){e.insertBefore(t,r||null)}function _t(e){e.parentNode&&e.parentNode.removeChild(e)}function Ot(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function St(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ct(e){return document.createTextNode(e)}function Et(){return Ct(" ")}function nt(){return Ct("")}function xt(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function Tt(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function n(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:Tt(e,t,r)}function kt(e,t){e.data!==(t=""+t)&&(e.data=t)}function Mt(e,t){e.value=null==t?"":t}function M(e,t,r,i){null===r?e.style.removeProperty(t):e.style.setProperty(t,r,i?"important":"")}function Dt(t,r,e){for(let e=0;e<t.options.length;e+=1){var i=t.options[e];if(i.__value===r)return i.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function K(e){e=e.querySelector(":checked");return e&&e.__value}function D(e){var t={};for(const r of e)t[r.name]=r.value;return t}function P(e){x=e}function ae(e){!function(){if(x)return x;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const O=[],ie=[];let B=[];const A=[],N=Promise.resolve();let R=!1;function Pt(e){B.push(e)}const F=new Set;let I=0;function h(){if(0===I){const i=x;do{try{for(;I<O.length;){const i=O[I];I++,P(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),vt(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Pt))}}catch(i){throw O.length=0,I=0,i}for(P(null),O.length=0,I=0;ie.length;)ie.pop()();for(let e=0;e<B.length;e+=1){var r=B[e];F.has(r)||(F.add(r),r())}}while(B.length=0,O.length);for(;A.length;)A.pop()();R=!1,F.clear(),P(i)}}const H=new Set;var L="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function $(i,e,t,r,n,s,a,o=[-1]){var l=x;P(i);const c=i.$$={fragment:null,ctx:[],props:s,update:yt,not_equal:n,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u)&&(r=e,-1===(e=i).$$.dirty[0]&&(O.push(e),R||(R=!0,N.then(h)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,vt(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const i=Array.from(s.childNodes);c.fragment&&c.fragment.l(i),i.forEach(_t)}else c.fragment&&c.fragment.c();e.intro&&(o=i.$$.fragment)&&o.i&&(H.delete(o),o.i(void 0));var d=i,a=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:o}=d.$$;s&&s.m(a,t),r||Pt(()=>{var e=d.$$.on_mount.map(w).filter(S);d.$$.on_destroy?d.$$.on_destroy.push(...e):vt(e),d.$$.on_mount=[]}),o.forEach(Pt),h()}P(l)}let U;"function"==typeof HTMLElement&&(U=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(w).filter(S);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){vt(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const i=[],n=[];B.forEach(e=>(-1===r.indexOf(e)?i:n).push(e)),n.forEach(e=>e()),B=i}vt(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=yt}$on(e,t){if(!S(t))return yt;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Y,G,o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,z="URLSearchParams"in o,j="Symbol"in o&&"iterator"in Symbol,V="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),W="FormData"in o,q="ArrayBuffer"in o;function Z(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Q(e){return e="string"!=typeof e?String(e):e}function X(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function J(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ee(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function te(e){var t=new FileReader,r=ee(t);return t.readAsArrayBuffer(e),r}function re(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function oe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:V&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:W&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():q&&V&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):q&&(ArrayBuffer.prototype.isPrototypeOf(e)||G(e))?this._bodyArrayBuffer=re(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},V&&(this.blob=function(){var e=J(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?J(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(te)}),this.text=function(){var e,t,r=J(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=ee(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},W&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}q&&(Y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],G=ArrayBuffer.isView||function(e){return e&&-1<Y.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Z(e),t=Q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[Z(e)]},l.prototype.get=function(e){return e=Z(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Z(e))},l.prototype.set=function(e,t){this.map[Z(e)]=Q(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),X(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),X(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),X(r)},j&&(l.prototype[Symbol.iterator]=l.prototype.entries);var le=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ce(e,t){if(!(this instanceof ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof ce){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<le.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ue(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}ce.prototype.clone=function(){return new ce(this,{body:this._bodyInit})},oe.call(ce.prototype),oe.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var de=[301,302,303,307,308],he=(c.redirect=function(e,t){if(-1===de.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},o.DOMException);try{new he}catch(f){(he=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),he.prototype.constructor=he}function pe(i,a){return new Promise(function(n,e){var t=new ce(i,a);if(t.signal&&t.signal.aborted)return e(new he("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},i=(t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new c(i,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new he("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&o.location.href?o.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(V?s.responseType="blob":q&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){s.setRequestHeader(e,Q(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}function Pr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}pe.polyfill=!0,o.fetch||(o.fetch=pe,o.Headers=l,o.Request=ce,o.Response=c),self.fetch.bind(self);var fe=function(e,t){return(fe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}fe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ge(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ye(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=s.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function ve(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function be(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var we=be(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function _e(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,i,n;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=ge(s),o=a.next();!o.done;o=a.next())o.value.remove(this)}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(d(s))try{s()}catch(e){n=e instanceof we?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=ge(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{xe(u)}catch(e){n=null!=n?n:[],e instanceof we?n=ve(ve([],ye(n)),ye(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(n)throw new we(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)xe(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&_e(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&_e(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((i=new r).closed=!0,i);var Se=r,Ce=Se.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ee(e){return e instanceof Se||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function xe(e){d(e)?e():e.unsubscribe()}var Te=void 0,ke=!1,Me=!1,De={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=De.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ve([e,t],ye(r))):setTimeout.apply(void 0,ve([e,t],ye(r)))},clearTimeout:function(e){var t=De.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pe(){}var Oe=null;function Be(e){if(ke){var t=!Oe;if(t&&(Oe={errorThrown:!1,error:null}),e(),t){var t=Oe,r=t.errorThrown,t=t.error;if(Oe=null,r)throw t}}else e()}me(e,Ae=Se),e.create=function(e,t,r){return new Le(e,t,r)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ae.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ae,Ne=e,Re=Function.prototype.bind;function e(e){var t=Ae.call(this)||this;return t.isStopped=!1,e?Ee(t.destination=e)&&e.add(t):t.destination=Ge,t}function Fe(e,t){return Re.call(e,t)}Ue.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ye(e)}},Ue.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ye(e)}else Ye(e)},Ue.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ye(e)}};var Ie,He=Ue,Le=(me($e,Ie=Ne),$e);function $e(e,t,r){var i=Ie.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&Me?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Fe(e.next,t),error:e.error&&Fe(e.error,t),complete:e.complete&&Fe(e.complete,t)}):e;return i.destination=new He(r),i}function Ue(e){this.partialObserver=e}function Ye(e){var t=e;De.setTimeout(function(){throw t})}var Ge={closed:!0,next:Pe,error:function(e){throw e},complete:Pe},i="function"==typeof Symbol&&Symbol.observable||"@@observable";s.prototype.lift=function(e){var t=new s;return t.source=this,t.operator=e,t},s.prototype.subscribe=function(e,t,r){var i,n=this,s=(i=e)&&i instanceof Ne||i&&d(i.next)&&d(i.error)&&d(i.complete)&&Ee(i)?e:new Le(e,t,r);return Be(function(){var e=n.operator,t=n.source;s.add(e?e.call(s,t):t?n._subscribe(s):n._trySubscribe(s))}),s},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(i,e){var n=this;return new(e=je(e))(function(e,t){var r=new Le({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},s.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},s.prototype[i]=function(){return this},s.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},s.prototype.toPromise=function(e){var i=this;return new(e=je(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},s.create=function(e){return new s(e)};var ze=s;function s(e){e&&(this._subscribe=e)}function je(e){return null!=(e=null!=e?e:Te)?e:Promise}var Ve,We,qe,Ze=be(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(me(a,qe=ze),a.prototype.lift=function(e){var t=new Qe(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},a.prototype.next=function(n){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=ge(s.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(n)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;Be(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),qe.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?Ce:(this.currentObservers=null,n.push(e),new Se(function(){t.currentObservers=null,_e(n,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},a.prototype.asObservable=function(){var e=new ze;return e.source=this,e},a.create=function(e,t){return new Qe(e,t)},a),Qe=(me(et,We=i),et.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},et.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},et.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},et.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ce},et),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},Ke=(me(Je,Ve=i),Je.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,n=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(i.push(e),n)||i.push(s.now()+t),this._trimBuffer(),Ve.prototype.next.call(this,e)},Je.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},Je.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var s=t.now(),a=0,o=1;o<r.length&&r[o]<=s;o+=2)a=o;a&&r.splice(0,a+1)}},Je);function Je(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Xe);var i=Ve.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function et(e,t){var r=We.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=qe.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let tt=[],rt={};const it=[];function st(i,n=yt){let s;const a=new Set;function o(e){if(C(i,e)&&(i=e,s)){const e=!it.length;for(const e of a)e[1](),it.push(e,i);if(e){for(let e=0;e<it.length;e+=2)it[e][0](it[e+1]);it.length=0}}}return{set:o,update:function(e){o(e(i))},subscribe:function(e,t=yt){const r=[e,t];return a.add(r),1===a.size&&(s=n(o)||yt),e(i),()=>{a.delete(r),0===a.size&&s&&(s(),s=null)}}}}function at(e,o,t){const l=!Array.isArray(e),c=l?[e]:e,u=o.length<2;return{subscribe:st(t,t=>{let r=!1;const i=[];let n=0,s=yt;const a=()=>{var e;n||(s(),e=o(l?i[0]:i,t),u?t(e):s=S(e)?e:yt)},e=c.map((e,t)=>k(e,e=>{i[t]=e,n&=~(1<<t),r&&a()},()=>{n|=1<<t}));return r=!0,a(),function(){vt(e),s(),r=!1}}).subscribe}}function ot(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===lt);var t}var lt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ft(Array.isArray(e)?[]:{},e,t):e}function ut(e,t,r){return e.concat(t).map(function(e){return ct(e,r)})}function dt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function ht(e,t){try{return t in e}catch(e){return!1}}function pt(i,n,s){var a={};return s.isMergeableObject(i)&&dt(i).forEach(function(e){a[e]=ct(i[e],s)}),dt(n).forEach(function(e){var t,r;(!ht(t=i,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ht(i,e)&&s.isMergeableObject(n[e])?a[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:ft)(i[e],n[e],s):a[e]=ct(n[e],s))}),a}function ft(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||ut,r.isMergeableObject=r.isMergeableObject||ot,r.cloneUnlessOtherwiseSpecified=ct;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):pt(e,t,r):ct(t,r)}ft.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return ft(e,t,r)},{});throw new Error("first argument should be an array")};var mt=ft,gt=function(e,t){return(gt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Bt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}gt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,At,g=function(){return(g=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Nt(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Rt(e){return e.type===y.literal}function Ft(e){return e.type===y.number}function It(e){return e.type===y.date}function Ht(e){return e.type===y.time}function Lt(e){return e.type===y.select}function $t(e){return e.type===y.plural}function Ut(e){return e.type===y.tag}function Yt(e){return e&&"object"==typeof e&&e.type===At.number}function Gt(e){return e&&"object"==typeof e&&e.type===At.dateTime}(i=m=m||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=y=y||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=At=At||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Vt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Wt=/^(@+)?(\+|#+)?[rs]?$/g,qt=/(\*)(0+)|(#+)(0+)|(0+)/g,Zt=/^(0+)$/;function Qt(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(Wt,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function Xt(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 Kt(e){return Xt(e)||{}}function Jt(e){for(var a={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Kt(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Kt(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(qt,function(e,t,r,i,n,s){if(t)a.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Zt.test(n.stem))a.minimumIntegerDigits=n.stem.length;else if(Vt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Vt,function(e,t,r,i,n,s){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:n&&s?(a.minimumFractionDigits=n.length,a.maximumFractionDigits=n.length+s.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):s&&(a=g(g({},a),Qt(s)))}else Wt.test(n.stem)?a=g(g({},a),Qt(n.stem)):((s=Xt(n.stem))&&(a=g(g({},a),s)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Zt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(a=g(g({},a),i)))}return a}var er={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var tr=new RegExp("^".concat(i.source,"*")),rr=new RegExp("".concat(i.source,"*$"));function v(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,ir=!!String.fromCodePoint,nr=!!Object.fromEntries,sr=!!String.prototype.codePointAt,ar=!!String.prototype.trimStart,or=!!String.prototype.trimEnd,lr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},cr=!0;try{cr="a"===(null==(Or=vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Or[0])}catch(f){cr=!1}var ur,dr,hr=i?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},pr=ir?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,s=0;s<n;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},fr=nr?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],s=n[0],n=n[1];t[s]=n}return t},mr=sr?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},gr=ar?function(e){return e.trimStart()}:function(e){return e.replace(tr,"")},yr=or?function(e){return e.trimEnd()}:function(e){return e.replace(rr,"")};function vr(e,t){return new RegExp(e,t)}dr=cr?(ur=vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return ur.lastIndex=t,null!=(t=ur.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=mr(e,t);if(void 0===n||_r(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;i.push(n),t+=65536<=n?2:1}return pr.apply(void 0,i)};u.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},u.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&wr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}else{s=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(s,this.clonePosition())})}}}return{val:i,err:null}},u.prototype.parseTag=function(e,t){var r,i=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!wr(this.char())?this.error(m.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(i,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,v(e,this.clonePosition())))):this.error(m.UNCLOSED_TAG,v(i,this.clonePosition()))):this.error(m.INVALID_TAG,v(i,this.clonePosition()))},u.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},u.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},u.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(wr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},u.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return pr.apply(void 0,t)},u.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),pr(r))},u.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,v(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},u.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=dr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},u.prototype.parseArgumentOptions=function(e,t,r,i){var n,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,v(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=yr(d.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(p=v(i,this.clonePosition()),l&&hr(null==l?void 0:l.style,"::",0)?(f=gr(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:p,style:d.val},err:null}:0===f.length?this.error(m.EXPECT_DATE_TIME_SKELETON,p):(u=f,this.locale&&(u=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var a=1+(1&s),o=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(er[t||""]||er[r||""]||er["".concat(r,"-001")]||er["001"])[0]}(t);for("H"!=l&&"k"!=l||(o=0);0<o--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===n?"H":n}return r}(f,this.locale)),h={type:At.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(zt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}},{val:{type:"date"===a?y.date:y.time,value:r,location:p,style:h},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:r,location:p,style:null!=(f=null==l?void 0:l.style)?f:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,h=this.parseIdentifierIfPossible(),p=0;if("select"!==a&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),h=this.parseIdentifierIfPossible(),p=d.val}var f,l=this.tryParsePluralOrSelectOptions(e,a,t,h);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(f=v(i,this.clonePosition()),"select"===a?{val:{type:y.select,value:r,options:fr(l.val),location:f},err:null}:{val:{type:y.plural,value:r,options:fr(l.val),offset:p,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null});default:return this.error(m.INVALID_ARGUMENT_TYPE,v(s,o))}},u.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},u.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},u.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(jt).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),a=0,o=n;a<o.length;a++)if(0===o[a].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:At.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Jt(r):{}},err:null}},u.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,s=[],a=new Set,o=i.value,l=i.location;;){if(0===o.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),o=this.message.slice(c.offset,this.offset())}if(a.has(o))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;s.push([o,{value:c.val,location:v(u,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===s.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(m.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}},u.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;n=!0,s=10*s+(a-48),this.bump()}i=v(i,this.clonePosition());return n?lr(s*=r)?{val:s,err:null}:this.error(t,i):this.error(e,i)},u.prototype.offset=function(){return this.position.offset},u.prototype.isEOF=function(){return this.offset()===this.message.length},u.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},u.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=mr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},u.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},u.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},u.prototype.bumpIf=function(e){if(hr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},u.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},u.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},u.prototype.bumpSpace=function(){for(;!this.isEOF()&&_r(this.char());)this.bump()},u.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var br=u;function u(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function wr(e){return 97<=e&&e<=122||65<=e&&e<=90}function _r(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Sr(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new br(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Lt(e)||$t(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Ft(e)&&Yt(e.style)||(It(e)||Ht(e))&&Gt(e.style)?delete e.style.location:Ut(e)&&r(e.children)})}(e.val),e.val}function Cr(e,t){var r=t&&t.cache?t.cache:Br,i=t&&t.serializer?t.serializer:kr;return(t&&t.strategy?t.strategy:function(e,t){return Tr(e,this,1===e.length?Er:xr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Er(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function xr(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function Tr(e,t,r,i,n){return r.bind(t,e,i,n)}var kr=function(){return JSON.stringify(arguments)};function Mr(){this.cache=Object.create(null)}Mr.prototype.get=function(e){return this.cache[e]},Mr.prototype.set=function(e,t){this.cache[e]=t};var Dr,Or,Br={create:function(){return new Mr}},Ar={variadic:function(e,t){return Tr(e,this,xr,t.cache.create(),t.serializer)},monadic:function(e,t){return Tr(e,this,Er,t.cache.create(),t.serializer)}};(Or=Dr=Dr||{}).MISSING_VALUE="MISSING_VALUE",Or.INVALID_VALUE="INVALID_VALUE",Or.MISSING_INTL_API="MISSING_INTL_API";Bt(jr,Ir=Error),jr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var b,Nr,Rr,Fr,Ir,Hr=jr,Lr=(Bt(zr,Fr=Hr),zr),$r=(Bt(Gr,Rr=Hr),Gr),Ur=(Bt(Yr,Nr=Hr),Yr);function Yr(e,t){return Nr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Dr.MISSING_VALUE,t)||this}function Gr(e,t,r){return Rr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Dr.INVALID_VALUE,r)||this}function zr(e,t,r,i){return Fr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Dr.INVALID_VALUE,i)||this}function jr(e,t,r){e=Ir.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Vr(e,t,r,i,n,s,a){if(1===e.length&&Rt(e[0]))return[{type:b.literal,value:e[0].value}];for(var o=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Rt(u))o.push({type:b.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&o.push({type:b.literal,value:r.getNumberFormat(t).format(s)});else{var d=u.value;if(!(n&&d in n))throw new Ur(d,a);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),o.push({type:"string"==typeof d?b.literal:b.object,value:d});else if(It(u)){var h="string"==typeof u.style?i.date[u.style]:Gt(u.style)?u.style.parsedOptions:void 0;o.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)})}else if(Ht(u))h="string"==typeof u.style?i.time[u.style]:Gt(u.style)?u.style.parsedOptions:i.time.medium,o.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)});else if(Ft(u))(h="string"==typeof u.style?i.number[u.style]:Yt(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),o.push({type:b.literal,value:r.getNumberFormat(t,h).format(d)});else{if(Ut(u)){var p=u.children,f=u.value,m=n[f];if("function"!=typeof m)throw new $r(f,"function",a);f=m(Vr(p,t,r,i,n,s).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),o.push.apply(o,f.map(function(e){return{type:"string"==typeof e?b.literal:b.object,value:e}}))}if(Lt(u)){if(!(g=u.options[d]||u.options.other))throw new Lr(u.value,d,Object.keys(u.options),a);o.push.apply(o,Vr(g.value,t,r,i,n))}else if($t(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new Hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Dr.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new Lr(u.value,d,Object.keys(u.options),a);o.push.apply(o,Vr(g.value,t,r,i,n,d-(u.offset||0)))}}}}return(e=o).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===b.literal&&t.type===b.literal?r.value+=t.value:e.push(t),e},[])}function Wr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(i=b=b||{})[i.literal=0]="literal",i[i.object=1]="object",Object.defineProperty(p,"defaultLocale",{get:function(){return p.memoizedDefaultLocale||(p.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),p.memoizedDefaultLocale},enumerable:!1,configurable:!0}),p.memoizedDefaultLocale=null,p.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},p.__parse=Sr,p.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"}}};var qr=p;function p(e,t,r,i){var n,s,a=this;if(void 0===t&&(t=p.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===b.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Vr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=p.resolveLocale(t),"string"==typeof e){if(this.message=e,!p.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=p.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=p.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=s[t])?g(g(g({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),i[t]||{}),e},{})):r),e},g({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:Cr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:Wr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ar.variadic}),getDateTimeFormat:Cr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:Wr(t.dateTime),strategy:Ar.variadic}),getPluralRules:Cr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Nt([void 0],t,!1)))},{cache:Wr(t.pluralRules),strategy:Ar.variadic})}}const Zr={},Qr=(e,t,r)=>r&&(t in Zr||(Zr[t]={}),e in Zr[t]||(Zr[t][e]=r),r),Xr=(t,r)=>{if(null!=r){if(r in Zr&&t in Zr[r])return Zr[r][t];var i=hi(r);for(let e=0;e<i.length;e++){var n=function(e,t){if(!ei(e))return null;e=function(e){return Kr[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(n)return Qr(t,r,n)}}};let Kr;const Jr=st({});function ei(e){return e in Kr}function ti(t,...r){delete Zr[t],Jr.update(e=>(e[t]=mt.all([e[t]||{},...r]),e))}at([Jr],([e])=>Object.keys(e)),Jr.subscribe(e=>Kr=e);const ri={};function ii(e){return ri[e]}function ni(e){return null!=e&&hi(e).some(e=>{return null==(e=ii(e))?void 0:e.size})}const si={};function ai(e){var t;return ni(e)?(t=hi(e).map(e=>{var t=ii(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),si[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,r=e,ri[t].delete(r),0===ri[t].size&&delete ri[t],e().then(e=>e.default||e);var t,r})).then(e=>ti(i,...e));var i})).then(()=>{if(ni(e))return ai(e);delete si[e]}),si[e]):e in si?si[e]:Promise.resolve()}const oi={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const li=st(!1);let ci;const ui=st(null);function di(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function hi(e,t=oi.fallbackLocale){e=di(e);return t?[...new Set([...e,...di(t)])]:e}function pi(){return null!=ci?ci:void 0}ui.subscribe(e=>{ci=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ne={...ui,set:t=>{if(t&&function(e){if(null!=e){var t=hi(e);for(let e=0;e<t.length;e++){var r=t[e];if(ei(r))return r}}}(t)&&ni(t)){var r=oi["loadingDelay"];let e;return"undefined"!=typeof window&&null!=pi()&&r?e=window.setTimeout(()=>li.set(!0),r):li.set(!0),ai(t).then(()=>{ui.set(t)}).finally(()=>{clearTimeout(e),li.set(!1)})}return ui.set(t)}},fi=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},mi=(e,t)=>{var r=oi["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},gi=fi(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=mi("number",t)),new Intl.NumberFormat(e,r)}),yi=fi(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=mi("date",t):0===Object.keys(r).length&&(r=mi("date","short")),new Intl.DateTimeFormat(e,r)}),vi=fi(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=mi("time",t):0===Object.keys(r).length&&(r=mi("time","short")),new Intl.DateTimeFormat(e,r)}),bi=fi((e,t=pi())=>new qr(e,t,oi.formats,{ignoreTag:oi.ignoreTag})),wi=at([ne,Jr],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:a=pi(),default:o}=n;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Xr(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=oi).handleMissingMessage)?void 0:r.call(i,{locale:a,id:e,defaultValue:o}))?r:o)?i:e;if(!s)return l;let c=l;try{c=bi(l,a).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),_i=(at([ne],()=>(e,t)=>{return[{locale:t=pi(),...r}={}]=[t],vi({locale:t,...r}).format(e);var r}),at([ne],()=>(e,t)=>{return[{locale:t=pi(),...r}={}]=[t],yi({locale:t,...r}).format(e);var r}),at([ne],()=>(e,t)=>{return[{locale:t=pi(),...r}={}]=[t],gi({locale:t,...r}).format(e);var r}),at([ne,Jr],()=>(e,t=pi())=>Xr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==tt.indexOf(e)&&(t=new Ke(t),rt[e]=t,tt.push(e)),rt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Si(e,t){ti(e,t)}const Ci={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",error:"Bir sorunla karşılaştık. SMS kodunuzu almak için lütfen Giriş'e 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."}};function Ei(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return r=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],r&&r.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,r=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof r?(t=Array.prototype.slice.call(arguments,1),r.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var xi=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Ti=function(e,...t){try{return Ei(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},ki=function(e,t){try{return Ei(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Mi(e,t){ti(e,t)}const Di={en:{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:"It doesn't match the password.",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"},"zh-hk":{registerTitle:"創建您的帳戶",registerSubtitle:"已經有一個帳戶?",registerSubtitleLogin:"登錄",registerEmail:"電子郵件",registerEmailError:"電子郵件應包含“@”和 2-3 個字母長的域。",registerUsername:"用戶名",registerUsernameError:"名稱的長度必須至少為 2 個字符且不包含特殊字符。",registerPassword:"密碼",registerPasswordError:"密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",registerSimplePasswordError:"密码长度必须为 8-20 个字符。",registerConfirmPassword:"確認密碼",registerConfirmPasswordError:"它與密碼不匹配。",registerSecurityQuestion:"安全問題",registerSecurityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",registerSecurityAnswer:"安全答案",registerSecurityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",registerNext:"下一個"},fr:{registerTitle:"Créez votre compte",registerSubtitle:"Vous avez déjà un compte?",registerSubtitleLogin:"Connexion ",registerEmail:"Email",registerEmailError:"L'adresse mail doit comporter un '@' et un nom de domaine de 2 à 3 lettres.",registerUsername:"Nom d'utilisateur ",registerUsernameError:"Le nom doit être composé d'au moins 2 caractères et ne doitpas contenir de caractères spéciaux.",registerPassword:"Mot de passe",registerPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial.",registerSimplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",registerConfirmPassword:"Confirmer le mot de passe",registerConfirmPasswordError:"ça ne correspond pas au mot de passe.",registerSecurityQuestion:"Questions de sécurité",registerSecurityQuestionError:"La question de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerSecurityAnswer:"Réponse de sécurité",registerSecurityAnswerError:"La réponse de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerNext:"Suivant"},tr:{registerTitle:"Hesabını oluştur",registerSubtitle:"Zaten hesabınız var mı?",registerSubtitleLogin:"Giriş yapmak",registerEmail:"E-posta",registerEmailError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",registerUsername:"Kullanıcı adı",registerUsernameError:"Ad en az 4-20 karakter uzunluğunda olmalı ve özel karakter içermemelidir.",registerPassword:"Parola",registerPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",registerSimplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",registerConfirmPassword:"Şifreyi Onayla",registerConfirmPasswordError:"Şifreyle eşleşmiyor.",registerSecurityQuestion:"Güvenlik Sorusu",registerSecurityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",registerSecurityAnswer:"Güvenlik cevabı",registerSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",registerNext:"Sonraki"},ro:{registerTitle:"Creaza cont",registerSubtitle:"Ai deja cont?",registerSubtitleLogin:"Autentifica-te",registerEmail:"Email",registerEmailError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",registerUsername:"Utilizator",registerUsernameError:"Utilizatorul trebuie sa fie cuprins intre 4-20 litere si sa nu contina caractere speciale.",registerPassword:"Parola",registerPasswordError:"Parola trebuie sa fie cuprinsa intre 8 si 20 de caractere, cel putin o litera mare, cel putin un numar si cel putin un caracter special.",registerSimplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",registerConfirmPassword:"Confirma Parola",registerConfirmPasswordError:"Confirmarea parolei trebuie sa fie la fel cu parola",registerSecurityQuestion:"Intrebare de Securitate",registerSecurityQuestionError:"Intrebarea de securitate trebuie sa fie cuprinsa intre 1 si 120 de litere.",registerSecurityAnswer:"Raspuns de Securitate",registerSecurityAnswerError:"Raspunsul de securitate trebuie sa fie cuprins intre 1 si 120 de litere",registerNext:"Urmatorul"},es:{registerTitle:"Crea tu cuenta",registerSubtitle:"Ya tiene cuenta?",registerSubtitleLogin:"Iniciar sesión",registerEmail:"Email",registerEmailError:"Email debe contener '@' y un dominio de 2 a 3 letras.",registerUsername:"Usuario",registerUsernameError:"El nombre de Usuario debe tener mínimo 4 y máximo 20 caracteres y no contener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",registerSimplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",registerConfirmPassword:"Confirmar Contraseña",registerConfirmPasswordError:"La contraseña no coincide.",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de Documento (DNI, CE o Pasaporte)",registerSecurityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityQuestionError2:"Solo se aceptan letras y números.",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de Documento",registerSecurityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityAnswerError2:"Solo se aceptan letras y números.",registerNext:"Siguiente"},pt:{registerTitle:"Crie a sua conta",registerSubtitle:"Já tem uma conta?",registerSubtitleLogin:"Entrar",registerEmail:"E-mail",registerEmailError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",registerUsername:"Nome do usuário",registerUsernameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres.",registerConfirmPassword:"Confirme a sua senha",registerConfirmPasswordError:"Não corresponde à senha.",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestionError:"A pergunta de segurança deve ter no mínimo 1 caractere e no máximo 120 caracteres.",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerNext:"Próximo"}};function Pi(e){let r,i,n=e[28]("registerEmailError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerEmailError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Oi(e){let r,i,n=e[28]("registerUsernameError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerUsernameError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Bi(r){let i,n,s,a,o,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=Ct(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("path"),c=t("circle"),Tt(l,"class","a"),Tt(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Tt(l,"transform","translate(0)"),Tt(c,"class","a"),Tt(c,"cx","2.779"),Tt(c,"cy","2.779"),Tt(c,"r","2.779"),Tt(c,"transform","translate(20.827 30.303)"),Tt(o,"transform","translate(-14.185 -27.832)"),Tt(i,"class","TogglePasswordVisibility"),Tt(i,"part","TogglePasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.843"),Tt(i,"height","10.5"),Tt(i,"viewBox","0 0 18.843 10.5")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),u||(d=xt(i,"click",r[59]),u=!0)},p:yt,d(e){e&&_t(i),u=!1,d()}}}function Ai(r){let i,n,s,a,o,l,c,u,d,h,p,f,m,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=Ct(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),p=t("path"),f=t("path"),m=t("rect"),Tt(l,"class","a"),Tt(l,"cx","0.05"),Tt(l,"cy","0.05"),Tt(l,"r","0.05"),Tt(l,"transform","translate(121.017 31.148)"),Tt(u,"class","a"),Tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Tt(u,"transform","translate(-142.164 -39.123)"),Tt(d,"class","a"),Tt(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Tt(d,"transform","translate(-136.413 -42.068)"),Tt(c,"transform","translate(117.499 27.37)"),Tt(p,"class","a"),Tt(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Tt(p,"transform","translate(-110.856 -33.157)"),Tt(f,"class","a"),Tt(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Tt(f,"transform","translate(-130.743 -29.617)"),Tt(h,"transform","translate(110.856 24.899)"),Tt(m,"class","a"),Tt(m,"width","0.972"),Tt(m,"height","15.861"),Tt(m,"rx","0.486"),Tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Tt(o,"transform","translate(-110.856 -23.242)"),Tt(i,"class","TogglePasswordVisibility"),Tt(i,"part","TogglePasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.844"),Tt(i,"height","12.887"),Tt(i,"viewBox","0 0 18.844 12.887")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),bt(c,u),bt(c,d),bt(o,h),bt(h,p),bt(h,f),bt(o,m),g||(y=xt(i,"click",r[58]),g=!0)},p:yt,d(e){e&&_t(i),g=!1,y()}}}function Ni(e){let r,i,n=e[28]("registerPasswordError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerPasswordError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ri(e){let r,i,n=e[28]("registerSimplePasswordError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerSimplePasswordError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Fi(r){let i,n,s,a,o,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=Ct(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("path"),c=t("circle"),Tt(l,"class","a"),Tt(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Tt(l,"transform","translate(0)"),Tt(c,"class","a"),Tt(c,"cx","2.779"),Tt(c,"cy","2.779"),Tt(c,"r","2.779"),Tt(c,"transform","translate(20.827 30.303)"),Tt(o,"transform","translate(-14.185 -27.832)"),Tt(i,"class","ToggleConfirmPasswordVisibility"),Tt(i,"part","ToggleConfirmPasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.843"),Tt(i,"height","10.5"),Tt(i,"viewBox","0 0 18.843 10.5")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),u||(d=xt(i,"click",r[65]),u=!0)},p:yt,d(e){e&&_t(i),u=!1,d()}}}function Ii(r){let i,n,s,a,o,l,c,u,d,h,p,f,m,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=Ct(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),p=t("path"),f=t("path"),m=t("rect"),Tt(l,"class","a"),Tt(l,"cx","0.05"),Tt(l,"cy","0.05"),Tt(l,"r","0.05"),Tt(l,"transform","translate(121.017 31.148)"),Tt(u,"class","a"),Tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Tt(u,"transform","translate(-142.164 -39.123)"),Tt(d,"class","a"),Tt(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Tt(d,"transform","translate(-136.413 -42.068)"),Tt(c,"transform","translate(117.499 27.37)"),Tt(p,"class","a"),Tt(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Tt(p,"transform","translate(-110.856 -33.157)"),Tt(f,"class","a"),Tt(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Tt(f,"transform","translate(-130.743 -29.617)"),Tt(h,"transform","translate(110.856 24.899)"),Tt(m,"class","a"),Tt(m,"width","0.972"),Tt(m,"height","15.861"),Tt(m,"rx","0.486"),Tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Tt(o,"transform","translate(-110.856 -23.242)"),Tt(i,"class","ToggleConfirmPasswordVisibility"),Tt(i,"part","ToggleConfirmPasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.844"),Tt(i,"height","12.887"),Tt(i,"viewBox","0 0 18.844 12.887")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),bt(c,u),bt(c,d),bt(o,h),bt(h,p),bt(h,f),bt(o,m),g||(y=xt(i,"click",r[64]),g=!0)},p:yt,d(e){e&&_t(i),g=!1,y()}}}function Hi(e){let r,i,n=e[28]("registerConfirmPasswordError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerConfirmPasswordError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Li(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"")&&kt(i,n)},d(e){e&&_t(r)}}}function $i(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ui(r){let i,n,s,H,L,a,$,U,o,Y,G,l,c,u,z,j,d,V,h,W,q,Z,Q,p,f,X,K,J,ee,m,te,re,ie,ne,se,g,y,ae,oe,le,ce,v,ue,de,he,pe,fe,me,ge,ye,b,w,ve,be,we,_e,_,Se,Ce,Ee,xe,Te,S,C,ke,Me,De,Pe,E,Oe,Be,Ae,Ne,x,T,Re,Fe,Ie,He,k,Le,$e,Ue,Ye,M,Ge,ze,je,Ve,We=r[28]("registerTitle")+"",qe=r[28]("registerSubtitle")+"",Ze=r[28]("registerSubtitleLogin")+"",Qe=r[28]("registerEmail")+"",Xe=r[28]("registerUsername")+"",Ke=r[28]("registerPassword")+"",Je=r[28]("registerConfirmPassword")+"",et=("true"==r[2]?r[28]("registerSecurityQuestion2"):r[28]("registerSecurityQuestion"))+"",tt=("true"==r[2]?r[28]("registerSecurityAnswer2"):r[28]("registerSecurityAnswer"))+"",rt=r[28]("registerNext")+"",D=r[4]&&Pi(r),P=r[5]&&Oi(r);function it(e){return e[23]?Ai:Bi}let nt=it(r),O=nt(r),B=r[6]&&"true"!==r[0]&&Ni(r),A=r[6]&&"true"===r[0]&&Ri(r);function st(e){return e[24]?Ii:Fi}let at=st(r),N=at(r),R=r[7]&&Hi(r),F=r[8]&&Li(r),I=r[9]&&$i(r);return{c(){i=St("div"),n=St("div"),s=St("h2"),H=Ct(We),L=Et(),a=St("p"),$=Ct(qe),U=Et(),o=St("span"),Y=Ct(Ze),G=Et(),l=St("form"),c=St("div"),u=St("label"),z=Ct(Qe),j=Ct(":"),(d=St("span")).textContent="*",V=Et(),h=St("input"),W=Et(),D&&D.c(),Q=Et(),p=St("div"),f=St("label"),X=Ct(Xe),K=Ct(":"),(J=St("span")).textContent="*",ee=Et(),m=St("input"),re=Et(),P&&P.c(),se=Et(),g=St("div"),y=St("label"),ae=Ct(Ke),oe=Ct(":"),(le=St("span")).textContent="*",ce=Et(),v=St("input"),de=Et(),O.c(),he=Et(),B&&B.c(),pe=Et(),A&&A.c(),ye=Et(),b=St("div"),w=St("label"),ve=Ct(Je),be=Ct(":"),(we=St("span")).textContent="*",_e=Et(),_=St("input"),Se=Et(),N.c(),Ce=Et(),R&&R.c(),Te=Et(),S=St("div"),C=St("label"),ke=Ct(et),Me=Ct(":"),(De=St("span")).textContent="*",Pe=Et(),E=St("input"),Oe=Et(),F&&F.c(),Ne=Et(),x=St("div"),T=St("label"),Re=Ct(tt),Fe=Ct(":"),(Ie=St("span")).textContent="*",He=Et(),k=St("input"),Le=Et(),I&&I.c(),Ye=Et(),M=St("button"),Ge=Ct(rt),this.c=yt,Tt(s,"class","RegisterFormTitle"),Tt(s,"part","RegisterFormTitle"),Tt(o,"class","FormLoginCallToAction"),Tt(a,"class","RegisterFormSubtitle"),Tt(a,"part","RegisterFormSubtitle"),Tt(n,"class","RegisterFormHeader"),Tt(n,"part","RegisterFormHeader"),Tt(d,"class","FormRequired"),Tt(d,"part","FormRequired"),Tt(u,"for","Email"),Tt(h,"type","text"),Tt(h,"id","Email"),Tt(c,"class",q="EmailContainer "+(r[4]&&!r[10]?"InvalidField":"")+(0<=r[16]?.indexOf("email")?"Hidden":"")),Tt(c,"part",Z="EmailContainer "+(r[4]?"InvalidField":"")),Tt(J,"class","FormRequired"),Tt(J,"part","FormRequired"),Tt(f,"for","UserName"),Tt(m,"type","text"),Tt(m,"id","UserName"),Tt(m,"autocomplete",te=r[1]?"username":"off"),Tt(p,"class",ie="UserContainer "+(r[5]&&!r[11]?"InvalidField":"")+(0<=r[16]?.indexOf("username")?"Hidden":"")),Tt(p,"part",ne="UserContainer "+(r[5]?"InvalidField":"")),Tt(le,"class","FormRequired"),Tt(le,"part","FormRequired"),Tt(y,"for","Password"),Tt(v,"name","new-password"),Tt(v,"type","password"),Tt(v,"id","new-password"),Tt(v,"autocomplete",ue=r[1]?"new-password":"off"),Tt(v,"aria-describedby","password-constraints"),Tt(g,"class",fe="PasswordContainer "+(r[6]&&!r[12]?"InvalidField":"")+(0<=r[16]?.indexOf("password")?"Hidden":"")),Tt(g,"part",me="PasswordContainer "+(r[6]?"InvalidField":"")),g.hidden=ge=0<=r[16]?.indexOf("password"),Tt(we,"class","FormRequired"),Tt(we,"part","FormRequired"),Tt(w,"for","ConfirmPassword"),Tt(_,"type","password"),Tt(_,"id","ConfirmPassword"),Tt(b,"class",Ee="ConfirmPasswordContainer "+(r[7]&&!r[13]?"InvalidField":"")+(0<=r[16]?.indexOf("confirmPassword")?"Hidden":"")),Tt(b,"part",xe="ConfirmPasswordContainer "+(r[7]?"InvalidField":"")),Tt(De,"class","FormRequired"),Tt(De,"part","FormRequired"),Tt(C,"for","SecurityQuestion"),Tt(E,"type","text"),Tt(E,"id","SecurityQuestion"),Tt(S,"class",Be="SecurityQuestionContainer "+(r[8]&&!r[14]?"InvalidField":"")+(0<=r[16]?.indexOf("securityQuestion")?"Hidden":"")),Tt(S,"part",Ae="SecurityQuestionContainer "+(r[8]?"InvalidField":"")),Tt(Ie,"class","FormRequired"),Tt(Ie,"part","FormRequired"),Tt(T,"for","SecurityAnswer"),Tt(k,"type","text"),Tt(k,"id","SecurityAnswer"),Tt(x,"class",$e="SecurityAnswerContainer "+(r[9]&&!r[15]?"InvalidField":"")+(0<=r[16]?.indexOf("securityAnswer")?"Hidden":"")),Tt(x,"part",Ue="SecurityAnswerContainer "+(r[9]?"InvalidField":"")),Tt(M,"class","RegisterStepNext"),Tt(M,"part","RegisterStepNext"),M.disabled=ze=!r[27],Tt(l,"class","RegisterFormContent"),Tt(l,"part","RegisterFormContent")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,H),bt(n,L),bt(n,a),bt(a,$),bt(a,U),bt(a,o),bt(o,Y),bt(i,G),bt(i,l),bt(l,c),bt(c,u),bt(u,z),bt(u,j),bt(u,d),bt(c,V),bt(c,h),Mt(h,r[18]),bt(c,W),D&&D.m(c,null),bt(l,Q),bt(l,p),bt(p,f),bt(f,X),bt(f,K),bt(f,J),bt(p,ee),bt(p,m),Mt(m,r[17]),bt(p,re),P&&P.m(p,null),bt(l,se),bt(l,g),bt(g,y),bt(y,ae),bt(y,oe),bt(y,le),bt(g,ce),bt(g,v),Mt(v,r[19]),r[57](v),bt(g,de),O.m(g,null),bt(g,he),B&&B.m(g,null),bt(g,pe),A&&A.m(g,null),bt(l,ye),bt(l,b),bt(b,w),bt(w,ve),bt(w,be),bt(w,we),bt(b,_e),bt(b,_),Mt(_,r[20]),r[63](_),bt(b,Se),N.m(b,null),bt(b,Ce),R&&R.m(b,null),bt(l,Te),bt(l,S),bt(S,C),bt(C,ke),bt(C,Me),bt(C,De),bt(S,Pe),bt(S,E),Mt(E,r[21]),bt(S,Oe),F&&F.m(S,null),bt(l,Ne),bt(l,x),bt(x,T),bt(T,Re),bt(T,Fe),bt(T,Ie),bt(x,He),bt(x,k),Mt(k,r[22]),bt(x,Le),I&&I.m(x,null),bt(l,Ye),bt(l,M),bt(M,Ge),r[73](i),je||(Ve=[xt(o,"click",r[47]),xt(h,"input",r[48]),xt(h,"keyup",r[30]),xt(h,"focus",r[49]),xt(h,"blur",r[50]),xt(m,"input",r[51]),xt(m,"keyup",r[31]),xt(m,"focus",r[52]),xt(m,"blur",r[53]),xt(v,"input",r[54]),xt(v,"keyup",r[36]),xt(v,"focus",r[55]),xt(v,"blur",r[56]),xt(_,"input",r[60]),xt(_,"keyup",r[37]),xt(_,"focus",r[61]),xt(_,"blur",r[62]),xt(E,"input",r[66]),xt(E,"keyup",r[38]),xt(E,"focus",r[67]),xt(E,"blur",r[68]),xt(k,"input",r[69]),xt(k,"keyup",r[39]),xt(k,"focus",r[70]),xt(k,"blur",r[71]),xt(M,"click",r[72])],je=!0)},p(e,t){268435456&t[0]&&We!==(We=e[28]("registerTitle")+"")&&kt(H,We),268435456&t[0]&&qe!==(qe=e[28]("registerSubtitle")+"")&&kt($,qe),268435456&t[0]&&Ze!==(Ze=e[28]("registerSubtitleLogin")+"")&&kt(Y,Ze),268435456&t[0]&&Qe!==(Qe=e[28]("registerEmail")+"")&&kt(z,Qe),262144&t[0]&&h.value!==e[18]&&Mt(h,e[18]),e[4]?D?D.p(e,t):((D=Pi(e)).c(),D.m(c,null)):D&&(D.d(1),D=null),66576&t[0]&&q!==(q="EmailContainer "+(e[4]&&!e[10]?"InvalidField":"")+(0<=e[16]?.indexOf("email")?"Hidden":""))&&Tt(c,"class",q),16&t[0]&&Z!==(Z="EmailContainer "+(e[4]?"InvalidField":""))&&Tt(c,"part",Z),268435456&t[0]&&Xe!==(Xe=e[28]("registerUsername")+"")&&kt(X,Xe),2&t[0]&&te!==(te=e[1]?"username":"off")&&Tt(m,"autocomplete",te),131072&t[0]&&m.value!==e[17]&&Mt(m,e[17]),e[5]?P?P.p(e,t):((P=Oi(e)).c(),P.m(p,null)):P&&(P.d(1),P=null),67616&t[0]&&ie!==(ie="UserContainer "+(e[5]&&!e[11]?"InvalidField":"")+(0<=e[16]?.indexOf("username")?"Hidden":""))&&Tt(p,"class",ie),32&t[0]&&ne!==(ne="UserContainer "+(e[5]?"InvalidField":""))&&Tt(p,"part",ne),268435456&t[0]&&Ke!==(Ke=e[28]("registerPassword")+"")&&kt(ae,Ke),2&t[0]&&ue!==(ue=e[1]?"new-password":"off")&&Tt(v,"autocomplete",ue),524288&t[0]&&v.value!==e[19]&&Mt(v,e[19]),nt===(nt=it(e))&&O?O.p(e,t):(O.d(1),(O=nt(e))&&(O.c(),O.m(g,he))),e[6]&&"true"!==e[0]?B?B.p(e,t):((B=Ni(e)).c(),B.m(g,pe)):B&&(B.d(1),B=null),e[6]&&"true"===e[0]?A?A.p(e,t):((A=Ri(e)).c(),A.m(g,null)):A&&(A.d(1),A=null),69696&t[0]&&fe!==(fe="PasswordContainer "+(e[6]&&!e[12]?"InvalidField":"")+(0<=e[16]?.indexOf("password")?"Hidden":""))&&Tt(g,"class",fe),64&t[0]&&me!==(me="PasswordContainer "+(e[6]?"InvalidField":""))&&Tt(g,"part",me),65536&t[0]&&ge!==(ge=0<=e[16]?.indexOf("password"))&&(g.hidden=ge),268435456&t[0]&&Je!==(Je=e[28]("registerConfirmPassword")+"")&&kt(ve,Je),1048576&t[0]&&_.value!==e[20]&&Mt(_,e[20]),at===(at=st(e))&&N?N.p(e,t):(N.d(1),(N=at(e))&&(N.c(),N.m(b,Ce))),e[7]?R?R.p(e,t):((R=Hi(e)).c(),R.m(b,null)):R&&(R.d(1),R=null),73856&t[0]&&Ee!==(Ee="ConfirmPasswordContainer "+(e[7]&&!e[13]?"InvalidField":"")+(0<=e[16]?.indexOf("confirmPassword")?"Hidden":""))&&Tt(b,"class",Ee),128&t[0]&&xe!==(xe="ConfirmPasswordContainer "+(e[7]?"InvalidField":""))&&Tt(b,"part",xe),268435460&t[0]&&et!==(et=("true"==e[2]?e[28]("registerSecurityQuestion2"):e[28]("registerSecurityQuestion"))+"")&&kt(ke,et),2097152&t[0]&&E.value!==e[21]&&Mt(E,e[21]),e[8]?F?F.p(e,t):((F=Li(e)).c(),F.m(S,null)):F&&(F.d(1),F=null),82176&t[0]&&Be!==(Be="SecurityQuestionContainer "+(e[8]&&!e[14]?"InvalidField":"")+(0<=e[16]?.indexOf("securityQuestion")?"Hidden":""))&&Tt(S,"class",Be),256&t[0]&&Ae!==(Ae="SecurityQuestionContainer "+(e[8]?"InvalidField":""))&&Tt(S,"part",Ae),268435460&t[0]&&tt!==(tt=("true"==e[2]?e[28]("registerSecurityAnswer2"):e[28]("registerSecurityAnswer"))+"")&&kt(Re,tt),4194304&t[0]&&k.value!==e[22]&&Mt(k,e[22]),e[9]?I?I.p(e,t):((I=$i(e)).c(),I.m(x,null)):I&&(I.d(1),I=null),98816&t[0]&&$e!==($e="SecurityAnswerContainer "+(e[9]&&!e[15]?"InvalidField":"")+(0<=e[16]?.indexOf("securityAnswer")?"Hidden":""))&&Tt(x,"class",$e),512&t[0]&&Ue!==(Ue="SecurityAnswerContainer "+(e[9]?"InvalidField":""))&&Tt(x,"part",Ue),268435456&t[0]&&rt!==(rt=e[28]("registerNext")+"")&&kt(Ge,rt),134217728&t[0]&&ze!==(ze=!e[27])&&(M.disabled=ze)},i:yt,o:yt,d(e){e&&_t(i),D&&D.d(),P&&P.d(),r[57](null),O.d(),B&&B.d(),A&&A.d(),r[63](null),N.d(),R&&R.d(),F&&F.d(),I&&I.d(),r[73](null),je=!1,vt(Ve)}}}function Yi(t,e,r){let F;se(t,wi,e=>r(28,F=e));let i,n,s,a,{lang:o=""}=e,{disabledfields:l=""}=e,{defaultoptions:I=""}=e,{simplepasswordvalidation:c="false"}=e,{clientstyling:u=""}=e,{clientstylingurl:d=""}=e,{translationurl:h=""}=e,{savecredentials:H=""}=e,{tempopcustomization:p="false"}=e,f=!1,m=!1,g=!1,y=!1,v=!1,b=!1,w=!1,_=!1,S=!1,C=!1,E=!1,x=!1,T="",k="",M="",D="",P="",O="",B=!1,A=!1,L=!1,N={user:/^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,email:/^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys(Di).forEach(e=>{Mi(e,Di[e])});const R=()=>{r(27,L=!(f||m||g||y||v||b)),(T.length<=0||k.length<=0||M.length<=0||D.length<=0||P.length<=0||O.length<=0)&&r(27,L=!1)},$=()=>{window.postMessage({type:"ToLogin"},window.location.href)},U=()=>{r(23,B=!0),j()},Y=()=>{r(24,A=!0),V()},G=()=>{r(23,B=!1),j()},z=()=>{r(24,A=!1),V()},j=()=>{r(25,n.type=B?"text":"password",n)},V=()=>{r(26,s.type=A?"text":"password",s)},W=e=>{e.preventDefault();e={userEmail:k,userValue:T,userPassword:M,confirmUserPassword:D,securityQuestion:P,securityAnswer:O};window.postMessage({type:"RegisterStepOne",registerStepOneData:e},window.location.href)},q=e=>{e.data&&"StepOneDataBackup"===e.data.type&&(r(18,k=e.data.userData.email),r(17,T=e.data.userData.username),r(19,M=e.data.userData.password),r(20,D=e.data.userData.password),r(21,P=e.data.userData.securityQuestion),r(22,O=e.data.userData.securityAnswer),R())};return ae(()=>(window.addEventListener("message",q,!1),()=>{window.removeEventListener("message",q)})),t.$$set=e=>{"lang"in e&&r(41,o=e.lang),"disabledfields"in e&&r(42,l=e.disabledfields),"defaultoptions"in e&&r(43,I=e.defaultoptions),"simplepasswordvalidation"in e&&r(0,c=e.simplepasswordvalidation),"clientstyling"in e&&r(44,u=e.clientstyling),"clientstylingurl"in e&&r(45,d=e.clientstylingurl),"translationurl"in e&&r(46,h=e.translationurl),"savecredentials"in e&&r(1,H=e.savecredentials),"tempopcustomization"in e&&r(2,p=e.tempopcustomization)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&o&&(e=o,ne.set(e)),2048&t.$$.dirty[1]&&l&&(r(16,i=l.split(",")),0<=i.indexOf("email")&&(r(18,k="dummy@dummy.com"),r(4,f=!1)),0<=i.indexOf("username")&&(r(17,T="dummy username"),r(5,m=!1)),0<=i.indexOf("password")&&(r(19,M="dummy password"),r(6,g=!1)),0<=i.indexOf("confirmPassword")&&(r(20,D="dummy password"),r(7,y=!1)),0<=i.indexOf("securityQuestion")&&(r(21,P="dummy question"),r(8,v=!1)),0<=i.indexOf("securityAnswer"))&&(r(22,O="dummy answer"),r(9,b=!1)),1&t.$$.dirty[0]&&c&&"true"==c&&(N.password=/^(?!.* ).{8,20}$/),8&t.$$.dirty[0]|8192&t.$$.dirty[1]&&u&&a&&((e=document.createElement("style")).innerHTML=u,a.appendChild(e)),8&t.$$.dirty[0]|16384&t.$$.dirty[1]&&d&&a){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e;32768&t.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mi(e,t[e])})}).catch(e=>{console.log(e)})},[c,H,p,a,f,m,g,y,v,b,w,_,S,C,E,x,i,T,k,M,D,P,O,B,A,n,s,L,F,$,()=>{var e;r(4,(e=k,f=!(N.email.test(e)&&e.length<=100))),R()},()=>{var e;r(5,(e=T,m=!(N.user.test(e)&&e.length<=20))),R()},U,Y,G,z,()=>{var e;r(6,(e=M,g=!N.password.test(e))),M!==D&&0<D.length?r(7,y=!0):r(7,y=!1),R()},()=>{r(7,y=!(M===D)),R()},()=>{r(8,v=!(()=>{if(P)switch(p){case"true":if(N.document.test(P)&&P.length<=50)return!0;break;case"false":if(P&&P.length<=120)return!0}return!1})()),R()},()=>{r(9,b=!(()=>{if(O)switch(p){case"true":if(N.document.test(O)&&O.length<=50)return!0;break;case"false":if(O&&O.length<=120)return!0}return!1})()),R()},W,o,l,I,u,d,h,()=>$(),function(){k=this.value,r(18,k)},()=>r(10,w=!0),()=>r(10,w=!1),function(){T=this.value,r(17,T)},()=>r(11,_=!0),()=>r(11,_=!1),function(){M=this.value,r(19,M)},()=>r(12,S=!0),()=>r(12,S=!1),function(e){ie[e?"unshift":"push"](()=>{n=e,r(25,n)})},()=>G(),()=>U(),function(){D=this.value,r(20,D)},()=>r(13,C=!0),()=>r(13,C=!1),function(e){ie[e?"unshift":"push"](()=>{s=e,r(26,s)})},()=>z(),()=>Y(),function(){P=this.value,r(21,P)},()=>r(14,E=!0),()=>r(14,E=!1),function(){O=this.value,r(22,O)},()=>r(15,x=!0),()=>r(15,x=!1),e=>W(e),function(e){ie[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}customElements.get("general-player-register-form-step1")||customElements.define("general-player-register-form-step1",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emfe-w-color-primary, #D0046C);font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}',this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Yi,Ui,C,{lang:41,disabledfields:42,defaultoptions:43,simplepasswordvalidation:0,clientstyling:44,clientstylingurl:45,translationurl:46,savecredentials:1,tempopcustomization:2},null,[-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["lang","disabledfields","defaultoptions","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials","tempopcustomization"]}get lang(){return this.$$.ctx[41]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[42]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[43]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get clientstyling(){return this.$$.ctx[44]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[45]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[46]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[1]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get tempopcustomization(){return this.$$.ctx[2]}set tempopcustomization(e){this.$$set({tempopcustomization:e}),h()}});zi=Gi={path:void 0,exports:{},require:function(e,t){return Pr(null==t&&Gi.path)}},Gi.exports,zi.exports=function(){var F;function f(){return F.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function H(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function o(e){return void 0===e}function L(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function $(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function U(e,t){for(var r=[],i=e.length,n=0;n<i;++n)r.push(t(e[n],n));return r}function Y(e,t){for(var r in t)m(t,r)&&(e[r]=t[r]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,r,i){return Ot(e,t,r,i,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function G(e){if(null==e._isValid){var t=g(e),r=j.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function z(e){var t=c(NaN);return null!=e?Y(g(t),e):g(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,i=0;i<r;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},V=f.momentProperties=[],W=!1;function q(e,t){var r,i,n,s=V.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=g(t)),o(t._locale)||(e._locale=t._locale),0<s)for(r=0;r<s;r++)o(n=t[i=V[r]])||(e[i]=n);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===W&&(W=!0,f.updateOffset(this),W=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function Q(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(s,a){var o=!0;return Y(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,s),o){for(var e,t,r=[],i=arguments.length,n=0;n<i;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];r.push(e)}Q(s+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var X={};function K(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),X[e]||(Q(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function J(e,t){var r,i=Y({},e);for(r in t)m(t,r)&&(I(e[r])&&I(t[r])?(i[r]={},Y(i[r],e[r]),Y(i[r],t[r])):null!=t[r]?i[r]=t[r]:delete i[r]);for(r in e)m(e,r)&&!m(t,r)&&I(e[r])&&(i[r]=Y({},i[r]));return i}function ee(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)m(e,t)&&r.push(t);return r};function s(e,t,r){var i=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var re=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},se={};function i(e,t,r,i){var n="string"==typeof i?function(){return this[i]()}:i;e&&(se[e]=n),t&&(se[t[0]]=function(){return s(n.apply(this,arguments),t[1],t[2])}),r&&(se[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=oe(t,e.localeData()),ne[t]=ne[t]||function(i){for(var e,n=i.match(re),t=0,s=n.length;t<s;t++)se[n[t]]?n[t]=se[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<s;r++)t+=u(n[r])?n[r].call(e,i):n[r];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function oe(e,t){var r=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=r&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,r,i={};for(r in e)m(e,r)&&(t=d(r))&&(i[t]=e[r]);return i}var ue={};function r(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,r){return function(e){return null!=e?(fe(this,t,e),f.updateOffset(this,r),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(r=p(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ne(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var n=/\d/,y=/\d\d/,me=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,Se=/[+-]?\d{1,6}/,Ce=/\d+/,Ee=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,r,i){Me[e]=u(r)?r:function(e,t){return e&&i?i:r}}function ke(e,t){return m(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,i,n){return t||r||i||n})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},De={};function S(e,r){var t,i,n=r;for("string"==typeof e&&(e=[e]),L(r)&&(n=function(e,t){t[r]=p(e)}),i=e.length,t=0;t<i;t++)De[e[t]]=n}function Pe(e,n){S(e,function(e,t,r,i){r._w=r._w||{},n(e,r._w,r,i)})}var C,E=0,x=1,T=2,k=3,M=4,D=5,Oe=6,Be=7,Ae=8;function Ne(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,e+=(t-r)/12,1==r?de(e)?29:28:31-r%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[x]=p(e)-1}),S(["MMM","MMMM"],function(e,t,r,i){i=r._locale.monthsParse(e,i,r._strict);null!=i?t[x]=i:g(r).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He=b,Le=b;function $e(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!L(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function Ue(e){return null!=e?($e(this,e),f.updateOffset(this,!0),this):pe(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,r=[],i=[],n=[],s=0;s<12;s++)t=c([2e3,s]),r.push(this.monthsShort(t,"")),i.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(r.sort(e),i.sort(e),n.sort(e),s=0;s<12;s++)r[s]=_(r[s]),i[s]=_(i[s]);for(s=0;s<24;s++)n[s]=_(n[s]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ge(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?s(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),w("Y",Ee),w("YY",v,y),w("YYYY",_e,ge),w("YYYYY",Se,ye),w("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],E),S("YYYY",function(e,t){t[E]=2===e.length?f.parseTwoDigitYear(e):p(e)}),S("YY",function(e,t){t[E]=f.parseTwoDigitYear(e)}),S("Y",function(e,t){t[E]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var ze=he("FullYear",!0);function je(e,t,r,i,n,s,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,r,i,n,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,i,n,s,a),o}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,r){r=7+t-r;return-(7+Ve(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,r,i,n){var s,t=1+7*(t-1)+(7+r-i)%7+We(e,i,n),r=t<=0?Ge(s=e-1)+t:t>Ge(e)?(s=e+1,t-Ge(e)):(s=e,t);return{year:s,dayOfYear:r}}function Ze(e,t,r){var i,n,s=We(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?i=s+P(n=e.year()-1,t,r):s>P(e.year(),t,r)?(i=s-P(e.year(),t,r),n=e.year()+1):(n=e.year(),i=s),{week:i,year:n}}function P(e,t,r){var i=We(e,t,r),t=We(e+1,t,r);return(Ge(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Pe(["w","ww","W","WW"],function(e,t,r,i){t[i.substr(0,1)]=p(e)});function Qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Pe(["dd","ddd","dddd"],function(e,t,r,i){i=r._locale.weekdaysParse(e,i,r._strict);null!=i?t.d=i:g(r).invalidWeekday=e}),Pe(["d","e","E"],function(e,t,r,i){t[i]=p(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,rt=b;function it(){function e(e,t){return t.length-e.length}for(var t,r,i,n=[],s=[],a=[],o=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),r=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),n.push(t),s.push(r),a.push(i),o.push(t),o.push(r),o.push(i);n.sort(e),s.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function st(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,nt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)}),i("hmmss",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)+s(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+s(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+s(this.minutes(),2)+s(this.seconds(),2)}),st("a",!0),st("A",!1),t("hour","h"),r("hour",13),w("a",at),w("A",at),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),S(["H","HH"],k),S(["k","kk"],function(e,t,r){e=p(e);t[k]=24===e?0:e}),S(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),S(["h","hh"],function(e,t,r){t[k]=p(e),g(r).bigHour=!0}),S("hmm",function(e,t,r){var i=e.length-2;t[k]=p(e.substr(0,i)),t[M]=p(e.substr(i)),g(r).bigHour=!0}),S("hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=p(e.substr(0,i)),t[M]=p(e.substr(i,2)),t[D]=p(e.substr(n)),g(r).bigHour=!0}),S("Hmm",function(e,t,r){var i=e.length-2;t[k]=p(e.substr(0,i)),t[M]=p(e.substr(i))}),S("Hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=p(e.substr(0,i)),t[M]=p(e.substr(i,2)),t[D]=p(e.substr(n))});b=he("Hours",!0);var ot,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:Fe,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Je,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},O={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,r,i,n,s=0;s<e.length;){for(t=(n=ut(e[s]).split("-")).length,r=(r=ut(e[s+1]))?r.split("-"):null;0<t;){if(i=ht(n.slice(0,t).join("-")))return i;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}(n,r)>=t-1)break;t--}s++}return ot}function ht(t){var e;if(void 0===O[t]&&zi&&zi.exports&&null!=t.match("^[^/\\\\]*$"))try{e=ot._abbr,Pr(),pt(e)}catch(e){O[t]=null}return O[t]}function pt(e,t){return e&&((t=o(t)?B(e):ft(e,t))?ot=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function ft(e,t){if(null===t)return delete O[e],null;var r,i=lt;if(t.abbr=e,null!=O[e])K("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."),i=O[e]._config;else if(null!=t.parentLocale)if(null!=O[t.parentLocale])i=O[t.parentLocale]._config;else{if(null==(r=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=r._config}return O[e]=new ee(J(i,t)),ct[e]&&ct[e].forEach(function(e){ft(e.name,e.config)}),pt(e),O[e]}function B(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ot;if(!a(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function mt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[x]<0||11<t[x]?x:t[T]<1||t[T]>Ne(t[E],t[x])?T:t[k]<0||24<t[k]||24===t[k]&&(0!==t[M]||0!==t[D]||0!==t[Oe])?k:t[M]<0||59<t[M]?M:t[D]<0||59<t[D]?D:t[Oe]<0||999<t[Oe]?Oe:-1,g(e)._overflowDayOfYear&&(t<E||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Be),g(e)._overflowWeekday&&-1===t&&(t=Ae),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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]],wt=[["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/]],_t=/^\/?Date\((-?\d+)/i,St=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,r,i,n,s,a,o=e._i,l=gt.exec(o)||yt.exec(o),o=bt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,r=o;t<r;t++)if(bt[t][1].exec(l[1])){n=bt[t][0],i=!1!==bt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,r=c;t<r;t++)if(wt[t][1].exec(l[3])){s=(l[2]||" ")+wt[t][0];break}if(null==s)return e._isValid=!1}if(!i&&null!=s)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=n+(s||"")+(a||""),Dt(e)}else e._isValid=!1}function xt(e,t,r,i,n,s){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Fe.indexOf(t),parseInt(r,10),parseInt(i,10),parseInt(n,10)];return s&&e.push(parseInt(s,10)),e}function Tt(e){var t,r,i,n,s=St.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=xt(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],i=t,n=e,r&&Ke.indexOf(r)!==new Date(i[0],i[1],i[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(r=s[8],i=s[9],n=s[10],r?Ct[r]:i?0:((r=parseInt(n,10))-(i=r%100))/100*60+i),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,r){return null!=e?e:null!=t?t:r}function Mt(e){var t,r,i,n,s,a,o,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(f.now()),r=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[x]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,o=4,i=kt(d.GG,u._a[E],Ze(A(),1,4).year),n=kt(d.W,1),((s=kt(d.E,1))<1||7<s)&&(l=!0)):(a=u._locale._week.dow,o=u._locale._week.doy,c=Ze(A(),a,o),i=kt(d.gg,u._a[E],c.year),n=kt(d.w,c.week),null!=d.d?((s=d.d)<0||6<s)&&(l=!0):null!=d.e?(s=d.e+a,(d.e<0||6<d.e)&&(l=!0)):s=a),n<1||n>P(i,a,o)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(i,n,s,a,o),u._a[E]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[E],r[E]),(e._dayOfYear>Ge(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[x]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=r[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[k]&&0===e._a[M]&&0===e._a[D]&&0===e._a[Oe]&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?Ve:je).apply(null,h),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[k]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Dt(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],g(e).empty=!0;for(var t,r,i,n=""+e._i,s=n.length,a=0,o=(r=oe(e._f,e._locale).match(re)||[]).length,l=0;l<o;l++)i=r[l],(t=(n.match(ke(i,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),a+=t.length),se[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,p=e,null!=(h=t)&&m(De,d)&&De[d](h,p._a,p,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=s-a,0<n.length&&g(e).unusedInput.push(n),e._a[k]<=12&&!0===g(e).bigHour&&0<e._a[k]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[k]=(s=e._locale,c=e._a[k],null==(u=e._meridiem)?c:null!=s.meridiemHour?s.meridiemHour(c,u):null!=s.isPM?((s=s.isPM(u))&&c<12&&(c+=12),c=s||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[E]=e._locale.erasConvertYear(u,e._a[E])),Mt(e),mt(e)}else Tt(e);else Et(e);var c,u,d,h,p}function Pt(e){var t,r=e._i,i=e._f;{var n,s;return(e._locale=e._locale||B(e._l),null===r||void 0===i&&""===r)?z({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new Z(mt(r)):($(r)?e._d=r:a(i)?function(e){var t,r,i,n,s,a,o=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)s=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],Dt(t),G(t)&&(a=!0),s=(s+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=s,o?s<i&&(i=s,r=t):(null==i||s<i||a)&&(i=s,r=t,a)&&(o=!0);Y(e,r||t)}(e):i?Dt(e):o(i=(r=e)._i)?r._d=new Date(f.now()):$(i)?r._d=new Date(i.valueOf()):"string"==typeof i?(n=r,null===(s=_t.exec(n._i))?(Et(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:f.createFromInputFallback(n))):n._d=new Date(+s[1])):a(i)?(r._a=U(i.slice(0),function(e){return parseInt(e,10)}),Mt(r)):I(i)?(n=r)._d||(t=void 0===(s=ce(n._i)).day?s.date:s.day,n._a=U([s.year,s.month,t,s.hour,s.minute,s.second,s.millisecond],function(e){return e&&parseInt(e,10)}),Mt(n)):L(i)?r._d=new Date(i):f.createFromInputFallback(r),G(e)||(e._d=null),e))}}function Ot(e,t,r,i,n){var s={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==r&&!1!==r||(i=r,r=void 0),(I(e)&&H(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=n,s._l=r,s._i=e,s._f=t,s._strict=i,(n=new Z(mt(Pt(n=s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function A(e,t,r,i){return Ot(e,t,r,i,!1)}f.createFromInputFallback=e("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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Bt(e,t){var r,i;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return A();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](r)||(r=t[i]);return r}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var e=ce(e),t=e.year||0,r=e.quarter||0,i=e.month||0,n=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,o=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,r,i=!1,n=At.length;for(t in e)if(m(e,t)&&(-1===C.call(At,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<n;++r)if(e[At[r]]){if(i)return!1;parseFloat(e[At[r]])!==p(e[At[r]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*o+1e3*a*60*60,this._days=+s+7*n,this._months=+i+3*r+12*t,this._data={},this._locale=B(),this._bubble()}function Rt(e){return e instanceof Nt}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,r){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+s(~~(e/60),2)+r+s(~~e%60,2)})}It("Z",":"),It("ZZ",""),w("Z",Te),w("ZZ",Te),S(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Lt(Te,e)});var Ht=/([\+\-]|\d\d)/gi;function Lt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ht)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||$(e)?e:A(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),f.updateOffset(t,!1),t):A(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var Gt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function N(e,t){var r,i,n=e;return Rt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:L(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Gt.exec(e))?(r="-"===t[1]?-1:1,n={y:0,d:p(t[T])*r,h:p(t[k])*r,m:p(t[M])*r,s:p(t[D])*r,ms:p(Ft(1e3*t[Oe]))*r}):(t=zt.exec(e))?(r="-"===t[1]?-1:1,n={y:jt(t[2],r),M:jt(t[3],r),w:jt(t[4],r),d:jt(t[5],r),h:jt(t[6],r),m:jt(t[7],r),s:jt(t[8],r)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=A(n.from),r=A(n.to),t=t.isValid()&&r.isValid()?(r=$t(r,t),t.isBefore(r)?i=Vt(t,r):((i=Vt(r,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),i=new Nt(n),Rt(e)&&m(e,"_locale")&&(i._locale=e._locale),Rt(e)&&m(e,"_isValid")&&(i._isValid=e._isValid),i}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Wt(i,n){return function(e,t){var r;return null===t||isNaN(+t)||(K(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),qt(this,N(e,t),i),this}}function qt(e,t,r,i){var n=t._milliseconds,s=Ft(t._days),t=Ft(t._months);e.isValid()&&(i=null==i||i,t&&$e(e,pe(e,"Month")+t*r),s&&fe(e,"Date",pe(e,"Date")+s*r),n&&e._d.setTime(e._d.valueOf()+n*r),i)&&f.updateOffset(e,s||t)}N.fn=Nt.prototype,N.invalid=function(){return N(NaN)};Re=Wt(1,"add"),Xe=Wt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Qt(e){return l(e)||$(e)||Zt(e)||L(e)||(r=a(t=e),i=!1,r&&(i=0===t.filter(function(e){return!L(e)&&Zt(t)}).length),r&&i)||function(e){var t,r,i=I(e)&&!H(e),n=!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=s.length;for(t=0;t<a;t+=1)r=s[t],n=n||m(e,r);return i&&n}(e)||null==e;var t,r,i}function Xt(e,t){var r,i;return e.date()<t.date()?-Xt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(r,"months"))<0?(t-i)/(i-e.clone().add(r-1,"months")):(t-i)/(e.clone().add(1+r,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=B(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Je=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Jt(){return this._locale}var er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function ir(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function nr(e,t){return t.erasAbbrRegex(e)}function sr(){for(var e=[],t=[],r=[],i=[],n=this.eras(),s=0,a=n.length;s<a;++s)t.push(_(n[s].name)),e.push(_(n[s].abbr)),r.push(_(n[s].narrow)),i.push(_(n[s].name)),i.push(_(n[s].abbr)),i.push(_(n[s].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ar(e,t){i(0,[e,e.length],0,t)}function or(e,t,r,i,n){var s;return null==e?Ze(this,i,n).year:(t>(s=P(e,i,n))&&(t=s),function(e,t,r,i,n){e=qe(e,t,r,i,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,i,n))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",nr),w("NN",nr),w("NNN",nr),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,i){i=r._locale.erasParse(e,i,r._strict);i?g(r).era=i:g(r).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),S(["y","yy","yyy","yyyy"],E),S(["yo"],function(e,t,r,i){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[E]=r._locale.eraYearOrdinalParse(e,n):t[E]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),w("G",Ee),w("g",Ee),w("GG",v,y),w("gg",v,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",Se,ye),w("ggggg",Se,ye),Pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,i){t[i.substr(0,2)]=p(e)}),Pe(["gg","GG"],function(e,t,r,i){t[i]=f.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),w("Q",n),S("Q",function(e,t){t[x]=3*(p(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),r("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],T),S("Do",function(e,t){t[T]=p(e.match(v)[0])});_e=he("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),w("DDD",we),w("DDDD",me),S(["DDD","DDDD"],function(e,t,r){r._dayOfYear=p(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),w("m",v),w("mm",v,y),S(["m","mm"],M);ge=he("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),r("second",15),w("s",v),w("ss",v,y),S(["s","ss"],D);var lr,Se=he("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),w("S",we,n),w("SS",we,y),w("SSS",we,me),lr="SSSS";lr.length<=9;lr+="S")w(lr,Ce);function cr(e,t){t[Oe]=p(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")S(lr,cr);ye=he("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");n=Z.prototype;function ur(e){return e}n.add=Re,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=I(e)&&!H(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<i.length;n+=1)r=r||m(e,i[n]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||A(),r=$t(e,this).startOf("day"),r=f.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,A(e)))},n.clone=function(){return new Z(this)},n.diff=function(e,t,r){var i,n,s;if(!this.isValid())return NaN;if(!(i=$t(e,this)).isValid())return NaN;switch(n=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":s=Xt(this,i)/12;break;case"month":s=Xt(this,i);break;case"quarter":s=Xt(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-n)/864e5;break;case"week":s=(this-i-n)/6048e5;break;default:s=this-i}return r?s:h(s)},n.endOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}this._d.setTime(t),f.updateOffset(this,!0)}return this},n.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(A(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to(A(),e)},n.get=function(e){return u(this[e=d(e)])?this[e]():this},n.invalidAt=function(){return g(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,r,i){return e=l(e)?e:A(e),t=l(t)?t:A(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===i[1]?this.isBefore(t,r):!this.isAfter(t,r))},n.isSame=function(e,t){var e=l(e)?e:A(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},n.isValid=function(){return G(this)},n.lang=Je,n.locale=Kt,n.localeData=Jt,n.max=be,n.min=ve,n.parsingFlags=function(){return Y({},g(this))},n.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)m(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=ce(e)),i=r.length,n=0;n<i;n++)this[r[n].unit](e[r[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},n.startOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,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-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}this._d.setTime(t),f.updateOffset(this,!0)}return this},n.subtract=Xe,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},n.inspect=function(){var e,t,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},n.eraYear=function(){for(var e,t,r=this.localeData().eras(),i=0,n=r.length;i<n;++i)if(e=r[i].since<=r[i].until?1:-1,t=this.clone().startOf("day").valueOf(),r[i].since<=t&&t<=r[i].until||r[i].until<=t&&t<=r[i].since)return(this.year()-f(r[i].since).year())*e+r[i].offset;return this.year()},n.year=ze,n.isLeapYear=function(){return de(this.year())},n.weekYear=function(e){return or.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return or.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=Ue,n.daysInMonth=function(){return Ne(this.year(),this.month())},n.week=n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},n.isoWeek=n.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return P(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return P(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return P(this.isoWeekYear(),1,4)},n.date=_e,n.day=n.days=function(e){var t,r,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(r=e,i=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=i.weekdaysParse(r))?r:null:parseInt(r,10),this.add(e-t,"d")):t):null!=e?this:NaN},n.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},n.isoWeekday=function(e){var t,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN},n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},n.hour=n.hours=b,n.minute=n.minutes=ge,n.second=n.seconds=Se,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,r){var i,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:Ut(this);if("string"==typeof e){if(null===(e=Lt(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=Ut(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?qt(this,N(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ut(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Lt(xe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?A(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=Yt,n.isUTC=Yt,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",_e),n.months=e("months accessor is deprecated. Use month instead",Ue),n.years=e("years accessor is deprecated. Use year instead",ze),n.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return o(this._isDSTShifted)&&(q(t={},this),(t=Pt(t))._a?(e=(t._isUTC?c:A)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var i=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),s=0,a=0;a<i;a++)(r&&e[a]!==t[a]||!r&&p(e[a])!==p(t[a]))&&s++;return s+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function dr(e,t,r,i){var n=B(),i=c().set(i,t);return n[r](i,e)}function hr(e,t,r){if(L(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,r,"month");for(var i=[],n=0;n<12;n++)i[n]=dr(e,n,r,"month");return i}function pr(e,t,r,i){t=("boolean"==typeof e||(r=t=e,e=!1),L(t)&&(r=t,t=void 0),t||"");var n,s=B(),a=e?s._week.dow:0,o=[];if(null!=r)return dr(t,(r+a)%7,i,"day");for(n=0;n<7;n++)o[n]=dr(t,(n+a)%7,i,"day");return o}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ur,y.postformat=ur,y.relativeTime=function(e,t,r,i){var n=this._relativeTime[r];return u(n)?n(e,t,r,i):n.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,r;for(r in e)m(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var r,i=this._eras||B("en")._eras,n=0,s=i.length;n<s;++n)switch("string"==typeof i[n].since&&(r=f(i[n].since).startOf("day"),i[n].since=r.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":r=f(i[n].until).startOf("day").valueOf(),i[n].until=r.valueOf()}return i},y.erasParse=function(e,t,r){var i,n,s,a,o,l=this.eras();for(e=e.toUpperCase(),i=0,n=l.length;i<n;++i)if(s=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),o=l[i].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(o===e)return l[i]}else if(0<=[s,a,o].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||sr.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return m(this,"_erasNameRegex")||sr.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||sr.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var i,n;if(this._monthsParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))||-1!==(n=C.call(this._longMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))||-1!==(n=C.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(n=c([2e3,i]),r&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),r||this._monthsParse[i]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[i]=new RegExp(n.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(r&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!r&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var i,n;if(this._weekdaysParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(n=c([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[i]=new RegExp(n.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(r&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(r&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!r&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",B);var fr=Math.abs;function mr(e,t,r,i){t=N(t,r);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function gr(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function vr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}we=br("ms"),me=br("s"),Re=br("m"),be=br("h"),ve=br("d"),Xe=br("w"),b=br("M"),ge=br("Q"),Se=br("y");function wr(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wr("milliseconds"),_e=wr("seconds"),ze=wr("minutes"),y=wr("hours"),_r=wr("days"),Sr=wr("months"),Cr=wr("years");var Er=Math.round,xr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,i){var n=N(e).abs(),s=Er(n.as("s")),a=Er(n.as("m")),o=Er(n.as("h")),l=Er(n.as("d")),c=Er(n.as("M")),u=Er(n.as("w")),n=Er(n.as("y")),s=(s<=r.ss?["s",s]:s<r.s&&["ss",s])||(a<=1?["m"]:a<r.m&&["mm",a])||(o<=1?["h"]:o<r.h&&["hh",o])||(l<=1?["d"]:l<r.d&&["dd",l]);return(s=(s=null!=r.w?s||(u<=1?["w"]:u<r.w&&["ww",u]):s)||(c<=1?["M"]:c<r.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,s[3]=0<+e,s[4]=i,function(e,t,r,i,n){return n.relativeTime(t||1,!!r,e,i)}.apply(null,s)}var kr=Math.abs;function Mr(e){return(0<e)-(e<0)||+e}function Dr(){var e,t,r,i,n,s,a,o,l,c,u;return this.isValid()?(o=kr(this._milliseconds)/1e3,l=kr(this._days),c=kr(this._months),(u=this.asSeconds())?(e=h(o/60),t=h(e/60),o%=60,e%=60,r=h(c/12),c%=12,i=o?o.toFixed(3).replace(/\.?0+$/,""):"",n=Mr(this._months)!==Mr(u)?"-":"",s=Mr(this._days)!==Mr(u)?"-":"",a=Mr(this._milliseconds)!==Mr(u)?"-":"",(u<0?"-":"")+"P"+(r?n+r+"Y":"")+(c?n+c+"M":"")+(l?s+l+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+i+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Nt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=fr(this._milliseconds),this._days=fr(this._days),this._months=fr(this._months),e.milliseconds=fr(e.milliseconds),e.seconds=fr(e.seconds),e.minutes=fr(e.minutes),e.hours=fr(e.hours),e.months=fr(e.months),e.years=fr(e.years),this},R.add=function(e,t){return mr(this,e,t,1)},R.subtract=function(e,t){return mr(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vr(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=me,R.asMinutes=Re,R.asHours=be,R.asDays=ve,R.asWeeks=Xe,R.asMonths=b,R.asQuarters=ge,R.asYears=Se,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,i=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*gr(vr(r)+t),r=t=0),i.milliseconds=e%1e3,e=h(e/1e3),i.seconds=e%60,e=h(e/60),i.minutes=e%60,e=h(e/60),i.hours=e%24,t+=h(e/24),r+=e=h(yr(t)),t-=gr(vr(e)),e=h(r/12),r%=12,i.days=t,i.months=r,i.years=e,this},R.clone=function(){return N(this)},R.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=_e,R.minutes=ze,R.hours=y,R.days=_r,R.weeks=function(){return h(this.days()/7)},R.months=Sr,R.years=Cr,R.humanize=function(e,t){var r,i;return this.isValid()?(r=!1,i=xr,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},xr,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=Tr(this,!r,i,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=Dr,R.toString=Dr,R.toJSON=Dr,R.locale=Kt,R.localeData=Jt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dr),R.lang=Je,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",Ee),w("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,r){r._d=new Date(p(e))}),f.version="2.29.4",F=A,f.fn=n,f.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=c,f.unix=function(e){return A(1e3*e)},f.months=function(e,t){return hr(e,t,"months")},f.isDate=$,f.locale=pt,f.invalid=z,f.duration=N,f.isMoment=l,f.weekdays=function(e,t,r){return pr(e,t,r,"weekdays")},f.parseZone=function(){return A.apply(null,arguments).parseZone()},f.localeData=B,f.isDuration=Rt,f.monthsShort=function(e,t){return hr(e,t,"monthsShort")},f.weekdaysMin=function(e,t,r){return pr(e,t,r,"weekdaysMin")},f.defineLocale=ft,f.updateLocale=function(e,t){var r,i;return null!=t?(i=lt,null!=O[e]&&null!=O[e].parentLocale?O[e].set(J(O[e]._config,t)):(t=J(i=null!=(r=ht(e))?r._config:i,t),null==r&&(t.abbr=e),(i=new ee(t)).parentLocale=O[e],O[e]=i),pt(e)):null!=O[e]&&(null!=O[e].parentLocale?(O[e]=O[e].parentLocale,e===pt()&&pt(e)):null!=O[e]&&delete O[e]),O[e]},f.locales=function(){return te(O)},f.weekdaysShort=function(e,t,r){return pr(e,t,r,"weekdaysShort")},f.normalizeUnits=d,f.relativeTimeRounding=function(e){return void 0===e?Er:"function"==typeof e&&(Er=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==xr[e]&&(void 0===t?xr[e]:(xr[e]=t,"s"===e&&(xr.ss=t-1),!0))},f.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},f.prototype=n,f.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"},f}();var Gi,zi,ji=Gi.exports;function Vi(e,t){ti(e,t)}const Wi={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"},"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:"下一個"},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"},tr:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki"},ro:{registerBackButton:"Inapoi",registerUserTitle:"Titlu",registerUserTitleSelect:"Selecteaza Titlu",registerUserTitleSelectMr:"Dl.",registerUserTitleSelectMrs:"Dna.",registerUserTitleSelectMs:"Dra.",registerFirstName:"Prenume",registerFirstNameError:"Prenumele trebuie sa fie de 2-50 litere lungime.",registerLastName:"Nume",registerLastNameError:"Numele trebuie sa fie de 2-50 litere lungime.",registerDateOfBirth:"Data Nasterii",registerBirthDay:"Zi",registerBirthMonth:"Luna",registerBirthYear:"An",registerBirthDateError:"Varsta minima pentru inregistrare este de {licenseyears} ani.",registerBirthPlace:"Locule nasterii",registerBirthPlaceError:"Locul nasterii trebuie sa contina minim o litera",registerCurrency:"Moneda",registerNext:"Urmatorul"},es:{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"},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"}};function qi(e,t,r){e=e.slice();return e[70]=t[r],e}function Zi(e,t,r){e=e.slice();return e[73]=t[r],e}function Qi(e,t,r){e=e.slice();return e[76]=t[r],e}function Xi(e,t,r){e=e.slice();return e[79]=t[r],e}function Ki(e){let r,i,n=e[21]("registerFirstNameError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerFirstNameError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ji(e){let r,i,n=e[21]("registerLastNameError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerLastNameError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function en(e){let r,i,t=e[79]+"";return{c(){r=St("option"),i=Ct(t),r.__value=e[79],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p:yt,d(e){e&&_t(r)}}}function tn(e){let r,i,t=e[76]+"";return{c(){r=St("option"),i=Ct(t),r.__value=e[76],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p:yt,d(e){e&&_t(r)}}}function rn(t){let n,s=t[24],a=[];for(let e=0;e<s.length;e+=1)a[e]=nn(Zi(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();n=nt()},m(t,r){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,r);wt(t,n,r)},p(t,r){if(16777216&r[0]){let e;for(s=t[24],e=0;e<s.length;e+=1){var i=Zi(t,s,e);a[e]?a[e].p(i,r):(a[e]=nn(i),a[e].c(),a[e].m(n.parentNode,n))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}},d(e){Ot(a,e),e&&_t(n)}}}function nn(e){let r,i,t=e[73]+"";return{c(){r=St("option"),i=Ct(t),r.__value=e[73],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p:yt,d(e){e&&_t(r)}}}function sn(e){let r,i,n=e[21]("registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097153&t[0]&&n!==(n=e[21]("registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&kt(i,n)},d(e){e&&_t(r)}}}function an(e){let r,i,n=e[21]("registerBirthPlaceError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerBirthPlaceError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function on(e){let r,i,n,s=e[70]+"";return{c(){r=St("option"),i=Ct(s),r.__value=n=e[70],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){131072&t[0]&&s!==(s=e[70]+"")&&kt(i,s),131072&t[0]&&n!==(n=e[70])&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function ln(r){let i,H,n,s,L,$,U,Y,G,z,j,a,o,l,V,W,q,Z,c,u,Q,d,X,h,K,J,ee,e,te,p,re,ie,ne,se,ae,f,oe,le,ce,ue,m,de,he,pe,fe,me,g,ge,ye,ve,be,y,we,_e,Se,Ce,Ee,v,b,w,xe,Te,_,S,ke,Me,C,E,De,Pe,Oe,Be,x,Ae,Ne,Re,Fe,Ie,T,He,Le,$e,Ue,k,Ye,Ge,ze,je,Ve,M,We,qe,D,Ze,Qe,Xe,Ke,Je=r[21]("registerBackButton")+"",et=r[21]("registerUserTitle")+"",tt=r[21]("registerUserTitleSelect")+"",rt=r[21]("registerUserTitleSelectMr")+"",it=r[21]("registerUserTitleSelectMrs")+"",nt=r[21]("registerUserTitleSelectMs")+"",st=r[21]("registerFirstName")+"",at=r[21]("registerLastName")+"",ot=r[21]("registerDateOfBirth")+"",lt=r[21]("registerBirthDay")+"",ct=r[21]("registerBirthMonth")+"",ut=r[21]("registerBirthYear")+"",dt=r[21]("registerBirthPlace")+"",ht=r[21]("registerCurrency")+"",pt=r[21]("registerNext")+"",P=r[2]&&Ki(r),O=r[3]&&Ji(r),ft=r[22],B=[];for(let e=0;e<ft.length;e+=1)B[e]=en(Xi(r,ft,e));let mt=r[23],A=[];for(let e=0;e<mt.length;e+=1)A[e]=tn(Qi(r,mt,e));let N=!r[20]&&rn(r),R=r[4]&&sn(r),F=r[5]&&an(r),gt=r[17],I=[];for(let e=0;e<gt.length;e+=1)I[e]=on(qi(r,gt,e));return{c(){i=St("div"),H=St("div"),n=St("button"),s=t("svg"),L=t("defs"),$=t("style"),U=Ct(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),Y=t("path"),G=Et(),z=Ct(Je),j=Et(),a=St("form"),o=St("div"),l=St("label"),V=Ct(et),W=Ct(":"),(q=St("span")).textContent="*",Z=Et(),c=St("select"),u=St("option"),Q=Ct(tt),d=St("option"),X=Ct(rt),h=St("option"),K=Ct(it),J=St("option"),ee=Ct(nt),te=Et(),p=St("div"),re=St("label"),ie=Ct(st),ne=Ct(":"),(se=St("span")).textContent="*",ae=Et(),f=St("input"),oe=Et(),P&&P.c(),ue=Et(),m=St("div"),de=St("label"),he=Ct(at),pe=Ct(":"),(fe=St("span")).textContent="*",me=Et(),g=St("input"),ge=Et(),O&&O.c(),be=Et(),y=St("div"),we=St("label"),_e=Ct(ot),Se=Ct(":"),(Ce=St("span")).textContent="*",Ee=Et(),v=St("div"),b=St("select"),w=St("option"),xe=Ct(lt);for(let e=0;e<B.length;e+=1)B[e].c();Te=Et(),_=St("select"),S=St("option"),ke=Ct(ct);for(let e=0;e<A.length;e+=1)A[e].c();Me=Et(),C=St("select"),E=St("option"),De=Ct(ut),N&&N.c(),Pe=Et(),R&&R.c(),Be=Et(),x=St("div"),Ae=St("label"),Ne=Ct(dt),Re=Ct(":"),(Fe=St("span")).textContent="*",Ie=Et(),T=St("input"),He=Et(),F&&F.c(),Ue=Et(),k=St("div"),Ye=St("label"),Ge=Ct(ht),ze=Ct(":"),(je=St("span")).textContent="*",Ve=Et(),M=St("select");for(let e=0;e<I.length;e+=1)I[e].c();qe=Et(),D=St("button"),Ze=Ct(pt),this.c=yt,Tt(Y,"class","a"),Tt(Y,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Tt(Y,"transform","translate(24 24) rotate(180)"),Tt(s,"xmlns","http://www.w3.org/2000/svg"),Tt(s,"viewBox","0 0 24 24"),Tt(n,"class","BackButton"),Tt(n,"part","BackButton"),Tt(H,"class","RegisterFormHeader"),Tt(H,"part","RegisterFormHeader"),Tt(q,"class","FormRequired"),Tt(q,"part","FormRequired"),Tt(l,"for","Title"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,d.__value="Mr.",d.value=d.__value,h.__value="Mrs.",h.value=h.__value,J.__value="Ms.",J.value=J.__value,Tt(c,"id","Title"),void 0===r[10]&&Pt(()=>r[39].call(c)),Tt(o,"class",e="UserTitleContainer "+(0<=r[9]?.indexOf("title")?"Hidden":"")),Tt(o,"part","UserTitleContainer"),Tt(se,"class","FormRequired"),Tt(se,"part","FormRequired"),Tt(re,"for","FirstName"),Tt(f,"type","text"),Tt(f,"id","FirstName"),Tt(p,"class",le="FirstNameContainer "+(r[2]&&!r[6]?"InvalidField":"")+(0<=r[9]?.indexOf("firstName")?"Hidden":"")),Tt(p,"part",ce="FirstNameContainer "+(r[2]?"InvalidField":"")),Tt(fe,"class","FormRequired"),Tt(fe,"part","FormRequired"),Tt(de,"for","LastName"),Tt(g,"type","text"),Tt(g,"id","LastName"),Tt(m,"class",ye="LastNameContainer "+(r[3]&&!r[7]?"InvalidField":"")+(0<=r[9]?.indexOf("lastName")?"Hidden":"")),Tt(m,"part",ve="LastNameContainer "+(r[3]?"InvalidField":"")),Tt(Ce,"class","FormRequired"),Tt(Ce,"part","FormRequired"),w.__value="",w.value=w.__value,w.disabled=!0,w.selected=!0,Tt(b,"class","BirthDaySelected"),Tt(b,"part","BirthDaySelected"),void 0===r[13]&&Pt(()=>r[46].call(b)),S.__value="",S.value=S.__value,S.disabled=!0,S.selected=!0,Tt(_,"class","BirthMonthSelected"),Tt(_,"part","BirthMonthSelected"),void 0===r[14]&&Pt(()=>r[47].call(_)),E.__value="",E.value=E.__value,E.disabled=!0,E.selected=!0,Tt(C,"class","BirthYearSelected"),Tt(C,"part","BirthYearSelected"),void 0===r[15]&&Pt(()=>r[48].call(C)),Tt(v,"class","BirthDateOptions"),Tt(v,"part","BirthDateOptions"),Tt(y,"class",Oe="BirthDateContainer "+(0<=r[9]?.indexOf("birthDate")?"Hidden":"")),Tt(y,"part","BirthDateContainer"),Tt(Fe,"class","FormRequired"),Tt(Fe,"part","FormRequired"),Tt(Ae,"for","BirthPlace"),Tt(T,"type","text"),Tt(T,"id","BirthPlace"),Tt(x,"class",Le="BirthPlaceContainer "+(r[5]&&!r[8]?"InvalidField":"")+(0<=r[9]?.indexOf("birthPlace")?"Hidden":"")),Tt(x,"part",$e="BirthPlaceContainer "+(r[5]?"InvalidField":"")),Tt(je,"class","FormRequired"),Tt(je,"part","FormRequired"),Tt(Ye,"for","Currency"),Tt(M,"id","Currency"),void 0===r[18]&&Pt(()=>r[52].call(M)),Tt(k,"class",We="CurrencyContainer "+(0<=r[9]?.indexOf("currency")?"Hidden":"")),Tt(k,"part","CurrencyContainer"),Tt(D,"class","RegisterStepNext"),Tt(D,"part","RegisterStepNext"),D.disabled=Qe=!r[19],Tt(a,"class","RegisterFormContent"),Tt(a,"part","RegisterFormContent")},m(e,t){wt(e,i,t),bt(i,H),bt(H,n),bt(n,s),bt(s,L),bt(L,$),bt($,U),bt(s,Y),bt(n,G),bt(n,z),bt(i,j),bt(i,a),bt(a,o),bt(o,l),bt(l,V),bt(l,W),bt(l,q),bt(o,Z),bt(o,c),bt(c,u),bt(u,Q),bt(c,d),bt(d,X),bt(c,h),bt(h,K),bt(c,J),bt(J,ee),Dt(c,r[10],!0),bt(a,te),bt(a,p),bt(p,re),bt(re,ie),bt(re,ne),bt(re,se),bt(p,ae),bt(p,f),Mt(f,r[11]),bt(p,oe),P&&P.m(p,null),bt(a,ue),bt(a,m),bt(m,de),bt(de,he),bt(de,pe),bt(de,fe),bt(m,me),bt(m,g),Mt(g,r[12]),bt(m,ge),O&&O.m(m,null),bt(a,be),bt(a,y),bt(y,we),bt(we,_e),bt(we,Se),bt(we,Ce),bt(y,Ee),bt(y,v),bt(v,b),bt(b,w),bt(w,xe);for(let e=0;e<B.length;e+=1)B[e]&&B[e].m(b,null);Dt(b,r[13],!0),bt(v,Te),bt(v,_),bt(_,S),bt(S,ke);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(_,null);Dt(_,r[14],!0),bt(v,Me),bt(v,C),bt(C,E),bt(E,De),N&&N.m(C,null),Dt(C,r[15],!0),bt(v,Pe),R&&R.m(v,null),bt(a,Be),bt(a,x),bt(x,Ae),bt(Ae,Ne),bt(Ae,Re),bt(Ae,Fe),bt(x,Ie),bt(x,T),Mt(T,r[16]),bt(x,He),F&&F.m(x,null),bt(a,Ue),bt(a,k),bt(k,Ye),bt(Ye,Ge),bt(Ye,ze),bt(Ye,je),bt(k,Ve),bt(k,M);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(M,null);Dt(M,r[18],!0),bt(a,qe),bt(a,D),bt(D,Ze),r[54](i),Xe||(Ke=[xt(n,"click",r[31]),xt(c,"change",r[39]),xt(c,"change",r[26]),xt(f,"input",r[40]),xt(f,"keyup",r[27]),xt(f,"focus",r[41]),xt(f,"keyup",r[42]),xt(g,"input",r[43]),xt(g,"keyup",r[28]),xt(g,"focus",r[44]),xt(g,"blur",r[45]),xt(b,"change",r[46]),xt(b,"change",r[25]),xt(_,"change",r[47]),xt(_,"change",r[25]),xt(C,"change",r[48]),xt(C,"change",r[25]),xt(T,"input",r[49]),xt(T,"keyup",r[29]),xt(T,"focus",r[50]),xt(T,"blur",r[51]),xt(M,"change",r[52]),xt(D,"click",r[53])],Xe=!0)},p(t,r){if(2097152&r[0]&&Je!==(Je=t[21]("registerBackButton")+"")&&kt(z,Je),2097152&r[0]&&et!==(et=t[21]("registerUserTitle")+"")&&kt(V,et),2097152&r[0]&&tt!==(tt=t[21]("registerUserTitleSelect")+"")&&kt(Q,tt),2097152&r[0]&&rt!==(rt=t[21]("registerUserTitleSelectMr")+"")&&kt(X,rt),2097152&r[0]&&it!==(it=t[21]("registerUserTitleSelectMrs")+"")&&kt(K,it),2097152&r[0]&&nt!==(nt=t[21]("registerUserTitleSelectMs")+"")&&kt(ee,nt),1024&r[0]&&Dt(c,t[10]),512&r[0]&&e!==(e="UserTitleContainer "+(0<=t[9]?.indexOf("title")?"Hidden":""))&&Tt(o,"class",e),2097152&r[0]&&st!==(st=t[21]("registerFirstName")+"")&&kt(ie,st),2048&r[0]&&f.value!==t[11]&&Mt(f,t[11]),t[2]?P?P.p(t,r):((P=Ki(t)).c(),P.m(p,null)):P&&(P.d(1),P=null),580&r[0]&&le!==(le="FirstNameContainer "+(t[2]&&!t[6]?"InvalidField":"")+(0<=t[9]?.indexOf("firstName")?"Hidden":""))&&Tt(p,"class",le),4&r[0]&&ce!==(ce="FirstNameContainer "+(t[2]?"InvalidField":""))&&Tt(p,"part",ce),2097152&r[0]&&at!==(at=t[21]("registerLastName")+"")&&kt(he,at),4096&r[0]&&g.value!==t[12]&&Mt(g,t[12]),t[3]?O?O.p(t,r):((O=Ji(t)).c(),O.m(m,null)):O&&(O.d(1),O=null),648&r[0]&&ye!==(ye="LastNameContainer "+(t[3]&&!t[7]?"InvalidField":"")+(0<=t[9]?.indexOf("lastName")?"Hidden":""))&&Tt(m,"class",ye),8&r[0]&&ve!==(ve="LastNameContainer "+(t[3]?"InvalidField":""))&&Tt(m,"part",ve),2097152&r[0]&&ot!==(ot=t[21]("registerDateOfBirth")+"")&&kt(_e,ot),2097152&r[0]&<!==(lt=t[21]("registerBirthDay")+"")&&kt(xe,lt),4194304&r[0]){let e;for(ft=t[22],e=0;e<ft.length;e+=1){var i=Xi(t,ft,e);B[e]?B[e].p(i,r):(B[e]=en(i),B[e].c(),B[e].m(b,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=ft.length}if(4202496&r[0]&&Dt(b,t[13]),2097152&r[0]&&ct!==(ct=t[21]("registerBirthMonth")+"")&&kt(ke,ct),8388608&r[0]){let e;for(mt=t[23],e=0;e<mt.length;e+=1){var n=Qi(t,mt,e);A[e]?A[e].p(n,r):(A[e]=tn(n),A[e].c(),A[e].m(_,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=mt.length}if(8404992&r[0]&&Dt(_,t[14]),2097152&r[0]&&ut!==(ut=t[21]("registerBirthYear")+"")&&kt(De,ut),t[20]?N&&(N.d(1),N=null):N?N.p(t,r):((N=rn(t)).c(),N.m(C,null)),16809984&r[0]&&Dt(C,t[15]),t[4]?R?R.p(t,r):((R=sn(t)).c(),R.m(v,null)):R&&(R.d(1),R=null),512&r[0]&&Oe!==(Oe="BirthDateContainer "+(0<=t[9]?.indexOf("birthDate")?"Hidden":""))&&Tt(y,"class",Oe),2097152&r[0]&&dt!==(dt=t[21]("registerBirthPlace")+"")&&kt(Ne,dt),65536&r[0]&&T.value!==t[16]&&Mt(T,t[16]),t[5]?F?F.p(t,r):((F=an(t)).c(),F.m(x,null)):F&&(F.d(1),F=null),800&r[0]&&Le!==(Le="BirthPlaceContainer "+(t[5]&&!t[8]?"InvalidField":"")+(0<=t[9]?.indexOf("birthPlace")?"Hidden":""))&&Tt(x,"class",Le),32&r[0]&&$e!==($e="BirthPlaceContainer "+(t[5]?"InvalidField":""))&&Tt(x,"part",$e),2097152&r[0]&&ht!==(ht=t[21]("registerCurrency")+"")&&kt(Ge,ht),131072&r[0]){let e;for(gt=t[17],e=0;e<gt.length;e+=1){var s=qi(t,gt,e);I[e]?I[e].p(s,r):(I[e]=on(s),I[e].c(),I[e].m(M,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=gt.length}393216&r[0]&&Dt(M,t[18]),512&r[0]&&We!==(We="CurrencyContainer "+(0<=t[9]?.indexOf("currency")?"Hidden":""))&&Tt(k,"class",We),2097152&r[0]&&pt!==(pt=t[21]("registerNext")+"")&&kt(Ze,pt),524288&r[0]&&Qe!==(Qe=!t[19])&&(D.disabled=Qe)},i:yt,o:yt,d(e){e&&_t(i),P&&P.d(),O&&O.d(),Ot(B,e),Ot(A,e),N&&N.d(),R&&R.d(),F&&F.d(),Ot(I,e),r[54](null),Xe=!1,vt(Ke)}}}function cn(t,e,r){let i;se(t,wi,e=>r(21,i=e));let n,s,a,o,l,c,u,d,h,{endpoint:p=""}=e,{lang:f=""}=e,{licenseyears:m=""}=e,{disabledfields:g=""}=e,{defaultoptions:F=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,w=!1,_=!1,S=!1,C=!1,E=!1,x=!1,T=!1,k="",M="",I=[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],H=[1,2,3,4,5,6,7,8,9,10,11,12],D=[],P="",O=[],B="",A=new Date,N=!1,L=!0;Object.keys(Wi).forEach(e=>{Vi(e,Wi[e])});const R=()=>{r(19,N=!(w||_||S||C)),!(k.length<=0||M.length<=0||P.length<=0)&&s&&a&&o&&l||r(19,N=!1)},$=e=>!!(e&&2<=e.length&&e.length<=50),U=e=>{e.preventDefault();e={userTitleSelected:s,userFirstName:k,userLastName:M,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:P,currencySelected:B};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},Y=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(10,s=e.data.userData.title),r(11,k=e.data.userData.firstname),r(12,M=e.data.userData.lastname),r(13,a=e.data.userData.birth.day),r(14,o=e.data.userData.birth.month),r(15,l=e.data.userData.birth.year),r(16,P=e.data.userData.birthPlace),r(18,B=e.data.userData.currency),R())};return ae(()=>(window.addEventListener("message",Y,!1),()=>{window.removeEventListener("message",Y)})),t.$$set=e=>{"endpoint"in e&&r(32,p=e.endpoint),"lang"in e&&r(33,f=e.lang),"licenseyears"in e&&r(0,m=e.licenseyears),"disabledfields"in e&&r(34,g=e.disabledfields),"defaultoptions"in e&&r(35,F=e.defaultoptions),"clientstyling"in e&&r(36,y=e.clientstyling),"clientstylingurl"in e&&r(37,v=e.clientstylingurl),"translationurl"in e&&r(38,b=e.translationurl)},t.$$.update=()=>{if(2&t.$$.dirty[1]&&p&&fetch(p+"/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(17,O=e.currencies),B||r(18,B=O[0])}),4&t.$$.dirty[1]&&f&&(e=f,ne.set(e)),1&t.$$.dirty[0]&&m){u=parseInt(ji(A.setDate(A.getDate())).subtract(parseInt(m,10),"y").format("YYYY")),c=parseInt(ji(A.setDate(A.getDate())).subtract(100+parseInt(m,10),"y").format("YYYY"));for(let e=u;e>=c;e--)D.push(e);r(20,L=!1)}if(8&t.$$.dirty[1]&&g&&(r(9,n=g.split(",")),0<=n.indexOf("firstName")&&(r(11,k="dummy first name"),r(2,w=!1)),0<=n.indexOf("lastName")&&(r(12,M="dummy last name"),r(3,_=!1)),0<=n.indexOf("birthPlace")&&(r(16,P="dummy birth place"),r(5,C=!1)),0<=n.indexOf("birthDate")&&r(4,S=!1),0<=n.indexOf("title")&&r(10,s="Mr."),0<=n.indexOf("currency"))&&r(18,B="CDF"),2&t.$$.dirty[0]|32&t.$$.dirty[1]&&y&&h&&((e=document.createElement("style")).innerHTML=y,h.appendChild(e)),2&t.$$.dirty[0]|64&t.$$.dirty[1]&&v&&h){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1),setTimeout(()=>{},500)})}var e;128&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vi(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,w,_,S,C,E,x,T,n,s,k,M,a,o,l,P,O,B,N,L,i,I,H,D,()=>{l&&o&&a&&(d=ji(A.setDate(A.getDate())).diff(ji(`${l}-${o}-`+a,"YYYY-MM-DD"),"years").toString(),r(4,S=d<m)),R()},R,()=>{r(2,w=!$(k)),R()},()=>{r(3,_=!$(M)),R()},()=>{r(5,C=!(P&&P.length<=120)),R()},U,()=>{var e={userTitleSelected:s,userFirstName:k,userLastName:M,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:P,currencySelected:B};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},p,f,g,F,y,v,b,function(){s=K(this),r(10,s)},function(){k=this.value,r(11,k)},()=>r(6,E=!0),()=>r(6,E=!1),function(){M=this.value,r(12,M)},()=>r(7,x=!0),()=>r(7,x=!1),function(){a=K(this),r(13,a),r(22,I)},function(){o=K(this),r(14,o),r(23,H)},function(){l=K(this),r(15,l),r(24,D)},function(){P=this.value,r(16,P)},()=>r(8,T=!0),()=>r(8,T=!1),function(){B=K(this),r(18,B),r(17,O)},e=>U(e),function(e){ie[e?"unshift":"push"](()=>{h=e,r(1,h)})}]}function un(e,t){ti(e,t)}customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}.BackButton{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.UserTitleContainer select:focus,.UserTitleContainer select :focus-within,.UserTitleContainer select :focus-visible,.UserTitleContainer select :visited,.CurrencyContainer select:focus,.CurrencyContainer select :focus-within,.CurrencyContainer select :focus-visible,.CurrencyContainer select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.CurrencyContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.UserTitleContainer label,.FirstNameContainer label,.LastNameContainer label,.BirthDateContainer label,.BirthPlaceContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthPlaceContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer.Hidden,.FirstNameContainer.Hidden,.LastNameContainer.Hidden,.BirthDateContainer.Hidden,.BirthPlaceContainer.Hidden,.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthDaySelected:focus,.BirthDateOptions .BirthDaySelected :focus-within,.BirthDateOptions .BirthDaySelected :focus-visible,.BirthDateOptions .BirthDaySelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.BirthDateOptions .BirthMonthSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthMonthSelected:focus,.BirthDateOptions .BirthMonthSelected :focus-within,.BirthDateOptions .BirthMonthSelected :focus-visible,.BirthDateOptions .BirthMonthSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.BirthDateOptions .BirthYearSelected{width:40%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthYearSelected:focus,.BirthDateOptions .BirthYearSelected :focus-within,.BirthDateOptions .BirthYearSelected :focus-visible,.BirthDateOptions .BirthYearSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},cn,ln,C,{endpoint:32,lang:33,licenseyears:0,disabledfields:34,defaultoptions:35,clientstyling:36,clientstylingurl:37,translationurl:38},null,[-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","lang","licenseyears","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),h()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[35]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),h()}});const dn={en:{registerBackButton:"Back",registerAddress:"Address",registerAddressError:"Address must be at least 1 character long and 100 characters maximum.",registerPostalCode:"Postal Code",registerPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",registerCity:"City",registerCityError:"City must be at least 1 character long and 50 characters maximum.",registerCountry:"Country",registerNationality:"Nationality",registerMobile:"Mobile",registerMobileError:"Mobile must be at least 5 character long and 12 characters maximum.",registerUserConsents:"I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"I am at least 18 years old and I have read and accepted the Terms of Conditions.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"},"zh-hk":{registerBackButton:"後退",registerAddress:"地址",registerAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",registerPostalCode:"郵政編碼",registerPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",registerCity:"城市",registerCityError:"城市必須至少 1 個字符長,最多 50 個字符。",registerCountry:"國家",registerNationality:"國籍",registerMobile:"移動的",registerMobileError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",registerUserConsents:"我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。",registerUserConsentsSMS:"短信",registerUserConsentsEmail:"電子郵件",registerTermsConditions:"我至少 18 歲,並且我已閱讀並接受條件條款。",registerTermsConditionsError:"請在繼續之前接受條款和條件。",registerOpenAccount:"開戶口"},fr:{registerBackButton:"Retour",registerAddress:"Adresse",registerAddressError:"L'adresse doit comporter au moins un caractère et 100 caractères au maximum.",registerPostalCode:"Code postal",registerPostalCodeError:"Le code postal doit comporter au moins un caractère et 20 caractères au maximum.",registerCity:"Ville",registerCityError:"La ville doit comporter au moins un caractère et 50 caractères au maximum.",registerCountry:"Pays",registerNationality:"Nationalité",registerMobile:"Téléphone",registerMobileError:"Le téléphone doit comporter au moins 5 caractère et 12 caractères au maximum.",registerUserConsents:"Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"J'ai au moins 18 ans et j'ai lu et accepté les conditions d'utilisation.",registerTermsConditionsError:"Veuillez accepter les termes et conditions avant de poursuivre.",registerOpenAccount:"Ouvrir un compte"},tr:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",registerPostalCode:"Posta kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve en fazla 12 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve Koşullar'ı okudum ve kabul ediyorum.",registerTermsConditionsError:"Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"},ro:{registerBackButton:"Inapoi",registerAddress:"Adresa",registerAddressError:"Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.",registerPostalCode:"Cod Postal",registerPostalCodeError:"Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.",registerCity:"Oras",registerCityError:"Orasul trebuie sa fie cuprins intre 1 si 50 de litere.",registerCountry:"Tara",registerNationality:"Nationalitatea",registerMobile:"Telefon",registerMobileError:"Telefonul trebuie sa fie cuprins intre 5 si 12 de cifre.",registerUserConsents:"Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Am minim 18 ani si am citit si acceptat Termenii si Conditiile",registerTermsConditionsError:"Te rog accepta Termenii si Conditiile",registerOpenAccount:"Inregistrare"},es:{registerBackButton:"Anterior",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",registerPostalCode:"Código Postal",registerPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",registerCity:"Ciudad",registerCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Celular",registerMobileError:"Número celular debe tener al menos 5 caracteres y un máximo de 12 caracteres",registerUserConsents:"Quiero recibir ofertas Exclusivas y Bonos. Soy consciente que puedo desuscribirme en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Tengo al menos 18 años de edad, y he leido y aceptado los Términos y Condiciones.",registerTermsConditionsError:"Por favor acepta los Términos y Condiciones antes de avanzar.",registerOpenAccount:"Abrir cuenta"},pt:{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.",registerPostalCode:"CEP",registerPostalCodeError:"O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Celular",registerMobileError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Tenho pelo menos 18 anos e li e aceito os Termos de Condições.",registerTermsConditionsError:"Por favor, aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Abrir conta"}},hn=L["document"];function pn(e,t,r){e=e.slice();return e[88]=t[r],e}function fn(e,t,r){e=e.slice();return e[91]=t[r],e}function mn(e,t,r){e=e.slice();return e[94]=t[r],e}function gn(e){let r,i;return{c(){T((r=St("script")).src,i="//www.google.com/recaptcha/api.js?render="+e[4])||Tt(r,"src",i),r.async=!0,r.defer=!0},m(e,t){wt(e,r,t)},p(e,t){16&t[0]&&!T(r.src,i="//www.google.com/recaptcha/api.js?render="+e[4])&&Tt(r,"src",i)},d(e){e&&_t(r)}}}function yn(e){let r,i,n=e[32]("registerAddressError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerAddressError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function vn(e){let r,i,n=e[32]("registerPostalCodeError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerPostalCodeError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function bn(e){let r,i,n=e[32]("registerCityError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerCityError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function wn(e){let r,i,n,s=e[94].Name+"";return{c(){r=St("option"),i=Ct(s),r.__value=n=e[94].Alpha2Code,r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){1048576&t[0]&&s!==(s=e[94].Name+"")&&kt(i,s),1048576&t[0]&&n!==(n=e[94].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function _n(e){let r,i,n,s=e[91].Name+"";return{c(){r=St("option"),i=Ct(s),r.__value=n=e[91].Alpha2Code,r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){4194304&t[0]&&s!==(s=e[91].Name+"")&&kt(i,s),4194304&t[0]&&n!==(n=e[91].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function Sn(e){let r,i,n,s=e[88].Prefix+"";return{c(){r=St("option"),i=Ct(s),r.__value=n=e[88].Prefix,r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){33554432&t[0]&&s!==(s=e[88].Prefix+"")&&kt(i,s),33554432&t[0]&&n!==(n=e[88].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function Cn(e){let r,i,n=e[32]("registerMobileError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerMobileError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function En(e){let r,i,n=("true"===e[2]||"true"===e[3])&&xn(e),s="true"===e[1]&&Mn(e);return{c(){n&&n.c(),r=Et(),s&&s.c(),i=nt()},m(e,t){n&&n.m(e,t),wt(e,r,t),s&&s.m(e,t),wt(e,i,t)},p(e,t){"true"===e[2]||"true"===e[3]?n?n.p(e,t):((n=xn(e)).c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null),"true"===e[1]?s?s.p(e,t):((s=Mn(e)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){n&&n.d(e),e&&_t(r),s&&s.d(e),e&&_t(i)}}}function xn(r){let i,n,s,a,o,l,c,u,d,h,p,f,m=r[32]("registerUserConsents")+"",g="true"===r[2]&&Tn(r),y="true"===r[3]&&kn(r);return{c(){i=St("div"),n=St("label"),s=Ct(m),a=Et(),o=St("input"),l=Et(),c=St("span"),u=Et(),d=St("div"),g&&g.c(),h=Et(),y&&y.c(),Tt(o,"type","Checkbox"),o.checked=r[27],Tt(c,"class","Checkmark"),Tt(c,"part","Checkmark"),Tt(n,"class","Offers"),Tt(n,"part","Offers"),Tt(d,"class","OffersMethodsWrapper"),Tt(d,"part","OffersMethodsWrapper"),Tt(i,"class","OffersContainer"),Tt(i,"part","OffersContainer")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(n,a),bt(n,o),bt(n,l),bt(n,c),bt(i,u),bt(i,d),g&&g.m(d,null),bt(d,h),y&&y.m(d,null),p||(f=xt(o,"click",r[63]),p=!0)},p(e,t){2&t[1]&&m!==(m=e[32]("registerUserConsents")+"")&&kt(s,m),134217728&t[0]&&(o.checked=e[27]),"true"===e[2]?g?g.p(e,t):((g=Tn(e)).c(),g.m(d,h)):g&&(g.d(1),g=null),"true"===e[3]?y?y.p(e,t):((y=kn(e)).c(),y.m(d,null)):y&&(y.d(1),y=null)},d(e){e&&_t(i),g&&g.d(),y&&y.d(),p=!1,f()}}}function Tn(r){let i,n,s,a,o,l,c,u,d=r[32]("registerUserConsentsSMS")+"";return{c(){i=St("label"),n=Ct(d),s=Et(),a=St("input"),o=Et(),l=St("span"),Tt(a,"type","Checkbox"),a.checked=r[28],Tt(l,"class","Checkmark"),Tt(l,"part","Checkmark"),Tt(i,"class","OffersMethod")},m(e,t){wt(e,i,t),bt(i,n),bt(i,s),bt(i,a),bt(i,o),bt(i,l),c||(u=xt(a,"click",r[64]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsSMS")+"")&&kt(n,d),268435456&t[0]&&(a.checked=e[28])},d(e){e&&_t(i),c=!1,u()}}}function kn(r){let i,n,s,a,o,l,c,u,d=r[32]("registerUserConsentsEmail")+"";return{c(){i=St("label"),n=Ct(d),s=Et(),a=St("input"),o=Et(),l=St("span"),Tt(a,"type","Checkbox"),a.checked=r[29],Tt(l,"class","Checkmark"),Tt(l,"part","Checkmark"),Tt(i,"class","OffersMethod"),Tt(i,"part","OffersMethod")},m(e,t){wt(e,i,t),bt(i,n),bt(i,s),bt(i,a),bt(i,o),bt(i,l),c||(u=xt(a,"click",r[65]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsEmail")+"")&&kt(n,d),536870912&t[0]&&(a.checked=e[29])},d(e){e&&_t(i),c=!1,u()}}}function Mn(r){let i,n,s,a,o,l,c,u,d,h,p,f=r[32]("registerTermsConditions")+"",m=!r[30]&&Dn(r);return{c(){i=St("div"),n=St("label"),s=Ct(f),a=Et(),o=St("input"),l=Et(),c=St("span"),u=Et(),m&&m.c(),d=nt(),Tt(o,"type","Checkbox"),o.checked=r[30],Tt(c,"class","Checkmark"),Tt(c,"part","Checkmark"),Tt(n,"class","AgeConsent"),Tt(n,"part","AgeConsent"),Tt(i,"class","AgeContainer"),Tt(i,"part","AgeContainer")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(n,a),bt(n,o),bt(n,l),bt(n,c),wt(e,u,t),m&&m.m(e,t),wt(e,d,t),h||(p=xt(o,"click",r[66]),h=!0)},p(e,t){2&t[1]&&f!==(f=e[32]("registerTermsConditions")+"")&&kt(s,f),1073741824&t[0]&&(o.checked=e[30]),e[30]?m&&(m.d(1),m=null):m?m.p(e,t):((m=Dn(e)).c(),m.m(d.parentNode,d))},d(e){e&&_t(i),e&&_t(u),m&&m.d(e),e&&_t(d),h=!1,p()}}}function Dn(e){let r,i,n,s=e[32]("registerTermsConditionsError")+"";return{c(){r=St("div"),i=St("p"),n=Ct(s),Tt(r,"class","NotificationContainer"),Tt(r,"part","NotificationContainer")},m(e,t){wt(e,r,t),bt(r,i),bt(i,n)},p(e,t){2&t[1]&&s!==(s=e[32]("registerTermsConditionsError")+"")&&kt(n,s)},d(e){e&&_t(r)}}}function Pn(e){let r,i,n;return{c(){r=St("div"),i=St("p"),n=Ct(e[16]),Tt(i,"class","RegisterError"),Tt(i,"part","RegisterError")},m(e,t){wt(e,r,t),bt(r,i),bt(i,n)},p(e,t){65536&t[0]&&kt(n,e[16])},d(e){e&&_t(r)}}}function On(r){let H,L,a,$,o,U,i,n,Y,G,z,j,V,W,q,l,s,c,u,Z,Q,X,K,d,J,e,ee,te,h,p,re,ie,ne,se,f,ae,oe,le,ce,m,g,ue,de,he,pe,y,fe,me,ge,ye,v,b,ve,be,we,_e,w,Se,Ce,_,Ee,xe,Te,ke,Me,S,De,Pe,C,Oe,Be,Ae,Ne,Re,E,x,Fe,T,Ie,He,Le,$e,Ue,k,Ye,Ge,ze,je,Ve,We=r[32]("registerBackButton")+"",qe=r[32]("registerAddress")+"",Ze=r[32]("registerPostalCode")+"",Qe=r[32]("registerCity")+"",Xe=r[32]("registerCountry")+"",Ke=r[32]("registerNationality")+"",Je=r[32]("registerMobile")+"",et=r[32]("registerOpenAccount")+"",M=r[4]&&gn(r),D=r[6]&&yn(r),P=r[7]&&vn(r),O=r[9]&&bn(r),tt=r[20],B=[];for(let e=0;e<tt.length;e+=1)B[e]=wn(mn(r,tt,e));let rt=r[22],A=[];for(let e=0;e<rt.length;e+=1)A[e]=_n(fn(r,rt,e));let it=r[25],N=[];for(let e=0;e<it.length;e+=1)N[e]=Sn(pn(r,it,e));let R=r[8]&&Cn(r),F="true"===r[0]&&En(r),I=r[15]&&Pn(r);return{c(){M&&M.c(),H=nt(),L=Et(),a=St("div"),$=Et(),o=St("div"),U=St("div"),i=St("button"),n=t("svg"),Y=t("defs"),G=t("style"),z=Ct(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),j=t("path"),V=Et(),W=Ct(We),q=Et(),l=St("form"),s=St("div"),c=St("div"),u=St("label"),Z=Ct(qe),Q=Ct(":"),(X=St("span")).textContent="*",K=Et(),d=St("input"),J=Et(),D&&D.c(),te=Et(),h=St("div"),p=St("label"),re=Ct(Ze),ie=Ct(":"),(ne=St("span")).textContent="*",se=Et(),f=St("input"),ae=Et(),P&&P.c(),ce=Et(),m=St("div"),g=St("label"),ue=Ct(Qe),de=Ct(":"),(he=St("span")).textContent="*",pe=Et(),y=St("input"),fe=Et(),O&&O.c(),ye=Et(),v=St("div"),b=St("label"),ve=Ct(Xe),be=Ct(":"),(we=St("span")).textContent="*",_e=Et(),w=St("select");for(let e=0;e<B.length;e+=1)B[e].c();Ce=Et(),_=St("div"),Ee=St("label"),xe=Ct(Ke),Te=Ct(":"),(ke=St("span")).textContent="*",Me=Et(),S=St("select");for(let e=0;e<A.length;e+=1)A[e].c();Pe=Et(),C=St("div"),Oe=St("label"),Be=Ct(Je),Ae=Ct(":"),(Ne=St("span")).textContent="*",Re=Et(),E=St("div"),x=St("select");for(let e=0;e<N.length;e+=1)N[e].c();Fe=Et(),T=St("input"),Ie=Et(),R&&R.c(),$e=Et(),F&&F.c(),Ue=Et(),k=St("button"),Ye=Ct(et),ze=Et(),I&&I.c(),this.c=yt,Tt(a,"class","g-recaptcha"),Tt(a,"data-sitekey",r[4]),Tt(j,"class","a"),Tt(j,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Tt(j,"transform","translate(24 24) rotate(180)"),Tt(n,"xmlns","http://www.w3.org/2000/svg"),Tt(n,"viewBox","0 0 24 24"),Tt(i,"class","BackButton"),Tt(i,"part","BackButton"),Tt(U,"class","RegisterFormHeader"),Tt(U,"part","RegisterFormHeader"),Tt(X,"class","FormRequired"),Tt(X,"part","FormRequired"),Tt(u,"for","Address"),Tt(d,"type","text"),Tt(d,"id","Address"),Tt(c,"class",e="AddressContainer "+(r[6]&&!r[10]?"InvalidField":"")+(0<=r[14]?.indexOf("address")?"Hidden":"")),Tt(c,"part",ee="AddressContainer "+(r[6]?"InvalidField":"")),Tt(ne,"class","FormRequired"),Tt(ne,"part","FormRequired"),Tt(p,"for","PostalCode"),Tt(f,"type","text"),Tt(f,"id","PostalCode"),Tt(h,"class",oe="PostalCodeContainer "+(r[7]&&!r[11]?"InvalidField":"")+(0<=r[14]?.indexOf("postalCode")?"Hidden":"")),Tt(h,"part",le="PostalCodeContainer "+(r[7]?"InvalidField":"")),Tt(s,"class","AddressPostalCodeContainer"),Tt(s,"part","AddressPostalCodeContainer"),Tt(he,"class","FormRequired"),Tt(he,"part","FormRequired"),Tt(g,"for","City"),Tt(y,"type","text"),Tt(y,"id","City"),Tt(m,"class",me="CityContainer "+(r[9]&&r[13]?"InvalidField":"")+(0<=r[14]?.indexOf("city")?"Hidden":"")),Tt(m,"part",ge="CityContainer "+(r[9]?"InvalidField":"")),Tt(we,"class","FormRequired"),Tt(we,"part","FormRequired"),Tt(b,"for","Country"),Tt(w,"id","Country"),void 0===r[21]&&Pt(()=>r[57].call(w)),Tt(v,"class",Se="CountryContainer "+(0<=r[14]?.indexOf("country")?"Hidden":"")),Tt(v,"part","CountryContainer"),Tt(ke,"class","FormRequired"),Tt(ke,"part","FormRequired"),Tt(Ee,"for","Nationality"),Tt(S,"id","Nationality"),void 0===r[23]&&Pt(()=>r[58].call(S)),Tt(_,"class",De="NationalityContainer "+(0<=r[14]?.indexOf("nationality")?"Hidden":"")),Tt(_,"part","NationalityContainer"),Tt(Ne,"class","FormRequired"),Tt(Ne,"part","FormRequired"),Tt(Oe,"for","Mobile"),Tt(x,"class","MobilePrefixSelected"),Tt(x,"part","MobilePrefixSelected"),void 0===r[26]&&Pt(()=>r[59].call(x)),Tt(T,"type","text"),Tt(T,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),Tt(T,"id","Mobile"),Tt(T,"class","MobileInput"),Tt(T,"part","MobileInput"),Tt(E,"class","MobileWrapper"),Tt(E,"part","MobileWrapper"),Tt(C,"class",He="MobileContainer "+(r[8]&&!r[12]?"InvalidField":"")+(0<=r[14]?.indexOf("mobile")?"Hidden":"")),Tt(C,"part",Le="MobileContainer "+(r[8]?"InvalidField":"")),Tt(k,"class","RegisterStepNext"),Tt(k,"part","RegisterStepNext"),k.disabled=Ge=!r[31],Tt(l,"class","RegisterFormContent"),Tt(l,"part","RegisterFormContent")},m(e,t){M&&M.m(hn.head,null),bt(hn.head,H),wt(e,L,t),wt(e,a,t),wt(e,$,t),wt(e,o,t),bt(o,U),bt(U,i),bt(i,n),bt(n,Y),bt(Y,G),bt(G,z),bt(n,j),bt(i,V),bt(i,W),bt(o,q),bt(o,l),bt(l,s),bt(s,c),bt(c,u),bt(u,Z),bt(u,Q),bt(u,X),bt(c,K),bt(c,d),Mt(d,r[17]),bt(c,J),D&&D.m(c,null),bt(s,te),bt(s,h),bt(h,p),bt(p,re),bt(p,ie),bt(p,ne),bt(h,se),bt(h,f),Mt(f,r[18]),bt(h,ae),P&&P.m(h,null),bt(l,ce),bt(l,m),bt(m,g),bt(g,ue),bt(g,de),bt(g,he),bt(m,pe),bt(m,y),Mt(y,r[19]),bt(m,fe),O&&O.m(m,null),bt(l,ye),bt(l,v),bt(v,b),bt(b,ve),bt(b,be),bt(b,we),bt(v,_e),bt(v,w);for(let e=0;e<B.length;e+=1)B[e]&&B[e].m(w,null);Dt(w,r[21],!0),bt(l,Ce),bt(l,_),bt(_,Ee),bt(Ee,xe),bt(Ee,Te),bt(Ee,ke),bt(_,Me),bt(_,S);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(S,null);Dt(S,r[23],!0),bt(l,Pe),bt(l,C),bt(C,Oe),bt(Oe,Be),bt(Oe,Ae),bt(Oe,Ne),bt(C,Re),bt(C,E),bt(E,x);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(x,null);Dt(x,r[26],!0),bt(E,Fe),bt(E,T),Mt(T,r[24]),bt(C,Ie),R&&R.m(C,null),bt(l,$e),F&&F.m(l,null),bt(l,Ue),bt(l,k),bt(k,Ye),bt(o,ze),I&&I.m(o,null),r[68](o),je||(Ve=[xt(i,"click",r[40]),xt(d,"input",r[48]),xt(d,"keyup",r[33]),xt(d,"focus",r[49]),xt(d,"blur",r[50]),xt(f,"input",r[51]),xt(f,"keyup",r[34]),xt(f,"focus",r[52]),xt(f,"blur",r[53]),xt(y,"input",r[54]),xt(y,"keyup",r[35]),xt(y,"focus",r[55]),xt(y,"blur",r[56]),xt(w,"change",r[57]),xt(S,"change",r[58]),xt(x,"change",r[59]),xt(T,"input",r[60]),xt(T,"keyup",r[36]),xt(T,"focus",r[61]),xt(T,"blur",r[62]),xt(k,"click",r[67])],je=!0)},p(t,r){if(t[4]?M?M.p(t,r):((M=gn(t)).c(),M.m(H.parentNode,H)):M&&(M.d(1),M=null),16&r[0]&&Tt(a,"data-sitekey",t[4]),2&r[1]&&We!==(We=t[32]("registerBackButton")+"")&&kt(W,We),2&r[1]&&qe!==(qe=t[32]("registerAddress")+"")&&kt(Z,qe),131072&r[0]&&d.value!==t[17]&&Mt(d,t[17]),t[6]?D?D.p(t,r):((D=yn(t)).c(),D.m(c,null)):D&&(D.d(1),D=null),17472&r[0]&&e!==(e="AddressContainer "+(t[6]&&!t[10]?"InvalidField":"")+(0<=t[14]?.indexOf("address")?"Hidden":""))&&Tt(c,"class",e),64&r[0]&&ee!==(ee="AddressContainer "+(t[6]?"InvalidField":""))&&Tt(c,"part",ee),2&r[1]&&Ze!==(Ze=t[32]("registerPostalCode")+"")&&kt(re,Ze),262144&r[0]&&f.value!==t[18]&&Mt(f,t[18]),t[7]?P?P.p(t,r):((P=vn(t)).c(),P.m(h,null)):P&&(P.d(1),P=null),18560&r[0]&&oe!==(oe="PostalCodeContainer "+(t[7]&&!t[11]?"InvalidField":"")+(0<=t[14]?.indexOf("postalCode")?"Hidden":""))&&Tt(h,"class",oe),128&r[0]&&le!==(le="PostalCodeContainer "+(t[7]?"InvalidField":""))&&Tt(h,"part",le),2&r[1]&&Qe!==(Qe=t[32]("registerCity")+"")&&kt(ue,Qe),524288&r[0]&&y.value!==t[19]&&Mt(y,t[19]),t[9]?O?O.p(t,r):((O=bn(t)).c(),O.m(m,null)):O&&(O.d(1),O=null),25088&r[0]&&me!==(me="CityContainer "+(t[9]&&t[13]?"InvalidField":"")+(0<=t[14]?.indexOf("city")?"Hidden":""))&&Tt(m,"class",me),512&r[0]&&ge!==(ge="CityContainer "+(t[9]?"InvalidField":""))&&Tt(m,"part",ge),2&r[1]&&Xe!==(Xe=t[32]("registerCountry")+"")&&kt(ve,Xe),1048576&r[0]){let e;for(tt=t[20],e=0;e<tt.length;e+=1){var i=mn(t,tt,e);B[e]?B[e].p(i,r):(B[e]=wn(i),B[e].c(),B[e].m(w,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=tt.length}if(3145728&r[0]&&Dt(w,t[21]),16384&r[0]&&Se!==(Se="CountryContainer "+(0<=t[14]?.indexOf("country")?"Hidden":""))&&Tt(v,"class",Se),2&r[1]&&Ke!==(Ke=t[32]("registerNationality")+"")&&kt(xe,Ke),4194304&r[0]){let e;for(rt=t[22],e=0;e<rt.length;e+=1){var n=fn(t,rt,e);A[e]?A[e].p(n,r):(A[e]=_n(n),A[e].c(),A[e].m(S,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=rt.length}if(12582912&r[0]&&Dt(S,t[23]),16384&r[0]&&De!==(De="NationalityContainer "+(0<=t[14]?.indexOf("nationality")?"Hidden":""))&&Tt(_,"class",De),2&r[1]&&Je!==(Je=t[32]("registerMobile")+"")&&kt(Be,Je),33554432&r[0]){let e;for(it=t[25],e=0;e<it.length;e+=1){var s=pn(t,it,e);N[e]?N[e].p(s,r):(N[e]=Sn(s),N[e].c(),N[e].m(x,null))}for(;e<N.length;e+=1)N[e].d(1);N.length=it.length}100663296&r[0]&&Dt(x,t[26]),16777216&r[0]&&T.value!==t[24]&&Mt(T,t[24]),t[8]?R?R.p(t,r):((R=Cn(t)).c(),R.m(C,null)):R&&(R.d(1),R=null),20736&r[0]&&He!==(He="MobileContainer "+(t[8]&&!t[12]?"InvalidField":"")+(0<=t[14]?.indexOf("mobile")?"Hidden":""))&&Tt(C,"class",He),256&r[0]&&Le!==(Le="MobileContainer "+(t[8]?"InvalidField":""))&&Tt(C,"part",Le),"true"===t[0]?F?F.p(t,r):((F=En(t)).c(),F.m(l,Ue)):F&&(F.d(1),F=null),2&r[1]&&et!==(et=t[32]("registerOpenAccount")+"")&&kt(Ye,et),1&r[1]&&Ge!==(Ge=!t[31])&&(k.disabled=Ge),t[15]?I?I.p(t,r):((I=Pn(t)).c(),I.m(o,null)):I&&(I.d(1),I=null)},i:yt,o:yt,d(e){M&&M.d(e),_t(H),e&&_t(L),e&&_t(a),e&&_t($),e&&_t(o),D&&D.d(),P&&P.d(),O&&O.d(),Ot(B,e),Ot(A,e),Ot(N,e),R&&R.d(),F&&F.d(),I&&I.d(),r[68](null),je=!1,vt(Ve)}}}function Bn(t,e,r){let F;se(t,wi,e=>r(32,F=e));let i,n,s,a,o,l,c,{userconsentsexist:u="false"}=e,{termsconditions:d="false"}=e,{smsoffers:I="false"}=e,{emailmarketing:H="false"}=e,{endpoint:h=""}=e,{captchakey:p=""}=e,{lang:f=""}=e,{disabledfields:m=""}=e,{defaultoptions:g=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,L=!1,$=!1,U=!1,Y=!1,G=!1,z="",w="",_="",S="",C=[],E="",x=[],T="",k="",M=[],D="",P=!1,O=!1,B=!1,A=!1,j=!1;var V,W;({withLocale:V,translations:W}={withLocale:"en",translations:{}}),ne.subscribe(e=>{null==e&&(Jr.set(W),ne.set(V))}),Object.keys(dn).forEach(e=>{un(e,dn[e])});const N=()=>{r(31,j=!(i||n||a||s||G||"true"===u&&"true"===d&&!A)),(w.length<=0||_.length<=0||S.length<=0||k.length<=0)&&r(31,j=!1)},R=e=>{switch(e){case"GeneralOffers":!1===P?(r(27,P=!0),r(28,O=!0),r(29,B=!0)):(r(27,P=!1),r(28,O=!1),r(29,B=!1));break;case"SmsOffers":!1===O?(r(28,O=!0),r(27,P=!0)):r(28,O=!1),q();break;case"EmailOffers":!1===B?(r(29,B=!0),r(27,P=!0)):r(29,B=!1),q()}},q=()=>{O||B||r(27,P=!1)},Z=()=>{r(30,A=!1===A),N()},Q=e=>{e.preventDefault();let t;new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(p,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{t={address:w,postalCode:_,city:S,countrySelected:E,nationalitySelected:T,mobilePrefixSelected:D,mobile:k,consentOffersSms:O,consentOffersEmail:B,consentTerms:A,consentOffers:P,token:e},window.postMessage({type:"RegisterStepThree",registerStepThreeData:t},window.location.href)})},X=e=>{if(e.data)switch(e.data.type){case"StepThreeDataBackup":r(17,w=e.data.userData.address1),r(18,_=e.data.userData.postalCode),r(19,S=e.data.userData.city),r(21,E=e.data.userData.country),r(23,T=e.data.userData.nationality),r(26,D=e.data.userData.mobile.prefix),r(24,k=e.data.userData.mobile.number),r(28,O=e.data.userData.userConsents.sms),r(29,B=e.data.userData.userConsents.emailmarketing),r(30,A=e.data.userData.userConsents.termsandconditions),N();break;case"ShowRegistrationError":r(15,G=e.data.showError),r(16,z=e.data.error)}};return ae(()=>(window.addEventListener("message",X,!1),()=>{window.removeEventListener("message",X)})),t.$$set=e=>{"userconsentsexist"in e&&r(0,u=e.userconsentsexist),"termsconditions"in e&&r(1,d=e.termsconditions),"smsoffers"in e&&r(2,I=e.smsoffers),"emailmarketing"in e&&r(3,H=e.emailmarketing),"endpoint"in e&&r(41,h=e.endpoint),"captchakey"in e&&r(4,p=e.captchakey),"lang"in e&&r(42,f=e.lang),"disabledfields"in e&&r(43,m=e.disabledfields),"defaultoptions"in e&&r(44,g=e.defaultoptions),"clientstyling"in e&&r(45,y=e.clientstyling),"clientstylingurl"in e&&r(46,v=e.clientstylingurl),"translationurl"in e&&r(47,b=e.translationurl)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&h&&fetch(h+"/player/countries").then(e=>e.json()).then(e=>{fetch(h+"/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{r(20,C=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))),E||r(21,E=C[0].Alpha2Code),r(22,x=e.countries),T||r(23,T=x.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))[0].Alpha2Code)})}),1024&t.$$.dirty[1]&&h&&fetch(h+"/player/phonecodes").then(e=>e.json()).then(e=>{r(25,M=e.phoneCodes),D||r(26,D=M[0].Prefix)}),2048&t.$$.dirty[1]&&f&&(e=f,ne.set(e)),4096&t.$$.dirty[1]&&m&&(r(14,o=m.split(",")),0<=o.indexOf("address")&&(r(6,i=!1),r(17,w="dummy address")),0<=o.indexOf("postalCode")&&(r(7,n=!1),r(18,_="000000")),0<=o.indexOf("mobile")&&(r(8,s=!1),r(24,k="1234123412"),r(26,D="000")),0<=o.indexOf("city")&&(r(9,a=!1),r(19,S="dummy city")),0<=o.indexOf("country")&&r(21,E="dummy country"),0<=o.indexOf("nationality"))&&r(23,T="dummy nationality"),8192&t.$$.dirty[1]&&g&&(0<=(l=g.split(",")).indexOf("consentsTerms")&&r(30,A=!0),0<=l.indexOf("consentsOffers")&&(r(27,P=!0),r(28,O=!0),r(29,B=!0)),l.forEach(e=>{e.includes("phonePrefix")&&r(26,D=e.split(":")[1].toString())})),32&t.$$.dirty[0]|16384&t.$$.dirty[1]&&y&&c&&((e=document.createElement("style")).innerHTML=y,c.appendChild(e)),32&t.$$.dirty[0]|32768&t.$$.dirty[1]&&v&&c){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{un(e,t[e])})}).catch(e=>{console.log(e)})},[u,d,I,H,p,c,i,n,s,a,L,$,U,Y,o,G,z,w,_,S,C,E,x,T,k,M,D,P,O,B,A,j,F,()=>{r(6,i=!(w&&w.length<=100)),N()},()=>{r(7,n=!(_&&_.length<=20)),N()},()=>{r(9,a=!(S&&S.length<=50)),N()},()=>{r(8,s=!(k&&5<=k.length&&k.length<=12)),N()},R,Z,Q,()=>{var e={address:w,postalCode:_,city:S,countrySelected:E,nationalitySelected:T,mobilePrefixSelected:D,mobile:k,consentOffersSms:O,consentOffersEmail:B,consentTerms:A,consentOffers:P};window.postMessage({type:"GoBackStepThree",registerStepThreeData:e},window.location.href)},h,f,m,g,y,v,b,function(){w=this.value,r(17,w)},()=>r(10,L=!0),()=>r(10,L=!1),function(){_=this.value,r(18,_)},()=>r(11,$=!0),()=>r(11,$=!1),function(){S=this.value,r(19,S)},()=>r(13,Y=!0),()=>r(13,Y=!1),function(){E=K(this),r(21,E),r(20,C)},function(){T=K(this),r(23,T),r(22,x)},function(){D=K(this),r(26,D),r(25,M)},function(){k=this.value,r(24,k)},()=>r(12,U=!0),()=>r(12,U=!1),()=>R("GeneralOffers"),()=>R("SmsOffers"),()=>R("EmailOffers"),()=>Z(),e=>Q(e),function(e){ie[e?"unshift":"push"](()=>{c=e,r(5,c)})}]}function An(e,t){ti(e,t)}customElements.get("general-player-register-form-step3")||customElements.define("general-player-register-form-step3",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}.BackButton{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.AddressContainer input,.PostalCodeContainer input,.CityContainer input,.CountryContainer select,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.MobileWrapper .MobileInput{width:70%}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:16px;user-select:none;line-height:18px}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emfe-w-color-primary, #D0046C)}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:\"\";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emfe-w-color-secondary, #FD2839);font-size:14px}.RegisterError{color:var(--emfe-w-color-secondary, #FD2839);font-size:16px;line-height:18px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Bn,On,C,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:41,captchakey:4,lang:42,disabledfields:43,defaultoptions:44,clientstyling:45,clientstylingurl:46,translationurl:47},null,[-1,-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["userconsentsexist","termsconditions","smsoffers","emailmarketing","endpoint","captchakey","lang","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get userconsentsexist(){return this.$$.ctx[0]}set userconsentsexist(e){this.$$set({userconsentsexist:e}),h()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(e){this.$$set({termsconditions:e}),h()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(e){this.$$set({smsoffers:e}),h()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(e){this.$$set({emailmarketing:e}),h()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),h()}get captchakey(){return this.$$.ctx[4]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[42]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[43]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[44]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),h()}});const Nn={en:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend",loginSMSHint:"A new verification code has been sent to your phone number"},"zh-hk":{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"},fr:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"},tr:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Telefon numaranıza yeni bir doğrulama kodu gönderildi.",activate:"Activate Account",resend:"Resend"},ro:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Un nou cod de verificare a fost trimis catre numarul dumneavoastra.",activate:"Activate Account",resend:"Resend"},es:{title:"Por favor ingrese su código de verificación enviado por mensaje de texto a su número de telefono",errorTitle:"Su código es invalido",code:"Código SMS",smsCodeError:"Código SMS invalido",resendMessage:"Un nuevo codigo de verificación ha sido enviado a tu número celular.",activate:"Activar Cuenta",resend:"Reenviar"},pt:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Um novo código de verificação foi enviado para o seu número de telefone.",activate:"Activate Account",resend:"Resend"}};function Rn(e){let r,i=e[5]("errorTitle")+"";return{c(){r=Ct(i)},m(e,t){wt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("errorTitle")+"")&&kt(r,i)},d(e){e&&_t(r)}}}function Fn(e){let r,i=e[5]("title")+"";return{c(){r=Ct(i)},m(e,t){wt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("title")+"")&&kt(r,i)},d(e){e&&_t(r)}}}function In(e){let r,i,n=e[5]("smsCodeError")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){32&t&&n!==(n=e[5]("smsCodeError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Hn(e){let r,i,n=e[5]("resendMessage")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","SmsVerificationResendMessage"),Tt(r,"part","SmsVerificationResendMessage")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){32&t&&n!==(n=e[5]("resendMessage")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ln(e){let r,i,n,s,a,o=e[4]<10?"0":"";return{c(){r=St("span"),i=Ct("(0:"),n=Ct(o),s=Ct(e[4]),a=Ct(")"),Tt(r,"class","SmsVerificationResendTimer")},m(e,t){wt(e,r,t),bt(r,i),bt(r,n),bt(r,s),bt(r,a)},p(e,t){16&t&&o!==(o=e[4]<10?"0":"")&&kt(n,o),16&t&&kt(s,e[4])},d(e){e&&_t(r)}}}function $n(r){let i,n,s,a,o,l,c,u,d,h,p,f,m,g,y,v,b,w,_,S,C,E,x,T=r[5]("code")+"",k=r[5]("activate")+"",M=r[5]("resend")+"";function D(e){return e[2]?Fn:Rn}let P=D(r),O=P(r),B=!r[2]&&In(r),A=r[3]&&Hn(r),N=r[3]&&Ln(r);return{c(){i=St("div"),n=St("h3"),O.c(),s=Et(),a=St("div"),o=St("label"),l=Ct(T),c=Ct(":"),(u=St("span")).textContent="*",d=Et(),h=St("input"),p=Et(),B&&B.c(),g=Et(),A&&A.c(),y=Et(),v=St("button"),b=Ct(k),w=Et(),_=St("button"),S=Ct(M),C=Et(),N&&N.c(),this.c=yt,Tt(n,"class","Title"),Tt(n,"part","Title"),Tt(u,"class","FormRequired"),Tt(u,"part","FormRequired"),Tt(o,"for","SmsCode"),Tt(h,"type","text"),Tt(h,"id","SmsCode"),Tt(h,"inputmode","numeric"),Tt(h,"pattern","[0-9]*"),Tt(h,"maxlength","6"),Tt(a,"class",f="Field SmsVerificationField "+(r[2]?"":"InvalidField")),Tt(a,"part",m="SmsVerificationField "+(r[2]?"":"InvalidField")),Tt(v,"class","Button SmsVerificationValidate"),Tt(v,"part","SmsVerificationValidate"),Tt(_,"class","Button SmsVerificationResend"),Tt(_,"part","SmsVerificationResend"),_.disabled=r[3],Tt(i,"class","Container SmsVerificationContainer"),Tt(i,"part","SmsVerificationContainer")},m(e,t){wt(e,i,t),bt(i,n),O.m(n,null),bt(i,s),bt(i,a),bt(a,o),bt(o,l),bt(o,c),bt(o,u),bt(a,d),bt(a,h),Mt(h,r[1]),bt(a,p),B&&B.m(a,null),bt(i,g),A&&A.m(i,null),bt(i,y),bt(i,v),bt(v,b),bt(i,w),bt(i,_),bt(_,S),bt(_,C),N&&N.m(_,null),r[19](i),E||(x=[xt(h,"input",r[17]),xt(h,"keydown",r[18]),xt(v,"click",r[6]),xt(_,"click",r[7])],E=!0)},p(e,[t]){P===(P=D(e))&&O?O.p(e,t):(O.d(1),(O=P(e))&&(O.c(),O.m(n,null))),32&t&&T!==(T=e[5]("code")+"")&&kt(l,T),2&t&&h.value!==e[1]&&Mt(h,e[1]),e[2]?B&&(B.d(1),B=null):B?B.p(e,t):((B=In(e)).c(),B.m(a,null)),4&t&&f!==(f="Field SmsVerificationField "+(e[2]?"":"InvalidField"))&&Tt(a,"class",f),4&t&&m!==(m="SmsVerificationField "+(e[2]?"":"InvalidField"))&&Tt(a,"part",m),e[3]?A?A.p(e,t):((A=Hn(e)).c(),A.m(i,y)):A&&(A.d(1),A=null),32&t&&k!==(k=e[5]("activate")+"")&&kt(b,k),32&t&&M!==(M=e[5]("resend")+"")&&kt(S,M),e[3]?N?N.p(e,t):((N=Ln(e)).c(),N.m(_,null)):N&&(N.d(1),N=null),8&t&&(_.disabled=e[3])},i:yt,o:yt,d(e){e&&_t(i),O.d(),B&&B.d(),A&&A.d(),N&&N.d(),r[19](null),E=!1,vt(x)}}}function Un(t,e,r){let i;se(t,wi,e=>r(5,i=e));let n,s,a,{endpoint:o=""}=e,{tokenid:l=""}=e,{playerid:c=""}=e,{smstemplate:u="Please use this code {0} to activate your accout"}=e,{number:d=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,m=!0,g=!1,y=+localStorage.getItem("smsTimer")||0,v=Date.now()/1e3-y,b=60-Math.floor(v);const w={numeric:/^[0-9]{0,6}$/};var _,S;({withLocale:_,translations:S}={withLocale:"en",translations:{}}),ne.subscribe(e=>{null==e&&(Jr.set(S),ne.set(_))}),Object.keys(Nn).forEach(e=>{An(e,Nn[e])});const C=()=>{0<b?r(4,b--,b):(clearInterval(s),r(3,s=!1),r(4,b=60))},E=()=>{v<60&&r(3,s=setInterval(()=>{C()},1e3))},x=e=>{w.numeric.test(e.key)||8===e.keyCode||9===e.keyCode||46===e.keyCode||e.preventDefault()};return ae(()=>{var e;c&&d||(e=JSON.parse(localStorage.getItem("playerData")),r(10,c=e.playerid),r(11,d=e.number)),E()}),t.$$set=e=>{"endpoint"in e&&r(12,o=e.endpoint),"tokenid"in e&&r(9,l=e.tokenid),"playerid"in e&&r(10,c=e.playerid),"smstemplate"in e&&r(13,u=e.smstemplate),"number"in e&&r(11,d=e.number),"clientstyling"in e&&r(14,h=e.clientstyling),"clientstylingurl"in e&&r(15,p=e.clientstylingurl),"translationurl"in e&&r(16,f=e.translationurl)},t.$$.update=()=>{if(t.$$.dirty,16385&t.$$.dirty&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),32769&t.$$.dirty&&p&&a){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{An(e,t[e])})}).catch(e=>{console.log(e)})},[a,n,m,s,b,i,async()=>{try{if(!(await fetch(`${o}/player/${c}/activateSMS?tokenId=${l}&validationCode=`+n,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(2,m=!1),new Error("Could not activate user");r(2,m=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href)}catch(e){console.log(e)}},async()=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3))),E();try{var e=await fetch(o+"/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:c,messageTemplate:u,destination:d})}),t=await e.json();if(!e.ok)throw g=!0,new Error("Failed to fetch");r(9,l=t.id),g=!1,C()}catch(e){g=!0,console.error(e)}},x,l,c,d,o,u,h,p,f,function(){n=this.value,r(1,n)},e=>x(e),function(e){ie[e?"unshift":"push"](()=>{a=e,r(0,a)})}]}function Yn(r){let i,n,s,a,o,l,c,u,d,h,p,f;return{c(){i=St("div"),n=St("div"),o=Et(),l=St("div"),d=Et(),h=St("div"),Tt(n,"class",s="RegisterFirstStepDash "+(r[17]||!r[17]&&r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(n,"part",a="RegisterFirstStepDash "+(r[17]||!r[17]&&r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(l,"class",c="RegisterSecondStepDash "+(r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(l,"part",u="RegisterSecondStepDash "+(r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(h,"class",p="RegisterThirdStepDash "+(r[19]?"RegisterStepDashColor":"")),Tt(h,"part",f="RegisterThirdStepDash "+(r[19]?"RegisterStepDashColor":"")),Tt(i,"class","RegisterSteps"),Tt(i,"part","RegisterSteps")},m(e,t){wt(e,i,t),bt(i,n),bt(i,o),bt(i,l),bt(i,d),bt(i,h),r[41](i)},p(e,t){917504&t[0]&&s!==(s="RegisterFirstStepDash "+(e[17]||!e[17]&&e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(n,"class",s),917504&t[0]&&a!==(a="RegisterFirstStepDash "+(e[17]||!e[17]&&e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(n,"part",a),917504&t[0]&&c!==(c="RegisterSecondStepDash "+(e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(l,"class",c),917504&t[0]&&u!==(u="RegisterSecondStepDash "+(e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(l,"part",u),524288&t[0]&&p!==(p="RegisterThirdStepDash "+(e[19]?"RegisterStepDashColor":""))&&Tt(h,"class",p),524288&t[0]&&f!==(f="RegisterThirdStepDash "+(e[19]?"RegisterStepDashColor":""))&&Tt(h,"part",f)},d(e){e&&_t(i),r[41](null)}}}function Gn(e){let r,i;return{c(){r=St("div"),n(i=St("general-player-register-form-step1"),"lang",e[4]),n(i,"disabledfields",e[6]),n(i,"defaultoptions",e[7]),n(i,"dummydata",e[8]),n(i,"tempopcustomization",e[14]),n(i,"simplepasswordvalidation",e[10]),n(i,"clientstyling",e[11]),n(i,"clientstylingurl",e[12]),n(i,"savecredentials",e[13]),Tt(r,"class","RegisterFormStep1"),Tt(r,"part","RegisterFormStep1")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){16&t[0]&&n(i,"lang",e[4]),64&t[0]&&n(i,"disabledfields",e[6]),128&t[0]&&n(i,"defaultoptions",e[7]),256&t[0]&&n(i,"dummydata",e[8]),16384&t[0]&&n(i,"tempopcustomization",e[14]),1024&t[0]&&n(i,"simplepasswordvalidation",e[10]),2048&t[0]&&n(i,"clientstyling",e[11]),4096&t[0]&&n(i,"clientstylingurl",e[12]),8192&t[0]&&n(i,"savecredentials",e[13])},d(e){e&&_t(r)}}}function zn(e){let r,i;return{c(){r=St("div"),n(i=St("general-player-register-form-step2"),"endpoint",e[0]),n(i,"lang",e[4]),n(i,"licenseyears",e[5]),n(i,"disabledfields",e[6]),n(i,"defaultoptions",e[7]),n(i,"dummydata",e[8]),n(i,"clientstyling",e[11]),n(i,"clientstylingurl",e[12]),Tt(r,"class","RegisterFormStep2"),Tt(r,"part","RegisterFormStep2")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){1&t[0]&&n(i,"endpoint",e[0]),16&t[0]&&n(i,"lang",e[4]),32&t[0]&&n(i,"licenseyears",e[5]),64&t[0]&&n(i,"disabledfields",e[6]),128&t[0]&&n(i,"defaultoptions",e[7]),256&t[0]&&n(i,"dummydata",e[8]),2048&t[0]&&n(i,"clientstyling",e[11]),4096&t[0]&&n(i,"clientstylingurl",e[12])},d(e){e&&_t(r)}}}function jn(e){let r,i;return{c(){r=St("div"),n(i=St("general-player-register-form-step3"),"userconsentsexist",e[25]),n(i,"termsconditions",e[26]),n(i,"smsoffers",e[27]),n(i,"emailmarketing",e[28]),n(i,"endpoint",e[0]),n(i,"captchakey",e[3]),n(i,"lang",e[4]),n(i,"defaultoptions",e[7]),n(i,"disabledfields",e[6]),n(i,"dummydata",e[8]),n(i,"clientstyling",e[11]),n(i,"clientstylingurl",e[12]),Tt(r,"class","RegisterFormStep3"),Tt(r,"part","RegisterFormStep3")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){33554432&t[0]&&n(i,"userconsentsexist",e[25]),67108864&t[0]&&n(i,"termsconditions",e[26]),134217728&t[0]&&n(i,"smsoffers",e[27]),268435456&t[0]&&n(i,"emailmarketing",e[28]),1&t[0]&&n(i,"endpoint",e[0]),8&t[0]&&n(i,"captchakey",e[3]),16&t[0]&&n(i,"lang",e[4]),128&t[0]&&n(i,"defaultoptions",e[7]),64&t[0]&&n(i,"disabledfields",e[6]),256&t[0]&&n(i,"dummydata",e[8]),2048&t[0]&&n(i,"clientstyling",e[11]),4096&t[0]&&n(i,"clientstylingurl",e[12])},d(e){e&&_t(r)}}}function Vn(e){let r,i,n=e[33]("error")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","SMSErrorText")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Wn(e){let r;function i(e){return e[30]?qn:Zn}let n=i(e),s=n(e);return{c(){s.c(),r=nt()},m(e,t){s.m(e,t),wt(e,r,t)},p(e,t){n===(n=i(e))&&s?s.p(e,t):(s.d(1),(s=n(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&&_t(r)}}}function qn(e){let r,i,n=e[33]("error")+"";return{c(){r=St("p"),i=Ct(n),Tt(r,"class","SMSErrorText")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Zn(e){let r;return{c(){n(r=St("general-player-sms-verification-form"),"endpoint",e[0]),n(r,"session",e[2]),n(r,"number",e[31]),n(r,"playerid",e[16]),n(r,"tokenid",e[29]),n(r,"clientstyling",e[11]),n(r,"clientstylingurl",e[12])},m(e,t){wt(e,r,t)},p(e,t){1&t[0]&&n(r,"endpoint",e[0]),4&t[0]&&n(r,"session",e[2]),1&t[1]&&n(r,"number",e[31]),65536&t[0]&&n(r,"playerid",e[16]),536870912&t[0]&&n(r,"tokenid",e[29]),2048&t[0]&&n(r,"clientstyling",e[11]),4096&t[0]&&n(r,"clientstylingurl",e[12])},d(e){e&&_t(r)}}}function Qn(r){let i,n,s,a,o,l,c,u,d,h,p,f,m,g,y,v,b,w,_,S,C=r[33]("goToLoginButton")+"";return{c(){i=St("div"),n=t("svg"),s=t("defs"),a=t("style"),o=Ct(".a{fill:#16ce16;}"),l=t("path"),c=Et(),u=St("h2"),d=Ct(r[22]),h=Et(),p=St("p"),f=Ct(r[23]),m=Et(),g=St("p"),y=Ct(r[24]),v=Et(),b=St("button"),w=Ct(C),Tt(l,"class","a"),Tt(l,"d","M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"),Tt(n,"xmlns","http://www.w3.org/2000/svg"),Tt(n,"viewBox","0 0 73.95 51"),Tt(u,"class","RegisterConfirmationTitle"),Tt(u,"part","RegisterConfirmationTitle"),Tt(p,"class","RegisterConfirmationSubtitle"),Tt(p,"part","RegisterConfirmationSubtitle"),Tt(g,"class","RegisterConfirmationNote"),Tt(g,"part","RegisterConfirmationNote"),Tt(b,"class","RegisterConfirmationGoToLogin"),Tt(b,"part","RegisterConfirmationGoToLogin"),Tt(i,"class","RegisterConfirmation"),Tt(i,"part","RegisterConfirmation")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(a,o),bt(n,l),bt(i,c),bt(i,u),bt(u,d),bt(i,h),bt(i,p),bt(p,f),bt(i,m),bt(i,g),bt(g,y),bt(i,v),bt(i,b),bt(b,w),_||(S=xt(b,"click",r[35]),_=!0)},p(e,t){4194304&t[0]&&kt(d,e[22]),8388608&t[0]&&kt(f,e[23]),16777216&t[0]&&kt(y,e[24]),4&t[1]&&C!==(C=e[33]("goToLoginButton")+"")&&kt(w,C)},d(e){e&&_t(i),_=!1,S()}}}function Xn(r){let i,n=function(e){let r,i,n,s,a,o,l,c,u=!e[34]&&function(e){let r;return{c(){Tt(r=St("div"),"class","RegisterFormImage"),Tt(r,"part","RegisterFormImage"),M(r,"background-image","url('"+e[1]+"')")},m(e,t){wt(e,r,t)},p(e,t){2&t[0]&&M(r,"background-image","url('"+e[1]+"')")},d(e){e&&_t(r)}}}(e),d=(e[17]||e[18]||e[19])&&Yn(e),h=e[17]&&Gn(e),p=e[18]&&zn(e),f=e[19]&&jn(e);function m(e){return e[9]&&e[20]?Wn:e[30]?Vn:void 0}let g=m(e),y=g&&g(e),v=e[21]&&Qn(e);return{c(){r=St("div"),u&&u.c(),i=Et(),n=St("div"),d&&d.c(),s=Et(),h&&h.c(),a=Et(),p&&p.c(),o=Et(),f&&f.c(),l=Et(),y&&y.c(),c=Et(),v&&v.c(),Tt(n,"class","RegisterFormContainer "+(e[34]?"RegisterFormContainerMobile":"")),Tt(n,"part","RegisterFormContainer "+(e[34]?"RegisterFormContainerMobile":"")),Tt(r,"class","RegisterFormWrapper"),Tt(r,"part","RegisterFormWrapper")},m(e,t){wt(e,r,t),u&&u.m(r,null),bt(r,i),bt(r,n),d&&d.m(n,null),bt(n,s),h&&h.m(n,null),bt(n,a),p&&p.m(n,null),bt(n,o),f&&f.m(n,null),bt(n,l),y&&y.m(n,null),bt(n,c),v&&v.m(n,null)},p(e,t){e[34]||u.p(e,t),e[17]||e[18]||e[19]?d?d.p(e,t):((d=Yn(e)).c(),d.m(n,s)):d&&(d.d(1),d=null),e[17]?h?h.p(e,t):((h=Gn(e)).c(),h.m(n,a)):h&&(h.d(1),h=null),e[18]?p?p.p(e,t):((p=zn(e)).c(),p.m(n,o)):p&&(p.d(1),p=null),e[19]?f?f.p(e,t):((f=jn(e)).c(),f.m(n,l)):f&&(f.d(1),f=null),g===(g=m(e))&&y?y.p(e,t):(y&&y.d(1),(y=g&&g(e))&&(y.c(),y.m(n,c))),e[21]?v?v.p(e,t):((v=Qn(e)).c(),v.m(n,null)):v&&(v.d(1),v=null)},d(e){e&&_t(r),u&&u.d(),d&&d.d(),h&&h.d(),p&&p.d(),f&&f.d(),y&&y.d(),v&&v.d()}}}(r);return{c(){i=St("div"),n.c(),this.c=yt},m(e,t){wt(e,i,t),n.m(i,null),r[42](i)},p(e,t){n.p(e,t)},i:yt,o:yt,d(e){e&&_t(i),n.d(),r[42](null)}}}function Kn(r,e,a){let t;se(r,wi,e=>a(33,t=e));let i,n,F,s,o,{endpoint:l=""}=e,{cmsendpoint:c=""}=e,{env:u=""}=e,{imagedesktop:d=""}=e,{session:h=""}=e,{trackedanalyticsdata:p=""}=e,{captchakey:f=""}=e,{lang:m=""}=e,{licenseyears:g=""}=e,{disabledfields:y=""}=e,{defaultoptions:v=""}=e,{dummydata:I=""}=e,{smsverification:b="false"}=e,{simplepasswordvalidation:H="false"}=e,{userroles:w=""}=e,{clientstyling:_=""}=e,{clientstylingurl:S=""}=e,{translationurl:C=""}=e,{savecredentials:L=""}=e,{tempopcustomization:$="false"}=e,E=[],U="",x=!0,T=!1,k=!1,M=!1,D=!1,Y=!1,G="",z="",j="",P=window.navigator.userAgent,V="PC"!==_i(P),O={},W=!1,q=!1,B="false",Z="false",Q="false",X="false",K="",A=!1,J=!1,ee={username:"",password:""};Object.keys(Ci).forEach(e=>{Si(e,Ci[e])});const N=()=>{o.scrollIntoView()},R=(e,t)=>{"RegisterStepOne"===e&&(O.email=0<=E.indexOf("email")?"dummy@dummy.com":t.userEmail,O.username=0<=E.indexOf("username")?"dummyUsername":t.userValue,O.password=0<=E.indexOf("password")?"dummyPassword01!":t.userPassword,O.securityQuestion=0<=E.indexOf("securityQuestion")?"dummy question":t.securityQuestion,O.securityAnswer=0<=E.indexOf("securityAnswer")?"dummy answer":t.securityAnswer),"RegisterStepTwo"===e&&(O.title=t.userTitleSelected,O.firstname=0<=E.indexOf("firstName")?"dummy first name":t.userFirstName,O.lastname=0<=E.indexOf("lastName")?"dummy last name":t.userLastName,0<=E.indexOf("birthDate")?O.birth={day:1,month:1,year:2e3}:(O.birth={},O.birth.day=t.birthDaySelected,O.birth.month=t.birthMonthSelected,O.birth.year=t.birthYearSelected),O.birthPlace=0<=E.indexOf("birthPlace")?"ngenge":t.birthPlace,O.currency=t.currencySelected),"RegisterStepThree"===e&&(O.address1=0<=E.indexOf("address")?"dummy address":t.address,O.postalCode=0<=E.indexOf("postalCode")?"000000":t.postalCode,O.city=0<=E.indexOf("city")?"dummy city":t.city,O.country=0<=E.indexOf("country")?"dummy country":t.countrySelected,O.nationality=0<=E.indexOf("nationality")?"dummy nationality":t.nationalitySelected,0<=E.indexOf("mobile")?O.mobile={prefix:"0040",number:"1234123412"}:(O.mobile={},O.mobile.prefix=t.mobilePrefixSelected,O.mobile.number=t.mobile,a(31,s=""+t.mobilePrefixSelected+t.mobile)),O.userConsents={},O.affiliateMarker=p,"true"==B&&(O.userConsents.sms=t.consentOffersSms,O.userConsents.emailmarketing=t.consentOffersEmail,O.userConsents.termsandconditions=t.consentTerms),O.token=t.token)},te=e=>{if(e.data)switch(e.data.type){case"RegisterStepOne":R("RegisterStepOne",e.data.registerStepOneData),N(),a(17,x=!1),a(18,T=!0),0==W?W=!0:window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href);break;case"RegisterStepTwo":R("RegisterStepTwo",e.data.registerStepTwoData),N(),a(18,T=!1),a(19,k=!0),0==q?q=!0:window.postMessage({type:"StepThreeDataBackup",userData:O},window.location.href);break;case"RegisterStepThree":R("RegisterStepThree",e.data.registerStepThreeData),(async e=>{let t={method:"PUT",headers:{"g-recaptcha-response":e.token,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)},r=await fetch(`${l}/player/register`,t),i=await r.json();var n,s;r.ok?(a(19,k=!1),"false"===b?a(21,D=!0):(a(16,U=i.id),re(e,i.id)),ee={username:e.username,password:e.password},J&&(ki("BIOMETRICS_ENABLED",()=>{}),{username:n,password:s}=ee,Ti("ENABLE_BIOMETRICS",{username:n,password:s})),"function"==typeof gtag&>ag("event","Register",{context:"GeneralPlayerRegisterForm"})):(K=i.error.substring(i.error.indexOf("errorMessage")+13,i.error.length),Y=!0,window.postMessage({type:"ShowRegistrationError",showError:Y,error:K},window.location.href))})(O);break;case"SmsHasBeenValidated":a(21,D=!0),a(20,M=!1);break;case"GoBackStepTwo":R("RegisterStepTwo",e.data.registerStepTwoData),N(),a(17,x=!0),a(18,T=!1),window.postMessage({type:"StepOneDataBackup",userData:O},window.location.href);break;case"GoBackStepThree":R("RegisterStepThree",e.data.registerStepThreeData),N(),a(18,T=!0),a(19,k=!1),window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href)}},re=async(e,t)=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3)));try{var r=await fetch(l+"/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:t,messageTemplate:"Please use this code {0} to activate your account",destination:""+e.mobile.prefix+e.mobile.number})}),i=await r.json();if(!r.ok)throw a(30,A=!0),new Error("Failed to fetch");a(29,F=i.id),i.maxValidationAttempts,a(20,M=!0),a(30,A=!1)}catch(e){a(30,A=!0),console.error(e)}};return ae(()=>(window.addEventListener("message",te,!1),fetch(l+"/player/consentRequirements").then(e=>e.json()).then(e=>{0<e.items.length?(a(25,B="true"),e.items.forEach(e=>{switch(e.tagCode){case"termsandconditions":a(26,Z="true");break;case"sms":a(27,Q="true");break;case"emailmarketing":a(28,X="true")}})):a(25,B="false")}),J=!!xi(P),()=>{window.removeEventListener("message",te)})),r.$$set=e=>{"endpoint"in e&&a(0,l=e.endpoint),"cmsendpoint"in e&&a(36,c=e.cmsendpoint),"env"in e&&a(37,u=e.env),"imagedesktop"in e&&a(1,d=e.imagedesktop),"session"in e&&a(2,h=e.session),"trackedanalyticsdata"in e&&a(38,p=e.trackedanalyticsdata),"captchakey"in e&&a(3,f=e.captchakey),"lang"in e&&a(4,m=e.lang),"licenseyears"in e&&a(5,g=e.licenseyears),"disabledfields"in e&&a(6,y=e.disabledfields),"defaultoptions"in e&&a(7,v=e.defaultoptions),"dummydata"in e&&a(8,I=e.dummydata),"smsverification"in e&&a(9,b=e.smsverification),"simplepasswordvalidation"in e&&a(10,H=e.simplepasswordvalidation),"userroles"in e&&a(39,w=e.userroles),"clientstyling"in e&&a(11,_=e.clientstyling),"clientstylingurl"in e&&a(12,S=e.clientstylingurl),"translationurl"in e&&a(40,C=e.translationurl),"savecredentials"in e&&a(13,L=e.savecredentials),"tempopcustomization"in e&&a(14,$=e.tempopcustomization)},r.$$.update=()=>{if(16&r.$$.dirty[0]|352&r.$$.dirty[1]&&c&&m&&u&&w&&(e=new URL(`${c}/${m}/login-register-content?env=`+u),(t=_i(P))&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{n=e.registerData,a(22,G=n.title),a(23,z=n.subtitle),a(24,j=n.content)}).catch(e=>{console.error(e)})),r.$$.dirty[0],16&r.$$.dirty[0]&&m&&(t=m,ne.set(t)),64&r.$$.dirty[0]&&y&&(E=y.split(",")),34816&r.$$.dirty[0]&&_&&i&&((e=document.createElement("style")).innerHTML=_,i.appendChild(e)),36864&r.$$.dirty[0]&&S&&i){let e=new URL(S),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t;512&r.$$.dirty[1]&&C&&fetch(C).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Si(e,t[e])})}).catch(e=>{console.log(e)})},[l,d,h,f,m,g,y,v,I,b,H,_,S,L,$,i,U,x,T,k,M,D,G,z,j,B,Z,Q,X,void 0,A,s,o,t,V,()=>{window.postMessage({type:"ToLogin"},window.location.href)},c,u,p,w,C,function(e){ie[e?"unshift":"push"](()=>{o=e,a(32,o)})},function(e){ie[e?"unshift":"push"](()=>{i=e,a(15,i)})}]}customElements.get("general-player-sms-verification-form")||customElements.define("general-player-sms-verification-form",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.Button{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000)}',this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Un,$n,C,{endpoint:12,tokenid:9,playerid:10,smstemplate:13,number:11,clientstyling:14,clientstylingurl:15,translationurl:16},null),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","tokenid","playerid","smstemplate","number","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),h()}get tokenid(){return this.$$.ctx[9]}set tokenid(e){this.$$set({tokenid:e}),h()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),h()}get smstemplate(){return this.$$.ctx[13]}set smstemplate(e){this.$$set({smstemplate:e}),h()}get number(){return this.$$.ctx[11]}set number(e){this.$$set({number:e}),h()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),h()}});class Jn extends U{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.RegisterFormWrapper{background:var(--emfe-w-color-gray-50, #F9F8F8);display:inline-flex;width:100%}.RegisterFormImage{background-position:center;background-size:cover;background-repeat:no-repeat;flex:1 1 100%}.RegisterFormContainer{flex:1 1 100%;padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-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(--emfe-w-color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emfe-w-color-primary, #D0046C)}.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(--emfe-w-color-green, #48952a);font-size:24px;font-weight:400;text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emfe-w-color-gray-300, #58586B);font-size:16px;line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emfe-w-color-black, #000000);font-size:18px;line-height:22px}.RegisterConfirmationGoToLogin{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}',this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Kn,Xn,C,{endpoint:0,cmsendpoint:36,env:37,imagedesktop:1,session:2,trackedanalyticsdata:38,captchakey:3,lang:4,licenseyears:5,disabledfields:6,defaultoptions:7,dummydata:8,smsverification:9,simplepasswordvalidation:10,userroles:39,clientstyling:11,clientstylingurl:12,translationurl:40,savecredentials:13,tempopcustomization:14},null,[-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","cmsendpoint","env","imagedesktop","session","trackedanalyticsdata","captchakey","lang","licenseyears","disabledfields","defaultoptions","dummydata","smsverification","simplepasswordvalidation","userroles","clientstyling","clientstylingurl","translationurl","savecredentials","tempopcustomization"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get cmsendpoint(){return this.$$.ctx[36]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),h()}get env(){return this.$$.ctx[37]}set env(e){this.$$set({env:e}),h()}get imagedesktop(){return this.$$.ctx[1]}set imagedesktop(e){this.$$set({imagedesktop:e}),h()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),h()}get trackedanalyticsdata(){return this.$$.ctx[38]}set trackedanalyticsdata(e){this.$$set({trackedanalyticsdata:e}),h()}get captchakey(){return this.$$.ctx[3]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[5]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[6]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[7]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get dummydata(){return this.$$.ctx[8]}set dummydata(e){this.$$set({dummydata:e}),h()}get smsverification(){return this.$$.ctx[9]}set smsverification(e){this.$$set({smsverification:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[10]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get userroles(){return this.$$.ctx[39]}set userroles(e){this.$$set({userroles:e}),h()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[13]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get tempopcustomization(){return this.$$.ctx[14]}set tempopcustomization(e){this.$$set({tempopcustomization:e}),h()}}return customElements.get("general-player-register-form")||customElements.define("general-player-register-form",Jn),Jn});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(p){"use strict";(k=p)&&"object"==typeof k&&0 in k;function yt(){}function w(e){return e()}function _(){return Object.create(null)}function vt(e){e.forEach(w)}function C(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let E;function x(e,t){return(E=E||document.createElement("a")).href=t,e===E.href}function T(e,...t){if(null==e)return yt;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function se(e,t,r){e.$$.on_destroy.push(T(t,r))}var k="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function bt(e,t){e.appendChild(t)}function wt(e,t,r){e.insertBefore(t,r||null)}function _t(e){e.parentNode&&e.parentNode.removeChild(e)}function Ot(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Ct(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function St(e){return document.createTextNode(e)}function Et(){return St(" ")}function nt(){return St("")}function xt(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function Tt(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function n(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:Tt(e,t,r)}function kt(e,t){e.data!==(t=""+t)&&(e.data=t)}function Mt(e,t){e.value=null==t?"":t}function M(e,t,r,i){null==r?e.style.removeProperty(t):e.style.setProperty(t,r,i?"important":"")}function Dt(t,r,e){for(let e=0;e<t.options.length;e+=1){var i=t.options[e];if(i.__value===r)return i.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function K(e){e=e.querySelector(":checked");return e&&e.__value}function D(e){var t={};for(const r of e)t[r.name]=r.value;return t}let P;function O(e){P=e}function ae(e){!function(){if(P)return P;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const B=[],ie=[];let A=[];const N=[],R=Promise.resolve();let F=!1;function Pt(e){A.push(e)}const H=new Set;let I=0;function h(){if(0===I){const i=P;do{try{for(;I<B.length;){const i=B[I];I++,O(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),vt(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Pt))}}catch(i){throw B.length=0,I=0,i}for(O(null),B.length=0,I=0;ie.length;)ie.pop()();for(let e=0;e<A.length;e+=1){var r=A[e];H.has(r)||(H.add(r),r())}}while(A.length=0,B.length);for(;N.length;)N.pop()();F=!1,H.clear(),O(i)}}const L=new Set;function $(i,e,t,r,n,s,a,o=[-1]){var l=P;O(i);const c=i.$$={fragment:null,ctx:[],props:s,update:yt,not_equal:n,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u)&&(r=e,-1===(e=i).$$.dirty[0]&&(B.push(e),F||(F=!0,R.then(h)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,vt(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const i=Array.from(s.childNodes);c.fragment&&c.fragment.l(i),i.forEach(_t)}else c.fragment&&c.fragment.c();e.intro&&(o=i.$$.fragment)&&o.i&&(L.delete(o),o.i(void 0));var d=i,a=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:o}=d.$$;s&&s.m(a,t),r||Pt(()=>{var e=d.$$.on_mount.map(w).filter(C);d.$$.on_destroy?d.$$.on_destroy.push(...e):vt(e),d.$$.on_mount=[]}),o.forEach(Pt),h()}O(l)}let U;"function"==typeof HTMLElement&&(U=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(w).filter(C);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){vt(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const i=[],n=[];A.forEach(e=>(-1===r.indexOf(e)?i:n).push(e)),n.forEach(e=>e()),A=i}vt(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=yt}$on(e,t){if(!C(t))return yt;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Y,G,o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,z="URLSearchParams"in o,j="Symbol"in o&&"iterator"in Symbol,V="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),W="FormData"in o,q="ArrayBuffer"in o;function Z(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Q(e){return e="string"!=typeof e?String(e):e}function X(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function J(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ee(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function te(e){var t=new FileReader,r=ee(t);return t.readAsArrayBuffer(e),r}function re(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function oe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:V&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:W&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():q&&V&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):q&&(ArrayBuffer.prototype.isPrototypeOf(e)||G(e))?this._bodyArrayBuffer=re(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},V&&(this.blob=function(){var e=J(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?J(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(te)}),this.text=function(){var e,t,r=J(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=ee(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},W&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}q&&(Y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],G=ArrayBuffer.isView||function(e){return e&&-1<Y.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Z(e),t=Q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[Z(e)]},l.prototype.get=function(e){return e=Z(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Z(e))},l.prototype.set=function(e,t){this.map[Z(e)]=Q(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),X(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),X(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),X(r)},j&&(l.prototype[Symbol.iterator]=l.prototype.entries);var le=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ce(e,t){if(!(this instanceof ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof ce){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<le.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ue(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}ce.prototype.clone=function(){return new ce(this,{body:this._bodyInit})},oe.call(ce.prototype),oe.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var de=[301,302,303,307,308],he=(c.redirect=function(e,t){if(-1===de.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},o.DOMException);try{new he}catch(p){(he=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),he.prototype.constructor=he}function fe(i,a){return new Promise(function(n,e){var t=new ce(i,a);if(t.signal&&t.signal.aborted)return e(new he("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},i=(t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new c(i,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new he("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&o.location.href?o.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(V?s.responseType="blob":q&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){s.setRequestHeader(e,Q(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}function Pr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}fe.polyfill=!0,o.fetch||(o.fetch=fe,o.Headers=l,o.Request=ce,o.Response=c),self.fetch.bind(self);var pe=function(e,t){return(pe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}pe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ge(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ye(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=s.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function ve(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function be(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var we=be(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function _e(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,i,n;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=ge(s),o=a.next();!o.done;o=a.next())o.value.remove(this)}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(d(s))try{s()}catch(e){n=e instanceof we?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=ge(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{xe(u)}catch(e){n=null!=n?n:[],e instanceof we?n=ve(ve([],ye(n)),ye(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(n)throw new we(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)xe(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&_e(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&_e(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((i=new r).closed=!0,i);var Ce=r,Se=Ce.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ee(e){return e instanceof Ce||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function xe(e){d(e)?e():e.unsubscribe()}var Te=void 0,ke=!1,Me=!1,De={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=De.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ve([e,t],ye(r))):setTimeout.apply(void 0,ve([e,t],ye(r)))},clearTimeout:function(e){var t=De.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pe(){}var Oe=null;function Be(e){if(ke){var t=!Oe;if(t&&(Oe={errorThrown:!1,error:null}),e(),t){var t=Oe,r=t.errorThrown,t=t.error;if(Oe=null,r)throw t}}else e()}me(e,Ae=Ce),e.create=function(e,t,r){return new Le(e,t,r)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ae.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ae,Ne=e,Re=Function.prototype.bind;function e(e){var t=Ae.call(this)||this;return t.isStopped=!1,e?Ee(t.destination=e)&&e.add(t):t.destination=Ge,t}function Fe(e,t){return Re.call(e,t)}Ue.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ye(e)}},Ue.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ye(e)}else Ye(e)},Ue.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ye(e)}};var He,Ie=Ue,Le=(me($e,He=Ne),$e);function $e(e,t,r){var i=He.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&Me?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Fe(e.next,t),error:e.error&&Fe(e.error,t),complete:e.complete&&Fe(e.complete,t)}):e;return i.destination=new Ie(r),i}function Ue(e){this.partialObserver=e}function Ye(e){var t=e;De.setTimeout(function(){throw t})}var Ge={closed:!0,next:Pe,error:function(e){throw e},complete:Pe},i="function"==typeof Symbol&&Symbol.observable||"@@observable";s.prototype.lift=function(e){var t=new s;return t.source=this,t.operator=e,t},s.prototype.subscribe=function(e,t,r){var i,n=this,s=(i=e)&&i instanceof Ne||i&&d(i.next)&&d(i.error)&&d(i.complete)&&Ee(i)?e:new Le(e,t,r);return Be(function(){var e=n.operator,t=n.source;s.add(e?e.call(s,t):t?n._subscribe(s):n._trySubscribe(s))}),s},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(i,e){var n=this;return new(e=je(e))(function(e,t){var r=new Le({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},s.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},s.prototype[i]=function(){return this},s.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},s.prototype.toPromise=function(e){var i=this;return new(e=je(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},s.create=function(e){return new s(e)};var ze=s;function s(e){e&&(this._subscribe=e)}function je(e){return null!=(e=null!=e?e:Te)?e:Promise}var Ve,We,qe,Ze=be(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(me(a,qe=ze),a.prototype.lift=function(e){var t=new Qe(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},a.prototype.next=function(n){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=ge(s.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(n)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;Be(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),qe.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?Se:(this.currentObservers=null,n.push(e),new Ce(function(){t.currentObservers=null,_e(n,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},a.prototype.asObservable=function(){var e=new ze;return e.source=this,e},a.create=function(e,t){return new Qe(e,t)},a),Qe=(me(et,We=i),et.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},et.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},et.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},et.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Se},et),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},Ke=(me(Je,Ve=i),Je.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,n=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(i.push(e),n)||i.push(s.now()+t),this._trimBuffer(),Ve.prototype.next.call(this,e)},Je.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},Je.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var s=t.now(),a=0,o=1;o<r.length&&r[o]<=s;o+=2)a=o;a&&r.splice(0,a+1)}},Je);function Je(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Xe);var i=Ve.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function et(e,t){var r=We.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=qe.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let tt=[],rt={};const it=[];function st(i,n=yt){let s;const a=new Set;function o(e){if(S(i,e)&&(i=e,s)){const e=!it.length;for(const e of a)e[1](),it.push(e,i);if(e){for(let e=0;e<it.length;e+=2)it[e][0](it[e+1]);it.length=0}}}return{set:o,update:function(e){o(e(i))},subscribe:function(e,t=yt){const r=[e,t];return a.add(r),1===a.size&&(s=n(o)||yt),e(i),()=>{a.delete(r),0===a.size&&s&&(s(),s=null)}}}}function at(e,o,t){const l=!Array.isArray(e),c=l?[e]:e,u=o.length<2;return{subscribe:st(t,t=>{let r=!1;const i=[];let n=0,s=yt;const a=()=>{var e;n||(s(),e=o(l?i[0]:i,t),u?t(e):s=C(e)?e:yt)},e=c.map((e,t)=>T(e,e=>{i[t]=e,n&=~(1<<t),r&&a()},()=>{n|=1<<t}));return r=!0,a(),function(){vt(e),s(),r=!1}}).subscribe}}function ot(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===lt);var t}var lt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?pt(Array.isArray(e)?[]:{},e,t):e}function ut(e,t,r){return e.concat(t).map(function(e){return ct(e,r)})}function dt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function ht(e,t){try{return t in e}catch(e){return!1}}function ft(i,n,s){var a={};return s.isMergeableObject(i)&&dt(i).forEach(function(e){a[e]=ct(i[e],s)}),dt(n).forEach(function(e){var t,r;(!ht(t=i,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ht(i,e)&&s.isMergeableObject(n[e])?a[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:pt)(i[e],n[e],s):a[e]=ct(n[e],s))}),a}function pt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||ut,r.isMergeableObject=r.isMergeableObject||ot,r.cloneUnlessOtherwiseSpecified=ct;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):ft(e,t,r):ct(t,r)}pt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return pt(e,t,r)},{});throw new Error("first argument should be an array")};var mt=pt,gt=function(e,t){return(gt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Bt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}gt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,At,g=function(){return(g=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Nt(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Rt(e){return e.type===y.literal}function Ft(e){return e.type===y.number}function Ht(e){return e.type===y.date}function It(e){return e.type===y.time}function Lt(e){return e.type===y.select}function $t(e){return e.type===y.plural}function Ut(e){return e.type===y.tag}function Yt(e){return e&&"object"==typeof e&&e.type===At.number}function Gt(e){return e&&"object"==typeof e&&e.type===At.dateTime}(i=m=m||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=y=y||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=At=At||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Vt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Wt=/^(@+)?(\+|#+)?[rs]?$/g,qt=/(\*)(0+)|(#+)(0+)|(0+)/g,Zt=/^(0+)$/;function Qt(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(Wt,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function Xt(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 Kt(e){return Xt(e)||{}}function Jt(e){for(var a={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Kt(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Kt(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(qt,function(e,t,r,i,n,s){if(t)a.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Zt.test(n.stem))a.minimumIntegerDigits=n.stem.length;else if(Vt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Vt,function(e,t,r,i,n,s){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:n&&s?(a.minimumFractionDigits=n.length,a.maximumFractionDigits=n.length+s.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):s&&(a=g(g({},a),Qt(s)))}else Wt.test(n.stem)?a=g(g({},a),Qt(n.stem)):((s=Xt(n.stem))&&(a=g(g({},a),s)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Zt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(a=g(g({},a),i)))}return a}var er={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var tr=new RegExp("^".concat(i.source,"*")),rr=new RegExp("".concat(i.source,"*$"));function v(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,ir=!!String.fromCodePoint,nr=!!Object.fromEntries,sr=!!String.prototype.codePointAt,ar=!!String.prototype.trimStart,or=!!String.prototype.trimEnd,lr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},cr=!0;try{cr="a"===(null==(Or=vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Or[0])}catch(p){cr=!1}var ur,dr,hr=i?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},fr=ir?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,s=0;s<n;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},pr=nr?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],s=n[0],n=n[1];t[s]=n}return t},mr=sr?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},gr=ar?function(e){return e.trimStart()}:function(e){return e.replace(tr,"")},yr=or?function(e){return e.trimEnd()}:function(e){return e.replace(rr,"")};function vr(e,t){return new RegExp(e,t)}dr=cr?(ur=vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return ur.lastIndex=t,null!=(t=ur.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=mr(e,t);if(void 0===n||_r(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;i.push(n),t+=65536<=n?2:1}return fr.apply(void 0,i)};u.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},u.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&wr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}else{s=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(s,this.clonePosition())})}}}return{val:i,err:null}},u.prototype.parseTag=function(e,t){var r,i=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!wr(this.char())?this.error(m.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(i,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,v(e,this.clonePosition())))):this.error(m.UNCLOSED_TAG,v(i,this.clonePosition()))):this.error(m.INVALID_TAG,v(i,this.clonePosition()))},u.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},u.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},u.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(wr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},u.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return fr.apply(void 0,t)},u.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),fr(r))},u.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,v(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},u.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=dr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},u.prototype.parseArgumentOptions=function(e,t,r,i){var n,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,v(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=yr(d.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(f=v(i,this.clonePosition()),l&&hr(null==l?void 0:l.style,"::",0)?(p=gr(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:f,style:d.val},err:null}:0===p.length?this.error(m.EXPECT_DATE_TIME_SKELETON,f):(u=p,this.locale&&(u=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var a=1+(1&s),o=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(er[t||""]||er[r||""]||er["".concat(r,"-001")]||er["001"])[0]}(t);for("H"!=l&&"k"!=l||(o=0);0<o--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===n?"H":n}return r}(p,this.locale)),h={type:At.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(zt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}},{val:{type:"date"===a?y.date:y.time,value:r,location:f,style:h},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:r,location:f,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,h=this.parseIdentifierIfPossible(),f=0;if("select"!==a&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),h=this.parseIdentifierIfPossible(),f=d.val}var p,l=this.tryParsePluralOrSelectOptions(e,a,t,h);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(p=v(i,this.clonePosition()),"select"===a?{val:{type:y.select,value:r,options:pr(l.val),location:p},err:null}:{val:{type:y.plural,value:r,options:pr(l.val),offset:f,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null});default:return this.error(m.INVALID_ARGUMENT_TYPE,v(s,o))}},u.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},u.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},u.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(jt).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),a=0,o=n;a<o.length;a++)if(0===o[a].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:At.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Jt(r):{}},err:null}},u.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,s=[],a=new Set,o=i.value,l=i.location;;){if(0===o.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),o=this.message.slice(c.offset,this.offset())}if(a.has(o))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;s.push([o,{value:c.val,location:v(u,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===s.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(m.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}},u.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;n=!0,s=10*s+(a-48),this.bump()}i=v(i,this.clonePosition());return n?lr(s*=r)?{val:s,err:null}:this.error(t,i):this.error(e,i)},u.prototype.offset=function(){return this.position.offset},u.prototype.isEOF=function(){return this.offset()===this.message.length},u.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},u.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=mr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},u.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},u.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},u.prototype.bumpIf=function(e){if(hr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},u.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},u.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},u.prototype.bumpSpace=function(){for(;!this.isEOF()&&_r(this.char());)this.bump()},u.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var br=u;function u(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function wr(e){return 97<=e&&e<=122||65<=e&&e<=90}function _r(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Cr(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new br(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Lt(e)||$t(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Ft(e)&&Yt(e.style)||(Ht(e)||It(e))&&Gt(e.style)?delete e.style.location:Ut(e)&&r(e.children)})}(e.val),e.val}function Sr(e,t){var r=t&&t.cache?t.cache:Br,i=t&&t.serializer?t.serializer:kr;return(t&&t.strategy?t.strategy:function(e,t){return Tr(e,this,1===e.length?Er:xr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Er(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function xr(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function Tr(e,t,r,i,n){return r.bind(t,e,i,n)}var kr=function(){return JSON.stringify(arguments)};function Mr(){this.cache=Object.create(null)}Mr.prototype.get=function(e){return this.cache[e]},Mr.prototype.set=function(e,t){this.cache[e]=t};var Dr,Or,Br={create:function(){return new Mr}},Ar={variadic:function(e,t){return Tr(e,this,xr,t.cache.create(),t.serializer)},monadic:function(e,t){return Tr(e,this,Er,t.cache.create(),t.serializer)}};(Or=Dr=Dr||{}).MISSING_VALUE="MISSING_VALUE",Or.INVALID_VALUE="INVALID_VALUE",Or.MISSING_INTL_API="MISSING_INTL_API";Bt(jr,Hr=Error),jr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var b,Nr,Rr,Fr,Hr,Ir=jr,Lr=(Bt(zr,Fr=Ir),zr),$r=(Bt(Gr,Rr=Ir),Gr),Ur=(Bt(Yr,Nr=Ir),Yr);function Yr(e,t){return Nr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Dr.MISSING_VALUE,t)||this}function Gr(e,t,r){return Rr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Dr.INVALID_VALUE,r)||this}function zr(e,t,r,i){return Fr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Dr.INVALID_VALUE,i)||this}function jr(e,t,r){e=Hr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Vr(e,t,r,i,n,s,a){if(1===e.length&&Rt(e[0]))return[{type:b.literal,value:e[0].value}];for(var o=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Rt(u))o.push({type:b.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&o.push({type:b.literal,value:r.getNumberFormat(t).format(s)});else{var d=u.value;if(!(n&&d in n))throw new Ur(d,a);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),o.push({type:"string"==typeof d?b.literal:b.object,value:d});else if(Ht(u)){var h="string"==typeof u.style?i.date[u.style]:Gt(u.style)?u.style.parsedOptions:void 0;o.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)})}else if(It(u))h="string"==typeof u.style?i.time[u.style]:Gt(u.style)?u.style.parsedOptions:i.time.medium,o.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)});else if(Ft(u))(h="string"==typeof u.style?i.number[u.style]:Yt(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),o.push({type:b.literal,value:r.getNumberFormat(t,h).format(d)});else{if(Ut(u)){var f=u.children,p=u.value,m=n[p];if("function"!=typeof m)throw new $r(p,"function",a);p=m(Vr(f,t,r,i,n,s).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map(function(e){return{type:"string"==typeof e?b.literal:b.object,value:e}}))}if(Lt(u)){if(!(g=u.options[d]||u.options.other))throw new Lr(u.value,d,Object.keys(u.options),a);o.push.apply(o,Vr(g.value,t,r,i,n))}else if($t(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new Ir('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Dr.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new Lr(u.value,d,Object.keys(u.options),a);o.push.apply(o,Vr(g.value,t,r,i,n,d-(u.offset||0)))}}}}return(e=o).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===b.literal&&t.type===b.literal?r.value+=t.value:e.push(t),e},[])}function Wr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(i=b=b||{})[i.literal=0]="literal",i[i.object=1]="object",Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},f.__parse=Cr,f.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"}}};var qr=f;function f(e,t,r,i){var n,s,a=this;if(void 0===t&&(t=f.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===b.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Vr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=f.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=s[t])?g(g(g({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),i[t]||{}),e},{})):r),e},g({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:Sr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:Wr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ar.variadic}),getDateTimeFormat:Sr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:Wr(t.dateTime),strategy:Ar.variadic}),getPluralRules:Sr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Nt([void 0],t,!1)))},{cache:Wr(t.pluralRules),strategy:Ar.variadic})}}const Zr={},Qr=(e,t,r)=>r&&(t in Zr||(Zr[t]={}),e in Zr[t]||(Zr[t][e]=r),r),Xr=(t,r)=>{if(null!=r){if(r in Zr&&t in Zr[r])return Zr[r][t];var i=hi(r);for(let e=0;e<i.length;e++){var n=function(e,t){if(!ei(e))return null;e=function(e){return Kr[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(n)return Qr(t,r,n)}}};let Kr;const Jr=st({});function ei(e){return e in Kr}function ti(t,...r){delete Zr[t],Jr.update(e=>(e[t]=mt.all([e[t]||{},...r]),e))}at([Jr],([e])=>Object.keys(e)),Jr.subscribe(e=>Kr=e);const ri={};function ii(e){return ri[e]}function ni(e){return null!=e&&hi(e).some(e=>{return null==(e=ii(e))?void 0:e.size})}const si={};function ai(e){var t;return ni(e)?(t=hi(e).map(e=>{var t=ii(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),si[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,r=e,ri[t].delete(r),0===ri[t].size&&delete ri[t],e().then(e=>e.default||e);var t,r})).then(e=>ti(i,...e));var i})).then(()=>{if(ni(e))return ai(e);delete si[e]}),si[e]):e in si?si[e]:Promise.resolve()}const oi={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const li=st(!1);let ci;const ui=st(null);function di(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function hi(e,t=oi.fallbackLocale){e=di(e);return t?[...new Set([...e,...di(t)])]:e}function fi(){return null!=ci?ci:void 0}ui.subscribe(e=>{ci=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ne={...ui,set:t=>{if(t&&function(e){if(null!=e){var t=hi(e);for(let e=0;e<t.length;e++){var r=t[e];if(ei(r))return r}}}(t)&&ni(t)){var r=oi["loadingDelay"];let e;return"undefined"!=typeof window&&null!=fi()&&r?e=window.setTimeout(()=>li.set(!0),r):li.set(!0),ai(t).then(()=>{ui.set(t)}).finally(()=>{clearTimeout(e),li.set(!1)})}return ui.set(t)}},pi=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},mi=(e,t)=>{var r=oi["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},gi=pi(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=mi("number",t)),new Intl.NumberFormat(e,r)}),yi=pi(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=mi("date",t):0===Object.keys(r).length&&(r=mi("date","short")),new Intl.DateTimeFormat(e,r)}),vi=pi(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=mi("time",t):0===Object.keys(r).length&&(r=mi("time","short")),new Intl.DateTimeFormat(e,r)}),bi=pi((e,t=fi())=>new qr(e,t,oi.formats,{ignoreTag:oi.ignoreTag})),wi=at([ne,Jr],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:a=fi(),default:o}=n;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Xr(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=oi).handleMissingMessage)?void 0:r.call(i,{locale:a,id:e,defaultValue:o}))?r:o)?i:e;if(!s)return l;let c=l;try{c=bi(l,a).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),_i=(at([ne],()=>(e,t)=>{return[{locale:t=fi(),...r}={}]=[t],vi({locale:t,...r}).format(e);var r}),at([ne],()=>(e,t)=>{return[{locale:t=fi(),...r}={}]=[t],yi({locale:t,...r}).format(e);var r}),at([ne],()=>(e,t)=>{return[{locale:t=fi(),...r}={}]=[t],gi({locale:t,...r}).format(e);var r}),at([ne,Jr],()=>(e,t=fi())=>Xr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==tt.indexOf(e)&&(t=new Ke(t),rt[e]=t,tt.push(e)),rt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Ci(e,t){ti(e,t)}const Si={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",error:"Bir sorunla karşılaştık. SMS kodunuzu almak için lütfen Giriş'e 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."}};function Ei(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return r=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],r&&r.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,r=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof r?(t=Array.prototype.slice.call(arguments,1),r.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var xi=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Ti=function(e,...t){try{return Ei(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},ki=function(e,t){try{return Ei(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Mi(e,t){ti(e,t)}const Di={en:{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:"It doesn't match the password.",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"},"zh-hk":{registerTitle:"創建您的帳戶",registerSubtitle:"已經有一個帳戶?",registerSubtitleLogin:"登錄",registerEmail:"電子郵件",registerEmailError:"電子郵件應包含“@”和 2-3 個字母長的域。",registerUsername:"用戶名",registerUsernameError:"名稱的長度必須至少為 2 個字符且不包含特殊字符。",registerPassword:"密碼",registerPasswordError:"密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",registerSimplePasswordError:"密码长度必须为 8-20 个字符。",registerConfirmPassword:"確認密碼",registerConfirmPasswordError:"它與密碼不匹配。",registerSecurityQuestion:"安全問題",registerSecurityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",registerSecurityAnswer:"安全答案",registerSecurityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",registerNext:"下一個"},fr:{registerTitle:"Créez votre compte",registerSubtitle:"Vous avez déjà un compte?",registerSubtitleLogin:"Connexion ",registerEmail:"Email",registerEmailError:"L'adresse mail doit comporter un '@' et un nom de domaine de 2 à 3 lettres.",registerUsername:"Nom d'utilisateur ",registerUsernameError:"Le nom doit être composé d'au moins 2 caractères et ne doitpas contenir de caractères spéciaux.",registerPassword:"Mot de passe",registerPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial.",registerSimplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",registerConfirmPassword:"Confirmer le mot de passe",registerConfirmPasswordError:"ça ne correspond pas au mot de passe.",registerSecurityQuestion:"Questions de sécurité",registerSecurityQuestionError:"La question de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerSecurityAnswer:"Réponse de sécurité",registerSecurityAnswerError:"La réponse de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerNext:"Suivant"},tr:{registerTitle:"Hesabını oluştur",registerSubtitle:"Zaten hesabınız var mı?",registerSubtitleLogin:"Giriş yapmak",registerEmail:"E-posta",registerEmailError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",registerUsername:"Kullanıcı adı",registerUsernameError:"Ad en az 4-20 karakter uzunluğunda olmalı ve özel karakter içermemelidir.",registerPassword:"Parola",registerPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",registerSimplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",registerConfirmPassword:"Şifreyi Onayla",registerConfirmPasswordError:"Şifreyle eşleşmiyor.",registerSecurityQuestion:"Güvenlik Sorusu",registerSecurityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",registerSecurityAnswer:"Güvenlik cevabı",registerSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",registerNext:"Sonraki"},ro:{registerTitle:"Creaza cont",registerSubtitle:"Ai deja cont?",registerSubtitleLogin:"Autentifica-te",registerEmail:"Email",registerEmailError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",registerUsername:"Utilizator",registerUsernameError:"Utilizatorul trebuie sa fie cuprins intre 4-20 litere si sa nu contina caractere speciale.",registerPassword:"Parola",registerPasswordError:"Parola trebuie sa fie cuprinsa intre 8 si 20 de caractere, cel putin o litera mare, cel putin un numar si cel putin un caracter special.",registerSimplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",registerConfirmPassword:"Confirma Parola",registerConfirmPasswordError:"Confirmarea parolei trebuie sa fie la fel cu parola",registerSecurityQuestion:"Intrebare de Securitate",registerSecurityQuestionError:"Intrebarea de securitate trebuie sa fie cuprinsa intre 1 si 120 de litere.",registerSecurityAnswer:"Raspuns de Securitate",registerSecurityAnswerError:"Raspunsul de securitate trebuie sa fie cuprins intre 1 si 120 de litere",registerNext:"Urmatorul"},es:{registerTitle:"Crea tu cuenta",registerSubtitle:"Ya tiene cuenta?",registerSubtitleLogin:"Iniciar sesión",registerEmail:"Email",registerEmailError:"Email debe contener '@' y un dominio de 2 a 3 letras.",registerUsername:"Usuario",registerUsernameError:"El nombre de Usuario debe tener mínimo 4 y máximo 20 caracteres y no contener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",registerSimplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",registerConfirmPassword:"Confirmar Contraseña",registerConfirmPasswordError:"La contraseña no coincide.",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de Documento (DNI, CE o Pasaporte)",registerSecurityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityQuestionError2:"Solo se aceptan letras y números.",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de Documento",registerSecurityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityAnswerError2:"Solo se aceptan letras y números.",registerNext:"Siguiente"},pt:{registerTitle:"Crie a sua conta",registerSubtitle:"Já tem uma conta?",registerSubtitleLogin:"Entrar",registerEmail:"E-mail",registerEmailError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",registerUsername:"Nome do usuário",registerUsernameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres.",registerConfirmPassword:"Confirme a sua senha",registerConfirmPasswordError:"Não corresponde à senha.",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestionError:"A pergunta de segurança deve ter no mínimo 1 caractere e no máximo 120 caracteres.",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerNext:"Próximo"}};function Pi(e){let r,i,n=e[28]("registerEmailError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerEmailError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Oi(e){let r,i,n=e[28]("registerUsernameError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerUsernameError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Bi(r){let i,n,s,a,o,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=St(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("path"),c=t("circle"),Tt(l,"class","a"),Tt(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Tt(l,"transform","translate(0)"),Tt(c,"class","a"),Tt(c,"cx","2.779"),Tt(c,"cy","2.779"),Tt(c,"r","2.779"),Tt(c,"transform","translate(20.827 30.303)"),Tt(o,"transform","translate(-14.185 -27.832)"),Tt(i,"class","TogglePasswordVisibility"),Tt(i,"part","TogglePasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.843"),Tt(i,"height","10.5"),Tt(i,"viewBox","0 0 18.843 10.5")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),u||(d=xt(i,"click",r[59]),u=!0)},p:yt,d(e){e&&_t(i),u=!1,d()}}}function Ai(r){let i,n,s,a,o,l,c,u,d,h,f,p,m,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=St(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),f=t("path"),p=t("path"),m=t("rect"),Tt(l,"class","a"),Tt(l,"cx","0.05"),Tt(l,"cy","0.05"),Tt(l,"r","0.05"),Tt(l,"transform","translate(121.017 31.148)"),Tt(u,"class","a"),Tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Tt(u,"transform","translate(-142.164 -39.123)"),Tt(d,"class","a"),Tt(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Tt(d,"transform","translate(-136.413 -42.068)"),Tt(c,"transform","translate(117.499 27.37)"),Tt(f,"class","a"),Tt(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Tt(f,"transform","translate(-110.856 -33.157)"),Tt(p,"class","a"),Tt(p,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Tt(p,"transform","translate(-130.743 -29.617)"),Tt(h,"transform","translate(110.856 24.899)"),Tt(m,"class","a"),Tt(m,"width","0.972"),Tt(m,"height","15.861"),Tt(m,"rx","0.486"),Tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Tt(o,"transform","translate(-110.856 -23.242)"),Tt(i,"class","TogglePasswordVisibility"),Tt(i,"part","TogglePasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.844"),Tt(i,"height","12.887"),Tt(i,"viewBox","0 0 18.844 12.887")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),bt(c,u),bt(c,d),bt(o,h),bt(h,f),bt(h,p),bt(o,m),g||(y=xt(i,"click",r[58]),g=!0)},p:yt,d(e){e&&_t(i),g=!1,y()}}}function Ni(e){let r,i,n=e[28]("registerPasswordError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerPasswordError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ri(e){let r,i,n=e[28]("registerSimplePasswordError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerSimplePasswordError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Fi(r){let i,n,s,a,o,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=St(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("path"),c=t("circle"),Tt(l,"class","a"),Tt(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Tt(l,"transform","translate(0)"),Tt(c,"class","a"),Tt(c,"cx","2.779"),Tt(c,"cy","2.779"),Tt(c,"r","2.779"),Tt(c,"transform","translate(20.827 30.303)"),Tt(o,"transform","translate(-14.185 -27.832)"),Tt(i,"class","ToggleConfirmPasswordVisibility"),Tt(i,"part","ToggleConfirmPasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.843"),Tt(i,"height","10.5"),Tt(i,"viewBox","0 0 18.843 10.5")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),u||(d=xt(i,"click",r[65]),u=!0)},p:yt,d(e){e&&_t(i),u=!1,d()}}}function Hi(r){let i,n,s,a,o,l,c,u,d,h,f,p,m,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),a=St(".a{fill:var(--emfe-w-color-contrast, #07072A);}"),o=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),f=t("path"),p=t("path"),m=t("rect"),Tt(l,"class","a"),Tt(l,"cx","0.05"),Tt(l,"cy","0.05"),Tt(l,"r","0.05"),Tt(l,"transform","translate(121.017 31.148)"),Tt(u,"class","a"),Tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Tt(u,"transform","translate(-142.164 -39.123)"),Tt(d,"class","a"),Tt(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Tt(d,"transform","translate(-136.413 -42.068)"),Tt(c,"transform","translate(117.499 27.37)"),Tt(f,"class","a"),Tt(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Tt(f,"transform","translate(-110.856 -33.157)"),Tt(p,"class","a"),Tt(p,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Tt(p,"transform","translate(-130.743 -29.617)"),Tt(h,"transform","translate(110.856 24.899)"),Tt(m,"class","a"),Tt(m,"width","0.972"),Tt(m,"height","15.861"),Tt(m,"rx","0.486"),Tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Tt(o,"transform","translate(-110.856 -23.242)"),Tt(i,"class","ToggleConfirmPasswordVisibility"),Tt(i,"part","ToggleConfirmPasswordVisibility"),Tt(i,"xmlns","http://www.w3.org/2000/svg"),Tt(i,"width","18.844"),Tt(i,"height","12.887"),Tt(i,"viewBox","0 0 18.844 12.887")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(i,o),bt(o,l),bt(o,c),bt(c,u),bt(c,d),bt(o,h),bt(h,f),bt(h,p),bt(o,m),g||(y=xt(i,"click",r[64]),g=!0)},p:yt,d(e){e&&_t(i),g=!1,y()}}}function Ii(e){let r,i,n=e[28]("registerConfirmPasswordError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerConfirmPasswordError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Li(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"")&&kt(i,n)},d(e){e&&_t(r)}}}function $i(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ui(r){let i,n,s,I,L,a,$,U,o,Y,G,l,c,u,z,j,d,V,h,W,q,Z,Q,f,p,X,K,J,ee,m,te,re,ie,ne,se,g,y,ae,oe,le,ce,v,ue,de,he,fe,pe,me,ge,ye,b,w,ve,be,we,_e,_,Ce,Se,Ee,xe,Te,C,S,ke,Me,De,Pe,E,Oe,Be,Ae,Ne,x,T,Re,Fe,He,Ie,k,Le,$e,Ue,Ye,M,Ge,ze,je,Ve,We=r[28]("registerTitle")+"",qe=r[28]("registerSubtitle")+"",Ze=r[28]("registerSubtitleLogin")+"",Qe=r[28]("registerEmail")+"",Xe=r[28]("registerUsername")+"",Ke=r[28]("registerPassword")+"",Je=r[28]("registerConfirmPassword")+"",et=("true"==r[2]?r[28]("registerSecurityQuestion2"):r[28]("registerSecurityQuestion"))+"",tt=("true"==r[2]?r[28]("registerSecurityAnswer2"):r[28]("registerSecurityAnswer"))+"",rt=r[28]("registerNext")+"",D=r[4]&&Pi(r),P=r[5]&&Oi(r);function it(e){return e[23]?Ai:Bi}let nt=it(r),O=nt(r),B=r[6]&&"true"!==r[0]&&Ni(r),A=r[6]&&"true"===r[0]&&Ri(r);function st(e){return e[24]?Hi:Fi}let at=st(r),N=at(r),R=r[7]&&Ii(r),F=r[8]&&Li(r),H=r[9]&&$i(r);return{c(){i=Ct("div"),n=Ct("div"),s=Ct("h2"),I=St(We),L=Et(),a=Ct("p"),$=St(qe),U=Et(),o=Ct("span"),Y=St(Ze),G=Et(),l=Ct("form"),c=Ct("div"),u=Ct("label"),z=St(Qe),j=St(":"),(d=Ct("span")).textContent="*",V=Et(),h=Ct("input"),W=Et(),D&&D.c(),Q=Et(),f=Ct("div"),p=Ct("label"),X=St(Xe),K=St(":"),(J=Ct("span")).textContent="*",ee=Et(),m=Ct("input"),re=Et(),P&&P.c(),se=Et(),g=Ct("div"),y=Ct("label"),ae=St(Ke),oe=St(":"),(le=Ct("span")).textContent="*",ce=Et(),v=Ct("input"),de=Et(),O.c(),he=Et(),B&&B.c(),fe=Et(),A&&A.c(),ye=Et(),b=Ct("div"),w=Ct("label"),ve=St(Je),be=St(":"),(we=Ct("span")).textContent="*",_e=Et(),_=Ct("input"),Ce=Et(),N.c(),Se=Et(),R&&R.c(),Te=Et(),C=Ct("div"),S=Ct("label"),ke=St(et),Me=St(":"),(De=Ct("span")).textContent="*",Pe=Et(),E=Ct("input"),Oe=Et(),F&&F.c(),Ne=Et(),x=Ct("div"),T=Ct("label"),Re=St(tt),Fe=St(":"),(He=Ct("span")).textContent="*",Ie=Et(),k=Ct("input"),Le=Et(),H&&H.c(),Ye=Et(),M=Ct("button"),Ge=St(rt),this.c=yt,Tt(s,"class","RegisterFormTitle"),Tt(s,"part","RegisterFormTitle"),Tt(o,"class","FormLoginCallToAction"),Tt(a,"class","RegisterFormSubtitle"),Tt(a,"part","RegisterFormSubtitle"),Tt(n,"class","RegisterFormHeader"),Tt(n,"part","RegisterFormHeader"),Tt(d,"class","FormRequired"),Tt(d,"part","FormRequired"),Tt(u,"for","Email"),Tt(h,"type","text"),Tt(h,"id","Email"),Tt(c,"class",q="EmailContainer "+(r[4]&&!r[10]?"InvalidField":"")+(0<=r[16]?.indexOf("email")?"Hidden":"")),Tt(c,"part",Z="EmailContainer "+(r[4]?"InvalidField":"")),Tt(J,"class","FormRequired"),Tt(J,"part","FormRequired"),Tt(p,"for","UserName"),Tt(m,"type","text"),Tt(m,"id","UserName"),Tt(m,"autocomplete",te=r[1]?"username":"off"),Tt(f,"class",ie="UserContainer "+(r[5]&&!r[11]?"InvalidField":"")+(0<=r[16]?.indexOf("username")?"Hidden":"")),Tt(f,"part",ne="UserContainer "+(r[5]?"InvalidField":"")),Tt(le,"class","FormRequired"),Tt(le,"part","FormRequired"),Tt(y,"for","Password"),Tt(v,"name","new-password"),Tt(v,"type","password"),Tt(v,"id","new-password"),Tt(v,"autocomplete",ue=r[1]?"new-password":"off"),Tt(v,"aria-describedby","password-constraints"),Tt(g,"class",pe="PasswordContainer "+(r[6]&&!r[12]?"InvalidField":"")+(0<=r[16]?.indexOf("password")?"Hidden":"")),Tt(g,"part",me="PasswordContainer "+(r[6]?"InvalidField":"")),g.hidden=ge=0<=r[16]?.indexOf("password"),Tt(we,"class","FormRequired"),Tt(we,"part","FormRequired"),Tt(w,"for","ConfirmPassword"),Tt(_,"type","password"),Tt(_,"id","ConfirmPassword"),Tt(b,"class",Ee="ConfirmPasswordContainer "+(r[7]&&!r[13]?"InvalidField":"")+(0<=r[16]?.indexOf("confirmPassword")?"Hidden":"")),Tt(b,"part",xe="ConfirmPasswordContainer "+(r[7]?"InvalidField":"")),Tt(De,"class","FormRequired"),Tt(De,"part","FormRequired"),Tt(S,"for","SecurityQuestion"),Tt(E,"type","text"),Tt(E,"id","SecurityQuestion"),Tt(C,"class",Be="SecurityQuestionContainer "+(r[8]&&!r[14]?"InvalidField":"")+(0<=r[16]?.indexOf("securityQuestion")?"Hidden":"")),Tt(C,"part",Ae="SecurityQuestionContainer "+(r[8]?"InvalidField":"")),Tt(He,"class","FormRequired"),Tt(He,"part","FormRequired"),Tt(T,"for","SecurityAnswer"),Tt(k,"type","text"),Tt(k,"id","SecurityAnswer"),Tt(x,"class",$e="SecurityAnswerContainer "+(r[9]&&!r[15]?"InvalidField":"")+(0<=r[16]?.indexOf("securityAnswer")?"Hidden":"")),Tt(x,"part",Ue="SecurityAnswerContainer "+(r[9]?"InvalidField":"")),Tt(M,"class","RegisterStepNext"),Tt(M,"part","RegisterStepNext"),M.disabled=ze=!r[27],Tt(l,"class","RegisterFormContent"),Tt(l,"part","RegisterFormContent")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,I),bt(n,L),bt(n,a),bt(a,$),bt(a,U),bt(a,o),bt(o,Y),bt(i,G),bt(i,l),bt(l,c),bt(c,u),bt(u,z),bt(u,j),bt(u,d),bt(c,V),bt(c,h),Mt(h,r[18]),bt(c,W),D&&D.m(c,null),bt(l,Q),bt(l,f),bt(f,p),bt(p,X),bt(p,K),bt(p,J),bt(f,ee),bt(f,m),Mt(m,r[17]),bt(f,re),P&&P.m(f,null),bt(l,se),bt(l,g),bt(g,y),bt(y,ae),bt(y,oe),bt(y,le),bt(g,ce),bt(g,v),Mt(v,r[19]),r[57](v),bt(g,de),O.m(g,null),bt(g,he),B&&B.m(g,null),bt(g,fe),A&&A.m(g,null),bt(l,ye),bt(l,b),bt(b,w),bt(w,ve),bt(w,be),bt(w,we),bt(b,_e),bt(b,_),Mt(_,r[20]),r[63](_),bt(b,Ce),N.m(b,null),bt(b,Se),R&&R.m(b,null),bt(l,Te),bt(l,C),bt(C,S),bt(S,ke),bt(S,Me),bt(S,De),bt(C,Pe),bt(C,E),Mt(E,r[21]),bt(C,Oe),F&&F.m(C,null),bt(l,Ne),bt(l,x),bt(x,T),bt(T,Re),bt(T,Fe),bt(T,He),bt(x,Ie),bt(x,k),Mt(k,r[22]),bt(x,Le),H&&H.m(x,null),bt(l,Ye),bt(l,M),bt(M,Ge),r[73](i),je||(Ve=[xt(o,"click",r[47]),xt(h,"input",r[48]),xt(h,"keyup",r[30]),xt(h,"focus",r[49]),xt(h,"blur",r[50]),xt(m,"input",r[51]),xt(m,"keyup",r[31]),xt(m,"focus",r[52]),xt(m,"blur",r[53]),xt(v,"input",r[54]),xt(v,"keyup",r[36]),xt(v,"focus",r[55]),xt(v,"blur",r[56]),xt(_,"input",r[60]),xt(_,"keyup",r[37]),xt(_,"focus",r[61]),xt(_,"blur",r[62]),xt(E,"input",r[66]),xt(E,"keyup",r[38]),xt(E,"focus",r[67]),xt(E,"blur",r[68]),xt(k,"input",r[69]),xt(k,"keyup",r[39]),xt(k,"focus",r[70]),xt(k,"blur",r[71]),xt(M,"click",r[72])],je=!0)},p(e,t){268435456&t[0]&&We!==(We=e[28]("registerTitle")+"")&&kt(I,We),268435456&t[0]&&qe!==(qe=e[28]("registerSubtitle")+"")&&kt($,qe),268435456&t[0]&&Ze!==(Ze=e[28]("registerSubtitleLogin")+"")&&kt(Y,Ze),268435456&t[0]&&Qe!==(Qe=e[28]("registerEmail")+"")&&kt(z,Qe),262144&t[0]&&h.value!==e[18]&&Mt(h,e[18]),e[4]?D?D.p(e,t):((D=Pi(e)).c(),D.m(c,null)):D&&(D.d(1),D=null),66576&t[0]&&q!==(q="EmailContainer "+(e[4]&&!e[10]?"InvalidField":"")+(0<=e[16]?.indexOf("email")?"Hidden":""))&&Tt(c,"class",q),16&t[0]&&Z!==(Z="EmailContainer "+(e[4]?"InvalidField":""))&&Tt(c,"part",Z),268435456&t[0]&&Xe!==(Xe=e[28]("registerUsername")+"")&&kt(X,Xe),2&t[0]&&te!==(te=e[1]?"username":"off")&&Tt(m,"autocomplete",te),131072&t[0]&&m.value!==e[17]&&Mt(m,e[17]),e[5]?P?P.p(e,t):((P=Oi(e)).c(),P.m(f,null)):P&&(P.d(1),P=null),67616&t[0]&&ie!==(ie="UserContainer "+(e[5]&&!e[11]?"InvalidField":"")+(0<=e[16]?.indexOf("username")?"Hidden":""))&&Tt(f,"class",ie),32&t[0]&&ne!==(ne="UserContainer "+(e[5]?"InvalidField":""))&&Tt(f,"part",ne),268435456&t[0]&&Ke!==(Ke=e[28]("registerPassword")+"")&&kt(ae,Ke),2&t[0]&&ue!==(ue=e[1]?"new-password":"off")&&Tt(v,"autocomplete",ue),524288&t[0]&&v.value!==e[19]&&Mt(v,e[19]),nt===(nt=it(e))&&O?O.p(e,t):(O.d(1),(O=nt(e))&&(O.c(),O.m(g,he))),e[6]&&"true"!==e[0]?B?B.p(e,t):((B=Ni(e)).c(),B.m(g,fe)):B&&(B.d(1),B=null),e[6]&&"true"===e[0]?A?A.p(e,t):((A=Ri(e)).c(),A.m(g,null)):A&&(A.d(1),A=null),69696&t[0]&&pe!==(pe="PasswordContainer "+(e[6]&&!e[12]?"InvalidField":"")+(0<=e[16]?.indexOf("password")?"Hidden":""))&&Tt(g,"class",pe),64&t[0]&&me!==(me="PasswordContainer "+(e[6]?"InvalidField":""))&&Tt(g,"part",me),65536&t[0]&&ge!==(ge=0<=e[16]?.indexOf("password"))&&(g.hidden=ge),268435456&t[0]&&Je!==(Je=e[28]("registerConfirmPassword")+"")&&kt(ve,Je),1048576&t[0]&&_.value!==e[20]&&Mt(_,e[20]),at===(at=st(e))&&N?N.p(e,t):(N.d(1),(N=at(e))&&(N.c(),N.m(b,Se))),e[7]?R?R.p(e,t):((R=Ii(e)).c(),R.m(b,null)):R&&(R.d(1),R=null),73856&t[0]&&Ee!==(Ee="ConfirmPasswordContainer "+(e[7]&&!e[13]?"InvalidField":"")+(0<=e[16]?.indexOf("confirmPassword")?"Hidden":""))&&Tt(b,"class",Ee),128&t[0]&&xe!==(xe="ConfirmPasswordContainer "+(e[7]?"InvalidField":""))&&Tt(b,"part",xe),268435460&t[0]&&et!==(et=("true"==e[2]?e[28]("registerSecurityQuestion2"):e[28]("registerSecurityQuestion"))+"")&&kt(ke,et),2097152&t[0]&&E.value!==e[21]&&Mt(E,e[21]),e[8]?F?F.p(e,t):((F=Li(e)).c(),F.m(C,null)):F&&(F.d(1),F=null),82176&t[0]&&Be!==(Be="SecurityQuestionContainer "+(e[8]&&!e[14]?"InvalidField":"")+(0<=e[16]?.indexOf("securityQuestion")?"Hidden":""))&&Tt(C,"class",Be),256&t[0]&&Ae!==(Ae="SecurityQuestionContainer "+(e[8]?"InvalidField":""))&&Tt(C,"part",Ae),268435460&t[0]&&tt!==(tt=("true"==e[2]?e[28]("registerSecurityAnswer2"):e[28]("registerSecurityAnswer"))+"")&&kt(Re,tt),4194304&t[0]&&k.value!==e[22]&&Mt(k,e[22]),e[9]?H?H.p(e,t):((H=$i(e)).c(),H.m(x,null)):H&&(H.d(1),H=null),98816&t[0]&&$e!==($e="SecurityAnswerContainer "+(e[9]&&!e[15]?"InvalidField":"")+(0<=e[16]?.indexOf("securityAnswer")?"Hidden":""))&&Tt(x,"class",$e),512&t[0]&&Ue!==(Ue="SecurityAnswerContainer "+(e[9]?"InvalidField":""))&&Tt(x,"part",Ue),268435456&t[0]&&rt!==(rt=e[28]("registerNext")+"")&&kt(Ge,rt),134217728&t[0]&&ze!==(ze=!e[27])&&(M.disabled=ze)},i:yt,o:yt,d(e){e&&_t(i),D&&D.d(),P&&P.d(),r[57](null),O.d(),B&&B.d(),A&&A.d(),r[63](null),N.d(),R&&R.d(),F&&F.d(),H&&H.d(),r[73](null),je=!1,vt(Ve)}}}function Yi(t,e,r){let F;se(t,wi,e=>r(28,F=e));let i,n,s,a,{lang:o=""}=e,{disabledfields:l=""}=e,{defaultoptions:H=""}=e,{simplepasswordvalidation:c="false"}=e,{clientstyling:u=""}=e,{clientstylingurl:d=""}=e,{translationurl:h=""}=e,{savecredentials:I=""}=e,{tempopcustomization:f="false"}=e,p=!1,m=!1,g=!1,y=!1,v=!1,b=!1,w=!1,_=!1,C=!1,S=!1,E=!1,x=!1,T="",k="",M="",D="",P="",O="",B=!1,A=!1,L=!1,N={user:/^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,email:/^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys(Di).forEach(e=>{Mi(e,Di[e])});const R=()=>{r(27,L=!(p||m||g||y||v||b)),(T.length<=0||k.length<=0||M.length<=0||D.length<=0||P.length<=0||O.length<=0)&&r(27,L=!1)},$=()=>{window.postMessage({type:"ToLogin"},window.location.href)},U=()=>{r(23,B=!0),j()},Y=()=>{r(24,A=!0),V()},G=()=>{r(23,B=!1),j()},z=()=>{r(24,A=!1),V()},j=()=>{r(25,n.type=B?"text":"password",n)},V=()=>{r(26,s.type=A?"text":"password",s)},W=e=>{e.preventDefault();e={userEmail:k,userValue:T,userPassword:M,confirmUserPassword:D,securityQuestion:P,securityAnswer:O};window.postMessage({type:"RegisterStepOne",registerStepOneData:e},window.location.href)},q=e=>{e.data&&"StepOneDataBackup"===e.data.type&&(r(18,k=e.data.userData.email),r(17,T=e.data.userData.username),r(19,M=e.data.userData.password),r(20,D=e.data.userData.password),r(21,P=e.data.userData.securityQuestion),r(22,O=e.data.userData.securityAnswer),R())};return ae(()=>(window.addEventListener("message",q,!1),()=>{window.removeEventListener("message",q)})),t.$$set=e=>{"lang"in e&&r(41,o=e.lang),"disabledfields"in e&&r(42,l=e.disabledfields),"defaultoptions"in e&&r(43,H=e.defaultoptions),"simplepasswordvalidation"in e&&r(0,c=e.simplepasswordvalidation),"clientstyling"in e&&r(44,u=e.clientstyling),"clientstylingurl"in e&&r(45,d=e.clientstylingurl),"translationurl"in e&&r(46,h=e.translationurl),"savecredentials"in e&&r(1,I=e.savecredentials),"tempopcustomization"in e&&r(2,f=e.tempopcustomization)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&o&&(e=o,ne.set(e)),2048&t.$$.dirty[1]&&l&&(r(16,i=l.split(",")),0<=i.indexOf("email")&&(r(18,k="dummy@dummy.com"),r(4,p=!1)),0<=i.indexOf("username")&&(r(17,T="dummy username"),r(5,m=!1)),0<=i.indexOf("password")&&(r(19,M="dummy password"),r(6,g=!1)),0<=i.indexOf("confirmPassword")&&(r(20,D="dummy password"),r(7,y=!1)),0<=i.indexOf("securityQuestion")&&(r(21,P="dummy question"),r(8,v=!1)),0<=i.indexOf("securityAnswer"))&&(r(22,O="dummy answer"),r(9,b=!1)),1&t.$$.dirty[0]&&c&&"true"==c&&(N.password=/^(?!.* ).{8,20}$/),8&t.$$.dirty[0]|8192&t.$$.dirty[1]&&u&&a&&((e=document.createElement("style")).innerHTML=u,a.appendChild(e)),8&t.$$.dirty[0]|16384&t.$$.dirty[1]&&d&&a){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e;32768&t.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mi(e,t[e])})}).catch(e=>{console.log(e)})},[c,I,f,a,p,m,g,y,v,b,w,_,C,S,E,x,i,T,k,M,D,P,O,B,A,n,s,L,F,$,()=>{var e;r(4,(e=k,p=!(N.email.test(e)&&e.length<=100))),R()},()=>{var e;r(5,(e=T,m=!(N.user.test(e)&&e.length<=20))),R()},U,Y,G,z,()=>{var e;r(6,(e=M,g=!N.password.test(e))),M!==D&&0<D.length?r(7,y=!0):r(7,y=!1),R()},()=>{r(7,y=!(M===D)),R()},()=>{r(8,v=!(()=>{if(P)switch(f){case"true":if(N.document.test(P)&&P.length<=50)return!0;break;case"false":if(P&&P.length<=120)return!0}return!1})()),R()},()=>{r(9,b=!(()=>{if(O)switch(f){case"true":if(N.document.test(O)&&O.length<=50)return!0;break;case"false":if(O&&O.length<=120)return!0}return!1})()),R()},W,o,l,H,u,d,h,()=>$(),function(){k=this.value,r(18,k)},()=>r(10,w=!0),()=>r(10,w=!1),function(){T=this.value,r(17,T)},()=>r(11,_=!0),()=>r(11,_=!1),function(){M=this.value,r(19,M)},()=>r(12,C=!0),()=>r(12,C=!1),function(e){ie[e?"unshift":"push"](()=>{n=e,r(25,n)})},()=>G(),()=>U(),function(){D=this.value,r(20,D)},()=>r(13,S=!0),()=>r(13,S=!1),function(e){ie[e?"unshift":"push"](()=>{s=e,r(26,s)})},()=>z(),()=>Y(),function(){P=this.value,r(21,P)},()=>r(14,E=!0),()=>r(14,E=!1),function(){O=this.value,r(22,O)},()=>r(15,x=!0),()=>r(15,x=!1),e=>W(e),function(e){ie[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}customElements.get("general-player-register-form-step1")||customElements.define("general-player-register-form-step1",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emfe-w-color-primary, #D0046C);font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Yi,Ui,S,{lang:41,disabledfields:42,defaultoptions:43,simplepasswordvalidation:0,clientstyling:44,clientstylingurl:45,translationurl:46,savecredentials:1,tempopcustomization:2},null,[-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["lang","disabledfields","defaultoptions","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials","tempopcustomization"]}get lang(){return this.$$.ctx[41]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[42]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[43]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get clientstyling(){return this.$$.ctx[44]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[45]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[46]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[1]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get tempopcustomization(){return this.$$.ctx[2]}set tempopcustomization(e){this.$$set({tempopcustomization:e}),h()}});zi=Gi={path:void 0,exports:{},require:function(e,t){return Pr(null==t&&Gi.path)}},Gi.exports,zi.exports=function(){var F;function p(){return F.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function H(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function I(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function o(e){return void 0===e}function L(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function $(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function U(e,t){for(var r=[],i=e.length,n=0;n<i;++n)r.push(t(e[n],n));return r}function Y(e,t){for(var r in t)m(t,r)&&(e[r]=t[r]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,r,i){return Ot(e,t,r,i,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function G(e){if(null==e._isValid){var t=g(e),r=j.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function z(e){var t=c(NaN);return null!=e?Y(g(t),e):g(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,i=0;i<r;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},V=p.momentProperties=[],W=!1;function q(e,t){var r,i,n,s=V.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=g(t)),o(t._locale)||(e._locale=t._locale),0<s)for(r=0;r<s;r++)o(n=t[i=V[r]])||(e[i]=n);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===W&&(W=!0,p.updateOffset(this),W=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function Q(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(s,a){var o=!0;return Y(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,s),o){for(var e,t,r=[],i=arguments.length,n=0;n<i;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];r.push(e)}Q(s+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var X={};function K(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),X[e]||(Q(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function J(e,t){var r,i=Y({},e);for(r in t)m(t,r)&&(H(e[r])&&H(t[r])?(i[r]={},Y(i[r],e[r]),Y(i[r],t[r])):null!=t[r]?i[r]=t[r]:delete i[r]);for(r in e)m(e,r)&&!m(t,r)&&H(e[r])&&(i[r]=Y({},i[r]));return i}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)m(e,t)&&r.push(t);return r};function s(e,t,r){var i=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var re=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},se={};function i(e,t,r,i){var n="string"==typeof i?function(){return this[i]()}:i;e&&(se[e]=n),t&&(se[t[0]]=function(){return s(n.apply(this,arguments),t[1],t[2])}),r&&(se[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=oe(t,e.localeData()),ne[t]=ne[t]||function(i){for(var e,n=i.match(re),t=0,s=n.length;t<s;t++)se[n[t]]?n[t]=se[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<s;r++)t+=u(n[r])?n[r].call(e,i):n[r];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function oe(e,t){var r=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=r&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,r,i={};for(r in e)m(e,r)&&(t=d(r))&&(i[t]=e[r]);return i}var ue={};function r(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,r){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,r),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(r=f(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ne(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var n=/\d/,y=/\d\d/,me=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,Ee=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,r,i){Me[e]=u(r)?r:function(e,t){return e&&i?i:r}}function ke(e,t){return m(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,i,n){return t||r||i||n})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},De={};function C(e,r){var t,i,n=r;for("string"==typeof e&&(e=[e]),L(r)&&(n=function(e,t){t[r]=f(e)}),i=e.length,t=0;t<i;t++)De[e[t]]=n}function Pe(e,n){C(e,function(e,t,r,i){r._w=r._w||{},n(e,r._w,r,i)})}var S,E=0,x=1,T=2,k=3,M=4,D=5,Oe=6,Be=7,Ae=8;function Ne(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,e+=(t-r)/12,1==r?de(e)?29:28:31-r%7%2)}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[x]=f(e)-1}),C(["MMM","MMMM"],function(e,t,r,i){i=r._locale.monthsParse(e,i,r._strict);null!=i?t[x]=i:g(r).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),He=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=b,Le=b;function $e(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!L(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function Ue(e){return null!=e?($e(this,e),p.updateOffset(this,!0),this):fe(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,r=[],i=[],n=[],s=0;s<12;s++)t=c([2e3,s]),r.push(this.monthsShort(t,"")),i.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(r.sort(e),i.sort(e),n.sort(e),s=0;s<12;s++)r[s]=_(r[s]),i[s]=_(i[s]);for(s=0;s<24;s++)n[s]=_(n[s]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ge(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?s(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),w("Y",Ee),w("YY",v,y),w("YYYY",_e,ge),w("YYYYY",Ce,ye),w("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],E),C("YYYY",function(e,t){t[E]=2===e.length?p.parseTwoDigitYear(e):f(e)}),C("YY",function(e,t){t[E]=p.parseTwoDigitYear(e)}),C("Y",function(e,t){t[E]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var ze=he("FullYear",!0);function je(e,t,r,i,n,s,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,r,i,n,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,i,n,s,a),o}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,r){r=7+t-r;return-(7+Ve(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,r,i,n){var s,t=1+7*(t-1)+(7+r-i)%7+We(e,i,n),r=t<=0?Ge(s=e-1)+t:t>Ge(e)?(s=e+1,t-Ge(e)):(s=e,t);return{year:s,dayOfYear:r}}function Ze(e,t,r){var i,n,s=We(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?i=s+P(n=e.year()-1,t,r):s>P(e.year(),t,r)?(i=s-P(e.year(),t,r),n=e.year()+1):(n=e.year(),i=s),{week:i,year:n}}function P(e,t,r){var i=We(e,t,r),t=We(e+1,t,r);return(Ge(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Pe(["w","ww","W","WW"],function(e,t,r,i){t[i.substr(0,1)]=f(e)});function Qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Pe(["dd","ddd","dddd"],function(e,t,r,i){i=r._locale.weekdaysParse(e,i,r._strict);null!=i?t.d=i:g(r).invalidWeekday=e}),Pe(["d","e","E"],function(e,t,r,i){t[i]=f(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,rt=b;function it(){function e(e,t){return t.length-e.length}for(var t,r,i,n=[],s=[],a=[],o=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),r=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),n.push(t),s.push(r),a.push(i),o.push(t),o.push(r),o.push(i);n.sort(e),s.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function st(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,nt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)}),i("hmmss",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)+s(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+s(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+s(this.minutes(),2)+s(this.seconds(),2)}),st("a",!0),st("A",!1),t("hour","h"),r("hour",13),w("a",at),w("A",at),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),C(["H","HH"],k),C(["k","kk"],function(e,t,r){e=f(e);t[k]=24===e?0:e}),C(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),C(["h","hh"],function(e,t,r){t[k]=f(e),g(r).bigHour=!0}),C("hmm",function(e,t,r){var i=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i)),g(r).bigHour=!0}),C("hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i,2)),t[D]=f(e.substr(n)),g(r).bigHour=!0}),C("Hmm",function(e,t,r){var i=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i))}),C("Hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i,2)),t[D]=f(e.substr(n))});b=he("Hours",!0);var ot,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:Fe,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Je,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},O={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,r,i,n,s=0;s<e.length;){for(t=(n=ut(e[s]).split("-")).length,r=(r=ut(e[s+1]))?r.split("-"):null;0<t;){if(i=ht(n.slice(0,t).join("-")))return i;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}(n,r)>=t-1)break;t--}s++}return ot}function ht(t){var e;if(void 0===O[t]&&zi&&zi.exports&&null!=t.match("^[^/\\\\]*$"))try{e=ot._abbr,Pr(),ft(e)}catch(e){O[t]=null}return O[t]}function ft(e,t){return e&&((t=o(t)?B(e):pt(e,t))?ot=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function pt(e,t){if(null===t)return delete O[e],null;var r,i=lt;if(t.abbr=e,null!=O[e])K("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."),i=O[e]._config;else if(null!=t.parentLocale)if(null!=O[t.parentLocale])i=O[t.parentLocale]._config;else{if(null==(r=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=r._config}return O[e]=new ee(J(i,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),ft(e),O[e]}function B(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ot;if(!a(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function mt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[x]<0||11<t[x]?x:t[T]<1||t[T]>Ne(t[E],t[x])?T:t[k]<0||24<t[k]||24===t[k]&&(0!==t[M]||0!==t[D]||0!==t[Oe])?k:t[M]<0||59<t[M]?M:t[D]<0||59<t[D]?D:t[Oe]<0||999<t[Oe]?Oe:-1,g(e)._overflowDayOfYear&&(t<E||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Be),g(e)._overflowWeekday&&-1===t&&(t=Ae),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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]],wt=[["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/]],_t=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,r,i,n,s,a,o=e._i,l=gt.exec(o)||yt.exec(o),o=bt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,r=o;t<r;t++)if(bt[t][1].exec(l[1])){n=bt[t][0],i=!1!==bt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,r=c;t<r;t++)if(wt[t][1].exec(l[3])){s=(l[2]||" ")+wt[t][0];break}if(null==s)return e._isValid=!1}if(!i&&null!=s)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=n+(s||"")+(a||""),Dt(e)}else e._isValid=!1}function xt(e,t,r,i,n,s){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Fe.indexOf(t),parseInt(r,10),parseInt(i,10),parseInt(n,10)];return s&&e.push(parseInt(s,10)),e}function Tt(e){var t,r,i,n,s=Ct.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=xt(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],i=t,n=e,r&&Ke.indexOf(r)!==new Date(i[0],i[1],i[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(r=s[8],i=s[9],n=s[10],r?St[r]:i?0:((r=parseInt(n,10))-(i=r%100))/100*60+i),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,r){return null!=e?e:null!=t?t:r}function Mt(e){var t,r,i,n,s,a,o,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(p.now()),r=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[x]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,o=4,i=kt(d.GG,u._a[E],Ze(A(),1,4).year),n=kt(d.W,1),((s=kt(d.E,1))<1||7<s)&&(l=!0)):(a=u._locale._week.dow,o=u._locale._week.doy,c=Ze(A(),a,o),i=kt(d.gg,u._a[E],c.year),n=kt(d.w,c.week),null!=d.d?((s=d.d)<0||6<s)&&(l=!0):null!=d.e?(s=d.e+a,(d.e<0||6<d.e)&&(l=!0)):s=a),n<1||n>P(i,a,o)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(i,n,s,a,o),u._a[E]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[E],r[E]),(e._dayOfYear>Ge(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[x]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=r[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[k]&&0===e._a[M]&&0===e._a[D]&&0===e._a[Oe]&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?Ve:je).apply(null,h),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[k]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Dt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],g(e).empty=!0;for(var t,r,i,n=""+e._i,s=n.length,a=0,o=(r=oe(e._f,e._locale).match(re)||[]).length,l=0;l<o;l++)i=r[l],(t=(n.match(ke(i,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),a+=t.length),se[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,f=e,null!=(h=t)&&m(De,d)&&De[d](h,f._a,f,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=s-a,0<n.length&&g(e).unusedInput.push(n),e._a[k]<=12&&!0===g(e).bigHour&&0<e._a[k]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[k]=(s=e._locale,c=e._a[k],null==(u=e._meridiem)?c:null!=s.meridiemHour?s.meridiemHour(c,u):null!=s.isPM?((s=s.isPM(u))&&c<12&&(c+=12),c=s||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[E]=e._locale.erasConvertYear(u,e._a[E])),Mt(e),mt(e)}else Tt(e);else Et(e);var c,u,d,h,f}function Pt(e){var t,r=e._i,i=e._f;{var n,s;return(e._locale=e._locale||B(e._l),null===r||void 0===i&&""===r)?z({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new Z(mt(r)):($(r)?e._d=r:a(i)?function(e){var t,r,i,n,s,a,o=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)s=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],Dt(t),G(t)&&(a=!0),s=(s+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=s,o?s<i&&(i=s,r=t):(null==i||s<i||a)&&(i=s,r=t,a)&&(o=!0);Y(e,r||t)}(e):i?Dt(e):o(i=(r=e)._i)?r._d=new Date(p.now()):$(i)?r._d=new Date(i.valueOf()):"string"==typeof i?(n=r,null===(s=_t.exec(n._i))?(Et(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:p.createFromInputFallback(n))):n._d=new Date(+s[1])):a(i)?(r._a=U(i.slice(0),function(e){return parseInt(e,10)}),Mt(r)):H(i)?(n=r)._d||(t=void 0===(s=ce(n._i)).day?s.date:s.day,n._a=U([s.year,s.month,t,s.hour,s.minute,s.second,s.millisecond],function(e){return e&&parseInt(e,10)}),Mt(n)):L(i)?r._d=new Date(i):p.createFromInputFallback(r),G(e)||(e._d=null),e))}}function Ot(e,t,r,i,n){var s={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==r&&!1!==r||(i=r,r=void 0),(H(e)&&I(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=n,s._l=r,s._i=e,s._f=t,s._strict=i,(n=new Z(mt(Pt(n=s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function A(e,t,r,i){return Ot(e,t,r,i,!1)}p.createFromInputFallback=e("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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Bt(e,t){var r,i;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return A();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](r)||(r=t[i]);return r}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var e=ce(e),t=e.year||0,r=e.quarter||0,i=e.month||0,n=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,o=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,r,i=!1,n=At.length;for(t in e)if(m(e,t)&&(-1===S.call(At,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<n;++r)if(e[At[r]]){if(i)return!1;parseFloat(e[At[r]])!==f(e[At[r]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*o+1e3*a*60*60,this._days=+s+7*n,this._months=+i+3*r+12*t,this._data={},this._locale=B(),this._bubble()}function Rt(e){return e instanceof Nt}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,r){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+s(~~(e/60),2)+r+s(~~e%60,2)})}Ht("Z",":"),Ht("ZZ",""),w("Z",Te),w("ZZ",Te),C(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Lt(Te,e)});var It=/([\+\-]|\d\d)/gi;function Lt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(It)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||$(e)?e:A(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),p.updateOffset(t,!1),t):A(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Gt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function N(e,t){var r,i,n=e;return Rt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:L(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Gt.exec(e))?(r="-"===t[1]?-1:1,n={y:0,d:f(t[T])*r,h:f(t[k])*r,m:f(t[M])*r,s:f(t[D])*r,ms:f(Ft(1e3*t[Oe]))*r}):(t=zt.exec(e))?(r="-"===t[1]?-1:1,n={y:jt(t[2],r),M:jt(t[3],r),w:jt(t[4],r),d:jt(t[5],r),h:jt(t[6],r),m:jt(t[7],r),s:jt(t[8],r)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=A(n.from),r=A(n.to),t=t.isValid()&&r.isValid()?(r=$t(r,t),t.isBefore(r)?i=Vt(t,r):((i=Vt(r,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),i=new Nt(n),Rt(e)&&m(e,"_locale")&&(i._locale=e._locale),Rt(e)&&m(e,"_isValid")&&(i._isValid=e._isValid),i}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Wt(i,n){return function(e,t){var r;return null===t||isNaN(+t)||(K(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),qt(this,N(e,t),i),this}}function qt(e,t,r,i){var n=t._milliseconds,s=Ft(t._days),t=Ft(t._months);e.isValid()&&(i=null==i||i,t&&$e(e,fe(e,"Month")+t*r),s&&pe(e,"Date",fe(e,"Date")+s*r),n&&e._d.setTime(e._d.valueOf()+n*r),i)&&p.updateOffset(e,s||t)}N.fn=Nt.prototype,N.invalid=function(){return N(NaN)};Re=Wt(1,"add"),Xe=Wt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Qt(e){return l(e)||$(e)||Zt(e)||L(e)||(r=a(t=e),i=!1,r&&(i=0===t.filter(function(e){return!L(e)&&Zt(t)}).length),r&&i)||function(e){var t,r,i=H(e)&&!I(e),n=!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=s.length;for(t=0;t<a;t+=1)r=s[t],n=n||m(e,r);return i&&n}(e)||null==e;var t,r,i}function Xt(e,t){var r,i;return e.date()<t.date()?-Xt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(r,"months"))<0?(t-i)/(i-e.clone().add(r-1,"months")):(t-i)/(e.clone().add(1+r,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=B(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Je=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Jt(){return this._locale}var er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function ir(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function nr(e,t){return t.erasAbbrRegex(e)}function sr(){for(var e=[],t=[],r=[],i=[],n=this.eras(),s=0,a=n.length;s<a;++s)t.push(_(n[s].name)),e.push(_(n[s].abbr)),r.push(_(n[s].narrow)),i.push(_(n[s].name)),i.push(_(n[s].abbr)),i.push(_(n[s].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ar(e,t){i(0,[e,e.length],0,t)}function or(e,t,r,i,n){var s;return null==e?Ze(this,i,n).year:(t>(s=P(e,i,n))&&(t=s),function(e,t,r,i,n){e=qe(e,t,r,i,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,i,n))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",nr),w("NN",nr),w("NNN",nr),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,i){i=r._locale.erasParse(e,i,r._strict);i?g(r).era=i:g(r).invalidEra=e}),w("y",Se),w("yy",Se),w("yyy",Se),w("yyyy",Se),w("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),C(["y","yy","yyy","yyyy"],E),C(["yo"],function(e,t,r,i){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[E]=r._locale.eraYearOrdinalParse(e,n):t[E]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),w("G",Ee),w("g",Ee),w("GG",v,y),w("gg",v,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",Ce,ye),w("ggggg",Ce,ye),Pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,i){t[i.substr(0,2)]=f(e)}),Pe(["gg","GG"],function(e,t,r,i){t[i]=p.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),w("Q",n),C("Q",function(e,t){t[x]=3*(f(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),r("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],T),C("Do",function(e,t){t[T]=f(e.match(v)[0])});_e=he("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),w("DDD",we),w("DDDD",me),C(["DDD","DDDD"],function(e,t,r){r._dayOfYear=f(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),w("m",v),w("mm",v,y),C(["m","mm"],M);ge=he("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),r("second",15),w("s",v),w("ss",v,y),C(["s","ss"],D);var lr,Ce=he("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),w("S",we,n),w("SS",we,y),w("SSS",we,me),lr="SSSS";lr.length<=9;lr+="S")w(lr,Se);function cr(e,t){t[Oe]=f(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")C(lr,cr);ye=he("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");n=Z.prototype;function ur(e){return e}n.add=Re,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=H(e)&&!I(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<i.length;n+=1)r=r||m(e,i[n]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||A(),r=$t(e,this).startOf("day"),r=p.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,A(e)))},n.clone=function(){return new Z(this)},n.diff=function(e,t,r){var i,n,s;if(!this.isValid())return NaN;if(!(i=$t(e,this)).isValid())return NaN;switch(n=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":s=Xt(this,i)/12;break;case"month":s=Xt(this,i);break;case"quarter":s=Xt(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-n)/864e5;break;case"week":s=(this-i-n)/6048e5;break;default:s=this-i}return r?s:h(s)},n.endOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}this._d.setTime(t),p.updateOffset(this,!0)}return this},n.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(A(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to(A(),e)},n.get=function(e){return u(this[e=d(e)])?this[e]():this},n.invalidAt=function(){return g(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,r,i){return e=l(e)?e:A(e),t=l(t)?t:A(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===i[1]?this.isBefore(t,r):!this.isAfter(t,r))},n.isSame=function(e,t){var e=l(e)?e:A(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},n.isValid=function(){return G(this)},n.lang=Je,n.locale=Kt,n.localeData=Jt,n.max=be,n.min=ve,n.parsingFlags=function(){return Y({},g(this))},n.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)m(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=ce(e)),i=r.length,n=0;n<i;n++)this[r[n].unit](e[r[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},n.startOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,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-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}this._d.setTime(t),p.updateOffset(this,!0)}return this},n.subtract=Xe,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},n.inspect=function(){var e,t,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},n.eraYear=function(){for(var e,t,r=this.localeData().eras(),i=0,n=r.length;i<n;++i)if(e=r[i].since<=r[i].until?1:-1,t=this.clone().startOf("day").valueOf(),r[i].since<=t&&t<=r[i].until||r[i].until<=t&&t<=r[i].since)return(this.year()-p(r[i].since).year())*e+r[i].offset;return this.year()},n.year=ze,n.isLeapYear=function(){return de(this.year())},n.weekYear=function(e){return or.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return or.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=Ue,n.daysInMonth=function(){return Ne(this.year(),this.month())},n.week=n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},n.isoWeek=n.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return P(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return P(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return P(this.isoWeekYear(),1,4)},n.date=_e,n.day=n.days=function(e){var t,r,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(r=e,i=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=i.weekdaysParse(r))?r:null:parseInt(r,10),this.add(e-t,"d")):t):null!=e?this:NaN},n.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},n.isoWeekday=function(e){var t,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN},n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},n.hour=n.hours=b,n.minute=n.minutes=ge,n.second=n.seconds=Ce,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,r){var i,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:Ut(this);if("string"==typeof e){if(null===(e=Lt(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=Ut(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?qt(this,N(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ut(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Lt(xe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?A(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=Yt,n.isUTC=Yt,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",_e),n.months=e("months accessor is deprecated. Use month instead",Ue),n.years=e("years accessor is deprecated. Use year instead",ze),n.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return o(this._isDSTShifted)&&(q(t={},this),(t=Pt(t))._a?(e=(t._isUTC?c:A)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var i=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),s=0,a=0;a<i;a++)(r&&e[a]!==t[a]||!r&&f(e[a])!==f(t[a]))&&s++;return s+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function dr(e,t,r,i){var n=B(),i=c().set(i,t);return n[r](i,e)}function hr(e,t,r){if(L(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,r,"month");for(var i=[],n=0;n<12;n++)i[n]=dr(e,n,r,"month");return i}function fr(e,t,r,i){t=("boolean"==typeof e||(r=t=e,e=!1),L(t)&&(r=t,t=void 0),t||"");var n,s=B(),a=e?s._week.dow:0,o=[];if(null!=r)return dr(t,(r+a)%7,i,"day");for(n=0;n<7;n++)o[n]=dr(t,(n+a)%7,i,"day");return o}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ur,y.postformat=ur,y.relativeTime=function(e,t,r,i){var n=this._relativeTime[r];return u(n)?n(e,t,r,i):n.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,r;for(r in e)m(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var r,i=this._eras||B("en")._eras,n=0,s=i.length;n<s;++n)switch("string"==typeof i[n].since&&(r=p(i[n].since).startOf("day"),i[n].since=r.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":r=p(i[n].until).startOf("day").valueOf(),i[n].until=r.valueOf()}return i},y.erasParse=function(e,t,r){var i,n,s,a,o,l=this.eras();for(e=e.toUpperCase(),i=0,n=l.length;i<n;++i)if(s=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),o=l[i].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(o===e)return l[i]}else if(0<=[s,a,o].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||sr.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return m(this,"_erasNameRegex")||sr.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||sr.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||He).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[He.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var i,n;if(this._monthsParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(n=S.call(this._shortMonthsParse,e))?n:null:-1!==(n=S.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=S.call(this._shortMonthsParse,e))||-1!==(n=S.call(this._longMonthsParse,e))?n:null:-1!==(n=S.call(this._longMonthsParse,e))||-1!==(n=S.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(n=c([2e3,i]),r&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),r||this._monthsParse[i]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[i]=new RegExp(n.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(r&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!r&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var i,n;if(this._weekdaysParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(n=S.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=S.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=S.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=S.call(this._weekdaysParse,e))||-1!==(n=S.call(this._shortWeekdaysParse,e))||-1!==(n=S.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=S.call(this._shortWeekdaysParse,e))||-1!==(n=S.call(this._weekdaysParse,e))||-1!==(n=S.call(this._minWeekdaysParse,e))?n:null:-1!==(n=S.call(this._minWeekdaysParse,e))||-1!==(n=S.call(this._weekdaysParse,e))||-1!==(n=S.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(n=c([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[i]=new RegExp(n.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(r&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(r&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!r&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",B);var pr=Math.abs;function mr(e,t,r,i){t=N(t,r);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function gr(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function vr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}we=br("ms"),me=br("s"),Re=br("m"),be=br("h"),ve=br("d"),Xe=br("w"),b=br("M"),ge=br("Q"),Ce=br("y");function wr(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wr("milliseconds"),_e=wr("seconds"),ze=wr("minutes"),y=wr("hours"),_r=wr("days"),Cr=wr("months"),Sr=wr("years");var Er=Math.round,xr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,i){var n=N(e).abs(),s=Er(n.as("s")),a=Er(n.as("m")),o=Er(n.as("h")),l=Er(n.as("d")),c=Er(n.as("M")),u=Er(n.as("w")),n=Er(n.as("y")),s=(s<=r.ss?["s",s]:s<r.s&&["ss",s])||(a<=1?["m"]:a<r.m&&["mm",a])||(o<=1?["h"]:o<r.h&&["hh",o])||(l<=1?["d"]:l<r.d&&["dd",l]);return(s=(s=null!=r.w?s||(u<=1?["w"]:u<r.w&&["ww",u]):s)||(c<=1?["M"]:c<r.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,s[3]=0<+e,s[4]=i,function(e,t,r,i,n){return n.relativeTime(t||1,!!r,e,i)}.apply(null,s)}var kr=Math.abs;function Mr(e){return(0<e)-(e<0)||+e}function Dr(){var e,t,r,i,n,s,a,o,l,c,u;return this.isValid()?(o=kr(this._milliseconds)/1e3,l=kr(this._days),c=kr(this._months),(u=this.asSeconds())?(e=h(o/60),t=h(e/60),o%=60,e%=60,r=h(c/12),c%=12,i=o?o.toFixed(3).replace(/\.?0+$/,""):"",n=Mr(this._months)!==Mr(u)?"-":"",s=Mr(this._days)!==Mr(u)?"-":"",a=Mr(this._milliseconds)!==Mr(u)?"-":"",(u<0?"-":"")+"P"+(r?n+r+"Y":"")+(c?n+c+"M":"")+(l?s+l+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+i+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Nt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=pr(this._milliseconds),this._days=pr(this._days),this._months=pr(this._months),e.milliseconds=pr(e.milliseconds),e.seconds=pr(e.seconds),e.minutes=pr(e.minutes),e.hours=pr(e.hours),e.months=pr(e.months),e.years=pr(e.years),this},R.add=function(e,t){return mr(this,e,t,1)},R.subtract=function(e,t){return mr(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vr(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=me,R.asMinutes=Re,R.asHours=be,R.asDays=ve,R.asWeeks=Xe,R.asMonths=b,R.asQuarters=ge,R.asYears=Ce,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,i=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*gr(vr(r)+t),r=t=0),i.milliseconds=e%1e3,e=h(e/1e3),i.seconds=e%60,e=h(e/60),i.minutes=e%60,e=h(e/60),i.hours=e%24,t+=h(e/24),r+=e=h(yr(t)),t-=gr(vr(e)),e=h(r/12),r%=12,i.days=t,i.months=r,i.years=e,this},R.clone=function(){return N(this)},R.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=_e,R.minutes=ze,R.hours=y,R.days=_r,R.weeks=function(){return h(this.days()/7)},R.months=Cr,R.years=Sr,R.humanize=function(e,t){var r,i;return this.isValid()?(r=!1,i=xr,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},xr,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=Tr(this,!r,i,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=Dr,R.toString=Dr,R.toJSON=Dr,R.locale=Kt,R.localeData=Jt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dr),R.lang=Je,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",Ee),w("X",/[+-]?\d+(\.\d{1,3})?/),C("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),C("x",function(e,t,r){r._d=new Date(f(e))}),p.version="2.29.4",F=A,p.fn=n,p.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return A(1e3*e)},p.months=function(e,t){return hr(e,t,"months")},p.isDate=$,p.locale=ft,p.invalid=z,p.duration=N,p.isMoment=l,p.weekdays=function(e,t,r){return fr(e,t,r,"weekdays")},p.parseZone=function(){return A.apply(null,arguments).parseZone()},p.localeData=B,p.isDuration=Rt,p.monthsShort=function(e,t){return hr(e,t,"monthsShort")},p.weekdaysMin=function(e,t,r){return fr(e,t,r,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var r,i;return null!=t?(i=lt,null!=O[e]&&null!=O[e].parentLocale?O[e].set(J(O[e]._config,t)):(t=J(i=null!=(r=ht(e))?r._config:i,t),null==r&&(t.abbr=e),(i=new ee(t)).parentLocale=O[e],O[e]=i),ft(e)):null!=O[e]&&(null!=O[e].parentLocale?(O[e]=O[e].parentLocale,e===ft()&&ft(e)):null!=O[e]&&delete O[e]),O[e]},p.locales=function(){return te(O)},p.weekdaysShort=function(e,t,r){return fr(e,t,r,"weekdaysShort")},p.normalizeUnits=d,p.relativeTimeRounding=function(e){return void 0===e?Er:"function"==typeof e&&(Er=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==xr[e]&&(void 0===t?xr[e]:(xr[e]=t,"s"===e&&(xr.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=n,p.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"},p}();var Gi,zi,ji=Gi.exports;function Vi(e,t){ti(e,t)}const Wi={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"},"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:"下一個"},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"},tr:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki"},ro:{registerBackButton:"Inapoi",registerUserTitle:"Titlu",registerUserTitleSelect:"Selecteaza Titlu",registerUserTitleSelectMr:"Dl.",registerUserTitleSelectMrs:"Dna.",registerUserTitleSelectMs:"Dra.",registerFirstName:"Prenume",registerFirstNameError:"Prenumele trebuie sa fie de 2-50 litere lungime.",registerLastName:"Nume",registerLastNameError:"Numele trebuie sa fie de 2-50 litere lungime.",registerDateOfBirth:"Data Nasterii",registerBirthDay:"Zi",registerBirthMonth:"Luna",registerBirthYear:"An",registerBirthDateError:"Varsta minima pentru inregistrare este de {licenseyears} ani.",registerBirthPlace:"Locule nasterii",registerBirthPlaceError:"Locul nasterii trebuie sa contina minim o litera",registerCurrency:"Moneda",registerNext:"Urmatorul"},es:{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"},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"}};function qi(e,t,r){e=e.slice();return e[70]=t[r],e}function Zi(e,t,r){e=e.slice();return e[73]=t[r],e}function Qi(e,t,r){e=e.slice();return e[76]=t[r],e}function Xi(e,t,r){e=e.slice();return e[79]=t[r],e}function Ki(e){let r,i,n=e[21]("registerFirstNameError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerFirstNameError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ji(e){let r,i,n=e[21]("registerLastNameError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerLastNameError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function en(e){let r,i,t=e[79]+"";return{c(){r=Ct("option"),i=St(t),r.__value=e[79],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p:yt,d(e){e&&_t(r)}}}function tn(e){let r,i,t=e[76]+"";return{c(){r=Ct("option"),i=St(t),r.__value=e[76],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p:yt,d(e){e&&_t(r)}}}function rn(t){let n,s=t[24],a=[];for(let e=0;e<s.length;e+=1)a[e]=nn(Zi(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();n=nt()},m(t,r){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,r);wt(t,n,r)},p(t,r){if(16777216&r[0]){let e;for(s=t[24],e=0;e<s.length;e+=1){var i=Zi(t,s,e);a[e]?a[e].p(i,r):(a[e]=nn(i),a[e].c(),a[e].m(n.parentNode,n))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}},d(e){Ot(a,e),e&&_t(n)}}}function nn(e){let r,i,t=e[73]+"";return{c(){r=Ct("option"),i=St(t),r.__value=e[73],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p:yt,d(e){e&&_t(r)}}}function sn(e){let r,i,n=e[21]("registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097153&t[0]&&n!==(n=e[21]("registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&kt(i,n)},d(e){e&&_t(r)}}}function an(e){let r,i,n=e[21]("registerBirthPlaceError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerBirthPlaceError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function on(e){let r,i,n,s=e[70]+"";return{c(){r=Ct("option"),i=St(s),r.__value=n=e[70],r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){131072&t[0]&&s!==(s=e[70]+"")&&kt(i,s),131072&t[0]&&n!==(n=e[70])&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function ln(r){let i,I,n,s,L,$,U,Y,G,z,j,a,o,l,V,W,q,Z,c,u,Q,d,X,h,K,J,ee,e,te,f,re,ie,ne,se,ae,p,oe,le,ce,ue,m,de,he,fe,pe,me,g,ge,ye,ve,be,y,we,_e,Ce,Se,Ee,v,b,w,xe,Te,_,C,ke,Me,S,E,De,Pe,Oe,Be,x,Ae,Ne,Re,Fe,He,T,Ie,Le,$e,Ue,k,Ye,Ge,ze,je,Ve,M,We,qe,D,Ze,Qe,Xe,Ke,Je=r[21]("registerBackButton")+"",et=r[21]("registerUserTitle")+"",tt=r[21]("registerUserTitleSelect")+"",rt=r[21]("registerUserTitleSelectMr")+"",it=r[21]("registerUserTitleSelectMrs")+"",nt=r[21]("registerUserTitleSelectMs")+"",st=r[21]("registerFirstName")+"",at=r[21]("registerLastName")+"",ot=r[21]("registerDateOfBirth")+"",lt=r[21]("registerBirthDay")+"",ct=r[21]("registerBirthMonth")+"",ut=r[21]("registerBirthYear")+"",dt=r[21]("registerBirthPlace")+"",ht=r[21]("registerCurrency")+"",ft=r[21]("registerNext")+"",P=r[2]&&Ki(r),O=r[3]&&Ji(r),pt=r[22],B=[];for(let e=0;e<pt.length;e+=1)B[e]=en(Xi(r,pt,e));let mt=r[23],A=[];for(let e=0;e<mt.length;e+=1)A[e]=tn(Qi(r,mt,e));let N=!r[20]&&rn(r),R=r[4]&&sn(r),F=r[5]&&an(r),gt=r[17],H=[];for(let e=0;e<gt.length;e+=1)H[e]=on(qi(r,gt,e));return{c(){i=Ct("div"),I=Ct("div"),n=Ct("button"),s=t("svg"),L=t("defs"),$=t("style"),U=St(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),Y=t("path"),G=Et(),z=St(Je),j=Et(),a=Ct("form"),o=Ct("div"),l=Ct("label"),V=St(et),W=St(":"),(q=Ct("span")).textContent="*",Z=Et(),c=Ct("select"),u=Ct("option"),Q=St(tt),d=Ct("option"),X=St(rt),h=Ct("option"),K=St(it),J=Ct("option"),ee=St(nt),te=Et(),f=Ct("div"),re=Ct("label"),ie=St(st),ne=St(":"),(se=Ct("span")).textContent="*",ae=Et(),p=Ct("input"),oe=Et(),P&&P.c(),ue=Et(),m=Ct("div"),de=Ct("label"),he=St(at),fe=St(":"),(pe=Ct("span")).textContent="*",me=Et(),g=Ct("input"),ge=Et(),O&&O.c(),be=Et(),y=Ct("div"),we=Ct("label"),_e=St(ot),Ce=St(":"),(Se=Ct("span")).textContent="*",Ee=Et(),v=Ct("div"),b=Ct("select"),w=Ct("option"),xe=St(lt);for(let e=0;e<B.length;e+=1)B[e].c();Te=Et(),_=Ct("select"),C=Ct("option"),ke=St(ct);for(let e=0;e<A.length;e+=1)A[e].c();Me=Et(),S=Ct("select"),E=Ct("option"),De=St(ut),N&&N.c(),Pe=Et(),R&&R.c(),Be=Et(),x=Ct("div"),Ae=Ct("label"),Ne=St(dt),Re=St(":"),(Fe=Ct("span")).textContent="*",He=Et(),T=Ct("input"),Ie=Et(),F&&F.c(),Ue=Et(),k=Ct("div"),Ye=Ct("label"),Ge=St(ht),ze=St(":"),(je=Ct("span")).textContent="*",Ve=Et(),M=Ct("select");for(let e=0;e<H.length;e+=1)H[e].c();qe=Et(),D=Ct("button"),Ze=St(ft),this.c=yt,Tt(Y,"class","a"),Tt(Y,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Tt(Y,"transform","translate(24 24) rotate(180)"),Tt(s,"xmlns","http://www.w3.org/2000/svg"),Tt(s,"viewBox","0 0 24 24"),Tt(n,"class","BackButton"),Tt(n,"part","BackButton"),Tt(I,"class","RegisterFormHeader"),Tt(I,"part","RegisterFormHeader"),Tt(q,"class","FormRequired"),Tt(q,"part","FormRequired"),Tt(l,"for","Title"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,d.__value="Mr.",d.value=d.__value,h.__value="Mrs.",h.value=h.__value,J.__value="Ms.",J.value=J.__value,Tt(c,"id","Title"),void 0===r[10]&&Pt(()=>r[39].call(c)),Tt(o,"class",e="UserTitleContainer "+(0<=r[9]?.indexOf("title")?"Hidden":"")),Tt(o,"part","UserTitleContainer"),Tt(se,"class","FormRequired"),Tt(se,"part","FormRequired"),Tt(re,"for","FirstName"),Tt(p,"type","text"),Tt(p,"id","FirstName"),Tt(f,"class",le="FirstNameContainer "+(r[2]&&!r[6]?"InvalidField":"")+(0<=r[9]?.indexOf("firstName")?"Hidden":"")),Tt(f,"part",ce="FirstNameContainer "+(r[2]?"InvalidField":"")),Tt(pe,"class","FormRequired"),Tt(pe,"part","FormRequired"),Tt(de,"for","LastName"),Tt(g,"type","text"),Tt(g,"id","LastName"),Tt(m,"class",ye="LastNameContainer "+(r[3]&&!r[7]?"InvalidField":"")+(0<=r[9]?.indexOf("lastName")?"Hidden":"")),Tt(m,"part",ve="LastNameContainer "+(r[3]?"InvalidField":"")),Tt(Se,"class","FormRequired"),Tt(Se,"part","FormRequired"),w.__value="",w.value=w.__value,w.disabled=!0,w.selected=!0,Tt(b,"class","BirthDaySelected"),Tt(b,"part","BirthDaySelected"),void 0===r[13]&&Pt(()=>r[46].call(b)),C.__value="",C.value=C.__value,C.disabled=!0,C.selected=!0,Tt(_,"class","BirthMonthSelected"),Tt(_,"part","BirthMonthSelected"),void 0===r[14]&&Pt(()=>r[47].call(_)),E.__value="",E.value=E.__value,E.disabled=!0,E.selected=!0,Tt(S,"class","BirthYearSelected"),Tt(S,"part","BirthYearSelected"),void 0===r[15]&&Pt(()=>r[48].call(S)),Tt(v,"class","BirthDateOptions"),Tt(v,"part","BirthDateOptions"),Tt(y,"class",Oe="BirthDateContainer "+(0<=r[9]?.indexOf("birthDate")?"Hidden":"")),Tt(y,"part","BirthDateContainer"),Tt(Fe,"class","FormRequired"),Tt(Fe,"part","FormRequired"),Tt(Ae,"for","BirthPlace"),Tt(T,"type","text"),Tt(T,"id","BirthPlace"),Tt(x,"class",Le="BirthPlaceContainer "+(r[5]&&!r[8]?"InvalidField":"")+(0<=r[9]?.indexOf("birthPlace")?"Hidden":"")),Tt(x,"part",$e="BirthPlaceContainer "+(r[5]?"InvalidField":"")),Tt(je,"class","FormRequired"),Tt(je,"part","FormRequired"),Tt(Ye,"for","Currency"),Tt(M,"id","Currency"),void 0===r[18]&&Pt(()=>r[52].call(M)),Tt(k,"class",We="CurrencyContainer "+(0<=r[9]?.indexOf("currency")?"Hidden":"")),Tt(k,"part","CurrencyContainer"),Tt(D,"class","RegisterStepNext"),Tt(D,"part","RegisterStepNext"),D.disabled=Qe=!r[19],Tt(a,"class","RegisterFormContent"),Tt(a,"part","RegisterFormContent")},m(e,t){wt(e,i,t),bt(i,I),bt(I,n),bt(n,s),bt(s,L),bt(L,$),bt($,U),bt(s,Y),bt(n,G),bt(n,z),bt(i,j),bt(i,a),bt(a,o),bt(o,l),bt(l,V),bt(l,W),bt(l,q),bt(o,Z),bt(o,c),bt(c,u),bt(u,Q),bt(c,d),bt(d,X),bt(c,h),bt(h,K),bt(c,J),bt(J,ee),Dt(c,r[10],!0),bt(a,te),bt(a,f),bt(f,re),bt(re,ie),bt(re,ne),bt(re,se),bt(f,ae),bt(f,p),Mt(p,r[11]),bt(f,oe),P&&P.m(f,null),bt(a,ue),bt(a,m),bt(m,de),bt(de,he),bt(de,fe),bt(de,pe),bt(m,me),bt(m,g),Mt(g,r[12]),bt(m,ge),O&&O.m(m,null),bt(a,be),bt(a,y),bt(y,we),bt(we,_e),bt(we,Ce),bt(we,Se),bt(y,Ee),bt(y,v),bt(v,b),bt(b,w),bt(w,xe);for(let e=0;e<B.length;e+=1)B[e]&&B[e].m(b,null);Dt(b,r[13],!0),bt(v,Te),bt(v,_),bt(_,C),bt(C,ke);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(_,null);Dt(_,r[14],!0),bt(v,Me),bt(v,S),bt(S,E),bt(E,De),N&&N.m(S,null),Dt(S,r[15],!0),bt(v,Pe),R&&R.m(v,null),bt(a,Be),bt(a,x),bt(x,Ae),bt(Ae,Ne),bt(Ae,Re),bt(Ae,Fe),bt(x,He),bt(x,T),Mt(T,r[16]),bt(x,Ie),F&&F.m(x,null),bt(a,Ue),bt(a,k),bt(k,Ye),bt(Ye,Ge),bt(Ye,ze),bt(Ye,je),bt(k,Ve),bt(k,M);for(let e=0;e<H.length;e+=1)H[e]&&H[e].m(M,null);Dt(M,r[18],!0),bt(a,qe),bt(a,D),bt(D,Ze),r[54](i),Xe||(Ke=[xt(n,"click",r[31]),xt(c,"change",r[39]),xt(c,"change",r[26]),xt(p,"input",r[40]),xt(p,"keyup",r[27]),xt(p,"focus",r[41]),xt(p,"keyup",r[42]),xt(g,"input",r[43]),xt(g,"keyup",r[28]),xt(g,"focus",r[44]),xt(g,"blur",r[45]),xt(b,"change",r[46]),xt(b,"change",r[25]),xt(_,"change",r[47]),xt(_,"change",r[25]),xt(S,"change",r[48]),xt(S,"change",r[25]),xt(T,"input",r[49]),xt(T,"keyup",r[29]),xt(T,"focus",r[50]),xt(T,"blur",r[51]),xt(M,"change",r[52]),xt(D,"click",r[53])],Xe=!0)},p(t,r){if(2097152&r[0]&&Je!==(Je=t[21]("registerBackButton")+"")&&kt(z,Je),2097152&r[0]&&et!==(et=t[21]("registerUserTitle")+"")&&kt(V,et),2097152&r[0]&&tt!==(tt=t[21]("registerUserTitleSelect")+"")&&kt(Q,tt),2097152&r[0]&&rt!==(rt=t[21]("registerUserTitleSelectMr")+"")&&kt(X,rt),2097152&r[0]&&it!==(it=t[21]("registerUserTitleSelectMrs")+"")&&kt(K,it),2097152&r[0]&&nt!==(nt=t[21]("registerUserTitleSelectMs")+"")&&kt(ee,nt),1024&r[0]&&Dt(c,t[10]),512&r[0]&&e!==(e="UserTitleContainer "+(0<=t[9]?.indexOf("title")?"Hidden":""))&&Tt(o,"class",e),2097152&r[0]&&st!==(st=t[21]("registerFirstName")+"")&&kt(ie,st),2048&r[0]&&p.value!==t[11]&&Mt(p,t[11]),t[2]?P?P.p(t,r):((P=Ki(t)).c(),P.m(f,null)):P&&(P.d(1),P=null),580&r[0]&&le!==(le="FirstNameContainer "+(t[2]&&!t[6]?"InvalidField":"")+(0<=t[9]?.indexOf("firstName")?"Hidden":""))&&Tt(f,"class",le),4&r[0]&&ce!==(ce="FirstNameContainer "+(t[2]?"InvalidField":""))&&Tt(f,"part",ce),2097152&r[0]&&at!==(at=t[21]("registerLastName")+"")&&kt(he,at),4096&r[0]&&g.value!==t[12]&&Mt(g,t[12]),t[3]?O?O.p(t,r):((O=Ji(t)).c(),O.m(m,null)):O&&(O.d(1),O=null),648&r[0]&&ye!==(ye="LastNameContainer "+(t[3]&&!t[7]?"InvalidField":"")+(0<=t[9]?.indexOf("lastName")?"Hidden":""))&&Tt(m,"class",ye),8&r[0]&&ve!==(ve="LastNameContainer "+(t[3]?"InvalidField":""))&&Tt(m,"part",ve),2097152&r[0]&&ot!==(ot=t[21]("registerDateOfBirth")+"")&&kt(_e,ot),2097152&r[0]&<!==(lt=t[21]("registerBirthDay")+"")&&kt(xe,lt),4194304&r[0]){let e;for(pt=t[22],e=0;e<pt.length;e+=1){var i=Xi(t,pt,e);B[e]?B[e].p(i,r):(B[e]=en(i),B[e].c(),B[e].m(b,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=pt.length}if(4202496&r[0]&&Dt(b,t[13]),2097152&r[0]&&ct!==(ct=t[21]("registerBirthMonth")+"")&&kt(ke,ct),8388608&r[0]){let e;for(mt=t[23],e=0;e<mt.length;e+=1){var n=Qi(t,mt,e);A[e]?A[e].p(n,r):(A[e]=tn(n),A[e].c(),A[e].m(_,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=mt.length}if(8404992&r[0]&&Dt(_,t[14]),2097152&r[0]&&ut!==(ut=t[21]("registerBirthYear")+"")&&kt(De,ut),t[20]?N&&(N.d(1),N=null):N?N.p(t,r):((N=rn(t)).c(),N.m(S,null)),16809984&r[0]&&Dt(S,t[15]),t[4]?R?R.p(t,r):((R=sn(t)).c(),R.m(v,null)):R&&(R.d(1),R=null),512&r[0]&&Oe!==(Oe="BirthDateContainer "+(0<=t[9]?.indexOf("birthDate")?"Hidden":""))&&Tt(y,"class",Oe),2097152&r[0]&&dt!==(dt=t[21]("registerBirthPlace")+"")&&kt(Ne,dt),65536&r[0]&&T.value!==t[16]&&Mt(T,t[16]),t[5]?F?F.p(t,r):((F=an(t)).c(),F.m(x,null)):F&&(F.d(1),F=null),800&r[0]&&Le!==(Le="BirthPlaceContainer "+(t[5]&&!t[8]?"InvalidField":"")+(0<=t[9]?.indexOf("birthPlace")?"Hidden":""))&&Tt(x,"class",Le),32&r[0]&&$e!==($e="BirthPlaceContainer "+(t[5]?"InvalidField":""))&&Tt(x,"part",$e),2097152&r[0]&&ht!==(ht=t[21]("registerCurrency")+"")&&kt(Ge,ht),131072&r[0]){let e;for(gt=t[17],e=0;e<gt.length;e+=1){var s=qi(t,gt,e);H[e]?H[e].p(s,r):(H[e]=on(s),H[e].c(),H[e].m(M,null))}for(;e<H.length;e+=1)H[e].d(1);H.length=gt.length}393216&r[0]&&Dt(M,t[18]),512&r[0]&&We!==(We="CurrencyContainer "+(0<=t[9]?.indexOf("currency")?"Hidden":""))&&Tt(k,"class",We),2097152&r[0]&&ft!==(ft=t[21]("registerNext")+"")&&kt(Ze,ft),524288&r[0]&&Qe!==(Qe=!t[19])&&(D.disabled=Qe)},i:yt,o:yt,d(e){e&&_t(i),P&&P.d(),O&&O.d(),Ot(B,e),Ot(A,e),N&&N.d(),R&&R.d(),F&&F.d(),Ot(H,e),r[54](null),Xe=!1,vt(Ke)}}}function cn(t,e,r){let i;se(t,wi,e=>r(21,i=e));let n,s,a,o,l,c,u,d,h,{endpoint:f=""}=e,{lang:p=""}=e,{licenseyears:m=""}=e,{disabledfields:g=""}=e,{defaultoptions:F=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,w=!1,_=!1,C=!1,S=!1,E=!1,x=!1,T=!1,k="",M="",H=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],I=[1,2,3,4,5,6,7,8,9,10,11,12],D=[],P="",O=[],B="",A=new Date,N=!1,L=!0;Object.keys(Wi).forEach(e=>{Vi(e,Wi[e])});const R=()=>{r(19,N=!(w||_||C||S)),!(k.length<=0||M.length<=0||P.length<=0)&&s&&a&&o&&l||r(19,N=!1)},$=e=>!!(e&&2<=e.length&&e.length<=50),U=e=>{e.preventDefault();e={userTitleSelected:s,userFirstName:k,userLastName:M,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:P,currencySelected:B};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},Y=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(10,s=e.data.userData.title),r(11,k=e.data.userData.firstname),r(12,M=e.data.userData.lastname),r(13,a=e.data.userData.birth.day),r(14,o=e.data.userData.birth.month),r(15,l=e.data.userData.birth.year),r(16,P=e.data.userData.birthPlace),r(18,B=e.data.userData.currency),R())};return ae(()=>(window.addEventListener("message",Y,!1),()=>{window.removeEventListener("message",Y)})),t.$$set=e=>{"endpoint"in e&&r(32,f=e.endpoint),"lang"in e&&r(33,p=e.lang),"licenseyears"in e&&r(0,m=e.licenseyears),"disabledfields"in e&&r(34,g=e.disabledfields),"defaultoptions"in e&&r(35,F=e.defaultoptions),"clientstyling"in e&&r(36,y=e.clientstyling),"clientstylingurl"in e&&r(37,v=e.clientstylingurl),"translationurl"in e&&r(38,b=e.translationurl)},t.$$.update=()=>{if(2&t.$$.dirty[1]&&f&&fetch(f+"/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(17,O=e.currencies),B||r(18,B=O[0])}),4&t.$$.dirty[1]&&p&&(e=p,ne.set(e)),1&t.$$.dirty[0]&&m){u=parseInt(ji(A.setDate(A.getDate())).subtract(parseInt(m,10),"y").format("YYYY")),c=parseInt(ji(A.setDate(A.getDate())).subtract(100+parseInt(m,10),"y").format("YYYY"));for(let e=u;e>=c;e--)D.push(e);r(20,L=!1)}if(8&t.$$.dirty[1]&&g&&(r(9,n=g.split(",")),0<=n.indexOf("firstName")&&(r(11,k="dummy first name"),r(2,w=!1)),0<=n.indexOf("lastName")&&(r(12,M="dummy last name"),r(3,_=!1)),0<=n.indexOf("birthPlace")&&(r(16,P="dummy birth place"),r(5,S=!1)),0<=n.indexOf("birthDate")&&r(4,C=!1),0<=n.indexOf("title")&&r(10,s="Mr."),0<=n.indexOf("currency"))&&r(18,B="CDF"),2&t.$$.dirty[0]|32&t.$$.dirty[1]&&y&&h&&((e=document.createElement("style")).innerHTML=y,h.appendChild(e)),2&t.$$.dirty[0]|64&t.$$.dirty[1]&&v&&h){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1),setTimeout(()=>{},500)})}var e;128&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vi(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,w,_,C,S,E,x,T,n,s,k,M,a,o,l,P,O,B,N,L,i,H,I,D,()=>{l&&o&&a&&(d=ji(A.setDate(A.getDate())).diff(ji(`${l}-${o}-`+a,"YYYY-MM-DD"),"years").toString(),r(4,C=d<m)),R()},R,()=>{r(2,w=!$(k)),R()},()=>{r(3,_=!$(M)),R()},()=>{r(5,S=!(P&&P.length<=120)),R()},U,()=>{var e={userTitleSelected:s,userFirstName:k,userLastName:M,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:P,currencySelected:B};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},f,p,g,F,y,v,b,function(){s=K(this),r(10,s)},function(){k=this.value,r(11,k)},()=>r(6,E=!0),()=>r(6,E=!1),function(){M=this.value,r(12,M)},()=>r(7,x=!0),()=>r(7,x=!1),function(){a=K(this),r(13,a),r(22,H)},function(){o=K(this),r(14,o),r(23,I)},function(){l=K(this),r(15,l),r(24,D)},function(){P=this.value,r(16,P)},()=>r(8,T=!0),()=>r(8,T=!1),function(){B=K(this),r(18,B),r(17,O)},e=>U(e),function(e){ie[e?"unshift":"push"](()=>{h=e,r(1,h)})}]}function un(e,t){ti(e,t)}customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent=".BackButton{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.UserTitleContainer select:focus,.UserTitleContainer select :focus-within,.UserTitleContainer select :focus-visible,.UserTitleContainer select :visited,.CurrencyContainer select:focus,.CurrencyContainer select :focus-within,.CurrencyContainer select :focus-visible,.CurrencyContainer select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.CurrencyContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.UserTitleContainer label,.FirstNameContainer label,.LastNameContainer label,.BirthDateContainer label,.BirthPlaceContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthPlaceContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer.Hidden,.FirstNameContainer.Hidden,.LastNameContainer.Hidden,.BirthDateContainer.Hidden,.BirthPlaceContainer.Hidden,.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthDaySelected:focus,.BirthDateOptions .BirthDaySelected :focus-within,.BirthDateOptions .BirthDaySelected :focus-visible,.BirthDateOptions .BirthDaySelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.BirthDateOptions .BirthMonthSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthMonthSelected:focus,.BirthDateOptions .BirthMonthSelected :focus-within,.BirthDateOptions .BirthMonthSelected :focus-visible,.BirthDateOptions .BirthMonthSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.BirthDateOptions .BirthYearSelected{width:40%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthYearSelected:focus,.BirthDateOptions .BirthYearSelected :focus-within,.BirthDateOptions .BirthYearSelected :focus-visible,.BirthDateOptions .BirthYearSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},cn,ln,S,{endpoint:32,lang:33,licenseyears:0,disabledfields:34,defaultoptions:35,clientstyling:36,clientstylingurl:37,translationurl:38},null,[-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","lang","licenseyears","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),h()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[35]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),h()}});const dn={en:{registerBackButton:"Back",registerAddress:"Address",registerAddressError:"Address must be at least 1 character long and 100 characters maximum.",registerPostalCode:"Postal Code",registerPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",registerCity:"City",registerCityError:"City must be at least 1 character long and 50 characters maximum.",registerCountry:"Country",registerNationality:"Nationality",registerMobile:"Mobile",registerMobileError:"Mobile must be at least 5 character long and 12 characters maximum.",registerUserConsents:"I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"I am at least 18 years old and I have read and accepted the Terms of Conditions.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"},"zh-hk":{registerBackButton:"後退",registerAddress:"地址",registerAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",registerPostalCode:"郵政編碼",registerPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",registerCity:"城市",registerCityError:"城市必須至少 1 個字符長,最多 50 個字符。",registerCountry:"國家",registerNationality:"國籍",registerMobile:"移動的",registerMobileError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",registerUserConsents:"我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。",registerUserConsentsSMS:"短信",registerUserConsentsEmail:"電子郵件",registerTermsConditions:"我至少 18 歲,並且我已閱讀並接受條件條款。",registerTermsConditionsError:"請在繼續之前接受條款和條件。",registerOpenAccount:"開戶口"},fr:{registerBackButton:"Retour",registerAddress:"Adresse",registerAddressError:"L'adresse doit comporter au moins un caractère et 100 caractères au maximum.",registerPostalCode:"Code postal",registerPostalCodeError:"Le code postal doit comporter au moins un caractère et 20 caractères au maximum.",registerCity:"Ville",registerCityError:"La ville doit comporter au moins un caractère et 50 caractères au maximum.",registerCountry:"Pays",registerNationality:"Nationalité",registerMobile:"Téléphone",registerMobileError:"Le téléphone doit comporter au moins 5 caractère et 12 caractères au maximum.",registerUserConsents:"Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"J'ai au moins 18 ans et j'ai lu et accepté les conditions d'utilisation.",registerTermsConditionsError:"Veuillez accepter les termes et conditions avant de poursuivre.",registerOpenAccount:"Ouvrir un compte"},tr:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",registerPostalCode:"Posta kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve en fazla 12 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve Koşullar'ı okudum ve kabul ediyorum.",registerTermsConditionsError:"Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"},ro:{registerBackButton:"Inapoi",registerAddress:"Adresa",registerAddressError:"Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.",registerPostalCode:"Cod Postal",registerPostalCodeError:"Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.",registerCity:"Oras",registerCityError:"Orasul trebuie sa fie cuprins intre 1 si 50 de litere.",registerCountry:"Tara",registerNationality:"Nationalitatea",registerMobile:"Telefon",registerMobileError:"Telefonul trebuie sa fie cuprins intre 5 si 12 de cifre.",registerUserConsents:"Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Am minim 18 ani si am citit si acceptat Termenii si Conditiile",registerTermsConditionsError:"Te rog accepta Termenii si Conditiile",registerOpenAccount:"Inregistrare"},es:{registerBackButton:"Anterior",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",registerPostalCode:"Código Postal",registerPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",registerCity:"Ciudad",registerCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Celular",registerMobileError:"Número celular debe tener al menos 5 caracteres y un máximo de 12 caracteres",registerUserConsents:"Quiero recibir ofertas Exclusivas y Bonos. Soy consciente que puedo desuscribirme en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Tengo al menos 18 años de edad, y he leido y aceptado los Términos y Condiciones.",registerTermsConditionsError:"Por favor acepta los Términos y Condiciones antes de avanzar.",registerOpenAccount:"Abrir cuenta"},pt:{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.",registerPostalCode:"CEP",registerPostalCodeError:"O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Celular",registerMobileError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Tenho pelo menos 18 anos e li e aceito os Termos de Condições.",registerTermsConditionsError:"Por favor, aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Abrir conta"}},hn=k["document"];function fn(e,t,r){e=e.slice();return e[88]=t[r],e}function pn(e,t,r){e=e.slice();return e[91]=t[r],e}function mn(e,t,r){e=e.slice();return e[94]=t[r],e}function gn(e){let r,i;return{c(){x((r=Ct("script")).src,i="//www.google.com/recaptcha/api.js?render="+e[4])||Tt(r,"src",i),r.async=!0,r.defer=!0},m(e,t){wt(e,r,t)},p(e,t){16&t[0]&&!x(r.src,i="//www.google.com/recaptcha/api.js?render="+e[4])&&Tt(r,"src",i)},d(e){e&&_t(r)}}}function yn(e){let r,i,n=e[32]("registerAddressError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerAddressError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function vn(e){let r,i,n=e[32]("registerPostalCodeError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerPostalCodeError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function bn(e){let r,i,n=e[32]("registerCityError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerCityError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function wn(e){let r,i,n,s=e[94].Name+"";return{c(){r=Ct("option"),i=St(s),r.__value=n=e[94].Alpha2Code,r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){1048576&t[0]&&s!==(s=e[94].Name+"")&&kt(i,s),1048576&t[0]&&n!==(n=e[94].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function _n(e){let r,i,n,s=e[91].Name+"";return{c(){r=Ct("option"),i=St(s),r.__value=n=e[91].Alpha2Code,r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){4194304&t[0]&&s!==(s=e[91].Name+"")&&kt(i,s),4194304&t[0]&&n!==(n=e[91].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function Cn(e){let r,i,n,s=e[88].Prefix+"";return{c(){r=Ct("option"),i=St(s),r.__value=n=e[88].Prefix,r.value=r.__value},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){33554432&t[0]&&s!==(s=e[88].Prefix+"")&&kt(i,s),33554432&t[0]&&n!==(n=e[88].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&_t(r)}}}function Sn(e){let r,i,n=e[32]("registerMobileError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerMobileError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function En(e){let r,i,n=("true"===e[2]||"true"===e[3])&&xn(e),s="true"===e[1]&&Mn(e);return{c(){n&&n.c(),r=Et(),s&&s.c(),i=nt()},m(e,t){n&&n.m(e,t),wt(e,r,t),s&&s.m(e,t),wt(e,i,t)},p(e,t){"true"===e[2]||"true"===e[3]?n?n.p(e,t):((n=xn(e)).c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null),"true"===e[1]?s?s.p(e,t):((s=Mn(e)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){n&&n.d(e),e&&_t(r),s&&s.d(e),e&&_t(i)}}}function xn(r){let i,n,s,a,o,l,c,u,d,h,f,p,m=r[32]("registerUserConsents")+"",g="true"===r[2]&&Tn(r),y="true"===r[3]&&kn(r);return{c(){i=Ct("div"),n=Ct("label"),s=St(m),a=Et(),o=Ct("input"),l=Et(),c=Ct("span"),u=Et(),d=Ct("div"),g&&g.c(),h=Et(),y&&y.c(),Tt(o,"type","Checkbox"),o.checked=r[27],Tt(c,"class","Checkmark"),Tt(c,"part","Checkmark"),Tt(n,"class","Offers"),Tt(n,"part","Offers"),Tt(d,"class","OffersMethodsWrapper"),Tt(d,"part","OffersMethodsWrapper"),Tt(i,"class","OffersContainer"),Tt(i,"part","OffersContainer")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(n,a),bt(n,o),bt(n,l),bt(n,c),bt(i,u),bt(i,d),g&&g.m(d,null),bt(d,h),y&&y.m(d,null),f||(p=xt(o,"click",r[63]),f=!0)},p(e,t){2&t[1]&&m!==(m=e[32]("registerUserConsents")+"")&&kt(s,m),134217728&t[0]&&(o.checked=e[27]),"true"===e[2]?g?g.p(e,t):((g=Tn(e)).c(),g.m(d,h)):g&&(g.d(1),g=null),"true"===e[3]?y?y.p(e,t):((y=kn(e)).c(),y.m(d,null)):y&&(y.d(1),y=null)},d(e){e&&_t(i),g&&g.d(),y&&y.d(),f=!1,p()}}}function Tn(r){let i,n,s,a,o,l,c,u,d=r[32]("registerUserConsentsSMS")+"";return{c(){i=Ct("label"),n=St(d),s=Et(),a=Ct("input"),o=Et(),l=Ct("span"),Tt(a,"type","Checkbox"),a.checked=r[28],Tt(l,"class","Checkmark"),Tt(l,"part","Checkmark"),Tt(i,"class","OffersMethod")},m(e,t){wt(e,i,t),bt(i,n),bt(i,s),bt(i,a),bt(i,o),bt(i,l),c||(u=xt(a,"click",r[64]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsSMS")+"")&&kt(n,d),268435456&t[0]&&(a.checked=e[28])},d(e){e&&_t(i),c=!1,u()}}}function kn(r){let i,n,s,a,o,l,c,u,d=r[32]("registerUserConsentsEmail")+"";return{c(){i=Ct("label"),n=St(d),s=Et(),a=Ct("input"),o=Et(),l=Ct("span"),Tt(a,"type","Checkbox"),a.checked=r[29],Tt(l,"class","Checkmark"),Tt(l,"part","Checkmark"),Tt(i,"class","OffersMethod"),Tt(i,"part","OffersMethod")},m(e,t){wt(e,i,t),bt(i,n),bt(i,s),bt(i,a),bt(i,o),bt(i,l),c||(u=xt(a,"click",r[65]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsEmail")+"")&&kt(n,d),536870912&t[0]&&(a.checked=e[29])},d(e){e&&_t(i),c=!1,u()}}}function Mn(r){let i,n,s,a,o,l,c,u,d,h,f,p=r[32]("registerTermsConditions")+"",m=!r[30]&&Dn(r);return{c(){i=Ct("div"),n=Ct("label"),s=St(p),a=Et(),o=Ct("input"),l=Et(),c=Ct("span"),u=Et(),m&&m.c(),d=nt(),Tt(o,"type","Checkbox"),o.checked=r[30],Tt(c,"class","Checkmark"),Tt(c,"part","Checkmark"),Tt(n,"class","AgeConsent"),Tt(n,"part","AgeConsent"),Tt(i,"class","AgeContainer"),Tt(i,"part","AgeContainer")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(n,a),bt(n,o),bt(n,l),bt(n,c),wt(e,u,t),m&&m.m(e,t),wt(e,d,t),h||(f=xt(o,"click",r[66]),h=!0)},p(e,t){2&t[1]&&p!==(p=e[32]("registerTermsConditions")+"")&&kt(s,p),1073741824&t[0]&&(o.checked=e[30]),e[30]?m&&(m.d(1),m=null):m?m.p(e,t):((m=Dn(e)).c(),m.m(d.parentNode,d))},d(e){e&&_t(i),e&&_t(u),m&&m.d(e),e&&_t(d),h=!1,f()}}}function Dn(e){let r,i,n,s=e[32]("registerTermsConditionsError")+"";return{c(){r=Ct("div"),i=Ct("p"),n=St(s),Tt(r,"class","NotificationContainer"),Tt(r,"part","NotificationContainer")},m(e,t){wt(e,r,t),bt(r,i),bt(i,n)},p(e,t){2&t[1]&&s!==(s=e[32]("registerTermsConditionsError")+"")&&kt(n,s)},d(e){e&&_t(r)}}}function Pn(e){let r,i,n;return{c(){r=Ct("div"),i=Ct("p"),n=St(e[16]),Tt(i,"class","RegisterError"),Tt(i,"part","RegisterError")},m(e,t){wt(e,r,t),bt(r,i),bt(i,n)},p(e,t){65536&t[0]&&kt(n,e[16])},d(e){e&&_t(r)}}}function On(r){let I,L,a,$,o,U,i,n,Y,G,z,j,V,W,q,l,s,c,u,Z,Q,X,K,d,J,e,ee,te,h,f,re,ie,ne,se,p,ae,oe,le,ce,m,g,ue,de,he,fe,y,pe,me,ge,ye,v,b,ve,be,we,_e,w,Ce,Se,_,Ee,xe,Te,ke,Me,C,De,Pe,S,Oe,Be,Ae,Ne,Re,E,x,Fe,T,He,Ie,Le,$e,Ue,k,Ye,Ge,ze,je,Ve,We=r[32]("registerBackButton")+"",qe=r[32]("registerAddress")+"",Ze=r[32]("registerPostalCode")+"",Qe=r[32]("registerCity")+"",Xe=r[32]("registerCountry")+"",Ke=r[32]("registerNationality")+"",Je=r[32]("registerMobile")+"",et=r[32]("registerOpenAccount")+"",M=r[4]&&gn(r),D=r[6]&&yn(r),P=r[7]&&vn(r),O=r[9]&&bn(r),tt=r[20],B=[];for(let e=0;e<tt.length;e+=1)B[e]=wn(mn(r,tt,e));let rt=r[22],A=[];for(let e=0;e<rt.length;e+=1)A[e]=_n(pn(r,rt,e));let it=r[25],N=[];for(let e=0;e<it.length;e+=1)N[e]=Cn(fn(r,it,e));let R=r[8]&&Sn(r),F="true"===r[0]&&En(r),H=r[15]&&Pn(r);return{c(){M&&M.c(),I=nt(),L=Et(),a=Ct("div"),$=Et(),o=Ct("div"),U=Ct("div"),i=Ct("button"),n=t("svg"),Y=t("defs"),G=t("style"),z=St(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),j=t("path"),V=Et(),W=St(We),q=Et(),l=Ct("form"),s=Ct("div"),c=Ct("div"),u=Ct("label"),Z=St(qe),Q=St(":"),(X=Ct("span")).textContent="*",K=Et(),d=Ct("input"),J=Et(),D&&D.c(),te=Et(),h=Ct("div"),f=Ct("label"),re=St(Ze),ie=St(":"),(ne=Ct("span")).textContent="*",se=Et(),p=Ct("input"),ae=Et(),P&&P.c(),ce=Et(),m=Ct("div"),g=Ct("label"),ue=St(Qe),de=St(":"),(he=Ct("span")).textContent="*",fe=Et(),y=Ct("input"),pe=Et(),O&&O.c(),ye=Et(),v=Ct("div"),b=Ct("label"),ve=St(Xe),be=St(":"),(we=Ct("span")).textContent="*",_e=Et(),w=Ct("select");for(let e=0;e<B.length;e+=1)B[e].c();Se=Et(),_=Ct("div"),Ee=Ct("label"),xe=St(Ke),Te=St(":"),(ke=Ct("span")).textContent="*",Me=Et(),C=Ct("select");for(let e=0;e<A.length;e+=1)A[e].c();Pe=Et(),S=Ct("div"),Oe=Ct("label"),Be=St(Je),Ae=St(":"),(Ne=Ct("span")).textContent="*",Re=Et(),E=Ct("div"),x=Ct("select");for(let e=0;e<N.length;e+=1)N[e].c();Fe=Et(),T=Ct("input"),He=Et(),R&&R.c(),$e=Et(),F&&F.c(),Ue=Et(),k=Ct("button"),Ye=St(et),ze=Et(),H&&H.c(),this.c=yt,Tt(a,"class","g-recaptcha"),Tt(a,"data-sitekey",r[4]),Tt(j,"class","a"),Tt(j,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Tt(j,"transform","translate(24 24) rotate(180)"),Tt(n,"xmlns","http://www.w3.org/2000/svg"),Tt(n,"viewBox","0 0 24 24"),Tt(i,"class","BackButton"),Tt(i,"part","BackButton"),Tt(U,"class","RegisterFormHeader"),Tt(U,"part","RegisterFormHeader"),Tt(X,"class","FormRequired"),Tt(X,"part","FormRequired"),Tt(u,"for","Address"),Tt(d,"type","text"),Tt(d,"id","Address"),Tt(c,"class",e="AddressContainer "+(r[6]&&!r[10]?"InvalidField":"")+(0<=r[14]?.indexOf("address")?"Hidden":"")),Tt(c,"part",ee="AddressContainer "+(r[6]?"InvalidField":"")),Tt(ne,"class","FormRequired"),Tt(ne,"part","FormRequired"),Tt(f,"for","PostalCode"),Tt(p,"type","text"),Tt(p,"id","PostalCode"),Tt(h,"class",oe="PostalCodeContainer "+(r[7]&&!r[11]?"InvalidField":"")+(0<=r[14]?.indexOf("postalCode")?"Hidden":"")),Tt(h,"part",le="PostalCodeContainer "+(r[7]?"InvalidField":"")),Tt(s,"class","AddressPostalCodeContainer"),Tt(s,"part","AddressPostalCodeContainer"),Tt(he,"class","FormRequired"),Tt(he,"part","FormRequired"),Tt(g,"for","City"),Tt(y,"type","text"),Tt(y,"id","City"),Tt(m,"class",me="CityContainer "+(r[9]&&r[13]?"InvalidField":"")+(0<=r[14]?.indexOf("city")?"Hidden":"")),Tt(m,"part",ge="CityContainer "+(r[9]?"InvalidField":"")),Tt(we,"class","FormRequired"),Tt(we,"part","FormRequired"),Tt(b,"for","Country"),Tt(w,"id","Country"),void 0===r[21]&&Pt(()=>r[57].call(w)),Tt(v,"class",Ce="CountryContainer "+(0<=r[14]?.indexOf("country")?"Hidden":"")),Tt(v,"part","CountryContainer"),Tt(ke,"class","FormRequired"),Tt(ke,"part","FormRequired"),Tt(Ee,"for","Nationality"),Tt(C,"id","Nationality"),void 0===r[23]&&Pt(()=>r[58].call(C)),Tt(_,"class",De="NationalityContainer "+(0<=r[14]?.indexOf("nationality")?"Hidden":"")),Tt(_,"part","NationalityContainer"),Tt(Ne,"class","FormRequired"),Tt(Ne,"part","FormRequired"),Tt(Oe,"for","Mobile"),Tt(x,"class","MobilePrefixSelected"),Tt(x,"part","MobilePrefixSelected"),void 0===r[26]&&Pt(()=>r[59].call(x)),Tt(T,"type","text"),Tt(T,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),Tt(T,"id","Mobile"),Tt(T,"class","MobileInput"),Tt(T,"part","MobileInput"),Tt(E,"class","MobileWrapper"),Tt(E,"part","MobileWrapper"),Tt(S,"class",Ie="MobileContainer "+(r[8]&&!r[12]?"InvalidField":"")+(0<=r[14]?.indexOf("mobile")?"Hidden":"")),Tt(S,"part",Le="MobileContainer "+(r[8]?"InvalidField":"")),Tt(k,"class","RegisterStepNext"),Tt(k,"part","RegisterStepNext"),k.disabled=Ge=!r[31],Tt(l,"class","RegisterFormContent"),Tt(l,"part","RegisterFormContent")},m(e,t){M&&M.m(hn.head,null),bt(hn.head,I),wt(e,L,t),wt(e,a,t),wt(e,$,t),wt(e,o,t),bt(o,U),bt(U,i),bt(i,n),bt(n,Y),bt(Y,G),bt(G,z),bt(n,j),bt(i,V),bt(i,W),bt(o,q),bt(o,l),bt(l,s),bt(s,c),bt(c,u),bt(u,Z),bt(u,Q),bt(u,X),bt(c,K),bt(c,d),Mt(d,r[17]),bt(c,J),D&&D.m(c,null),bt(s,te),bt(s,h),bt(h,f),bt(f,re),bt(f,ie),bt(f,ne),bt(h,se),bt(h,p),Mt(p,r[18]),bt(h,ae),P&&P.m(h,null),bt(l,ce),bt(l,m),bt(m,g),bt(g,ue),bt(g,de),bt(g,he),bt(m,fe),bt(m,y),Mt(y,r[19]),bt(m,pe),O&&O.m(m,null),bt(l,ye),bt(l,v),bt(v,b),bt(b,ve),bt(b,be),bt(b,we),bt(v,_e),bt(v,w);for(let e=0;e<B.length;e+=1)B[e]&&B[e].m(w,null);Dt(w,r[21],!0),bt(l,Se),bt(l,_),bt(_,Ee),bt(Ee,xe),bt(Ee,Te),bt(Ee,ke),bt(_,Me),bt(_,C);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(C,null);Dt(C,r[23],!0),bt(l,Pe),bt(l,S),bt(S,Oe),bt(Oe,Be),bt(Oe,Ae),bt(Oe,Ne),bt(S,Re),bt(S,E),bt(E,x);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(x,null);Dt(x,r[26],!0),bt(E,Fe),bt(E,T),Mt(T,r[24]),bt(S,He),R&&R.m(S,null),bt(l,$e),F&&F.m(l,null),bt(l,Ue),bt(l,k),bt(k,Ye),bt(o,ze),H&&H.m(o,null),r[68](o),je||(Ve=[xt(i,"click",r[40]),xt(d,"input",r[48]),xt(d,"keyup",r[33]),xt(d,"focus",r[49]),xt(d,"blur",r[50]),xt(p,"input",r[51]),xt(p,"keyup",r[34]),xt(p,"focus",r[52]),xt(p,"blur",r[53]),xt(y,"input",r[54]),xt(y,"keyup",r[35]),xt(y,"focus",r[55]),xt(y,"blur",r[56]),xt(w,"change",r[57]),xt(C,"change",r[58]),xt(x,"change",r[59]),xt(T,"input",r[60]),xt(T,"keyup",r[36]),xt(T,"focus",r[61]),xt(T,"blur",r[62]),xt(k,"click",r[67])],je=!0)},p(t,r){if(t[4]?M?M.p(t,r):((M=gn(t)).c(),M.m(I.parentNode,I)):M&&(M.d(1),M=null),16&r[0]&&Tt(a,"data-sitekey",t[4]),2&r[1]&&We!==(We=t[32]("registerBackButton")+"")&&kt(W,We),2&r[1]&&qe!==(qe=t[32]("registerAddress")+"")&&kt(Z,qe),131072&r[0]&&d.value!==t[17]&&Mt(d,t[17]),t[6]?D?D.p(t,r):((D=yn(t)).c(),D.m(c,null)):D&&(D.d(1),D=null),17472&r[0]&&e!==(e="AddressContainer "+(t[6]&&!t[10]?"InvalidField":"")+(0<=t[14]?.indexOf("address")?"Hidden":""))&&Tt(c,"class",e),64&r[0]&&ee!==(ee="AddressContainer "+(t[6]?"InvalidField":""))&&Tt(c,"part",ee),2&r[1]&&Ze!==(Ze=t[32]("registerPostalCode")+"")&&kt(re,Ze),262144&r[0]&&p.value!==t[18]&&Mt(p,t[18]),t[7]?P?P.p(t,r):((P=vn(t)).c(),P.m(h,null)):P&&(P.d(1),P=null),18560&r[0]&&oe!==(oe="PostalCodeContainer "+(t[7]&&!t[11]?"InvalidField":"")+(0<=t[14]?.indexOf("postalCode")?"Hidden":""))&&Tt(h,"class",oe),128&r[0]&&le!==(le="PostalCodeContainer "+(t[7]?"InvalidField":""))&&Tt(h,"part",le),2&r[1]&&Qe!==(Qe=t[32]("registerCity")+"")&&kt(ue,Qe),524288&r[0]&&y.value!==t[19]&&Mt(y,t[19]),t[9]?O?O.p(t,r):((O=bn(t)).c(),O.m(m,null)):O&&(O.d(1),O=null),25088&r[0]&&me!==(me="CityContainer "+(t[9]&&t[13]?"InvalidField":"")+(0<=t[14]?.indexOf("city")?"Hidden":""))&&Tt(m,"class",me),512&r[0]&&ge!==(ge="CityContainer "+(t[9]?"InvalidField":""))&&Tt(m,"part",ge),2&r[1]&&Xe!==(Xe=t[32]("registerCountry")+"")&&kt(ve,Xe),1048576&r[0]){let e;for(tt=t[20],e=0;e<tt.length;e+=1){var i=mn(t,tt,e);B[e]?B[e].p(i,r):(B[e]=wn(i),B[e].c(),B[e].m(w,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=tt.length}if(3145728&r[0]&&Dt(w,t[21]),16384&r[0]&&Ce!==(Ce="CountryContainer "+(0<=t[14]?.indexOf("country")?"Hidden":""))&&Tt(v,"class",Ce),2&r[1]&&Ke!==(Ke=t[32]("registerNationality")+"")&&kt(xe,Ke),4194304&r[0]){let e;for(rt=t[22],e=0;e<rt.length;e+=1){var n=pn(t,rt,e);A[e]?A[e].p(n,r):(A[e]=_n(n),A[e].c(),A[e].m(C,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=rt.length}if(12582912&r[0]&&Dt(C,t[23]),16384&r[0]&&De!==(De="NationalityContainer "+(0<=t[14]?.indexOf("nationality")?"Hidden":""))&&Tt(_,"class",De),2&r[1]&&Je!==(Je=t[32]("registerMobile")+"")&&kt(Be,Je),33554432&r[0]){let e;for(it=t[25],e=0;e<it.length;e+=1){var s=fn(t,it,e);N[e]?N[e].p(s,r):(N[e]=Cn(s),N[e].c(),N[e].m(x,null))}for(;e<N.length;e+=1)N[e].d(1);N.length=it.length}100663296&r[0]&&Dt(x,t[26]),16777216&r[0]&&T.value!==t[24]&&Mt(T,t[24]),t[8]?R?R.p(t,r):((R=Sn(t)).c(),R.m(S,null)):R&&(R.d(1),R=null),20736&r[0]&&Ie!==(Ie="MobileContainer "+(t[8]&&!t[12]?"InvalidField":"")+(0<=t[14]?.indexOf("mobile")?"Hidden":""))&&Tt(S,"class",Ie),256&r[0]&&Le!==(Le="MobileContainer "+(t[8]?"InvalidField":""))&&Tt(S,"part",Le),"true"===t[0]?F?F.p(t,r):((F=En(t)).c(),F.m(l,Ue)):F&&(F.d(1),F=null),2&r[1]&&et!==(et=t[32]("registerOpenAccount")+"")&&kt(Ye,et),1&r[1]&&Ge!==(Ge=!t[31])&&(k.disabled=Ge),t[15]?H?H.p(t,r):((H=Pn(t)).c(),H.m(o,null)):H&&(H.d(1),H=null)},i:yt,o:yt,d(e){M&&M.d(e),_t(I),e&&_t(L),e&&_t(a),e&&_t($),e&&_t(o),D&&D.d(),P&&P.d(),O&&O.d(),Ot(B,e),Ot(A,e),Ot(N,e),R&&R.d(),F&&F.d(),H&&H.d(),r[68](null),je=!1,vt(Ve)}}}function Bn(t,e,r){let F;se(t,wi,e=>r(32,F=e));let i,n,s,a,o,l,c,{userconsentsexist:u="false"}=e,{termsconditions:d="false"}=e,{smsoffers:H="false"}=e,{emailmarketing:I="false"}=e,{endpoint:h=""}=e,{captchakey:f=""}=e,{lang:p=""}=e,{disabledfields:m=""}=e,{defaultoptions:g=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,L=!1,$=!1,U=!1,Y=!1,G=!1,z="",w="",_="",C="",S=[],E="",x=[],T="",k="",M=[],D="",P=!1,O=!1,B=!1,A=!1,j=!1;var V,W;({withLocale:V,translations:W}={withLocale:"en",translations:{}}),ne.subscribe(e=>{null==e&&(Jr.set(W),ne.set(V))}),Object.keys(dn).forEach(e=>{un(e,dn[e])});const N=()=>{r(31,j=!(i||n||a||s||G||"true"===u&&"true"===d&&!A)),(w.length<=0||_.length<=0||C.length<=0||k.length<=0)&&r(31,j=!1)},R=e=>{switch(e){case"GeneralOffers":!1===P?(r(27,P=!0),r(28,O=!0),r(29,B=!0)):(r(27,P=!1),r(28,O=!1),r(29,B=!1));break;case"SmsOffers":!1===O?(r(28,O=!0),r(27,P=!0)):r(28,O=!1),q();break;case"EmailOffers":!1===B?(r(29,B=!0),r(27,P=!0)):r(29,B=!1),q()}},q=()=>{O||B||r(27,P=!1)},Z=()=>{r(30,A=!1===A),N()},Q=e=>{e.preventDefault();let t;new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(f,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{t={address:w,postalCode:_,city:C,countrySelected:E,nationalitySelected:T,mobilePrefixSelected:D,mobile:k,consentOffersSms:O,consentOffersEmail:B,consentTerms:A,consentOffers:P,token:e},window.postMessage({type:"RegisterStepThree",registerStepThreeData:t},window.location.href)})},X=e=>{if(e.data)switch(e.data.type){case"StepThreeDataBackup":r(17,w=e.data.userData.address1),r(18,_=e.data.userData.postalCode),r(19,C=e.data.userData.city),r(21,E=e.data.userData.country),r(23,T=e.data.userData.nationality),r(26,D=e.data.userData.mobile.prefix),r(24,k=e.data.userData.mobile.number),r(28,O=e.data.userData.userConsents.sms),r(29,B=e.data.userData.userConsents.emailmarketing),r(30,A=e.data.userData.userConsents.termsandconditions),N();break;case"ShowRegistrationError":r(15,G=e.data.showError),r(16,z=e.data.error)}};return ae(()=>(window.addEventListener("message",X,!1),()=>{window.removeEventListener("message",X)})),t.$$set=e=>{"userconsentsexist"in e&&r(0,u=e.userconsentsexist),"termsconditions"in e&&r(1,d=e.termsconditions),"smsoffers"in e&&r(2,H=e.smsoffers),"emailmarketing"in e&&r(3,I=e.emailmarketing),"endpoint"in e&&r(41,h=e.endpoint),"captchakey"in e&&r(4,f=e.captchakey),"lang"in e&&r(42,p=e.lang),"disabledfields"in e&&r(43,m=e.disabledfields),"defaultoptions"in e&&r(44,g=e.defaultoptions),"clientstyling"in e&&r(45,y=e.clientstyling),"clientstylingurl"in e&&r(46,v=e.clientstylingurl),"translationurl"in e&&r(47,b=e.translationurl)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&h&&fetch(h+"/player/countries").then(e=>e.json()).then(e=>{fetch(h+"/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{r(20,S=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))),E||r(21,E=S[0].Alpha2Code),r(22,x=e.countries),T||r(23,T=x.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))[0].Alpha2Code)})}),1024&t.$$.dirty[1]&&h&&fetch(h+"/player/phonecodes").then(e=>e.json()).then(e=>{r(25,M=e.phoneCodes),D||r(26,D=M[0].Prefix)}),2048&t.$$.dirty[1]&&p&&(e=p,ne.set(e)),4096&t.$$.dirty[1]&&m&&(r(14,o=m.split(",")),0<=o.indexOf("address")&&(r(6,i=!1),r(17,w="dummy address")),0<=o.indexOf("postalCode")&&(r(7,n=!1),r(18,_="000000")),0<=o.indexOf("mobile")&&(r(8,s=!1),r(24,k="1234123412"),r(26,D="000")),0<=o.indexOf("city")&&(r(9,a=!1),r(19,C="dummy city")),0<=o.indexOf("country")&&r(21,E="dummy country"),0<=o.indexOf("nationality"))&&r(23,T="dummy nationality"),8192&t.$$.dirty[1]&&g&&(0<=(l=g.split(",")).indexOf("consentsTerms")&&r(30,A=!0),0<=l.indexOf("consentsOffers")&&(r(27,P=!0),r(28,O=!0),r(29,B=!0)),l.forEach(e=>{e.includes("phonePrefix")&&r(26,D=e.split(":")[1].toString())})),32&t.$$.dirty[0]|16384&t.$$.dirty[1]&&y&&c&&((e=document.createElement("style")).innerHTML=y,c.appendChild(e)),32&t.$$.dirty[0]|32768&t.$$.dirty[1]&&v&&c){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{un(e,t[e])})}).catch(e=>{console.log(e)})},[u,d,H,I,f,c,i,n,s,a,L,$,U,Y,o,G,z,w,_,C,S,E,x,T,k,M,D,P,O,B,A,j,F,()=>{r(6,i=!(w&&w.length<=100)),N()},()=>{r(7,n=!(_&&_.length<=20)),N()},()=>{r(9,a=!(C&&C.length<=50)),N()},()=>{r(8,s=!(k&&5<=k.length&&k.length<=12)),N()},R,Z,Q,()=>{var e={address:w,postalCode:_,city:C,countrySelected:E,nationalitySelected:T,mobilePrefixSelected:D,mobile:k,consentOffersSms:O,consentOffersEmail:B,consentTerms:A,consentOffers:P};window.postMessage({type:"GoBackStepThree",registerStepThreeData:e},window.location.href)},h,p,m,g,y,v,b,function(){w=this.value,r(17,w)},()=>r(10,L=!0),()=>r(10,L=!1),function(){_=this.value,r(18,_)},()=>r(11,$=!0),()=>r(11,$=!1),function(){C=this.value,r(19,C)},()=>r(13,Y=!0),()=>r(13,Y=!1),function(){E=K(this),r(21,E),r(20,S)},function(){T=K(this),r(23,T),r(22,x)},function(){D=K(this),r(26,D),r(25,M)},function(){k=this.value,r(24,k)},()=>r(12,U=!0),()=>r(12,U=!1),()=>R("GeneralOffers"),()=>R("SmsOffers"),()=>R("EmailOffers"),()=>Z(),e=>Q(e),function(e){ie[e?"unshift":"push"](()=>{c=e,r(5,c)})}]}function An(e,t){ti(e,t)}customElements.get("general-player-register-form-step3")||customElements.define("general-player-register-form-step3",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent=".BackButton{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.AddressContainer input,.PostalCodeContainer input,.CityContainer input,.CountryContainer select,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.MobileWrapper .MobileInput{width:70%}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:16px;user-select:none;line-height:18px}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emfe-w-color-primary, #D0046C)}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:\"\";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emfe-w-color-secondary, #FD2839);font-size:14px}.RegisterError{color:var(--emfe-w-color-secondary, #FD2839);font-size:16px;line-height:18px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Bn,On,S,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:41,captchakey:4,lang:42,disabledfields:43,defaultoptions:44,clientstyling:45,clientstylingurl:46,translationurl:47},null,[-1,-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["userconsentsexist","termsconditions","smsoffers","emailmarketing","endpoint","captchakey","lang","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get userconsentsexist(){return this.$$.ctx[0]}set userconsentsexist(e){this.$$set({userconsentsexist:e}),h()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(e){this.$$set({termsconditions:e}),h()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(e){this.$$set({smsoffers:e}),h()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(e){this.$$set({emailmarketing:e}),h()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),h()}get captchakey(){return this.$$.ctx[4]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[42]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[43]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[44]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),h()}});const Nn={en:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend",loginSMSHint:"A new verification code has been sent to your phone number"},"zh-hk":{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"},fr:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"},tr:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Telefon numaranıza yeni bir doğrulama kodu gönderildi.",activate:"Activate Account",resend:"Resend"},ro:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Un nou cod de verificare a fost trimis catre numarul dumneavoastra.",activate:"Activate Account",resend:"Resend"},es:{title:"Por favor ingrese su código de verificación enviado por mensaje de texto a su número de telefono",errorTitle:"Su código es invalido",code:"Código SMS",smsCodeError:"Código SMS invalido",resendMessage:"Un nuevo codigo de verificación ha sido enviado a tu número celular.",activate:"Activar Cuenta",resend:"Reenviar"},pt:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Um novo código de verificação foi enviado para o seu número de telefone.",activate:"Activate Account",resend:"Resend"}};function Rn(e){let r,i=e[5]("errorTitle")+"";return{c(){r=St(i)},m(e,t){wt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("errorTitle")+"")&&kt(r,i)},d(e){e&&_t(r)}}}function Fn(e){let r,i=e[5]("title")+"";return{c(){r=St(i)},m(e,t){wt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("title")+"")&&kt(r,i)},d(e){e&&_t(r)}}}function Hn(e){let r,i,n=e[5]("smsCodeError")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","InvalidInput"),Tt(r,"part","InvalidInput")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){32&t&&n!==(n=e[5]("smsCodeError")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function In(e){let r,i,n=e[5]("resendMessage")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","SmsVerificationResendMessage"),Tt(r,"part","SmsVerificationResendMessage")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){32&t&&n!==(n=e[5]("resendMessage")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Ln(e){let r,i,n,s,a,o=e[4]<10?"0":"";return{c(){r=Ct("span"),i=St("(0:"),n=St(o),s=St(e[4]),a=St(")"),Tt(r,"class","SmsVerificationResendTimer")},m(e,t){wt(e,r,t),bt(r,i),bt(r,n),bt(r,s),bt(r,a)},p(e,t){16&t&&o!==(o=e[4]<10?"0":"")&&kt(n,o),16&t&&kt(s,e[4])},d(e){e&&_t(r)}}}function $n(r){let i,n,s,a,o,l,c,u,d,h,f,p,m,g,y,v,b,w,_,C,S,E,x,T=r[5]("code")+"",k=r[5]("activate")+"",M=r[5]("resend")+"";function D(e){return e[2]?Fn:Rn}let P=D(r),O=P(r),B=!r[2]&&Hn(r),A=r[3]&&In(r),N=r[3]&&Ln(r);return{c(){i=Ct("div"),n=Ct("h3"),O.c(),s=Et(),a=Ct("div"),o=Ct("label"),l=St(T),c=St(":"),(u=Ct("span")).textContent="*",d=Et(),h=Ct("input"),f=Et(),B&&B.c(),g=Et(),A&&A.c(),y=Et(),v=Ct("button"),b=St(k),w=Et(),_=Ct("button"),C=St(M),S=Et(),N&&N.c(),this.c=yt,Tt(n,"class","Title"),Tt(n,"part","Title"),Tt(u,"class","FormRequired"),Tt(u,"part","FormRequired"),Tt(o,"for","SmsCode"),Tt(h,"type","text"),Tt(h,"id","SmsCode"),Tt(h,"inputmode","numeric"),Tt(h,"pattern","[0-9]*"),Tt(h,"maxlength","6"),Tt(a,"class",p="Field SmsVerificationField "+(r[2]?"":"InvalidField")),Tt(a,"part",m="SmsVerificationField "+(r[2]?"":"InvalidField")),Tt(v,"class","Button SmsVerificationValidate"),Tt(v,"part","SmsVerificationValidate"),Tt(_,"class","Button SmsVerificationResend"),Tt(_,"part","SmsVerificationResend"),_.disabled=r[3],Tt(i,"class","Container SmsVerificationContainer"),Tt(i,"part","SmsVerificationContainer")},m(e,t){wt(e,i,t),bt(i,n),O.m(n,null),bt(i,s),bt(i,a),bt(a,o),bt(o,l),bt(o,c),bt(o,u),bt(a,d),bt(a,h),Mt(h,r[1]),bt(a,f),B&&B.m(a,null),bt(i,g),A&&A.m(i,null),bt(i,y),bt(i,v),bt(v,b),bt(i,w),bt(i,_),bt(_,C),bt(_,S),N&&N.m(_,null),r[19](i),E||(x=[xt(h,"input",r[17]),xt(h,"keydown",r[18]),xt(v,"click",r[6]),xt(_,"click",r[7])],E=!0)},p(e,[t]){P===(P=D(e))&&O?O.p(e,t):(O.d(1),(O=P(e))&&(O.c(),O.m(n,null))),32&t&&T!==(T=e[5]("code")+"")&&kt(l,T),2&t&&h.value!==e[1]&&Mt(h,e[1]),e[2]?B&&(B.d(1),B=null):B?B.p(e,t):((B=Hn(e)).c(),B.m(a,null)),4&t&&p!==(p="Field SmsVerificationField "+(e[2]?"":"InvalidField"))&&Tt(a,"class",p),4&t&&m!==(m="SmsVerificationField "+(e[2]?"":"InvalidField"))&&Tt(a,"part",m),e[3]?A?A.p(e,t):((A=In(e)).c(),A.m(i,y)):A&&(A.d(1),A=null),32&t&&k!==(k=e[5]("activate")+"")&&kt(b,k),32&t&&M!==(M=e[5]("resend")+"")&&kt(C,M),e[3]?N?N.p(e,t):((N=Ln(e)).c(),N.m(_,null)):N&&(N.d(1),N=null),8&t&&(_.disabled=e[3])},i:yt,o:yt,d(e){e&&_t(i),O.d(),B&&B.d(),A&&A.d(),N&&N.d(),r[19](null),E=!1,vt(x)}}}function Un(t,e,r){let i;se(t,wi,e=>r(5,i=e));let n,s,a,{endpoint:o=""}=e,{tokenid:l=""}=e,{playerid:c=""}=e,{smstemplate:u="Please use this code {0} to activate your accout"}=e,{number:d=""}=e,{clientstyling:h=""}=e,{clientstylingurl:f=""}=e,{translationurl:p=""}=e,m=!0,g=!1,y=+localStorage.getItem("smsTimer")||0,v=Date.now()/1e3-y,b=60-Math.floor(v);const w={numeric:/^[0-9]{0,6}$/};var _,C;({withLocale:_,translations:C}={withLocale:"en",translations:{}}),ne.subscribe(e=>{null==e&&(Jr.set(C),ne.set(_))}),Object.keys(Nn).forEach(e=>{An(e,Nn[e])});const S=()=>{0<b?r(4,b--,b):(clearInterval(s),r(3,s=!1),r(4,b=60))},E=()=>{v<60&&r(3,s=setInterval(()=>{S()},1e3))},x=e=>{w.numeric.test(e.key)||8===e.keyCode||9===e.keyCode||46===e.keyCode||e.preventDefault()};return ae(()=>{var e;c&&d||(e=JSON.parse(localStorage.getItem("playerData")),r(10,c=e.playerid),r(11,d=e.number)),E()}),t.$$set=e=>{"endpoint"in e&&r(12,o=e.endpoint),"tokenid"in e&&r(9,l=e.tokenid),"playerid"in e&&r(10,c=e.playerid),"smstemplate"in e&&r(13,u=e.smstemplate),"number"in e&&r(11,d=e.number),"clientstyling"in e&&r(14,h=e.clientstyling),"clientstylingurl"in e&&r(15,f=e.clientstylingurl),"translationurl"in e&&r(16,p=e.translationurl)},t.$$.update=()=>{if(t.$$.dirty,16385&t.$$.dirty&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),32769&t.$$.dirty&&f&&a){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{An(e,t[e])})}).catch(e=>{console.log(e)})},[a,n,m,s,b,i,async()=>{try{if(!(await fetch(`${o}/player/${c}/activateSMS?tokenId=${l}&validationCode=`+n,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(2,m=!1),new Error("Could not activate user");r(2,m=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href)}catch(e){console.log(e)}},async()=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3))),E();try{var e=await fetch(o+"/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:c,messageTemplate:u,destination:d})}),t=await e.json();if(!e.ok)throw g=!0,new Error("Failed to fetch");r(9,l=t.id),g=!1,S()}catch(e){g=!0,console.error(e)}},x,l,c,d,o,u,h,f,p,function(){n=this.value,r(1,n)},e=>x(e),function(e){ie[e?"unshift":"push"](()=>{a=e,r(0,a)})}]}function Yn(r){let i,n,s,a,o,l,c,u,d,h,f,p;return{c(){i=Ct("div"),n=Ct("div"),o=Et(),l=Ct("div"),d=Et(),h=Ct("div"),Tt(n,"class",s="RegisterFirstStepDash "+(r[17]||!r[17]&&r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(n,"part",a="RegisterFirstStepDash "+(r[17]||!r[17]&&r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(l,"class",c="RegisterSecondStepDash "+(r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(l,"part",u="RegisterSecondStepDash "+(r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),Tt(h,"class",f="RegisterThirdStepDash "+(r[19]?"RegisterStepDashColor":"")),Tt(h,"part",p="RegisterThirdStepDash "+(r[19]?"RegisterStepDashColor":"")),Tt(i,"class","RegisterSteps"),Tt(i,"part","RegisterSteps")},m(e,t){wt(e,i,t),bt(i,n),bt(i,o),bt(i,l),bt(i,d),bt(i,h),r[41](i)},p(e,t){917504&t[0]&&s!==(s="RegisterFirstStepDash "+(e[17]||!e[17]&&e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(n,"class",s),917504&t[0]&&a!==(a="RegisterFirstStepDash "+(e[17]||!e[17]&&e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(n,"part",a),917504&t[0]&&c!==(c="RegisterSecondStepDash "+(e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(l,"class",c),917504&t[0]&&u!==(u="RegisterSecondStepDash "+(e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&Tt(l,"part",u),524288&t[0]&&f!==(f="RegisterThirdStepDash "+(e[19]?"RegisterStepDashColor":""))&&Tt(h,"class",f),524288&t[0]&&p!==(p="RegisterThirdStepDash "+(e[19]?"RegisterStepDashColor":""))&&Tt(h,"part",p)},d(e){e&&_t(i),r[41](null)}}}function Gn(e){let r,i;return{c(){r=Ct("div"),n(i=Ct("general-player-register-form-step1"),"lang",e[4]),n(i,"disabledfields",e[6]),n(i,"defaultoptions",e[7]),n(i,"dummydata",e[8]),n(i,"tempopcustomization",e[14]),n(i,"simplepasswordvalidation",e[10]),n(i,"clientstyling",e[11]),n(i,"clientstylingurl",e[12]),n(i,"savecredentials",e[13]),Tt(r,"class","RegisterFormStep1"),Tt(r,"part","RegisterFormStep1")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){16&t[0]&&n(i,"lang",e[4]),64&t[0]&&n(i,"disabledfields",e[6]),128&t[0]&&n(i,"defaultoptions",e[7]),256&t[0]&&n(i,"dummydata",e[8]),16384&t[0]&&n(i,"tempopcustomization",e[14]),1024&t[0]&&n(i,"simplepasswordvalidation",e[10]),2048&t[0]&&n(i,"clientstyling",e[11]),4096&t[0]&&n(i,"clientstylingurl",e[12]),8192&t[0]&&n(i,"savecredentials",e[13])},d(e){e&&_t(r)}}}function zn(e){let r,i;return{c(){r=Ct("div"),n(i=Ct("general-player-register-form-step2"),"endpoint",e[0]),n(i,"lang",e[4]),n(i,"licenseyears",e[5]),n(i,"disabledfields",e[6]),n(i,"defaultoptions",e[7]),n(i,"dummydata",e[8]),n(i,"clientstyling",e[11]),n(i,"clientstylingurl",e[12]),Tt(r,"class","RegisterFormStep2"),Tt(r,"part","RegisterFormStep2")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){1&t[0]&&n(i,"endpoint",e[0]),16&t[0]&&n(i,"lang",e[4]),32&t[0]&&n(i,"licenseyears",e[5]),64&t[0]&&n(i,"disabledfields",e[6]),128&t[0]&&n(i,"defaultoptions",e[7]),256&t[0]&&n(i,"dummydata",e[8]),2048&t[0]&&n(i,"clientstyling",e[11]),4096&t[0]&&n(i,"clientstylingurl",e[12])},d(e){e&&_t(r)}}}function jn(e){let r,i;return{c(){r=Ct("div"),n(i=Ct("general-player-register-form-step3"),"userconsentsexist",e[25]),n(i,"termsconditions",e[26]),n(i,"smsoffers",e[27]),n(i,"emailmarketing",e[28]),n(i,"endpoint",e[0]),n(i,"captchakey",e[3]),n(i,"lang",e[4]),n(i,"defaultoptions",e[7]),n(i,"disabledfields",e[6]),n(i,"dummydata",e[8]),n(i,"clientstyling",e[11]),n(i,"clientstylingurl",e[12]),Tt(r,"class","RegisterFormStep3"),Tt(r,"part","RegisterFormStep3")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){33554432&t[0]&&n(i,"userconsentsexist",e[25]),67108864&t[0]&&n(i,"termsconditions",e[26]),134217728&t[0]&&n(i,"smsoffers",e[27]),268435456&t[0]&&n(i,"emailmarketing",e[28]),1&t[0]&&n(i,"endpoint",e[0]),8&t[0]&&n(i,"captchakey",e[3]),16&t[0]&&n(i,"lang",e[4]),128&t[0]&&n(i,"defaultoptions",e[7]),64&t[0]&&n(i,"disabledfields",e[6]),256&t[0]&&n(i,"dummydata",e[8]),2048&t[0]&&n(i,"clientstyling",e[11]),4096&t[0]&&n(i,"clientstylingurl",e[12])},d(e){e&&_t(r)}}}function Vn(e){let r,i,n=e[33]("error")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","SMSErrorText")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Wn(e){let r;function i(e){return e[30]?qn:Zn}let n=i(e),s=n(e);return{c(){s.c(),r=nt()},m(e,t){s.m(e,t),wt(e,r,t)},p(e,t){n===(n=i(e))&&s?s.p(e,t):(s.d(1),(s=n(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&&_t(r)}}}function qn(e){let r,i,n=e[33]("error")+"";return{c(){r=Ct("p"),i=St(n),Tt(r,"class","SMSErrorText")},m(e,t){wt(e,r,t),bt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&kt(i,n)},d(e){e&&_t(r)}}}function Zn(e){let r;return{c(){n(r=Ct("general-player-sms-verification-form"),"endpoint",e[0]),n(r,"session",e[2]),n(r,"number",e[31]),n(r,"playerid",e[16]),n(r,"tokenid",e[29]),n(r,"clientstyling",e[11]),n(r,"clientstylingurl",e[12])},m(e,t){wt(e,r,t)},p(e,t){1&t[0]&&n(r,"endpoint",e[0]),4&t[0]&&n(r,"session",e[2]),1&t[1]&&n(r,"number",e[31]),65536&t[0]&&n(r,"playerid",e[16]),536870912&t[0]&&n(r,"tokenid",e[29]),2048&t[0]&&n(r,"clientstyling",e[11]),4096&t[0]&&n(r,"clientstylingurl",e[12])},d(e){e&&_t(r)}}}function Qn(r){let i,n,s,a,o,l,c,u,d,h,f,p,m,g,y,v,b,w,_,C,S=r[33]("goToLoginButton")+"";return{c(){i=Ct("div"),n=t("svg"),s=t("defs"),a=t("style"),o=St(".a{fill:#16ce16;}"),l=t("path"),c=Et(),u=Ct("h2"),d=St(r[22]),h=Et(),f=Ct("p"),p=St(r[23]),m=Et(),g=Ct("p"),y=St(r[24]),v=Et(),b=Ct("button"),w=St(S),Tt(l,"class","a"),Tt(l,"d","M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"),Tt(n,"xmlns","http://www.w3.org/2000/svg"),Tt(n,"viewBox","0 0 73.95 51"),Tt(u,"class","RegisterConfirmationTitle"),Tt(u,"part","RegisterConfirmationTitle"),Tt(f,"class","RegisterConfirmationSubtitle"),Tt(f,"part","RegisterConfirmationSubtitle"),Tt(g,"class","RegisterConfirmationNote"),Tt(g,"part","RegisterConfirmationNote"),Tt(b,"class","RegisterConfirmationGoToLogin"),Tt(b,"part","RegisterConfirmationGoToLogin"),Tt(i,"class","RegisterConfirmation"),Tt(i,"part","RegisterConfirmation")},m(e,t){wt(e,i,t),bt(i,n),bt(n,s),bt(s,a),bt(a,o),bt(n,l),bt(i,c),bt(i,u),bt(u,d),bt(i,h),bt(i,f),bt(f,p),bt(i,m),bt(i,g),bt(g,y),bt(i,v),bt(i,b),bt(b,w),_||(C=xt(b,"click",r[35]),_=!0)},p(e,t){4194304&t[0]&&kt(d,e[22]),8388608&t[0]&&kt(p,e[23]),16777216&t[0]&&kt(y,e[24]),4&t[1]&&S!==(S=e[33]("goToLoginButton")+"")&&kt(w,S)},d(e){e&&_t(i),_=!1,C()}}}function Xn(r){let i,n=function(e){let r,i,n,s,a,o,l,c,u=!e[34]&&function(e){let r;return{c(){Tt(r=Ct("div"),"class","RegisterFormImage"),Tt(r,"part","RegisterFormImage"),M(r,"background-image","url('"+e[1]+"')")},m(e,t){wt(e,r,t)},p(e,t){2&t[0]&&M(r,"background-image","url('"+e[1]+"')")},d(e){e&&_t(r)}}}(e),d=(e[17]||e[18]||e[19])&&Yn(e),h=e[17]&&Gn(e),f=e[18]&&zn(e),p=e[19]&&jn(e);function m(e){return e[9]&&e[20]?Wn:e[30]?Vn:void 0}let g=m(e),y=g&&g(e),v=e[21]&&Qn(e);return{c(){r=Ct("div"),u&&u.c(),i=Et(),n=Ct("div"),d&&d.c(),s=Et(),h&&h.c(),a=Et(),f&&f.c(),o=Et(),p&&p.c(),l=Et(),y&&y.c(),c=Et(),v&&v.c(),Tt(n,"class","RegisterFormContainer "+(e[34]?"RegisterFormContainerMobile":"")),Tt(n,"part","RegisterFormContainer "+(e[34]?"RegisterFormContainerMobile":"")),Tt(r,"class","RegisterFormWrapper"),Tt(r,"part","RegisterFormWrapper")},m(e,t){wt(e,r,t),u&&u.m(r,null),bt(r,i),bt(r,n),d&&d.m(n,null),bt(n,s),h&&h.m(n,null),bt(n,a),f&&f.m(n,null),bt(n,o),p&&p.m(n,null),bt(n,l),y&&y.m(n,null),bt(n,c),v&&v.m(n,null)},p(e,t){e[34]||u.p(e,t),e[17]||e[18]||e[19]?d?d.p(e,t):((d=Yn(e)).c(),d.m(n,s)):d&&(d.d(1),d=null),e[17]?h?h.p(e,t):((h=Gn(e)).c(),h.m(n,a)):h&&(h.d(1),h=null),e[18]?f?f.p(e,t):((f=zn(e)).c(),f.m(n,o)):f&&(f.d(1),f=null),e[19]?p?p.p(e,t):((p=jn(e)).c(),p.m(n,l)):p&&(p.d(1),p=null),g===(g=m(e))&&y?y.p(e,t):(y&&y.d(1),(y=g&&g(e))&&(y.c(),y.m(n,c))),e[21]?v?v.p(e,t):((v=Qn(e)).c(),v.m(n,null)):v&&(v.d(1),v=null)},d(e){e&&_t(r),u&&u.d(),d&&d.d(),h&&h.d(),f&&f.d(),p&&p.d(),y&&y.d(),v&&v.d()}}}(r);return{c(){i=Ct("div"),n.c(),this.c=yt},m(e,t){wt(e,i,t),n.m(i,null),r[42](i)},p(e,t){n.p(e,t)},i:yt,o:yt,d(e){e&&_t(i),n.d(),r[42](null)}}}function Kn(r,e,a){let t;se(r,wi,e=>a(33,t=e));let i,n,F,s,o,{endpoint:l=""}=e,{cmsendpoint:c=""}=e,{env:u=""}=e,{imagedesktop:d=""}=e,{session:h=""}=e,{trackedanalyticsdata:f=""}=e,{captchakey:p=""}=e,{lang:m=""}=e,{licenseyears:g=""}=e,{disabledfields:y=""}=e,{defaultoptions:v=""}=e,{dummydata:H=""}=e,{smsverification:b="false"}=e,{simplepasswordvalidation:I="false"}=e,{userroles:w=""}=e,{clientstyling:_=""}=e,{clientstylingurl:C=""}=e,{translationurl:S=""}=e,{savecredentials:L=""}=e,{tempopcustomization:$="false"}=e,E=[],U="",x=!0,T=!1,k=!1,M=!1,D=!1,Y=!1,G="",z="",j="",P=window.navigator.userAgent,V="PC"!==_i(P),O={},W=!1,q=!1,B="false",Z="false",Q="false",X="false",K="",A=!1,J=!1,ee={username:"",password:""};Object.keys(Si).forEach(e=>{Ci(e,Si[e])});const N=()=>{o.scrollIntoView()},R=(e,t)=>{"RegisterStepOne"===e&&(O.email=0<=E.indexOf("email")?"dummy@dummy.com":t.userEmail,O.username=0<=E.indexOf("username")?"dummyUsername":t.userValue,O.password=0<=E.indexOf("password")?"dummyPassword01!":t.userPassword,O.securityQuestion=0<=E.indexOf("securityQuestion")?"dummy question":t.securityQuestion,O.securityAnswer=0<=E.indexOf("securityAnswer")?"dummy answer":t.securityAnswer),"RegisterStepTwo"===e&&(O.title=t.userTitleSelected,O.firstname=0<=E.indexOf("firstName")?"dummy first name":t.userFirstName,O.lastname=0<=E.indexOf("lastName")?"dummy last name":t.userLastName,0<=E.indexOf("birthDate")?O.birth={day:1,month:1,year:2e3}:(O.birth={},O.birth.day=t.birthDaySelected,O.birth.month=t.birthMonthSelected,O.birth.year=t.birthYearSelected),O.birthPlace=0<=E.indexOf("birthPlace")?"ngenge":t.birthPlace,O.currency=t.currencySelected),"RegisterStepThree"===e&&(O.address1=0<=E.indexOf("address")?"dummy address":t.address,O.postalCode=0<=E.indexOf("postalCode")?"000000":t.postalCode,O.city=0<=E.indexOf("city")?"dummy city":t.city,O.country=0<=E.indexOf("country")?"dummy country":t.countrySelected,O.nationality=0<=E.indexOf("nationality")?"dummy nationality":t.nationalitySelected,0<=E.indexOf("mobile")?O.mobile={prefix:"0040",number:"1234123412"}:(O.mobile={},O.mobile.prefix=t.mobilePrefixSelected,O.mobile.number=t.mobile,a(31,s=""+t.mobilePrefixSelected+t.mobile)),O.userConsents={},O.affiliateMarker=f,"true"==B&&(O.userConsents.sms=t.consentOffersSms,O.userConsents.emailmarketing=t.consentOffersEmail,O.userConsents.termsandconditions=t.consentTerms),O.token=t.token)},te=e=>{if(e.data)switch(e.data.type){case"RegisterStepOne":R("RegisterStepOne",e.data.registerStepOneData),N(),a(17,x=!1),a(18,T=!0),0==W?W=!0:window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href);break;case"RegisterStepTwo":R("RegisterStepTwo",e.data.registerStepTwoData),N(),a(18,T=!1),a(19,k=!0),0==q?q=!0:window.postMessage({type:"StepThreeDataBackup",userData:O},window.location.href);break;case"RegisterStepThree":R("RegisterStepThree",e.data.registerStepThreeData),(async e=>{let t={method:"PUT",headers:{"g-recaptcha-response":e.token,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)},r=await fetch(`${l}/player/register`,t),i=await r.json();var n,s;r.ok?(a(19,k=!1),"false"===b?a(21,D=!0):(a(16,U=i.id),re(e,i.id)),ee={username:e.username,password:e.password},J&&(ki("BIOMETRICS_ENABLED",()=>{}),{username:n,password:s}=ee,Ti("ENABLE_BIOMETRICS",{username:n,password:s})),"function"==typeof gtag&>ag("event","Register",{context:"GeneralPlayerRegisterForm"})):(K=i.error.substring(i.error.indexOf("errorMessage")+13,i.error.length),Y=!0,window.postMessage({type:"ShowRegistrationError",showError:Y,error:K},window.location.href))})(O);break;case"SmsHasBeenValidated":a(21,D=!0),a(20,M=!1);break;case"GoBackStepTwo":R("RegisterStepTwo",e.data.registerStepTwoData),N(),a(17,x=!0),a(18,T=!1),window.postMessage({type:"StepOneDataBackup",userData:O},window.location.href);break;case"GoBackStepThree":R("RegisterStepThree",e.data.registerStepThreeData),N(),a(18,T=!0),a(19,k=!1),window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href)}},re=async(e,t)=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3)));try{var r=await fetch(l+"/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:t,messageTemplate:"Please use this code {0} to activate your account",destination:""+e.mobile.prefix+e.mobile.number})}),i=await r.json();if(!r.ok)throw a(30,A=!0),new Error("Failed to fetch");a(29,F=i.id),i.maxValidationAttempts,a(20,M=!0),a(30,A=!1)}catch(e){a(30,A=!0),console.error(e)}};return ae(()=>(window.addEventListener("message",te,!1),fetch(l+"/player/consentRequirements").then(e=>e.json()).then(e=>{0<e.items.length?(a(25,B="true"),e.items.forEach(e=>{switch(e.tagCode){case"termsandconditions":a(26,Z="true");break;case"sms":a(27,Q="true");break;case"emailmarketing":a(28,X="true")}})):a(25,B="false")}),J=!!xi(P),()=>{window.removeEventListener("message",te)})),r.$$set=e=>{"endpoint"in e&&a(0,l=e.endpoint),"cmsendpoint"in e&&a(36,c=e.cmsendpoint),"env"in e&&a(37,u=e.env),"imagedesktop"in e&&a(1,d=e.imagedesktop),"session"in e&&a(2,h=e.session),"trackedanalyticsdata"in e&&a(38,f=e.trackedanalyticsdata),"captchakey"in e&&a(3,p=e.captchakey),"lang"in e&&a(4,m=e.lang),"licenseyears"in e&&a(5,g=e.licenseyears),"disabledfields"in e&&a(6,y=e.disabledfields),"defaultoptions"in e&&a(7,v=e.defaultoptions),"dummydata"in e&&a(8,H=e.dummydata),"smsverification"in e&&a(9,b=e.smsverification),"simplepasswordvalidation"in e&&a(10,I=e.simplepasswordvalidation),"userroles"in e&&a(39,w=e.userroles),"clientstyling"in e&&a(11,_=e.clientstyling),"clientstylingurl"in e&&a(12,C=e.clientstylingurl),"translationurl"in e&&a(40,S=e.translationurl),"savecredentials"in e&&a(13,L=e.savecredentials),"tempopcustomization"in e&&a(14,$=e.tempopcustomization)},r.$$.update=()=>{if(16&r.$$.dirty[0]|352&r.$$.dirty[1]&&c&&m&&u&&w&&(e=new URL(`${c}/${m}/login-register-content?env=`+u),(t=_i(P))&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{n=e.registerData,a(22,G=n.title),a(23,z=n.subtitle),a(24,j=n.content)}).catch(e=>{console.error(e)})),r.$$.dirty[0],16&r.$$.dirty[0]&&m&&(t=m,ne.set(t)),64&r.$$.dirty[0]&&y&&(E=y.split(",")),34816&r.$$.dirty[0]&&_&&i&&((e=document.createElement("style")).innerHTML=_,i.appendChild(e)),36864&r.$$.dirty[0]&&C&&i){let e=new URL(C),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t;512&r.$$.dirty[1]&&S&&fetch(S).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ci(e,t[e])})}).catch(e=>{console.log(e)})},[l,d,h,p,m,g,y,v,H,b,I,_,C,L,$,i,U,x,T,k,M,D,G,z,j,B,Z,Q,X,void 0,A,s,o,t,V,()=>{window.postMessage({type:"ToLogin"},window.location.href)},c,u,f,w,S,function(e){ie[e?"unshift":"push"](()=>{o=e,a(32,o)})},function(e){ie[e?"unshift":"push"](()=>{i=e,a(15,i)})}]}customElements.get("general-player-sms-verification-form")||customElements.define("general-player-sms-verification-form",class extends U{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.Button{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000)}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Un,$n,S,{endpoint:12,tokenid:9,playerid:10,smstemplate:13,number:11,clientstyling:14,clientstylingurl:15,translationurl:16},null),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","tokenid","playerid","smstemplate","number","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),h()}get tokenid(){return this.$$.ctx[9]}set tokenid(e){this.$$set({tokenid:e}),h()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),h()}get smstemplate(){return this.$$.ctx[13]}set smstemplate(e){this.$$set({smstemplate:e}),h()}get number(){return this.$$.ctx[11]}set number(e){this.$$set({number:e}),h()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),h()}});class Jn extends U{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormWrapper{background:var(--emfe-w-color-gray-50, #F9F8F8);display:inline-flex;width:100%}.RegisterFormImage{background-position:center;background-size:cover;background-repeat:no-repeat;flex:1 1 100%}.RegisterFormContainer{flex:1 1 100%;padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-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(--emfe-w-color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emfe-w-color-primary, #D0046C)}.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(--emfe-w-color-green, #48952a);font-size:24px;font-weight:400;text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emfe-w-color-gray-300, #58586B);font-size:16px;line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emfe-w-color-black, #000000);font-size:18px;line-height:22px}.RegisterConfirmationGoToLogin{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Kn,Xn,S,{endpoint:0,cmsendpoint:36,env:37,imagedesktop:1,session:2,trackedanalyticsdata:38,captchakey:3,lang:4,licenseyears:5,disabledfields:6,defaultoptions:7,dummydata:8,smsverification:9,simplepasswordvalidation:10,userroles:39,clientstyling:11,clientstylingurl:12,translationurl:40,savecredentials:13,tempopcustomization:14},null,[-1,-1,-1]),e&&(e.target&&wt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","cmsendpoint","env","imagedesktop","session","trackedanalyticsdata","captchakey","lang","licenseyears","disabledfields","defaultoptions","dummydata","smsverification","simplepasswordvalidation","userroles","clientstyling","clientstylingurl","translationurl","savecredentials","tempopcustomization"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get cmsendpoint(){return this.$$.ctx[36]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),h()}get env(){return this.$$.ctx[37]}set env(e){this.$$set({env:e}),h()}get imagedesktop(){return this.$$.ctx[1]}set imagedesktop(e){this.$$set({imagedesktop:e}),h()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),h()}get trackedanalyticsdata(){return this.$$.ctx[38]}set trackedanalyticsdata(e){this.$$set({trackedanalyticsdata:e}),h()}get captchakey(){return this.$$.ctx[3]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[5]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[6]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[7]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get dummydata(){return this.$$.ctx[8]}set dummydata(e){this.$$set({dummydata:e}),h()}get smsverification(){return this.$$.ctx[9]}set smsverification(e){this.$$set({smsverification:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[10]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get userroles(){return this.$$.ctx[39]}set userroles(e){this.$$set({userroles:e}),h()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[13]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get tempopcustomization(){return this.$$.ctx[14]}set tempopcustomization(e){this.$$set({tempopcustomization:e}),h()}}return customElements.get("general-player-register-form")||customElements.define("general-player-register-form",Jn),Jn});
|
|
2
2
|
//# sourceMappingURL=general-player-register-form.js.map
|