@everymatrix/player-profile-info 1.36.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function f(){}function A(e){return e()}function B(){return Object.create(null)}function ar(e){e.forEach(A)}function T(e){return"function"==typeof e}function _(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function fe(e,...t){if(null==e)return f;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function sr(e,t){e.appendChild(t)}function lr(e,t,r){e.insertBefore(t,r||null)}function ur(e){e.parentNode&&e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function cr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function hr(e){return document.createTextNode(e)}function fr(){return hr(" ")}function pr(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function dr(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function mr(e,t){e.data!==(t=""+t)&&(e.data=t)}function yr(e,t){e.value=null==t?"":t}function br(t,r,e){for(let e=0;e<t.options.length;e+=1){var o=t.options[e];if(o.__value===r)return o.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}let pe;function x(e){pe=e}const p=[],he=[];let n=[];const C=[],N=Promise.resolve();let I=!1;function gr(e){n.push(e)}const H=new Set;let D=0;function d(){if(0===D){const o=pe;do{try{for(;D<p.length;){const o=p[D];D++,x(o),e=t=void 0;var e,t=o.$$;null!==t.fragment&&(t.update(),ar(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(gr))}}catch(o){throw p.length=0,D=0,o}for(x(null),p.length=0,D=0;he.length;)he.pop()();for(let e=0;e<n.length;e+=1){var r=n[e];H.has(r)||(H.add(r),r())}}while(n.length=0,p.length);for(;C.length;)C.pop()();I=!1,H.clear(),x(o)}}const O=new Set;function M(o,e,t,r,i,n,a,s=[-1]){var l=pe;x(o);const u=o.$$={fragment:null,ctx:[],props:n,update:f,not_equal:i,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:B(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c)&&(r=e,-1===(e=o).$$.dirty[0]&&(p.push(e),I||(I=!0,N.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],u.update(),c=!0,ar(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){n=e.target;const f=Array.from(n.childNodes);u.fragment&&u.fragment.l(f),f.forEach(ur)}else u.fragment&&u.fragment.c();e.intro&&(s=o.$$.fragment)&&s.i&&(O.delete(s),s.i(void 0));var h=o,a=e.target,t=e.anchor,r=e.customElement,{fragment:n,after_update:s}=h.$$;n&&n.m(a,t),r||gr(()=>{var e=h.$$.on_mount.map(A).filter(T);h.$$.on_destroy?h.$$.on_destroy.push(...e):ar(e),h.$$.on_mount=[]}),s.forEach(gr),d()}x(l)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(A).filter(T);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ar(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const o=[],i=[];n.forEach(e=>(-1===r.indexOf(e)?o:i).push(e)),i.forEach(e=>e()),n=o}ar(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=f}$on(e,t){if(!T(t))return f;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 k,R,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},F="URLSearchParams"in l,U="Symbol"in l&&"iterator"in Symbol,G="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),j="FormData"in l,$="ArrayBuffer"in l;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 V(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return U&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function W(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function K(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function X(e){var t=new FileReader,r=K(t);return t.readAsArrayBuffer(e),r}function Y(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Z(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:G&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:j&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:F&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():$&&G&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):$&&(ArrayBuffer.prototype.isPrototypeOf(e)||R(e))?this._bodyArrayBuffer=Y(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):F&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},G&&(this.blob=function(){var e=W(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(){if(this._bodyArrayBuffer)return W(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(G)return this.blob().then(X);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=W(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=K(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},j&&(this.formData=function(){return this.text().then(J)}),this.json=function(){return this.text().then(JSON.parse)},this}$&&(k=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],R=ArrayBuffer.isView||function(e){return e&&-1<k.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=z(e),t=Q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},u.prototype.delete=function(e){delete this.map[z(e)]},u.prototype.get=function(e){return e=z(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(z(e))},u.prototype.set=function(e,t){this.map[z(e)]=Q(t)},u.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},u.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),V(r)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),V(t)},u.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),V(r)},U&&(u.prototype[Symbol.iterator]=u.prototype.entries);var q=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var r,o=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=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 u(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<q.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"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 J(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 h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},Z.call(c.prototype),Z.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var ee=[301,302,303,307,308],te=(h.redirect=function(e,t){if(-1===ee.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new te}catch(f){(te=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),te.prototype.constructor=te}function re(o,s){return new Promise(function(i,e){var n=new c(o,s);if(n.signal&&n.signal.aborted)return e(new te("Aborted","AbortError"));var r,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,o,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",o=new u,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 t=e.split(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(n.url.startsWith("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new h(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new te("Aborted","AbortError"))},0)},a.open(n.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(n.url),!0),"include"===n.credentials?a.withCredentials=!0:"omit"===n.credentials&&(a.withCredentials=!1),"responseType"in a&&(G?a.responseType="blob":$&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){r.push(z(e)),a.setRequestHeader(e,Q(s.headers[e]))}),n.headers.forEach(function(e,t){-1===r.indexOf(t)&&a.setRequestHeader(t,e)})):n.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),n.signal&&(n.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&n.signal.removeEventListener("abort",t)}),a.send(void 0===n._bodyInit?null:n._bodyInit)})}re.polyfill=!0,l.fetch||(l.fetch=re,l.Headers=u,l.Request=c,l.Response=h),self.fetch.bind(self);var oe=function(e,t){return(oe=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 ie(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}oe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ne(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ae(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,i,n=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(o=n.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function se(e,t,r){if(r||2===arguments.length)for(var o,i=0,n=t.length;i<n;i++)!o&&i in t||((o=o||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function m(e){return"function"==typeof e}function le(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 ue=le(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 ce(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,o,i;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=ne(n),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(m(n))try{n()}catch(e){i=e instanceof ue?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=ne(n),u=l.next();!u.done;u=l.next()){var c=u.value;try{be(c)}catch(e){i=null!=i?i:[],e instanceof ue?i=se(se([],ae(i)),ae(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(i)throw new ue(i)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)be(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)&&ce(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&ce(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var de=r,me=de.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function ye(e){return e instanceof de||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function be(e){m(e)?e():e.unsubscribe()}var ge=void 0,ve=!1,Ee=!1,Pe={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=Pe.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,se([e,t],ae(r))):setTimeout.apply(void 0,se([e,t],ae(r)))},clearTimeout:function(e){var t=Pe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function we(){}var Se=null;function Ae(e){if(ve){var t=!Se;if(t&&(Se={errorThrown:!1,error:null}),e(),t){var t=Se,r=t.errorThrown,t=t.error;if(Se=null,r)throw t}}else e()}ie(e,Be=de),e.create=function(e,t,r){return new Ie(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,Be.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 Be,Te=e,_e=Function.prototype.bind;function e(e){var t=Be.call(this)||this;return t.isStopped=!1,e?ye(t.destination=e)&&e.add(t):t.destination=Me,t}function xe(e,t){return _e.call(e,t)}De.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Oe(e)}},De.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Oe(e)}else Oe(e)},De.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Oe(e)}};var Ce,Ne=De,Ie=(ie(He,Ce=Te),He);function He(e,t,r){var o=Ce.call(this)||this,r=m(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Ee?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&xe(e.next,t),error:e.error&&xe(e.error,t),complete:e.complete&&xe(e.complete,t)}):e;return o.destination=new Ne(r),o}function De(e){this.partialObserver=e}function Oe(e){var t=e;Pe.setTimeout(function(){throw t})}var Me={closed:!0,next:we,error:function(e){throw e},complete:we},o="function"==typeof Symbol&&Symbol.observable||"@@observable";i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,r){var o,i=this,n=(o=e)&&o instanceof Te||o&&m(o.next)&&m(o.error)&&m(o.complete)&&ye(o)?e:new Ie(e,t,r);return Ae(function(){var e=i.operator,t=i.source;n.add(e?e.call(n,t):t?i._subscribe(n):i._trySubscribe(n))}),n},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(o,e){var i=this;return new(e=ke(e))(function(e,t){var r=new Ie({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});i.subscribe(r)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[o]=function(){return this},i.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)},i.prototype.toPromise=function(e){var o=this;return new(e=ke(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},i.create=function(e){return new i(e)};var Le=i;function i(e){e&&(this._subscribe=e)}function ke(e){return null!=(e=null!=e?e:ge)?e:Promise}var Re,Fe,Ue,Ge=le(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(ie(a,Ue=Le),a.prototype.lift=function(e){var t=new je(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new Ge},a.prototype.next=function(i){var n=this;Ae(function(){var t,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var r=ne(n.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;Ae(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;Ae(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(),Ue.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,o=this.isStopped,i=this.observers;return r||o?me:(this.currentObservers=null,i.push(e),new de(function(){t.currentObservers=null,ce(i,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},a.prototype.asObservable=function(){var e=new Le;return e.source=this,e},a.create=function(e,t){return new je(e,t)},a),je=(ie(Ve,Fe=o),Ve.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Ve.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},Ve.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ve.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:me},Ve),$e={now:function(){return($e.delegate||Date).now()},delegate:void 0},ze=(ie(Qe,Re=o),Qe.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,i=t._infiniteTimeWindow,n=t._timestampProvider,t=t._windowTime;r||(o.push(e),i)||o.push(n.now()+t),this._trimBuffer(),Re.prototype.next.call(this,e)},Qe.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),i=0;i<o.length&&!e.closed;i+=r?1:2)e.next(o[i]);return this._checkFinalizedStatuses(e),t},Qe.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!o){for(var n=t.now(),a=0,s=1;s<r.length&&r[s]<=n;s+=2)a=s;a&&r.splice(0,a+1)}},Qe);function Qe(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=$e);var o=Re.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function Ve(e,t){var r=Fe.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=Ue.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let We=[],Ke={};const Xe=[];function Ye(o,i=f){let n;const a=new Set;function s(e){if(_(o,e)&&(o=e,n)){const e=!Xe.length;for(const e of a)e[1](),Xe.push(e,o);if(e){for(let e=0;e<Xe.length;e+=2)Xe[e][0](Xe[e+1]);Xe.length=0}}}return{set:s,update:function(e){s(e(o))},subscribe:function(e,t=f){const r=[e,t];return a.add(r),1===a.size&&(n=i(s)||f),e(o),()=>{a.delete(r),0===a.size&&n&&(n(),n=null)}}}}function Ze(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Ye(t,t=>{let r=!1;const o=[];let i=0,n=f;const a=()=>{var e;i||(n(),e=s(l?o[0]:o,t),c?t(e):n=T(e)?e:f)},e=u.map((e,t)=>fe(e,e=>{o[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){ar(e),n(),r=!1}}).subscribe}}function qe(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Je);var t}var Je="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt(Array.isArray(e)?[]:{},e,t):e}function tt(e,t,r){return e.concat(t).map(function(e){return et(e,r)})}function rt(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 ot(e,t){try{return t in e}catch(e){return!1}}function it(o,i,n){var a={};return n.isMergeableObject(o)&&rt(o).forEach(function(e){a[e]=et(o[e],n)}),rt(i).forEach(function(e){var t,r;(!ot(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ot(o,e)&&n.isMergeableObject(i[e])?a[e]=((t=n).customMerge&&"function"==typeof(t=t.customMerge(e))?t:nt)(o[e],i[e],n):a[e]=et(i[e],n))}),a}function nt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||tt,r.isMergeableObject=r.isMergeableObject||qe,r.cloneUnlessOtherwiseSpecified=et;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):it(e,t,r):et(t,r)}nt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return nt(e,t,r)},{});throw new Error("first argument should be an array")};var at=nt,st=function(e,t){return(st=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 lt(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}st(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var y,b,ut,g=function(){return(g=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ct(e,t,r){if(r||2===arguments.length)for(var o,i=0,n=t.length;i<n;i++)!o&&i in t||((o=o||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function ht(e){return e.type===b.literal}function ft(e){return e.type===b.number}function pt(e){return e.type===b.date}function dt(e){return e.type===b.time}function mt(e){return e.type===b.select}function yt(e){return e.type===b.plural}function bt(e){return e.type===b.tag}function gt(e){return e&&"object"==typeof e&&e.type===ut.number}function vt(e){return e&&"object"==typeof e&&e.type===ut.dateTime}(o=y=y||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=b=b||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=ut=ut||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Et=/(?:[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 Pt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Bt=/^(0+)$/;function Tt(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(St,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function _t(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 xt(e){return _t(e)||{}}function Ct(e){for(var a={},t=0,r=e;t<r.length;t++){var o,i=r[t];switch(i.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=i.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),i.options.reduce(function(e,t){return g(g({},e),xt(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return g(g({},e),xt(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,function(e,t,r,o,i,n){if(t)a.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Bt.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(wt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wt,function(e,t,r,o,i,n){return"*"===r?a.minimumFractionDigits=t.length:o&&"#"===o[0]?a.maximumFractionDigits=o.length:i&&n?(a.minimumFractionDigits=i.length,a.maximumFractionDigits=i.length+n.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var n=i.options[0];"w"===n?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):n&&(a=g(g({},a),Tt(n)))}else St.test(i.stem)?a=g(g({},a),Tt(i.stem)):((n=_t(i.stem))&&(a=g(g({},a),n)),(o=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)),!Bt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(a=g(g({},a),o)))}return a}var Nt={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 It=new RegExp("^".concat(o.source,"*")),Ht=new RegExp("".concat(o.source,"*$"));function v(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Dt=!!String.fromCodePoint,Ot=!!Object.fromEntries,Mt=!!String.prototype.codePointAt,Lt=!!String.prototype.trimStart,kt=!!String.prototype.trimEnd,Rt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ft=!0;try{Ft="a"===(null==(vr=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:vr[0])}catch(f){Ft=!1}var Ut,Gt,jt=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},$t=Dt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",i=e.length,n=0;n<i;){if(1114111<(r=e[n++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},zt=Ot?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var i=o[r],n=i[0],i=i[1];t[n]=i}return t},Qt=Mt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},Vt=Lt?function(e){return e.trimStart()}:function(e){return e.replace(It,"")},Wt=kt?function(e){return e.trimEnd()}:function(e){return e.replace(Ht,"")};function Kt(e,t){return new RegExp(e,t)}Gt=Ft?(Ut=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ut.lastIndex=t,null!=(t=Ut.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var i=Qt(e,t);if(void 0===i||Zt(i)||33<=(r=i)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;o.push(i),t+=65536<=i?2:1}return $t.apply(void 0,o)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var i,n=this.char();if(123===n){if((i=this.parseArgument(e,r)).err)return i;o.push(i.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(y.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Yt(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;o.push(i.val)}else{n=this.clonePosition();this.bump(),o.push({type:b.pound,location:v(n,this.clonePosition())})}}}return{val:o,err:null}},s.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:b.literal,value:"<".concat(i,"/>"),location:v(o,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()||!Yt(this.char())?this.error(y.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),i!==this.parseTagName()?this.error(y.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:b.tag,value:i,children:t,location:v(o,this.clonePosition())},err:null}:this.error(y.INVALID_TAG,v(e,this.clonePosition())))):this.error(y.UNCLOSED_TAG,v(o,this.clonePosition()))):this.error(y.INVALID_TAG,v(o,this.clonePosition()))},s.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())},s.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var i=this.tryParseQuote(t);if(i)o+=i;else{i=this.tryParseUnquoted(e,t);if(i)o+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;o+=i}}}r=v(r,this.clonePosition());return{val:{type:b.literal,value:o,location:r},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Yt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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 $t.apply(void 0,t)},s.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(),$t(r))},s.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(y.EMPTY_ARGUMENT,v(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(y.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:b.argument,value:o,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(y.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Gt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,r,o){var i,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(y.EXPECT_ARGUMENT_TYPE,v(n,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(f=Wt(h.val)).length)return this.error(y.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:v(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(o)).err?u:(p=v(o,this.clonePosition()),l&&jt(null==l?void 0:l.style,"::",0)?(d=Vt(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:b.number,value:r,location:p,style:h.val},err:null}:0===d.length?this.error(y.EXPECT_DATE_TIME_SKELETON,p):(c=d,this.locale&&(c=function(e,t){for(var r="",o=0;o<e.length;o++){var i=e.charAt(o);if("j"===i){for(var n=0;o+1<e.length&&e.charAt(o+1)===i;)n++,o++;var a=1+(1&n),s=n<2?1:3+(n>>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),(Nt[t||""]||Nt[r||""]||Nt["".concat(r,"-001")]||Nt["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===i?"H":i}return r}(d,this.locale)),f={type:ut.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Et,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}},{val:{type:"date"===a?b.date:b.time,value:r,location:p,style:f},err:null})):{val:{type:"number"===a?b.number:"date"===a?b.date:b.time,value:r,location:p,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,v(c,g({},c)));this.bumpSpace();var h,f=this.parseIdentifierIfPossible(),p=0;if("select"!==a&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),f=this.parseIdentifierIfPossible(),p=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,a,t,f);return l.err?l:(u=this.tryParseArgumentClose(o)).err?u:(d=v(o,this.clonePosition()),"select"===a?{val:{type:b.select,value:r,options:zt(l.val),location:d},err:null}:{val:{type:b.plural,value:r,options:zt(l.val),offset:p,pluralType:"plural"===a?"cardinal":"ordinal",location:d},err:null});default:return this.error(y.INVALID_ARGUMENT_TYPE,v(n,s))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.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(y.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}},s.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,o=e.split(Pt).filter(function(e){return 0<e.length});r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var n=i[0],i=i.slice(1),a=0,s=i;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:n,options:i})}return t}(e)}catch(e){return this.error(y.INVALID_NUMBER_SKELETON,t)}return{val:{type:ut.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ct(r):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var i=!1,n=[],a=new Set,s=o.value,l=o.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR,y.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=v(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?y.DUPLICATE_SELECT_ARGUMENT_SELECTOR:y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;n.push([s,{value:u.val,location:v(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===n.length?this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR:y.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(y.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:n,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,n=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,n=10*n+(a-48),this.bump()}o=v(o,this.clonePosition());return i?Rt(n*=r)?{val:n,err:null}:this.error(t,o):this.error(e,o)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qt(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.prototype.bumpIf=function(e){if(jt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&Zt(this.char());)this.bump()},s.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 Xt=s;function s(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 Yt(e){return 97<=e&&e<=122||65<=e&&e<=90}function Zt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qt(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Xt(e,t).parse();if(e.err)throw(r=SyntaxError(y[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,mt(e)||yt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else ft(e)&>(e.style)||(pt(e)||dt(e))&&vt(e.style)?delete e.style.location:bt(e)&&r(e.children)})}(e.val),e.val}function Jt(e,t){var r=t&&t.cache?t.cache:Er,o=t&&t.serializer?t.serializer:or;return(t&&t.strategy?t.strategy:function(e,t){return rr(e,this,1===e.length?er:tr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function er(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),i=t.get(r);return void 0===i&&(i=e.call(this,o),t.set(r,i)),i}function tr(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),i=t.get(r);return void 0===i&&(i=e.apply(this,o),t.set(r,i)),i}function rr(e,t,r,o,i){return r.bind(t,e,o,i)}var or=function(){return JSON.stringify(arguments)};function ir(){this.cache=Object.create(null)}ir.prototype.get=function(e){return this.cache[e]},ir.prototype.set=function(e,t){this.cache[e]=t};var nr,vr,Er={create:function(){return new ir}},Pr={variadic:function(e,t){return rr(e,this,tr,t.cache.create(),t.serializer)},monadic:function(e,t){return rr(e,this,er,t.cache.create(),t.serializer)}};(vr=nr=nr||{}).MISSING_VALUE="MISSING_VALUE",vr.INVALID_VALUE="INVALID_VALUE",vr.MISSING_INTL_API="MISSING_INTL_API";lt(Dr,Br=Error),Dr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var E,wr,Sr,Ar,Br,Tr=Dr,_r=(lt(Hr,Ar=Tr),Hr),xr=(lt(Ir,Sr=Tr),Ir),Cr=(lt(Nr,wr=Tr),Nr);function Nr(e,t){return wr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),nr.MISSING_VALUE,t)||this}function Ir(e,t,r){return Sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),nr.INVALID_VALUE,r)||this}function Hr(e,t,r,o){return Ar.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),nr.INVALID_VALUE,o)||this}function Dr(e,t,r){e=Br.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Or(e,t,r,o,i,n,a){if(1===e.length&&ht(e[0]))return[{type:E.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ht(c))s.push({type:E.literal,value:c.value});else if(c.type===b.pound)"number"==typeof n&&s.push({type:E.literal,value:r.getNumberFormat(t).format(n)});else{var h=c.value;if(!(i&&h in i))throw new Cr(h,a);h=i[h];if(c.type===b.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?E.literal:E.object,value:h});else if(pt(c)){var f="string"==typeof c.style?o.date[c.style]:vt(c.style)?c.style.parsedOptions:void 0;s.push({type:E.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(dt(c))f="string"==typeof c.style?o.time[c.style]:vt(c.style)?c.style.parsedOptions:o.time.medium,s.push({type:E.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(ft(c))(f="string"==typeof c.style?o.number[c.style]:gt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),s.push({type:E.literal,value:r.getNumberFormat(t,f).format(h)});else{if(bt(c)){var p=c.children,d=c.value,m=i[d];if("function"!=typeof m)throw new xr(d,"function",a);d=m(Or(p,t,r,o,i,n).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?E.literal:E.object,value:e}}))}if(mt(c)){if(!(y=c.options[h]||c.options.other))throw new _r(c.value,h,Object.keys(c.options),a);s.push.apply(s,Or(y.value,t,r,o,i))}else if(yt(c)){if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Tr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',nr.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new _r(c.value,h,Object.keys(c.options),a);s.push.apply(s,Or(y.value,t,r,o,i,h-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===E.literal&&t.type===E.literal?r.value+=t.value:e.push(t),e},[])}function Mr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=E=E||{})[o.literal=0]="literal",o[o.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=qt,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 Lr=P;function P(e,t,r,o){var i,n,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===E.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 Or(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==o?void 0:o.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=(i=P.formats,(n=r)?Object.keys(i).reduce(function(e,t){var r,o;return e[t]=(r=i[t],(o=n[t])?g(g(g({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),o[t]||{}),e},{})):r),e},g({},i)):i),this.formatters=o&&o.formatters||{getNumberFormat:Jt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ct([void 0],t,!1)))},{cache:Mr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Pr.variadic}),getDateTimeFormat:Jt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ct([void 0],t,!1)))},{cache:Mr(t.dateTime),strategy:Pr.variadic}),getPluralRules:Jt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ct([void 0],t,!1)))},{cache:Mr(t.pluralRules),strategy:Pr.variadic})}}const w={},kr=(e,t,r)=>r&&(t in w||(w[t]={}),e in w[t]||(w[t][e]=r),r),Rr=(t,r)=>{if(null!=r){if(r in w&&t in w[r])return w[r][t];var o=io(r);for(let e=0;e<o.length;e++){var i=function(e,t){if(!Gr(e))return null;e=function(e){return Fr[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var o=r.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const r=o.slice(e,o.length).join(".");if(r in t){t=t[r];break}}t=t[o[e]]}else t=void 0;return t}}}(o[e],t);if(i)return kr(t,r,i)}}};let Fr;const Ur=Ye({});function Gr(e){return e in Fr}function jr(t,...r){delete w[t],Ur.update(e=>(e[t]=at.all([e[t]||{},...r]),e))}Ze([Ur],([e])=>Object.keys(e)),Ur.subscribe(e=>Fr=e);const $r={};function zr(e){return $r[e]}function Qr(e){return null!=e&&io(e).some(e=>{return null==(e=zr(e))?void 0:e.size})}function Vr(o,e){return Promise.all(e.map(e=>{return t=o,r=e,$r[t].delete(r),0===$r[t].size&&delete $r[t],e().then(e=>e.default||e);var t,r})).then(e=>jr(o,...e))}const Wr={};const Kr={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 Xr=Ye(!1);var Yr=Object.defineProperty,Dt=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable,eo=(e,t,r)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let to;const ro=Ye(null);function oo(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function io(e,t=Kr.fallbackLocale){e=oo(e);return t?[...new Set([...e,...oo(t)])]:e}function S(){return null!=to?to:void 0}ro.subscribe(e=>{to=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const no=Dt(((e,t)=>{for(var r in t=t||{})qr.call(t,r)&&eo(e,r,t[r]);if(Zr)for(var r of Zr(t))Jr.call(t,r)&&eo(e,r,t[r]);return e})({},ro),Ot({set:t=>{if(t&&function(e){if(null!=e){var t=io(e);for(let e=0;e<t.length;e++){var r=t[e];if(Gr(r))return r}}}(t)&&Qr(t)){var r=Kr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=S()&&r?e=window.setTimeout(()=>Xr.set(!0),r):Xr.set(!0),function e(t){var r;return Qr(t)?(r=io(t).map(e=>{var t=zr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Wr[t]=Promise.all(r.map(([e,t])=>Vr(e,t))).then(()=>{if(Qr(t))return e(t);delete Wr[t]}),Wr[t]):t in Wr?Wr[t]:Promise.resolve()}(t).then(()=>{ro.set(t)}).finally(()=>{clearTimeout(e),Xr.set(!1)})}return ro.set(t)}}));var Mt=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},ao=Object.defineProperty,so=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,co=(e,t,r)=>t in e?ao(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ho=(e,t)=>{for(var r in t=t||{})lo.call(t,r)&&co(e,r,t[r]);if(so)for(var r of so(t))uo.call(t,r)&&co(e,r,t[r]);return e},fo=(e,t)=>{var r={};for(o in e)lo.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&so)for(var o of so(e))t.indexOf(o)<0&&uo.call(e,o)&&(r[o]=e[o]);return r};const po=(e,t)=>{var r=Kr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},mo=Mt(e=>{var{locale:t,format:r}=e,e=fo(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=po("number",r)),new Intl.NumberFormat(t,e)}),yo=Mt(e=>{var{locale:t,format:r}=e,e=fo(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=po("date",r):0===Object.keys(e).length&&(e=po("date","short")),new Intl.DateTimeFormat(t,e)}),bo=Mt(e=>{var{locale:t,format:r}=e,e=fo(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=po("time",r):0===Object.keys(e).length&&(e=po("time","short")),new Intl.DateTimeFormat(t,e)}),go=Mt((e,t=S())=>new Lr(e,t,Kr.formats,{ignoreTag:Kr.ignoreTag})),vo=Ze([no,Ur],()=>(e,t={})=>{var r,o;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:n,locale:a=S(),default:s}=i;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Rr(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!=(o=null!=(r=null==(r=(o=Kr).handleMissingMessage)?void 0:r.call(o,{locale:a,id:e,defaultValue:s}))?r:s)?o:e;if(!n)return l;let u=l;try{u=go(l,a).format(n)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function Eo(e,t){jr(e,t)}Ze([no],()=>(e,t)=>((e={})=>{var{locale:t=S()}=e,e=fo(e,["locale"]);return bo(ho({locale:t},e))})(t).format(e)),Ze([no],()=>(e,t)=>((e={})=>{var{locale:t=S()}=e,e=fo(e,["locale"]);return yo(ho({locale:t},e))})(t).format(e)),Ze([no],()=>(e,t)=>((e={})=>{var{locale:t=S()}=e,e=fo(e,["locale"]);return mo(ho({locale:t},e))})(t).format(e)),Ze([no,Ur],()=>(e,t=S())=>Rr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==We.indexOf(e)&&(t=new ze(t),Ke[e]=t,We.push(e)),Ke[e]}};const Po={en:{title:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userSMSNotification:"Enable SMS notifications",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!"},"zh-hk":{title:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userSMSNotification:"啟用短信通知",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!"},fr:{title:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userSMSNotification:"Activer les notifications par sms",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!"},ro:{title:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!"},tr:{title:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır."},es:{title:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones SMS",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!"},pt:{title:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userSMSNotification:"Ativar notificações por SMS",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!"},hr:{title:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",userSMSNotification:"Omogućite SMS obavijesti",userEmailNotification:"Omogući e-mail",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!"},"pt-br":{title:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",userSMSNotification:"Habilitar notificações por SMS",userEmailNotification:"Ativar e-mail",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!"},"es-mx":{title:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones de SMS",userEmailNotification:"Habilitar correo electrónico",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!"}};function wo(e,t,r){e=e.slice();return e[106]=t[r],e}function So(o){let i,R,F,U,G,j,$,z,Q,n,V,W,K,X,a,Y,s,Z,q,J,ee,l,te,u,e,re,oe,ie,c,ne,ae,se,le,ue,h,ce,he,fe,pe,f,de,me,ye,be,ge,p,ve,Ee,Pe,we,Se,Ae,Be,Te,d,_e,xe,Ce,Ne,Ie,m,He,De,Oe,Me,Le,y,ke,Re,Fe,Ue,Ge,b,je,$e,ze,Qe,Ve,g,We,Ke,Xe,Ye,Ze,v,qe,Je,et,tt,rt,ot,r,it,nt,at,st,E,lt,ut,P,ct,ht,ft,w,pt,dt,mt,yt,bt,S,gt,vt,Et,A,Pt,wt,St,At,B,Bt,Tt,_t,T,xt,Ct,Nt,It,Ht,Dt,Ot,Mt,Lt,kt,Rt,Ft,Ut,Gt=o[37]("title")+"",jt=o[37]("personalDetails")+"",$t=o[37]("userName")+"",zt=o[37]("userPhone")+"",Qt=("true"==o[1]?o[37]("profileSecurityQuestion2"):o[37]("profileSecurityQuestion"))+"",Vt=("true"==o[1]?o[37]("profileSecurityAnswer2"):o[37]("profileSecurityAnswer"))+"",Wt=o[37]("userEmail")+"",Kt=o[37]("dateOfBirth")+"",Xt=o[37]("firstName")+"",Yt=o[37]("lastName")+"",Zt=o[37]("userTitle")+"",qt=o[37]("currency")+"",Jt=o[37]("locationDetails")+"",er=o[37]("userCountry")+"",tr=o[37]("userCity")+"",rr=o[37]("userAddress")+"",or=o[37]("userPostalCode")+"",ir=o[37]("userProfileSaveChanges")+"",_=o[38]&&function(r){let o,i,n,a,s,l,u,c,h,f,p,d,m,y=r[37]("title")+"";return{c(){o=t("div"),i=cr("svg"),n=cr("defs"),a=cr("style"),s=hr(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=cr("g"),u=cr("g"),c=cr("path"),h=fr(),f=t("h2"),p=hr(y),dr(c,"class","aaa"),dr(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),dr(c,"transform","translate(15 15) rotate(180)"),dr(u,"transform","translate(20 158)"),dr(l,"transform","translate(-20 -158)"),dr(i,"xmlns","http://www.w3.org/2000/svg"),dr(i,"width","15"),dr(i,"height","15"),dr(i,"viewBox","0 0 15 15"),dr(f,"class","MyAccountCategoryTitleMobile"),dr(o,"class","MenuReturnButton")},m(e,t){lr(e,o,t),sr(o,i),sr(i,n),sr(n,a),sr(a,s),sr(i,l),sr(l,u),sr(u,c),sr(o,h),sr(o,f),sr(f,p),d||(m=pr(o,"click",r[59]),d=!0)},p(e,t){64&t[1]&&y!==(y=e[37]("title")+"")&&mr(p,y)},d(e){e&&ur(o),d=!1,m()}}}(o),nr=o[16],x=[];for(let e=0;e<nr.length;e+=1)x[e]=_o(wo(o,nr,e));let C=o[25]&&xo(o),N=o[23]&&Co(o),I=o[24]&&No(o),H=o[36]&&Io(o),D=o[20]&&Ho(o),O=o[22]&&Do(o),M=o[21]&&Oo(o),L=(o[17]||o[18])&&Mo(o),k=o[26]&&Ro(o);return{c(){i=t("form"),_&&_.c(),R=fr(),F=t("h2"),U=hr(Gt),G=fr(),j=t("div"),$=t("h3"),z=hr(jt),Q=fr(),n=t("section"),V=t("div"),W=t("label"),K=hr($t),X=fr(),a=t("input"),Y=fr(),s=t("div"),Z=t("label"),q=hr(zt),J=fr(),ee=t("div"),l=t("select");for(let e=0;e<x.length;e+=1)x[e].c();te=fr(),u=t("input"),re=fr(),C&&C.c(),ie=fr(),c=t("div"),ne=t("label"),ae=hr(Qt),se=hr(":"),(le=t("span")).textContent="*",ue=fr(),h=t("input"),he=fr(),N&&N.c(),pe=fr(),f=t("div"),de=t("label"),me=hr(Vt),ye=hr(":"),(be=t("span")).textContent="*",ge=fr(),p=t("input"),Ee=fr(),I&&I.c(),we=fr(),Se=t("div"),Ae=t("label"),Be=hr(Wt),Te=fr(),d=t("input"),_e=fr(),xe=t("div"),Ce=t("label"),Ne=hr(Kt),Ie=fr(),m=t("input"),He=fr(),De=t("div"),Oe=t("label"),Me=hr(Xt),Le=fr(),y=t("input"),ke=fr(),Re=t("div"),Fe=t("label"),Ue=hr(Yt),Ge=fr(),b=t("input"),je=fr(),$e=t("div"),ze=t("label"),Qe=hr(Zt),Ve=fr(),g=t("input"),We=fr(),Ke=t("div"),Xe=t("label"),Ye=hr(qt),Ze=fr(),v=t("input"),qe=fr(),H&&H.c(),Je=fr(),et=t("div"),tt=t("h3"),rt=hr(Jt),ot=fr(),r=t("section"),it=t("div"),nt=t("label"),at=hr(er),st=fr(),E=t("input"),ut=fr(),P=t("div"),ct=t("label"),ht=hr(tr),ft=fr(),w=t("input"),mt=fr(),D&&D.c(),bt=fr(),S=t("div"),gt=t("label"),vt=hr(rr),Et=fr(),A=t("input"),wt=fr(),O&&O.c(),At=fr(),B=t("div"),Bt=t("label"),Tt=hr(or),_t=fr(),T=t("input"),Nt=fr(),M&&M.c(),Ht=fr(),L&&L.c(),Dt=fr(),Ot=t("section"),Mt=t("button"),Lt=hr(ir),Rt=fr(),k&&k.c(),dr(F,"class","MyAccountCategoryTitle "+(o[38]?"MyAccountCategoryTitleNone":"")),dr(j,"class","PlayerNotificationsHeader"),dr(a,"type","text"),dr(a,"class","FieldDisabled"),a.value=o[35],a.readOnly=!0,dr(V,"class","PlayerInfoBox"),void 0===o[12]&&gr(()=>o[60].call(l)),dr(u,"type","text"),dr(u,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),dr(u,"placeholder",e=o[4]?o[30].number:""),dr(ee,"class","PlayerPhoneNumber"),dr(s,"class",oe="PlayerInfoBox "+(o[25]?"InvalidField":"")),dr(le,"class","FormRequired"),dr(ne,"for","SecurityQuestion"),dr(h,"type","text"),dr(h,"placeholder",ce=o[4]?o[44]:""),dr(c,"class",fe="PlayerInfoBox "+(o[23]?"InvalidField":"")),dr(be,"class","FormRequired"),dr(de,"for","SecurityAnswer"),dr(p,"type","text"),dr(p,"placeholder",ve=o[4]?o[43]:""),dr(f,"class",Pe="PlayerInfoBox "+(o[24]?"InvalidField":"")),dr(d,"type","email"),dr(d,"class","FieldDisabled"),d.value=o[31],d.readOnly=!0,dr(Se,"class","PlayerInfoBox"),dr(m,"type","text"),dr(m,"class","FieldDisabled"),m.value=o[28],m.readOnly=!0,dr(xe,"class","PlayerInfoBox"),dr(y,"type","text"),dr(y,"class","FieldDisabled"),y.value=o[32],y.readOnly=!0,dr(De,"class","PlayerInfoBox"),dr(b,"type","text"),dr(b,"class","FieldDisabled"),b.value=o[34],b.readOnly=!0,dr(Re,"class","PlayerInfoBox"),dr(g,"type","text"),dr(g,"class","FieldDisabled"),g.value=o[33],g.readOnly=!0,dr($e,"class","PlayerInfoBox"),dr(v,"type","text"),dr(v,"class","FieldDisabled"),v.value=o[29],v.readOnly=!0,dr(Ke,"class","PlayerInfoBox"),dr(n,"class","PlayerDetailsContent"),dr(et,"class","PlayerLocationHeader"),dr(E,"type","text"),dr(E,"class","PlayerCountry FieldDisabled"),dr(E,"placeholder",o[0]),E.value=lt=o[15].Name,E.readOnly=!0,dr(it,"class","PlayerInfoBox"),dr(w,"type","text"),dr(w,"placeholder",pt=o[4]?o[41]:""),w.value=dt=o[4]?"":o[27].city,dr(P,"class",yt="PlayerInfoBox "+(o[20]?"InvalidField":"")),dr(A,"placeholder",o[40]),dr(A,"type","text"),A.value=Pt=o[4]?"":o[27].address,dr(S,"class",St="PlayerInfoBox "+(o[22]?"InvalidField":"")),dr(T,"type","text"),dr(T,"placeholder",xt=o[4]?o[42]:""),T.value=Ct=o[4]?"":o[27].postalCode,dr(B,"class",It="PlayerInfoBox "+(o[21]?"InvalidField":"")),dr(r,"class","PlayerLocationContent"),dr(Mt,"class",kt="PlayerDetailsSaveButton "+(o[14]&&o[19]?"":"PlayerButtonDisabled")),dr(Ot,"class","PlayerDetailsButtonsArea "+(o[38]?"PlayerDetailsButtonsAreaMobile":"")),dr(i,"class","PlayerInfoWrapper "+(o[38]?"PlayerInfoWrapperMobile":"")+" "+(o[39].matches&&o[38]?"PlayerInfoWrapperTablet":""))},m(e,t){lr(e,i,t),_&&_.m(i,null),sr(i,R),sr(i,F),sr(F,U),sr(i,G),sr(i,j),sr(j,$),sr($,z),sr(i,Q),sr(i,n),sr(n,V),sr(V,W),sr(W,K),sr(V,X),sr(V,a),sr(n,Y),sr(n,s),sr(s,Z),sr(Z,q),sr(s,J),sr(s,ee),sr(ee,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(l,null);br(l,o[12],!0),sr(ee,te),sr(ee,u),yr(u,o[13]),sr(s,re),C&&C.m(s,null),sr(n,ie),sr(n,c),sr(c,ne),sr(ne,ae),sr(ne,se),sr(ne,le),sr(c,ue),sr(c,h),yr(h,o[10]),sr(c,he),N&&N.m(c,null),sr(n,pe),sr(n,f),sr(f,de),sr(de,me),sr(de,ye),sr(de,be),sr(f,ge),sr(f,p),yr(p,o[11]),sr(f,Ee),I&&I.m(f,null),sr(n,we),sr(n,Se),sr(Se,Ae),sr(Ae,Be),sr(Se,Te),sr(Se,d),sr(n,_e),sr(n,xe),sr(xe,Ce),sr(Ce,Ne),sr(xe,Ie),sr(xe,m),sr(n,He),sr(n,De),sr(De,Oe),sr(Oe,Me),sr(De,Le),sr(De,y),sr(n,ke),sr(n,Re),sr(Re,Fe),sr(Fe,Ue),sr(Re,Ge),sr(Re,b),sr(n,je),sr(n,$e),sr($e,ze),sr(ze,Qe),sr($e,Ve),sr($e,g),sr(n,We),sr(n,Ke),sr(Ke,Xe),sr(Xe,Ye),sr(Ke,Ze),sr(Ke,v),sr(n,qe),H&&H.m(n,null),sr(i,Je),sr(i,et),sr(et,tt),sr(tt,rt),sr(i,ot),sr(i,r),sr(r,it),sr(it,nt),sr(nt,at),sr(it,st),sr(it,E),sr(r,ut),sr(r,P),sr(P,ct),sr(ct,ht),sr(P,ft),sr(P,w),o[68](w),sr(P,mt),D&&D.m(P,null),sr(r,bt),sr(r,S),sr(S,gt),sr(gt,vt),sr(S,Et),sr(S,A),o[70](A),sr(S,wt),O&&O.m(S,null),sr(r,At),sr(r,B),sr(B,Bt),sr(Bt,Tt),sr(B,_t),sr(B,T),o[72](T),sr(B,Nt),M&&M.m(B,null),sr(i,Ht),L&&L.m(i,null),sr(i,Dt),sr(i,Ot),sr(Ot,Mt),sr(Mt,Lt),sr(i,Rt),k&&k.m(i,null),Ft||(Ut=[pr(l,"change",o[60]),pr(l,"change",o[61]),pr(u,"input",o[62]),pr(u,"keyup",o[45]),pr(u,"keyup",o[63]),pr(h,"input",o[64]),pr(h,"keyup",o[65]),pr(h,"blur",o[46]),pr(p,"input",o[66]),pr(p,"keyup",o[67]),pr(p,"blur",o[47]),pr(w,"blur",o[48]),pr(w,"keyup",o[69]),pr(A,"blur",o[50]),pr(A,"keyup",o[71]),pr(T,"blur",o[49]),pr(T,"keyup",o[73]),pr(Mt,"click",o[76])],Ft=!0)},p(t,r){if(t[38]&&_.p(t,r),64&r[1]&&Gt!==(Gt=t[37]("title")+"")&&mr(U,Gt),64&r[1]&&jt!==(jt=t[37]("personalDetails")+"")&&mr(z,jt),64&r[1]&&$t!==($t=t[37]("userName")+"")&&mr(K,$t),16&r[1]&&a.value!==t[35]&&(a.value=t[35]),64&r[1]&&zt!==(zt=t[37]("userPhone")+"")&&mr(q,zt),134283264&r[0]){let e;for(nr=t[16],e=0;e<nr.length;e+=1){var o=wo(t,nr,e);x[e]?x[e].p(o,r):(x[e]=_o(o),x[e].c(),x[e].m(l,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=nr.length}69632&r[0]&&br(l,t[12]),1073741840&r[0]&&e!==(e=t[4]?t[30].number:"")&&dr(u,"placeholder",e),8192&r[0]&&u.value!==t[13]&&yr(u,t[13]),t[25]?C?C.p(t,r):((C=xo(t)).c(),C.m(s,null)):C&&(C.d(1),C=null),33554432&r[0]&&oe!==(oe="PlayerInfoBox "+(t[25]?"InvalidField":""))&&dr(s,"class",oe),2&r[0]|64&r[1]&&Qt!==(Qt=("true"==t[1]?t[37]("profileSecurityQuestion2"):t[37]("profileSecurityQuestion"))+"")&&mr(ae,Qt),16&r[0]&&ce!==(ce=t[4]?t[44]:"")&&dr(h,"placeholder",ce),1024&r[0]&&h.value!==t[10]&&yr(h,t[10]),t[23]?N?N.p(t,r):((N=Co(t)).c(),N.m(c,null)):N&&(N.d(1),N=null),8388608&r[0]&&fe!==(fe="PlayerInfoBox "+(t[23]?"InvalidField":""))&&dr(c,"class",fe),2&r[0]|64&r[1]&&Vt!==(Vt=("true"==t[1]?t[37]("profileSecurityAnswer2"):t[37]("profileSecurityAnswer"))+"")&&mr(me,Vt),16&r[0]&&ve!==(ve=t[4]?t[43]:"")&&dr(p,"placeholder",ve),2048&r[0]&&p.value!==t[11]&&yr(p,t[11]),t[24]?I?I.p(t,r):((I=No(t)).c(),I.m(f,null)):I&&(I.d(1),I=null),16777216&r[0]&&Pe!==(Pe="PlayerInfoBox "+(t[24]?"InvalidField":""))&&dr(f,"class",Pe),64&r[1]&&Wt!==(Wt=t[37]("userEmail")+"")&&mr(Be,Wt),1&r[1]&&d.value!==t[31]&&(d.value=t[31]),64&r[1]&&Kt!==(Kt=t[37]("dateOfBirth")+"")&&mr(Ne,Kt),268435456&r[0]&&m.value!==t[28]&&(m.value=t[28]),64&r[1]&&Xt!==(Xt=t[37]("firstName")+"")&&mr(Me,Xt),2&r[1]&&y.value!==t[32]&&(y.value=t[32]),64&r[1]&&Yt!==(Yt=t[37]("lastName")+"")&&mr(Ue,Yt),8&r[1]&&b.value!==t[34]&&(b.value=t[34]),64&r[1]&&Zt!==(Zt=t[37]("userTitle")+"")&&mr(Qe,Zt),4&r[1]&&g.value!==t[33]&&(g.value=t[33]),64&r[1]&&qt!==(qt=t[37]("currency")+"")&&mr(Ye,qt),536870912&r[0]&&v.value!==t[29]&&(v.value=t[29]),t[36]?H?H.p(t,r):((H=Io(t)).c(),H.m(n,null)):H&&(H.d(1),H=null),64&r[1]&&Jt!==(Jt=t[37]("locationDetails")+"")&&mr(rt,Jt),64&r[1]&&er!==(er=t[37]("userCountry")+"")&&mr(at,er),1&r[0]&&dr(E,"placeholder",t[0]),32768&r[0]&<!==(lt=t[15].Name)&&E.value!==lt&&(E.value=lt),64&r[1]&&tr!==(tr=t[37]("userCity")+"")&&mr(ht,tr),16&r[0]&&pt!==(pt=t[4]?t[41]:"")&&dr(w,"placeholder",pt),134217744&r[0]&&dt!==(dt=t[4]?"":t[27].city)&&w.value!==dt&&(w.value=dt),t[20]?D?D.p(t,r):((D=Ho(t)).c(),D.m(P,null)):D&&(D.d(1),D=null),1048576&r[0]&&yt!==(yt="PlayerInfoBox "+(t[20]?"InvalidField":""))&&dr(P,"class",yt),64&r[1]&&rr!==(rr=t[37]("userAddress")+"")&&mr(vt,rr),134217744&r[0]&&Pt!==(Pt=t[4]?"":t[27].address)&&A.value!==Pt&&(A.value=Pt),t[22]?O?O.p(t,r):((O=Do(t)).c(),O.m(S,null)):O&&(O.d(1),O=null),4194304&r[0]&&St!==(St="PlayerInfoBox "+(t[22]?"InvalidField":""))&&dr(S,"class",St),64&r[1]&&or!==(or=t[37]("userPostalCode")+"")&&mr(Tt,or),16&r[0]&&xt!==(xt=t[4]?t[42]:"")&&dr(T,"placeholder",xt),134217744&r[0]&&Ct!==(Ct=t[4]?"":t[27].postalCode)&&T.value!==Ct&&(T.value=Ct),t[21]?M?M.p(t,r):((M=Oo(t)).c(),M.m(B,null)):M&&(M.d(1),M=null),2097152&r[0]&&It!==(It="PlayerInfoBox "+(t[21]?"InvalidField":""))&&dr(B,"class",It),t[17]||t[18]?L?L.p(t,r):((L=Mo(t)).c(),L.m(i,Dt)):L&&(L.d(1),L=null),64&r[1]&&ir!==(ir=t[37]("userProfileSaveChanges")+"")&&mr(Lt,ir),540672&r[0]&&kt!==(kt="PlayerDetailsSaveButton "+(t[14]&&t[19]?"":"PlayerButtonDisabled"))&&dr(Mt,"class",kt),t[26]?k?k.p(t,r):((k=Ro(t)).c(),k.m(i,null)):k&&(k.d(1),k=null)},d(e){e&&ur(i),_&&_.d();var t=x,r=e;for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r);C&&C.d(),N&&N.d(),I&&I.d(),H&&H.d(),o[68](null),D&&D.d(),o[70](null),O&&O.d(),o[72](null),M&&M.d(),L&&L.d(),k&&k.d(),Ft=!1,ar(Ut)}}}function Ao(e){let r;return{c(){dr(r=t("div"),"class","ModalLoader")},m(e,t){lr(e,r,t)},p:f,d(e){e&&ur(r)}}}function Bo(e){let r,o,i,n=e[106].Prefix+"";return{c(){r=t("option"),o=hr(n),r.__value=i=e[106].Prefix,r.value=r.__value},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){65536&t[0]&&n!==(n=e[106].Prefix+"")&&mr(o,n),65536&t[0]&&i!==(i=e[106].Prefix)&&(r.__value=i,r.value=r.__value)},d(e){e&&ur(r)}}}function To(e){let r,o,i,n=e[106].Prefix+"";return{c(){r=t("option"),o=hr(n),r.selected=!0,r.__value=i=e[106].Prefix,r.value=r.__value},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){65536&t[0]&&n!==(n=e[106].Prefix+"")&&mr(o,n),65536&t[0]&&i!==(i=e[106].Prefix)&&(r.__value=i,r.value=r.__value)},d(e){e&&ur(r)}}}function _o(e){let r;function o(e){return e[106].Prefix===e[27].mobiePrefix?To:Bo}let i=o(e),n=i(e);return{c(){n.c(),r=hr("")},m(e,t){n.m(e,t),lr(e,r,t)},p(e,t){i===(i=o(e))&&n?n.p(e,t):(n.d(1),(n=i(e))&&(n.c(),n.m(r.parentNode,r)))},d(e){n.d(e),e&&ur(r)}}}function xo(e){let r,o,i=e[37]("userPhoneError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userPhoneError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Co(e){let r,o,i=("true"==e[1]?e[37]("profileSecurityQuestionError2"):e[37]("profileSecurityQuestionError"))+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){2&t[0]|64&t[1]&&i!==(i=("true"==e[1]?e[37]("profileSecurityQuestionError2"):e[37]("profileSecurityQuestionError"))+"")&&mr(o,i)},d(e){e&&ur(r)}}}function No(e){let r,o,i=("true"==e[1]?e[37]("profileSecurityAnswerError2"):e[37]("profileSecurityAnswerError"))+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){2&t[0]|64&t[1]&&i!==(i=("true"==e[1]?e[37]("profileSecurityAnswerError2"):e[37]("profileSecurityAnswerError"))+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Io(e){let r,o,i,n,a,s=e[37]("iban")+"";return{c(){r=t("div"),o=t("label"),i=hr(s),n=fr(),dr(a=t("input"),"type","text"),dr(a,"class","FieldDisabled"),a.value=e[36],a.readOnly=!0,dr(r,"class","PlayerInfoBox")},m(e,t){lr(e,r,t),sr(r,o),sr(o,i),sr(r,n),sr(r,a)},p(e,t){64&t[1]&&s!==(s=e[37]("iban")+"")&&mr(i,s),32&t[1]&&a.value!==e[36]&&(a.value=e[36])},d(e){e&&ur(r)}}}function Ho(e){let r,o,i=e[37]("userCityError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userCityError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Do(e){let r,o,i=e[37]("userAddressError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userAddressError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Oo(e){let r,o,i=e[37]("userPostalCodeError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userPostalCodeError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Mo(e){let r,o,i,n,a,s,l=e[37]("userNotifications")+"",u=e[18]&&Lo(e),c=e[17]&&ko(e);return{c(){r=t("div"),o=t("h3"),i=hr(l),n=fr(),a=t("section"),u&&u.c(),s=fr(),c&&c.c(),dr(r,"class","PlayerNotificationsHeader"),dr(a,"class","PlayerNotificationsCheckboxArea")},m(e,t){lr(e,r,t),sr(r,o),sr(o,i),lr(e,n,t),lr(e,a,t),u&&u.m(a,null),sr(a,s),c&&c.m(a,null)},p(e,t){64&t[1]&&l!==(l=e[37]("userNotifications")+"")&&mr(i,l),e[18]?u?u.p(e,t):((u=Lo(e)).c(),u.m(a,s)):u&&(u.d(1),u=null),e[17]?c?c.p(e,t):((c=ko(e)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&ur(r),e&&ur(n),e&&ur(a),u&&u.d(),c&&c.d()}}}function Lo(r){let o,i,n,a,s,l,u,c,h,f,p=r[37]("userSMSNotification")+"";return{c(){o=t("div"),i=t("label"),n=t("input"),a=fr(),s=t("span"),l=fr(),u=t("span"),c=hr(p),dr(n,"type","checkbox"),dr(n,"id","SMSNotification"),dr(n,"name","Enable SMS notifications"),dr(s,"class","Checkmark"),dr(i,"for","SMSNotification"),dr(o,"class","PlayerNotificationBox")},m(e,t){lr(e,o,t),sr(o,i),sr(i,n),n.checked=r[8],sr(i,a),sr(i,s),sr(i,l),sr(i,u),sr(u,c),h||(f=[pr(n,"change",r[74]),pr(n,"change",r[53])],h=!0)},p(e,t){256&t[0]&&(n.checked=e[8]),64&t[1]&&p!==(p=e[37]("userSMSNotification")+"")&&mr(c,p)},d(e){e&&ur(o),h=!1,ar(f)}}}function ko(r){let o,i,n,a,s,l,u,c,h,f,p=r[37]("userEmailNotification")+"";return{c(){o=t("div"),i=t("label"),n=t("input"),a=fr(),s=t("span"),l=fr(),u=t("span"),c=hr(p),dr(n,"type","checkbox"),dr(n,"id","EmailNotification"),dr(n,"name","Enable Emails"),dr(s,"class","Checkmark"),dr(i,"for","EmailNotification"),dr(o,"class","PlayerNotificationBox")},m(e,t){lr(e,o,t),sr(o,i),sr(i,n),n.checked=r[9],sr(i,a),sr(i,s),sr(i,l),sr(i,u),sr(u,c),h||(f=[pr(n,"change",r[75]),pr(n,"change",r[53])],h=!0)},p(e,t){512&t[0]&&(n.checked=e[9]),64&t[1]&&p!==(p=e[37]("userEmailNotification")+"")&&mr(c,p)},d(e){e&&ur(o),h=!1,ar(f)}}}function Ro(e){let r,o,i,n=e[37]("userProfileConfirmationMessage")+"";return{c(){r=t("section"),o=t("p"),i=hr(n),dr(o,"class","PlayerDetailsConfirmSaveText"),dr(r,"class","PlayerDetailsConfirmSave")},m(e,t){lr(e,r,t),sr(r,o),sr(o,i)},p(e,t){64&t[1]&&n!==(n=e[37]("userProfileConfirmationMessage")+"")&&mr(i,n)},d(e){e&&ur(r)}}}function Fo(r){let o;function i(e){return e[3]?Ao:So}let n=i(r),a=n(r);return{c(){o=t("div"),a.c(),this.c=f},m(e,t){lr(e,o,t),a.m(o,null),r[77](o)},p(e,t){n===(n=i(e))&&a?a.p(e,t):(a.d(1),(a=n(e))&&(a.c(),a.m(o,null)))},i:f,o:f,d(e){e&&ur(o),a.d(),r[77](null)}}}function Uo(t,e,r){let L;var o=vo;t.$$.on_destroy.push(fe(o,e=>r(37,L=e)));let i,n,a,s,l,{endpoint:u=""}=e,{lang:c="en"}=e,{countrycode:h="IR"}=e,{clientstyling:f=""}=e,{clientstylingurl:p=""}=e,{translationurl:d=""}=e,{custominputtextswitch:m="false"}=e,k=!0,R="PC"!=((o=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":o.toLowerCase().match(/iphone/i)?"iPhone":o.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),F=!0,y=!1,b=!1,g="",v="",E="",P="",w=!1,U={Name:"I.e Ireland"},S=[],G=[],A=[],B=!1,T=!1,_={items:[]},x=!1,j="",$="",z="",Q=!1,V=!1,W=!1,K={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys(Po).forEach(e=>{Eo(e,Po[e])});e=window.matchMedia("(min-width: 768px)");let X={address1:"",address2:"",city:"",acceptNewsEmail:!1,acceptSMSOffers:!1,country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},C={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},N={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",country:"i.e.: Ireland",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},{address1:Y,birth:Z,city:q,currency:J,mobile:I,email:ee,firstname:te,userTitles:re,language:oe,lastname:ie,postalCode:ne,securityAnswer:H,securityQuestion:D,username:ae,iban:se}=N;const le=e=>{var t;if(e.data)switch(e.data.type){case"ProfileDetailsData":r(4,F=!1),N=e.data.profileDetails,r(35,ae=N.username),r(30,I=N.mobile),r(31,ee=N.email),r(32,te=N.firstname),r(34,ie=N.lastname),oe=N.language,r(28,Z=(null==(t=N.birth)?void 0:t.day)+"/"+(null==(t=N.birth)?void 0:t.month)+"/"+(null==(t=N.birth)?void 0:t.year)),r(29,J=N.currency),r(36,se=N.iban),r(33,re=N.title),r(10,g=N.securityQuestion),r(11,v=N.securityAnswer),r(12,E=null==(t=N.mobile)?void 0:t.prefix),r(13,P=null==(t=N.mobile)?void 0:t.number),r(27,C.address=N.address1,C),r(27,C.city=N.city,C),r(27,C.mobilePrefix=null==I?void 0:I.prefix,C),r(27,C.mobileNumber=null==I?void 0:I.number,C),r(27,C.postalCode=N.postalCode,C),r(27,C.securityAnswer=N.securityAnswer,C),r(27,C.securityQuestion=N.securityQuestion,C);break;case"ProfileConsentData":A=e.data.consent.items,Array.isArray(A)&&A.forEach(e=>{"emailmarketing"==e.tagCode?(r(17,B=!0),r(9,b="Accepted"==e.status),r(27,C.acceptNewsEmail=b,C)):"sms"==e.tagCode&&(r(18,T=!0),r(8,y="Accepted"==e.status),r(27,C.acceptSMSOffers=y,C))});break;case"ConfirmProfileInfoSave":r(14,w=!1),r(26,W=!0),setTimeout(()=>{r(26,W=!1)},3e3)}},O=()=>{r(19,x=!(Q||V||j||z||$||l))},ue=e=>{e.preventDefault(),1==w&&1==x&&(window.postMessage({type:"UpdatePlayerInfo",provisionalArray:X},window.location.href),window.postMessage({type:"UpdatePlayerConsent",consentArray:_},window.location.href))},ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)},M=()=>{var e,t;X={acceptNewsEmail:b,acceptSMSOffers:y,address:a.value,city:s.value,mobileNumber:P,mobilePrefix:E,postalCode:n.value,securityAnswer:v,securityQuestion:g},e=X,t=C,JSON.stringify(e)===JSON.stringify(t)?r(14,w=!1):r(14,w=!0),_={items:[]},T&&_.items.push({tagCode:"sms",status:y?"Accepted":"Denied"}),B&&_.items.push({tagCode:"emailmarketing",status:b?"Accepted":"Denied"}),O()};return o=()=>(window.addEventListener("message",le,!1),()=>{window.removeEventListener("message",le)}),function(){if(pe)return pe;throw new Error("Function called outside component initialization")}().$$.on_mount.push(o),t.$$set=e=>{"endpoint"in e&&r(54,u=e.endpoint),"lang"in e&&r(55,c=e.lang),"countrycode"in e&&r(0,h=e.countrycode),"clientstyling"in e&&r(56,f=e.clientstyling),"clientstylingurl"in e&&r(57,p=e.clientstylingurl),"translationurl"in e&&r(58,d=e.translationurl),"custominputtextswitch"in e&&r(1,m=e.custominputtextswitch)},t.$$.update=()=>{if(16777216&t.$$.dirty[1]&&c&&(e=c,no.set(e)),1&t.$$.dirty[0]|8388608&t.$$.dirty[1]&&u&&h&&fetch(u+"/v1/player/countries").then(e=>300<=e.status?new Error("Error while fetching the countries"):e.json()).then(e=>{fetch(u+"/v1/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{G=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code)),r(15,U=G.find(e=>e.Alpha2Code===h)||{Name:"I.E. Ireland"}),r(3,k=!1)})}),8388608&t.$$.dirty[1]&&u&&fetch(u+"/v1/player/phonecodes").then(e=>e.json()).then(e=>{r(16,S=e.phoneCodes)}),4&t.$$.dirty[0]|67108864&t.$$.dirty[1]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;4&t.$$.dirty[0]|33554432&t.$$.dirty[1]&&f&&i&&((e=document.createElement("style")).innerHTML=f,i.appendChild(e)),134217728&t.$$.dirty[1]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Eo(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,i,k,F,n,a,s,y,b,g,v,E,P,w,U,S,B,T,x,j,$,z,Q,V,l,W,C,Z,J,I,ee,te,re,ie,ae,se,L,R,e,Y,q,ne,H,D,()=>{r(25,l=!(P&&5<=P.length&&P.length<=12)),O()},()=>{r(23,Q=!(()=>{if(D)switch(m){case"true":if(K.document.test(D)&&D.length<=50)return!0;break;case"false":if(D&&D.length<=120)return!0}return!1})()),O()},()=>{r(24,V=!(()=>{if(H)switch(m){case"true":if(K.document.test(H)&&H.length<=50)return!0;break;case"false":if(H&&H.length<=120)return!0}return!1})()),O()},()=>{r(20,j=!(s.value&&s.value.length<=50)),O()},()=>{r(21,$=!(n.value&&n.value.length<=20)),O()},()=>{r(22,z=!(a.value&&a.value.length<=100)),O()},ue,ce,M,u,c,f,p,d,()=>ce(),function(){E=function(e){e=e.querySelector(":checked");return e&&e.__value}(this),r(12,E),r(16,S)},()=>M(),function(){P=this.value,r(13,P)},()=>M(),function(){g=this.value,r(10,g)},()=>M(),function(){v=this.value,r(11,v)},()=>M(),function(e){he[e?"unshift":"push"](()=>{s=e,r(7,s)})},()=>M(),function(e){he[e?"unshift":"push"](()=>{a=e,r(6,a)})},()=>M(),function(e){he[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>M(),function(){y=this.checked,r(8,y)},function(){b=this.checked,r(9,b)},e=>ue(e),function(e){he[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}class Go extends L{constructor(e){super();var t=document.createElement("style");t.textContent=".MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-color-gray-50, #F9F8F8);padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));text-transform:capitalize;font-weight:400}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emfe-w-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{font-size:14px;font-weight:300;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerInfoBox.InvalidField input{border:1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839))}.PlayerInfoBox .InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s;-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}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emfe-w-color-gray-50, #F9F8F8);max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:12px;height:40px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerInfoWrapperTablet .PlayerInfoBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}",this.shadowRoot.appendChild(t),M(this,{target:this.shadowRoot,props:function(e){var t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Uo,Fo,_,{endpoint:54,lang:55,countrycode:0,clientstyling:56,clientstylingurl:57,translationurl:58,custominputtextswitch:1},null,[-1,-1,-1,-1]),e&&(e.target&&lr(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["endpoint","lang","countrycode","clientstyling","clientstylingurl","translationurl","custominputtextswitch"]}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),d()}get lang(){return this.$$.ctx[55]}set lang(e){this.$$set({lang:e}),d()}get countrycode(){return this.$$.ctx[0]}set countrycode(e){this.$$set({countrycode:e}),d()}get clientstyling(){return this.$$.ctx[56]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[57]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[58]}set translationurl(e){this.$$set({translationurl:e}),d()}get custominputtextswitch(){return this.$$.ctx[1]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),d()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",Go),Go});
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function p(){}function A(e){return e()}function B(){return Object.create(null)}function ar(e){e.forEach(A)}function T(e){return"function"==typeof e}function _(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function pe(e,...t){if(null==e)return p;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function sr(e,t){e.appendChild(t)}function lr(e,t,r){e.insertBefore(t,r||null)}function ur(e){e.parentNode&&e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function cr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function hr(e){return document.createTextNode(e)}function pr(){return hr(" ")}function fr(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function dr(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function mr(e,t){e.data!==(t=""+t)&&(e.data=t)}function yr(e,t){e.value=null==t?"":t}function br(t,r,e){for(let e=0;e<t.options.length;e+=1){var o=t.options[e];if(o.__value===r)return o.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}let fe;function x(e){fe=e}const f=[],he=[];let n=[];const C=[],N=Promise.resolve();let I=!1;function gr(e){n.push(e)}const H=new Set;let O=0;function d(){if(0===O){const o=fe;do{try{for(;O<f.length;){const o=f[O];O++,x(o),e=t=void 0;var e,t=o.$$;null!==t.fragment&&(t.update(),ar(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(gr))}}catch(o){throw f.length=0,O=0,o}for(x(null),f.length=0,O=0;he.length;)he.pop()();for(let e=0;e<n.length;e+=1){var r=n[e];H.has(r)||(H.add(r),r())}}while(n.length=0,f.length);for(;C.length;)C.pop()();I=!1,H.clear(),x(o)}}const D=new Set;function M(o,e,t,r,i,n,a,s=[-1]){var l=fe;x(o);const u=o.$$={fragment:null,ctx:[],props:n,update:p,not_equal:i,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:B(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c)&&(r=e,-1===(e=o).$$.dirty[0]&&(f.push(e),I||(I=!0,N.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],u.update(),c=!0,ar(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){n=e.target;const p=Array.from(n.childNodes);u.fragment&&u.fragment.l(p),p.forEach(ur)}else u.fragment&&u.fragment.c();e.intro&&(s=o.$$.fragment)&&s.i&&(D.delete(s),s.i(void 0));var h=o,a=e.target,t=e.anchor,r=e.customElement,{fragment:n,after_update:s}=h.$$;n&&n.m(a,t),r||gr(()=>{var e=h.$$.on_mount.map(A).filter(T);h.$$.on_destroy?h.$$.on_destroy.push(...e):ar(e),h.$$.on_mount=[]}),s.forEach(gr),d()}x(l)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(A).filter(T);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ar(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const o=[],i=[];n.forEach(e=>(-1===r.indexOf(e)?o:i).push(e)),i.forEach(e=>e()),n=o}ar(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=p}$on(e,t){if(!T(t))return p;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 k,R,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},F="URLSearchParams"in l,U="Symbol"in l&&"iterator"in Symbol,G="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),j="FormData"in l,z="ArrayBuffer"in l;function $(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 V(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return U&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function W(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function K(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function X(e){var t=new FileReader,r=K(t);return t.readAsArrayBuffer(e),r}function Y(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Z(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:G&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:j&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:F&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():z&&G&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):z&&(ArrayBuffer.prototype.isPrototypeOf(e)||R(e))?this._bodyArrayBuffer=Y(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):F&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},G&&(this.blob=function(){var e=W(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(){if(this._bodyArrayBuffer)return W(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(G)return this.blob().then(X);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=W(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=K(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},j&&(this.formData=function(){return this.text().then(J)}),this.json=function(){return this.text().then(JSON.parse)},this}z&&(k=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],R=ArrayBuffer.isView||function(e){return e&&-1<k.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=$(e),t=Q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},u.prototype.delete=function(e){delete this.map[$(e)]},u.prototype.get=function(e){return e=$(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty($(e))},u.prototype.set=function(e,t){this.map[$(e)]=Q(t)},u.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},u.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),V(r)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),V(t)},u.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),V(r)},U&&(u.prototype[Symbol.iterator]=u.prototype.entries);var q=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var r,o=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=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 u(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<q.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"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 J(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 h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},Z.call(c.prototype),Z.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var ee=[301,302,303,307,308],te=(h.redirect=function(e,t){if(-1===ee.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new te}catch(p){(te=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),te.prototype.constructor=te}function re(o,s){return new Promise(function(i,e){var n=new c(o,s);if(n.signal&&n.signal.aborted)return e(new te("Aborted","AbortError"));var r,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,o,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",o=new u,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 t=e.split(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(n.url.startsWith("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new h(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new te("Aborted","AbortError"))},0)},a.open(n.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(n.url),!0),"include"===n.credentials?a.withCredentials=!0:"omit"===n.credentials&&(a.withCredentials=!1),"responseType"in a&&(G?a.responseType="blob":z&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){r.push($(e)),a.setRequestHeader(e,Q(s.headers[e]))}),n.headers.forEach(function(e,t){-1===r.indexOf(t)&&a.setRequestHeader(t,e)})):n.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),n.signal&&(n.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&n.signal.removeEventListener("abort",t)}),a.send(void 0===n._bodyInit?null:n._bodyInit)})}re.polyfill=!0,l.fetch||(l.fetch=re,l.Headers=u,l.Request=c,l.Response=h),self.fetch.bind(self);var oe=function(e,t){return(oe=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 ie(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}oe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ne(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ae(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,i,n=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(o=n.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function se(e,t,r){if(r||2===arguments.length)for(var o,i=0,n=t.length;i<n;i++)!o&&i in t||((o=o||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function m(e){return"function"==typeof e}function le(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 ue=le(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 ce(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,o,i;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=ne(n),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(m(n))try{n()}catch(e){i=e instanceof ue?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=ne(n),u=l.next();!u.done;u=l.next()){var c=u.value;try{be(c)}catch(e){i=null!=i?i:[],e instanceof ue?i=se(se([],ae(i)),ae(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(i)throw new ue(i)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)be(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)&&ce(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&ce(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var de=r,me=de.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function ye(e){return e instanceof de||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function be(e){m(e)?e():e.unsubscribe()}var ge=void 0,ve=!1,Ee=!1,we={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=we.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,se([e,t],ae(r))):setTimeout.apply(void 0,se([e,t],ae(r)))},clearTimeout:function(e){var t=we.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pe(){}var Se=null;function Ae(e){if(ve){var t=!Se;if(t&&(Se={errorThrown:!1,error:null}),e(),t){var t=Se,r=t.errorThrown,t=t.error;if(Se=null,r)throw t}}else e()}ie(e,Be=de),e.create=function(e,t,r){return new Ie(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,Be.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 Be,Te=e,_e=Function.prototype.bind;function e(e){var t=Be.call(this)||this;return t.isStopped=!1,e?ye(t.destination=e)&&e.add(t):t.destination=Me,t}function xe(e,t){return _e.call(e,t)}Oe.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){De(e)}},Oe.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){De(e)}else De(e)},Oe.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){De(e)}};var Ce,Ne=Oe,Ie=(ie(He,Ce=Te),He);function He(e,t,r){var o=Ce.call(this)||this,r=m(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Ee?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&xe(e.next,t),error:e.error&&xe(e.error,t),complete:e.complete&&xe(e.complete,t)}):e;return o.destination=new Ne(r),o}function Oe(e){this.partialObserver=e}function De(e){var t=e;we.setTimeout(function(){throw t})}var Me={closed:!0,next:Pe,error:function(e){throw e},complete:Pe},o="function"==typeof Symbol&&Symbol.observable||"@@observable";i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,r){var o,i=this,n=(o=e)&&o instanceof Te||o&&m(o.next)&&m(o.error)&&m(o.complete)&&ye(o)?e:new Ie(e,t,r);return Ae(function(){var e=i.operator,t=i.source;n.add(e?e.call(n,t):t?i._subscribe(n):i._trySubscribe(n))}),n},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(o,e){var i=this;return new(e=ke(e))(function(e,t){var r=new Ie({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});i.subscribe(r)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[o]=function(){return this},i.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)},i.prototype.toPromise=function(e){var o=this;return new(e=ke(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},i.create=function(e){return new i(e)};var Le=i;function i(e){e&&(this._subscribe=e)}function ke(e){return null!=(e=null!=e?e:ge)?e:Promise}var Re,Fe,Ue,Ge=le(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(ie(a,Ue=Le),a.prototype.lift=function(e){var t=new je(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new Ge},a.prototype.next=function(i){var n=this;Ae(function(){var t,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var r=ne(n.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;Ae(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;Ae(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(),Ue.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,o=this.isStopped,i=this.observers;return r||o?me:(this.currentObservers=null,i.push(e),new de(function(){t.currentObservers=null,ce(i,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},a.prototype.asObservable=function(){var e=new Le;return e.source=this,e},a.create=function(e,t){return new je(e,t)},a),je=(ie(Ve,Fe=o),Ve.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Ve.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},Ve.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ve.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:me},Ve),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},$e=(ie(Qe,Re=o),Qe.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,i=t._infiniteTimeWindow,n=t._timestampProvider,t=t._windowTime;r||(o.push(e),i)||o.push(n.now()+t),this._trimBuffer(),Re.prototype.next.call(this,e)},Qe.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),i=0;i<o.length&&!e.closed;i+=r?1:2)e.next(o[i]);return this._checkFinalizedStatuses(e),t},Qe.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!o){for(var n=t.now(),a=0,s=1;s<r.length&&r[s]<=n;s+=2)a=s;a&&r.splice(0,a+1)}},Qe);function Qe(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=ze);var o=Re.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function Ve(e,t){var r=Fe.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=Ue.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let We=[],Ke={};const Xe=[];function Ye(o,i=p){let n;const a=new Set;function s(e){if(_(o,e)&&(o=e,n)){const e=!Xe.length;for(const e of a)e[1](),Xe.push(e,o);if(e){for(let e=0;e<Xe.length;e+=2)Xe[e][0](Xe[e+1]);Xe.length=0}}}return{set:s,update:function(e){s(e(o))},subscribe:function(e,t=p){const r=[e,t];return a.add(r),1===a.size&&(n=i(s)||p),e(o),()=>{a.delete(r),0===a.size&&n&&(n(),n=null)}}}}function Ze(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Ye(t,t=>{let r=!1;const o=[];let i=0,n=p;const a=()=>{var e;i||(n(),e=s(l?o[0]:o,t),c?t(e):n=T(e)?e:p)},e=u.map((e,t)=>pe(e,e=>{o[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){ar(e),n(),r=!1}}).subscribe}}function qe(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Je);var t}var Je="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt(Array.isArray(e)?[]:{},e,t):e}function tt(e,t,r){return e.concat(t).map(function(e){return et(e,r)})}function rt(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 ot(e,t){try{return t in e}catch(e){return!1}}function it(o,i,n){var a={};return n.isMergeableObject(o)&&rt(o).forEach(function(e){a[e]=et(o[e],n)}),rt(i).forEach(function(e){var t,r;(!ot(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ot(o,e)&&n.isMergeableObject(i[e])?a[e]=((t=n).customMerge&&"function"==typeof(t=t.customMerge(e))?t:nt)(o[e],i[e],n):a[e]=et(i[e],n))}),a}function nt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||tt,r.isMergeableObject=r.isMergeableObject||qe,r.cloneUnlessOtherwiseSpecified=et;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):it(e,t,r):et(t,r)}nt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return nt(e,t,r)},{});throw new Error("first argument should be an array")};var at=nt,st=function(e,t){return(st=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 lt(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}st(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var y,b,ut,g=function(){return(g=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ct(e,t,r){if(r||2===arguments.length)for(var o,i=0,n=t.length;i<n;i++)!o&&i in t||((o=o||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function ht(e){return e.type===b.literal}function pt(e){return e.type===b.number}function ft(e){return e.type===b.date}function dt(e){return e.type===b.time}function mt(e){return e.type===b.select}function yt(e){return e.type===b.plural}function bt(e){return e.type===b.tag}function gt(e){return e&&"object"==typeof e&&e.type===ut.number}function vt(e){return e&&"object"==typeof e&&e.type===ut.dateTime}(o=y=y||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=b=b||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=ut=ut||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Et=/(?:[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 wt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Bt=/^(0+)$/;function Tt(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(St,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function _t(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 xt(e){return _t(e)||{}}function Ct(e){for(var a={},t=0,r=e;t<r.length;t++){var o,i=r[t];switch(i.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=i.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),i.options.reduce(function(e,t){return g(g({},e),xt(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return g(g({},e),xt(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,function(e,t,r,o,i,n){if(t)a.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Bt.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(Pt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pt,function(e,t,r,o,i,n){return"*"===r?a.minimumFractionDigits=t.length:o&&"#"===o[0]?a.maximumFractionDigits=o.length:i&&n?(a.minimumFractionDigits=i.length,a.maximumFractionDigits=i.length+n.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var n=i.options[0];"w"===n?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):n&&(a=g(g({},a),Tt(n)))}else St.test(i.stem)?a=g(g({},a),Tt(i.stem)):((n=_t(i.stem))&&(a=g(g({},a),n)),(o=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)),!Bt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(a=g(g({},a),o)))}return a}var Nt={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 It=new RegExp("^".concat(o.source,"*")),Ht=new RegExp("".concat(o.source,"*$"));function v(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Ot=!!String.fromCodePoint,Dt=!!Object.fromEntries,Mt=!!String.prototype.codePointAt,Lt=!!String.prototype.trimStart,kt=!!String.prototype.trimEnd,Rt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ft=!0;try{Ft="a"===(null==(vr=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:vr[0])}catch(p){Ft=!1}var Ut,Gt,jt=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},zt=Ot?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",i=e.length,n=0;n<i;){if(1114111<(r=e[n++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},$t=Dt?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var i=o[r],n=i[0],i=i[1];t[n]=i}return t},Qt=Mt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},Vt=Lt?function(e){return e.trimStart()}:function(e){return e.replace(It,"")},Wt=kt?function(e){return e.trimEnd()}:function(e){return e.replace(Ht,"")};function Kt(e,t){return new RegExp(e,t)}Gt=Ft?(Ut=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ut.lastIndex=t,null!=(t=Ut.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var i=Qt(e,t);if(void 0===i||Zt(i)||33<=(r=i)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;o.push(i),t+=65536<=i?2:1}return zt.apply(void 0,o)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var i,n=this.char();if(123===n){if((i=this.parseArgument(e,r)).err)return i;o.push(i.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(y.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Yt(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;o.push(i.val)}else{n=this.clonePosition();this.bump(),o.push({type:b.pound,location:v(n,this.clonePosition())})}}}return{val:o,err:null}},s.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:b.literal,value:"<".concat(i,"/>"),location:v(o,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()||!Yt(this.char())?this.error(y.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),i!==this.parseTagName()?this.error(y.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:b.tag,value:i,children:t,location:v(o,this.clonePosition())},err:null}:this.error(y.INVALID_TAG,v(e,this.clonePosition())))):this.error(y.UNCLOSED_TAG,v(o,this.clonePosition()))):this.error(y.INVALID_TAG,v(o,this.clonePosition()))},s.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())},s.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var i=this.tryParseQuote(t);if(i)o+=i;else{i=this.tryParseUnquoted(e,t);if(i)o+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;o+=i}}}r=v(r,this.clonePosition());return{val:{type:b.literal,value:o,location:r},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Yt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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 zt.apply(void 0,t)},s.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(),zt(r))},s.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(y.EMPTY_ARGUMENT,v(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(y.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:b.argument,value:o,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(y.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Gt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,r,o){var i,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(y.EXPECT_ARGUMENT_TYPE,v(n,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Wt(h.val)).length)return this.error(y.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(o)).err?u:(f=v(o,this.clonePosition()),l&&jt(null==l?void 0:l.style,"::",0)?(d=Vt(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:b.number,value:r,location:f,style:h.val},err:null}:0===d.length?this.error(y.EXPECT_DATE_TIME_SKELETON,f):(c=d,this.locale&&(c=function(e,t){for(var r="",o=0;o<e.length;o++){var i=e.charAt(o);if("j"===i){for(var n=0;o+1<e.length&&e.charAt(o+1)===i;)n++,o++;var a=1+(1&n),s=n<2?1:3+(n>>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),(Nt[t||""]||Nt[r||""]||Nt["".concat(r,"-001")]||Nt["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===i?"H":i}return r}(d,this.locale)),p={type:ut.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Et,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}},{val:{type:"date"===a?b.date:b.time,value:r,location:f,style:p},err:null})):{val:{type:"number"===a?b.number:"date"===a?b.date:b.time,value:r,location:f,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,v(c,g({},c)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),f=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),p=this.parseIdentifierIfPossible(),f=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(u=this.tryParseArgumentClose(o)).err?u:(d=v(o,this.clonePosition()),"select"===a?{val:{type:b.select,value:r,options:$t(l.val),location:d},err:null}:{val:{type:b.plural,value:r,options:$t(l.val),offset:f,pluralType:"plural"===a?"cardinal":"ordinal",location:d},err:null});default:return this.error(y.INVALID_ARGUMENT_TYPE,v(n,s))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.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(y.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}},s.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,o=e.split(wt).filter(function(e){return 0<e.length});r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var n=i[0],i=i.slice(1),a=0,s=i;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:n,options:i})}return t}(e)}catch(e){return this.error(y.INVALID_NUMBER_SKELETON,t)}return{val:{type:ut.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ct(r):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var i=!1,n=[],a=new Set,s=o.value,l=o.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR,y.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=v(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?y.DUPLICATE_SELECT_ARGUMENT_SELECTOR:y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;n.push([s,{value:u.val,location:v(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===n.length?this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR:y.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(y.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:n,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,n=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,n=10*n+(a-48),this.bump()}o=v(o,this.clonePosition());return i?Rt(n*=r)?{val:n,err:null}:this.error(t,o):this.error(e,o)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qt(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.prototype.bumpIf=function(e){if(jt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&Zt(this.char());)this.bump()},s.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 Xt=s;function s(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 Yt(e){return 97<=e&&e<=122||65<=e&&e<=90}function Zt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qt(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Xt(e,t).parse();if(e.err)throw(r=SyntaxError(y[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,mt(e)||yt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else pt(e)&>(e.style)||(ft(e)||dt(e))&&vt(e.style)?delete e.style.location:bt(e)&&r(e.children)})}(e.val),e.val}function Jt(e,t){var r=t&&t.cache?t.cache:Er,o=t&&t.serializer?t.serializer:or;return(t&&t.strategy?t.strategy:function(e,t){return rr(e,this,1===e.length?er:tr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function er(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),i=t.get(r);return void 0===i&&(i=e.call(this,o),t.set(r,i)),i}function tr(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),i=t.get(r);return void 0===i&&(i=e.apply(this,o),t.set(r,i)),i}function rr(e,t,r,o,i){return r.bind(t,e,o,i)}var or=function(){return JSON.stringify(arguments)};function ir(){this.cache=Object.create(null)}ir.prototype.get=function(e){return this.cache[e]},ir.prototype.set=function(e,t){this.cache[e]=t};var nr,vr,Er={create:function(){return new ir}},wr={variadic:function(e,t){return rr(e,this,tr,t.cache.create(),t.serializer)},monadic:function(e,t){return rr(e,this,er,t.cache.create(),t.serializer)}};(vr=nr=nr||{}).MISSING_VALUE="MISSING_VALUE",vr.INVALID_VALUE="INVALID_VALUE",vr.MISSING_INTL_API="MISSING_INTL_API";lt(Or,Br=Error),Or.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var E,Pr,Sr,Ar,Br,Tr=Or,_r=(lt(Hr,Ar=Tr),Hr),xr=(lt(Ir,Sr=Tr),Ir),Cr=(lt(Nr,Pr=Tr),Nr);function Nr(e,t){return Pr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),nr.MISSING_VALUE,t)||this}function Ir(e,t,r){return Sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),nr.INVALID_VALUE,r)||this}function Hr(e,t,r,o){return Ar.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),nr.INVALID_VALUE,o)||this}function Or(e,t,r){e=Br.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Dr(e,t,r,o,i,n,a){if(1===e.length&&ht(e[0]))return[{type:E.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ht(c))s.push({type:E.literal,value:c.value});else if(c.type===b.pound)"number"==typeof n&&s.push({type:E.literal,value:r.getNumberFormat(t).format(n)});else{var h=c.value;if(!(i&&h in i))throw new Cr(h,a);h=i[h];if(c.type===b.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?E.literal:E.object,value:h});else if(ft(c)){var p="string"==typeof c.style?o.date[c.style]:vt(c.style)?c.style.parsedOptions:void 0;s.push({type:E.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(dt(c))p="string"==typeof c.style?o.time[c.style]:vt(c.style)?c.style.parsedOptions:o.time.medium,s.push({type:E.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(pt(c))(p="string"==typeof c.style?o.number[c.style]:gt(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:E.literal,value:r.getNumberFormat(t,p).format(h)});else{if(bt(c)){var f=c.children,d=c.value,m=i[d];if("function"!=typeof m)throw new xr(d,"function",a);d=m(Dr(f,t,r,o,i,n).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?E.literal:E.object,value:e}}))}if(mt(c)){if(!(y=c.options[h]||c.options.other))throw new _r(c.value,h,Object.keys(c.options),a);s.push.apply(s,Dr(y.value,t,r,o,i))}else if(yt(c)){if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Tr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',nr.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new _r(c.value,h,Object.keys(c.options),a);s.push.apply(s,Dr(y.value,t,r,o,i,h-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===E.literal&&t.type===E.literal?r.value+=t.value:e.push(t),e},[])}function Mr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=E=E||{})[o.literal=0]="literal",o[o.object=1]="object";Object.defineProperty(w,"defaultLocale",{get:function(){return w.memoizedDefaultLocale||(w.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),w.memoizedDefaultLocale},enumerable:!1,configurable:!0}),w.memoizedDefaultLocale=null,w.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])},w.__parse=qt,w.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 Lr=w;function w(e,t,r,o){var i,n,a=this;if(void 0===t&&(t=w.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===E.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 Dr(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=w.resolveLocale(t),"string"==typeof e){if(this.message=e,!w.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=w.__parse(e,{ignoreTag:null==o?void 0:o.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=(i=w.formats,(n=r)?Object.keys(i).reduce(function(e,t){var r,o;return e[t]=(r=i[t],(o=n[t])?g(g(g({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),o[t]||{}),e},{})):r),e},g({},i)):i),this.formatters=o&&o.formatters||{getNumberFormat:Jt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ct([void 0],t,!1)))},{cache:Mr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:wr.variadic}),getDateTimeFormat:Jt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ct([void 0],t,!1)))},{cache:Mr(t.dateTime),strategy:wr.variadic}),getPluralRules:Jt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ct([void 0],t,!1)))},{cache:Mr(t.pluralRules),strategy:wr.variadic})}}const P={},kr=(e,t,r)=>r&&(t in P||(P[t]={}),e in P[t]||(P[t][e]=r),r),Rr=(t,r)=>{if(null!=r){if(r in P&&t in P[r])return P[r][t];var o=io(r);for(let e=0;e<o.length;e++){var i=function(e,t){if(!Gr(e))return null;e=function(e){return Fr[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var o=r.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const r=o.slice(e,o.length).join(".");if(r in t){t=t[r];break}}t=t[o[e]]}else t=void 0;return t}}}(o[e],t);if(i)return kr(t,r,i)}}};let Fr;const Ur=Ye({});function Gr(e){return e in Fr}function jr(t,...r){delete P[t],Ur.update(e=>(e[t]=at.all([e[t]||{},...r]),e))}Ze([Ur],([e])=>Object.keys(e)),Ur.subscribe(e=>Fr=e);const zr={};function $r(e){return zr[e]}function Qr(e){return null!=e&&io(e).some(e=>{return null==(e=$r(e))?void 0:e.size})}function Vr(o,e){return Promise.all(e.map(e=>{return t=o,r=e,zr[t].delete(r),0===zr[t].size&&delete zr[t],e().then(e=>e.default||e);var t,r})).then(e=>jr(o,...e))}const Wr={};const Kr={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 Xr=Ye(!1);var Yr=Object.defineProperty,Ot=Object.defineProperties,Dt=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable,eo=(e,t,r)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let to;const ro=Ye(null);function oo(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function io(e,t=Kr.fallbackLocale){e=oo(e);return t?[...new Set([...e,...oo(t)])]:e}function S(){return null!=to?to:void 0}ro.subscribe(e=>{to=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const no=Ot(((e,t)=>{for(var r in t=t||{})qr.call(t,r)&&eo(e,r,t[r]);if(Zr)for(var r of Zr(t))Jr.call(t,r)&&eo(e,r,t[r]);return e})({},ro),Dt({set:t=>{if(t&&function(e){if(null!=e){var t=io(e);for(let e=0;e<t.length;e++){var r=t[e];if(Gr(r))return r}}}(t)&&Qr(t)){var r=Kr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=S()&&r?e=window.setTimeout(()=>Xr.set(!0),r):Xr.set(!0),function e(t){var r;return Qr(t)?(r=io(t).map(e=>{var t=$r(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Wr[t]=Promise.all(r.map(([e,t])=>Vr(e,t))).then(()=>{if(Qr(t))return e(t);delete Wr[t]}),Wr[t]):t in Wr?Wr[t]:Promise.resolve()}(t).then(()=>{ro.set(t)}).finally(()=>{clearTimeout(e),Xr.set(!1)})}return ro.set(t)}}));var Mt=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},ao=Object.defineProperty,so=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,co=(e,t,r)=>t in e?ao(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ho=(e,t)=>{for(var r in t=t||{})lo.call(t,r)&&co(e,r,t[r]);if(so)for(var r of so(t))uo.call(t,r)&&co(e,r,t[r]);return e},po=(e,t)=>{var r={};for(o in e)lo.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&so)for(var o of so(e))t.indexOf(o)<0&&uo.call(e,o)&&(r[o]=e[o]);return r};const fo=(e,t)=>{var r=Kr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},mo=Mt(e=>{var{locale:t,format:r}=e,e=po(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=fo("number",r)),new Intl.NumberFormat(t,e)}),yo=Mt(e=>{var{locale:t,format:r}=e,e=po(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=fo("date",r):0===Object.keys(e).length&&(e=fo("date","short")),new Intl.DateTimeFormat(t,e)}),bo=Mt(e=>{var{locale:t,format:r}=e,e=po(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=fo("time",r):0===Object.keys(e).length&&(e=fo("time","short")),new Intl.DateTimeFormat(t,e)}),go=Mt((e,t=S())=>new Lr(e,t,Kr.formats,{ignoreTag:Kr.ignoreTag})),vo=Ze([no,Ur],()=>(e,t={})=>{var r,o;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:n,locale:a=S(),default:s}=i;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Rr(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!=(o=null!=(r=null==(r=(o=Kr).handleMissingMessage)?void 0:r.call(o,{locale:a,id:e,defaultValue:s}))?r:s)?o:e;if(!n)return l;let u=l;try{u=go(l,a).format(n)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function Eo(e,t){jr(e,t)}Ze([no],()=>(e,t)=>((e={})=>{var{locale:t=S()}=e,e=po(e,["locale"]);return bo(ho({locale:t},e))})(t).format(e)),Ze([no],()=>(e,t)=>((e={})=>{var{locale:t=S()}=e,e=po(e,["locale"]);return yo(ho({locale:t},e))})(t).format(e)),Ze([no],()=>(e,t)=>((e={})=>{var{locale:t=S()}=e,e=po(e,["locale"]);return mo(ho({locale:t},e))})(t).format(e)),Ze([no,Ur],()=>(e,t=S())=>Rr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==We.indexOf(e)&&(t=new $e(t),Ke[e]=t,We.push(e)),Ke[e]}};const wo={en:{title:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userSMSNotification:"Enable SMS notifications",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!"},"zh-hk":{title:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userSMSNotification:"啟用短信通知",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!"},fr:{title:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userSMSNotification:"Activer les notifications par sms",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!"},ro:{title:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!"},tr:{title:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır."},es:{title:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones SMS",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!"},pt:{title:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userSMSNotification:"Ativar notificações por SMS",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!"},hr:{title:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",userSMSNotification:"Omogućite SMS obavijesti",userEmailNotification:"Omogući e-mail",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!"},"pt-br":{title:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",userSMSNotification:"Habilitar notificações por SMS",userEmailNotification:"Ativar e-mail",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!"},"es-mx":{title:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones de SMS",userEmailNotification:"Habilitar correo electrónico",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!"}};function Po(e,t,r){e=e.slice();return e[106]=t[r],e}function So(o){let i,R,F,U,G,j,z,$,Q,n,V,W,K,X,a,Y,s,Z,q,J,ee,l,te,u,e,re,oe,ie,c,ne,ae,se,le,ue,h,ce,he,pe,fe,p,de,me,ye,be,ge,f,ve,Ee,we,Pe,Se,Ae,Be,Te,d,_e,xe,Ce,Ne,Ie,m,He,Oe,De,Me,Le,y,ke,Re,Fe,Ue,Ge,b,je,ze,$e,Qe,Ve,g,We,Ke,Xe,Ye,Ze,v,qe,Je,et,tt,rt,ot,r,it,nt,at,st,E,lt,ut,w,ct,ht,pt,P,ft,dt,mt,yt,bt,S,gt,vt,Et,A,wt,Pt,St,At,B,Bt,Tt,_t,T,xt,Ct,Nt,It,Ht,Ot,Dt,Mt,Lt,kt,Rt,Ft,Ut,Gt=o[37]("title")+"",jt=o[37]("personalDetails")+"",zt=o[37]("userName")+"",$t=o[37]("userPhone")+"",Qt=("true"==o[1]?o[37]("profileSecurityQuestion2"):o[37]("profileSecurityQuestion"))+"",Vt=("true"==o[1]?o[37]("profileSecurityAnswer2"):o[37]("profileSecurityAnswer"))+"",Wt=o[37]("userEmail")+"",Kt=o[37]("dateOfBirth")+"",Xt=o[37]("firstName")+"",Yt=o[37]("lastName")+"",Zt=o[37]("userTitle")+"",qt=o[37]("currency")+"",Jt=o[37]("locationDetails")+"",er=o[37]("userCountry")+"",tr=o[37]("userCity")+"",rr=o[37]("userAddress")+"",or=o[37]("userPostalCode")+"",ir=o[37]("userProfileSaveChanges")+"",_=o[38]&&function(r){let o,i,n,a,s,l,u,c,h,p,f,d,m,y=r[37]("title")+"";return{c(){o=t("div"),i=cr("svg"),n=cr("defs"),a=cr("style"),s=hr(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),l=cr("g"),u=cr("g"),c=cr("path"),h=pr(),p=t("h2"),f=hr(y),dr(c,"class","aaa"),dr(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),dr(c,"transform","translate(15 15) rotate(180)"),dr(u,"transform","translate(20 158)"),dr(l,"transform","translate(-20 -158)"),dr(i,"xmlns","http://www.w3.org/2000/svg"),dr(i,"width","15"),dr(i,"height","15"),dr(i,"viewBox","0 0 15 15"),dr(p,"class","MyAccountCategoryTitleMobile"),dr(o,"class","MenuReturnButton")},m(e,t){lr(e,o,t),sr(o,i),sr(i,n),sr(n,a),sr(a,s),sr(i,l),sr(l,u),sr(u,c),sr(o,h),sr(o,p),sr(p,f),d||(m=fr(o,"click",r[59]),d=!0)},p(e,t){64&t[1]&&y!==(y=e[37]("title")+"")&&mr(f,y)},d(e){e&&ur(o),d=!1,m()}}}(o),nr=o[16],x=[];for(let e=0;e<nr.length;e+=1)x[e]=_o(Po(o,nr,e));let C=o[25]&&xo(o),N=o[23]&&Co(o),I=o[24]&&No(o),H=o[36]&&Io(o),O=o[20]&&Ho(o),D=o[22]&&Oo(o),M=o[21]&&Do(o),L=(o[17]||o[18])&&Mo(o),k=o[26]&&Ro(o);return{c(){i=t("form"),_&&_.c(),R=pr(),F=t("h2"),U=hr(Gt),G=pr(),j=t("div"),z=t("h3"),$=hr(jt),Q=pr(),n=t("section"),V=t("div"),W=t("label"),K=hr(zt),X=pr(),a=t("input"),Y=pr(),s=t("div"),Z=t("label"),q=hr($t),J=pr(),ee=t("div"),l=t("select");for(let e=0;e<x.length;e+=1)x[e].c();te=pr(),u=t("input"),re=pr(),C&&C.c(),ie=pr(),c=t("div"),ne=t("label"),ae=hr(Qt),se=hr(":"),(le=t("span")).textContent="*",ue=pr(),h=t("input"),he=pr(),N&&N.c(),fe=pr(),p=t("div"),de=t("label"),me=hr(Vt),ye=hr(":"),(be=t("span")).textContent="*",ge=pr(),f=t("input"),Ee=pr(),I&&I.c(),Pe=pr(),Se=t("div"),Ae=t("label"),Be=hr(Wt),Te=pr(),d=t("input"),_e=pr(),xe=t("div"),Ce=t("label"),Ne=hr(Kt),Ie=pr(),m=t("input"),He=pr(),Oe=t("div"),De=t("label"),Me=hr(Xt),Le=pr(),y=t("input"),ke=pr(),Re=t("div"),Fe=t("label"),Ue=hr(Yt),Ge=pr(),b=t("input"),je=pr(),ze=t("div"),$e=t("label"),Qe=hr(Zt),Ve=pr(),g=t("input"),We=pr(),Ke=t("div"),Xe=t("label"),Ye=hr(qt),Ze=pr(),v=t("input"),qe=pr(),H&&H.c(),Je=pr(),et=t("div"),tt=t("h3"),rt=hr(Jt),ot=pr(),r=t("section"),it=t("div"),nt=t("label"),at=hr(er),st=pr(),E=t("input"),ut=pr(),w=t("div"),ct=t("label"),ht=hr(tr),pt=pr(),P=t("input"),mt=pr(),O&&O.c(),bt=pr(),S=t("div"),gt=t("label"),vt=hr(rr),Et=pr(),A=t("input"),Pt=pr(),D&&D.c(),At=pr(),B=t("div"),Bt=t("label"),Tt=hr(or),_t=pr(),T=t("input"),Nt=pr(),M&&M.c(),Ht=pr(),L&&L.c(),Ot=pr(),Dt=t("section"),Mt=t("button"),Lt=hr(ir),Rt=pr(),k&&k.c(),dr(F,"class","MyAccountCategoryTitle "+(o[38]?"MyAccountCategoryTitleNone":"")),dr(j,"class","PlayerNotificationsHeader"),dr(a,"type","text"),dr(a,"class","FieldDisabled"),a.value=o[35],a.readOnly=!0,dr(V,"class","PlayerInfoBox"),void 0===o[12]&&gr(()=>o[60].call(l)),dr(u,"type","text"),dr(u,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),dr(u,"placeholder",e=o[4]?o[30].number:""),dr(ee,"class","PlayerPhoneNumber"),dr(s,"class",oe="PlayerInfoBox "+(o[25]?"InvalidField":"")),dr(le,"class","FormRequired"),dr(ne,"for","SecurityQuestion"),dr(h,"type","text"),dr(h,"placeholder",ce=o[4]?o[44]:""),dr(c,"class",pe="PlayerInfoBox "+(o[23]?"InvalidField":"")),dr(be,"class","FormRequired"),dr(de,"for","SecurityAnswer"),dr(f,"type","text"),dr(f,"placeholder",ve=o[4]?o[43]:""),dr(p,"class",we="PlayerInfoBox "+(o[24]?"InvalidField":"")),dr(d,"type","email"),dr(d,"class","FieldDisabled"),d.value=o[31],d.readOnly=!0,dr(Se,"class","PlayerInfoBox"),dr(m,"type","text"),dr(m,"class","FieldDisabled"),m.value=o[28],m.readOnly=!0,dr(xe,"class","PlayerInfoBox"),dr(y,"type","text"),dr(y,"class","FieldDisabled"),y.value=o[32],y.readOnly=!0,dr(Oe,"class","PlayerInfoBox"),dr(b,"type","text"),dr(b,"class","FieldDisabled"),b.value=o[34],b.readOnly=!0,dr(Re,"class","PlayerInfoBox"),dr(g,"type","text"),dr(g,"class","FieldDisabled"),g.value=o[33],g.readOnly=!0,dr(ze,"class","PlayerInfoBox"),dr(v,"type","text"),dr(v,"class","FieldDisabled"),v.value=o[29],v.readOnly=!0,dr(Ke,"class","PlayerInfoBox"),dr(n,"class","PlayerDetailsContent"),dr(et,"class","PlayerLocationHeader"),dr(E,"type","text"),dr(E,"class","PlayerCountry FieldDisabled"),dr(E,"placeholder",o[0]),E.value=lt=o[15].Name,E.readOnly=!0,dr(it,"class","PlayerInfoBox"),dr(P,"type","text"),dr(P,"placeholder",ft=o[4]?o[41]:""),P.value=dt=o[4]?"":o[27].city,dr(w,"class",yt="PlayerInfoBox "+(o[20]?"InvalidField":"")),dr(A,"placeholder",o[40]),dr(A,"type","text"),A.value=wt=o[4]?"":o[27].address,dr(S,"class",St="PlayerInfoBox "+(o[22]?"InvalidField":"")),dr(T,"type","text"),dr(T,"placeholder",xt=o[4]?o[42]:""),T.value=Ct=o[4]?"":o[27].postalCode,dr(B,"class",It="PlayerInfoBox "+(o[21]?"InvalidField":"")),dr(r,"class","PlayerLocationContent"),dr(Mt,"class",kt="PlayerDetailsSaveButton "+(o[14]&&o[19]?"":"PlayerButtonDisabled")),dr(Dt,"class","PlayerDetailsButtonsArea "+(o[38]?"PlayerDetailsButtonsAreaMobile":"")),dr(i,"class","PlayerInfoWrapper "+(o[38]?"PlayerInfoWrapperMobile":"")+" "+(o[39].matches&&o[38]?"PlayerInfoWrapperTablet":""))},m(e,t){lr(e,i,t),_&&_.m(i,null),sr(i,R),sr(i,F),sr(F,U),sr(i,G),sr(i,j),sr(j,z),sr(z,$),sr(i,Q),sr(i,n),sr(n,V),sr(V,W),sr(W,K),sr(V,X),sr(V,a),sr(n,Y),sr(n,s),sr(s,Z),sr(Z,q),sr(s,J),sr(s,ee),sr(ee,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(l,null);br(l,o[12],!0),sr(ee,te),sr(ee,u),yr(u,o[13]),sr(s,re),C&&C.m(s,null),sr(n,ie),sr(n,c),sr(c,ne),sr(ne,ae),sr(ne,se),sr(ne,le),sr(c,ue),sr(c,h),yr(h,o[10]),sr(c,he),N&&N.m(c,null),sr(n,fe),sr(n,p),sr(p,de),sr(de,me),sr(de,ye),sr(de,be),sr(p,ge),sr(p,f),yr(f,o[11]),sr(p,Ee),I&&I.m(p,null),sr(n,Pe),sr(n,Se),sr(Se,Ae),sr(Ae,Be),sr(Se,Te),sr(Se,d),sr(n,_e),sr(n,xe),sr(xe,Ce),sr(Ce,Ne),sr(xe,Ie),sr(xe,m),sr(n,He),sr(n,Oe),sr(Oe,De),sr(De,Me),sr(Oe,Le),sr(Oe,y),sr(n,ke),sr(n,Re),sr(Re,Fe),sr(Fe,Ue),sr(Re,Ge),sr(Re,b),sr(n,je),sr(n,ze),sr(ze,$e),sr($e,Qe),sr(ze,Ve),sr(ze,g),sr(n,We),sr(n,Ke),sr(Ke,Xe),sr(Xe,Ye),sr(Ke,Ze),sr(Ke,v),sr(n,qe),H&&H.m(n,null),sr(i,Je),sr(i,et),sr(et,tt),sr(tt,rt),sr(i,ot),sr(i,r),sr(r,it),sr(it,nt),sr(nt,at),sr(it,st),sr(it,E),sr(r,ut),sr(r,w),sr(w,ct),sr(ct,ht),sr(w,pt),sr(w,P),o[68](P),sr(w,mt),O&&O.m(w,null),sr(r,bt),sr(r,S),sr(S,gt),sr(gt,vt),sr(S,Et),sr(S,A),o[70](A),sr(S,Pt),D&&D.m(S,null),sr(r,At),sr(r,B),sr(B,Bt),sr(Bt,Tt),sr(B,_t),sr(B,T),o[72](T),sr(B,Nt),M&&M.m(B,null),sr(i,Ht),L&&L.m(i,null),sr(i,Ot),sr(i,Dt),sr(Dt,Mt),sr(Mt,Lt),sr(i,Rt),k&&k.m(i,null),Ft||(Ut=[fr(l,"change",o[60]),fr(l,"change",o[61]),fr(u,"input",o[62]),fr(u,"keyup",o[45]),fr(u,"keyup",o[63]),fr(h,"input",o[64]),fr(h,"keyup",o[65]),fr(h,"blur",o[46]),fr(f,"input",o[66]),fr(f,"keyup",o[67]),fr(f,"blur",o[47]),fr(P,"blur",o[48]),fr(P,"keyup",o[69]),fr(A,"blur",o[50]),fr(A,"keyup",o[71]),fr(T,"blur",o[49]),fr(T,"keyup",o[73]),fr(Mt,"click",o[76])],Ft=!0)},p(t,r){if(t[38]&&_.p(t,r),64&r[1]&&Gt!==(Gt=t[37]("title")+"")&&mr(U,Gt),64&r[1]&&jt!==(jt=t[37]("personalDetails")+"")&&mr($,jt),64&r[1]&&zt!==(zt=t[37]("userName")+"")&&mr(K,zt),16&r[1]&&a.value!==t[35]&&(a.value=t[35]),64&r[1]&&$t!==($t=t[37]("userPhone")+"")&&mr(q,$t),134283264&r[0]){let e;for(nr=t[16],e=0;e<nr.length;e+=1){var o=Po(t,nr,e);x[e]?x[e].p(o,r):(x[e]=_o(o),x[e].c(),x[e].m(l,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=nr.length}69632&r[0]&&br(l,t[12]),1073741840&r[0]&&e!==(e=t[4]?t[30].number:"")&&dr(u,"placeholder",e),8192&r[0]&&u.value!==t[13]&&yr(u,t[13]),t[25]?C?C.p(t,r):((C=xo(t)).c(),C.m(s,null)):C&&(C.d(1),C=null),33554432&r[0]&&oe!==(oe="PlayerInfoBox "+(t[25]?"InvalidField":""))&&dr(s,"class",oe),2&r[0]|64&r[1]&&Qt!==(Qt=("true"==t[1]?t[37]("profileSecurityQuestion2"):t[37]("profileSecurityQuestion"))+"")&&mr(ae,Qt),16&r[0]&&ce!==(ce=t[4]?t[44]:"")&&dr(h,"placeholder",ce),1024&r[0]&&h.value!==t[10]&&yr(h,t[10]),t[23]?N?N.p(t,r):((N=Co(t)).c(),N.m(c,null)):N&&(N.d(1),N=null),8388608&r[0]&&pe!==(pe="PlayerInfoBox "+(t[23]?"InvalidField":""))&&dr(c,"class",pe),2&r[0]|64&r[1]&&Vt!==(Vt=("true"==t[1]?t[37]("profileSecurityAnswer2"):t[37]("profileSecurityAnswer"))+"")&&mr(me,Vt),16&r[0]&&ve!==(ve=t[4]?t[43]:"")&&dr(f,"placeholder",ve),2048&r[0]&&f.value!==t[11]&&yr(f,t[11]),t[24]?I?I.p(t,r):((I=No(t)).c(),I.m(p,null)):I&&(I.d(1),I=null),16777216&r[0]&&we!==(we="PlayerInfoBox "+(t[24]?"InvalidField":""))&&dr(p,"class",we),64&r[1]&&Wt!==(Wt=t[37]("userEmail")+"")&&mr(Be,Wt),1&r[1]&&d.value!==t[31]&&(d.value=t[31]),64&r[1]&&Kt!==(Kt=t[37]("dateOfBirth")+"")&&mr(Ne,Kt),268435456&r[0]&&m.value!==t[28]&&(m.value=t[28]),64&r[1]&&Xt!==(Xt=t[37]("firstName")+"")&&mr(Me,Xt),2&r[1]&&y.value!==t[32]&&(y.value=t[32]),64&r[1]&&Yt!==(Yt=t[37]("lastName")+"")&&mr(Ue,Yt),8&r[1]&&b.value!==t[34]&&(b.value=t[34]),64&r[1]&&Zt!==(Zt=t[37]("userTitle")+"")&&mr(Qe,Zt),4&r[1]&&g.value!==t[33]&&(g.value=t[33]),64&r[1]&&qt!==(qt=t[37]("currency")+"")&&mr(Ye,qt),536870912&r[0]&&v.value!==t[29]&&(v.value=t[29]),t[36]?H?H.p(t,r):((H=Io(t)).c(),H.m(n,null)):H&&(H.d(1),H=null),64&r[1]&&Jt!==(Jt=t[37]("locationDetails")+"")&&mr(rt,Jt),64&r[1]&&er!==(er=t[37]("userCountry")+"")&&mr(at,er),1&r[0]&&dr(E,"placeholder",t[0]),32768&r[0]&<!==(lt=t[15].Name)&&E.value!==lt&&(E.value=lt),64&r[1]&&tr!==(tr=t[37]("userCity")+"")&&mr(ht,tr),16&r[0]&&ft!==(ft=t[4]?t[41]:"")&&dr(P,"placeholder",ft),134217744&r[0]&&dt!==(dt=t[4]?"":t[27].city)&&P.value!==dt&&(P.value=dt),t[20]?O?O.p(t,r):((O=Ho(t)).c(),O.m(w,null)):O&&(O.d(1),O=null),1048576&r[0]&&yt!==(yt="PlayerInfoBox "+(t[20]?"InvalidField":""))&&dr(w,"class",yt),64&r[1]&&rr!==(rr=t[37]("userAddress")+"")&&mr(vt,rr),134217744&r[0]&&wt!==(wt=t[4]?"":t[27].address)&&A.value!==wt&&(A.value=wt),t[22]?D?D.p(t,r):((D=Oo(t)).c(),D.m(S,null)):D&&(D.d(1),D=null),4194304&r[0]&&St!==(St="PlayerInfoBox "+(t[22]?"InvalidField":""))&&dr(S,"class",St),64&r[1]&&or!==(or=t[37]("userPostalCode")+"")&&mr(Tt,or),16&r[0]&&xt!==(xt=t[4]?t[42]:"")&&dr(T,"placeholder",xt),134217744&r[0]&&Ct!==(Ct=t[4]?"":t[27].postalCode)&&T.value!==Ct&&(T.value=Ct),t[21]?M?M.p(t,r):((M=Do(t)).c(),M.m(B,null)):M&&(M.d(1),M=null),2097152&r[0]&&It!==(It="PlayerInfoBox "+(t[21]?"InvalidField":""))&&dr(B,"class",It),t[17]||t[18]?L?L.p(t,r):((L=Mo(t)).c(),L.m(i,Ot)):L&&(L.d(1),L=null),64&r[1]&&ir!==(ir=t[37]("userProfileSaveChanges")+"")&&mr(Lt,ir),540672&r[0]&&kt!==(kt="PlayerDetailsSaveButton "+(t[14]&&t[19]?"":"PlayerButtonDisabled"))&&dr(Mt,"class",kt),t[26]?k?k.p(t,r):((k=Ro(t)).c(),k.m(i,null)):k&&(k.d(1),k=null)},d(e){e&&ur(i),_&&_.d();var t=x,r=e;for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r);C&&C.d(),N&&N.d(),I&&I.d(),H&&H.d(),o[68](null),O&&O.d(),o[70](null),D&&D.d(),o[72](null),M&&M.d(),L&&L.d(),k&&k.d(),Ft=!1,ar(Ut)}}}function Ao(e){let r;return{c(){dr(r=t("div"),"class","ModalLoader")},m(e,t){lr(e,r,t)},p:p,d(e){e&&ur(r)}}}function Bo(e){let r,o,i,n=e[106].Prefix+"";return{c(){r=t("option"),o=hr(n),r.__value=i=e[106].Prefix,r.value=r.__value},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){65536&t[0]&&n!==(n=e[106].Prefix+"")&&mr(o,n),65536&t[0]&&i!==(i=e[106].Prefix)&&(r.__value=i,r.value=r.__value)},d(e){e&&ur(r)}}}function To(e){let r,o,i,n=e[106].Prefix+"";return{c(){r=t("option"),o=hr(n),r.selected=!0,r.__value=i=e[106].Prefix,r.value=r.__value},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){65536&t[0]&&n!==(n=e[106].Prefix+"")&&mr(o,n),65536&t[0]&&i!==(i=e[106].Prefix)&&(r.__value=i,r.value=r.__value)},d(e){e&&ur(r)}}}function _o(e){let r;function o(e){return e[106].Prefix===e[27].mobiePrefix?To:Bo}let i=o(e),n=i(e);return{c(){n.c(),r=hr("")},m(e,t){n.m(e,t),lr(e,r,t)},p(e,t){i===(i=o(e))&&n?n.p(e,t):(n.d(1),(n=i(e))&&(n.c(),n.m(r.parentNode,r)))},d(e){n.d(e),e&&ur(r)}}}function xo(e){let r,o,i=e[37]("userPhoneError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userPhoneError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Co(e){let r,o,i=("true"==e[1]?e[37]("profileSecurityQuestionError2"):e[37]("profileSecurityQuestionError"))+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){2&t[0]|64&t[1]&&i!==(i=("true"==e[1]?e[37]("profileSecurityQuestionError2"):e[37]("profileSecurityQuestionError"))+"")&&mr(o,i)},d(e){e&&ur(r)}}}function No(e){let r,o,i=("true"==e[1]?e[37]("profileSecurityAnswerError2"):e[37]("profileSecurityAnswerError"))+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){2&t[0]|64&t[1]&&i!==(i=("true"==e[1]?e[37]("profileSecurityAnswerError2"):e[37]("profileSecurityAnswerError"))+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Io(e){let r,o,i,n,a,s=e[37]("iban")+"";return{c(){r=t("div"),o=t("label"),i=hr(s),n=pr(),dr(a=t("input"),"type","text"),dr(a,"class","FieldDisabled"),a.value=e[36],a.readOnly=!0,dr(r,"class","PlayerInfoBox")},m(e,t){lr(e,r,t),sr(r,o),sr(o,i),sr(r,n),sr(r,a)},p(e,t){64&t[1]&&s!==(s=e[37]("iban")+"")&&mr(i,s),32&t[1]&&a.value!==e[36]&&(a.value=e[36])},d(e){e&&ur(r)}}}function Ho(e){let r,o,i=e[37]("userCityError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userCityError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Oo(e){let r,o,i=e[37]("userAddressError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userAddressError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Do(e){let r,o,i=e[37]("userPostalCodeError")+"";return{c(){r=t("p"),o=hr(i),dr(r,"class","InvalidInput")},m(e,t){lr(e,r,t),sr(r,o)},p(e,t){64&t[1]&&i!==(i=e[37]("userPostalCodeError")+"")&&mr(o,i)},d(e){e&&ur(r)}}}function Mo(e){let r,o,i,n,a,s,l=e[37]("userNotifications")+"",u=e[18]&&Lo(e),c=e[17]&&ko(e);return{c(){r=t("div"),o=t("h3"),i=hr(l),n=pr(),a=t("section"),u&&u.c(),s=pr(),c&&c.c(),dr(r,"class","PlayerNotificationsHeader"),dr(a,"class","PlayerNotificationsCheckboxArea")},m(e,t){lr(e,r,t),sr(r,o),sr(o,i),lr(e,n,t),lr(e,a,t),u&&u.m(a,null),sr(a,s),c&&c.m(a,null)},p(e,t){64&t[1]&&l!==(l=e[37]("userNotifications")+"")&&mr(i,l),e[18]?u?u.p(e,t):((u=Lo(e)).c(),u.m(a,s)):u&&(u.d(1),u=null),e[17]?c?c.p(e,t):((c=ko(e)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&ur(r),e&&ur(n),e&&ur(a),u&&u.d(),c&&c.d()}}}function Lo(r){let o,i,n,a,s,l,u,c,h,p,f=r[37]("userSMSNotification")+"";return{c(){o=t("div"),i=t("label"),n=t("input"),a=pr(),s=t("span"),l=pr(),u=t("span"),c=hr(f),dr(n,"type","checkbox"),dr(n,"id","SMSNotification"),dr(n,"name","Enable SMS notifications"),dr(s,"class","Checkmark"),dr(i,"for","SMSNotification"),dr(o,"class","PlayerNotificationBox")},m(e,t){lr(e,o,t),sr(o,i),sr(i,n),n.checked=r[8],sr(i,a),sr(i,s),sr(i,l),sr(i,u),sr(u,c),h||(p=[fr(n,"change",r[74]),fr(n,"change",r[53])],h=!0)},p(e,t){256&t[0]&&(n.checked=e[8]),64&t[1]&&f!==(f=e[37]("userSMSNotification")+"")&&mr(c,f)},d(e){e&&ur(o),h=!1,ar(p)}}}function ko(r){let o,i,n,a,s,l,u,c,h,p,f=r[37]("userEmailNotification")+"";return{c(){o=t("div"),i=t("label"),n=t("input"),a=pr(),s=t("span"),l=pr(),u=t("span"),c=hr(f),dr(n,"type","checkbox"),dr(n,"id","EmailNotification"),dr(n,"name","Enable Emails"),dr(s,"class","Checkmark"),dr(i,"for","EmailNotification"),dr(o,"class","PlayerNotificationBox")},m(e,t){lr(e,o,t),sr(o,i),sr(i,n),n.checked=r[9],sr(i,a),sr(i,s),sr(i,l),sr(i,u),sr(u,c),h||(p=[fr(n,"change",r[75]),fr(n,"change",r[53])],h=!0)},p(e,t){512&t[0]&&(n.checked=e[9]),64&t[1]&&f!==(f=e[37]("userEmailNotification")+"")&&mr(c,f)},d(e){e&&ur(o),h=!1,ar(p)}}}function Ro(e){let r,o,i,n=e[37]("userProfileConfirmationMessage")+"";return{c(){r=t("section"),o=t("p"),i=hr(n),dr(o,"class","PlayerDetailsConfirmSaveText"),dr(r,"class","PlayerDetailsConfirmSave")},m(e,t){lr(e,r,t),sr(r,o),sr(o,i)},p(e,t){64&t[1]&&n!==(n=e[37]("userProfileConfirmationMessage")+"")&&mr(i,n)},d(e){e&&ur(r)}}}function Fo(r){let o;function i(e){return e[3]?Ao:So}let n=i(r),a=n(r);return{c(){o=t("div"),a.c(),this.c=p},m(e,t){lr(e,o,t),a.m(o,null),r[77](o)},p(e,t){n===(n=i(e))&&a?a.p(e,t):(a.d(1),(a=n(e))&&(a.c(),a.m(o,null)))},i:p,o:p,d(e){e&&ur(o),a.d(),r[77](null)}}}function Uo(t,e,r){let L;var o=vo;t.$$.on_destroy.push(pe(o,e=>r(37,L=e)));let i,n,a,s,l,{endpoint:u=""}=e,{lang:c="en"}=e,{countrycode:h="IR"}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{translationurl:d=""}=e,{custominputtextswitch:m="false"}=e,k=!0,R="PC"!=((o=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":o.toLowerCase().match(/iphone/i)?"iPhone":o.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),F=!0,y=!1,b=!1,g="",v="",E="",w="",P=!1,U={Name:"I.e Ireland"},S=[],G=[],A=[],B=!1,T=!1,_={items:[]},x=!1,j="",z="",$="",Q=!1,V=!1,W=!1,K={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys(wo).forEach(e=>{Eo(e,wo[e])});e=window.matchMedia("(min-width: 768px)");let X={address1:"",address2:"",city:"",acceptNewsEmail:!1,acceptSMSOffers:!1,country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},C={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},N={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",country:"i.e.: Ireland",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},{address1:Y,birth:Z,city:q,currency:J,mobile:I,email:ee,firstname:te,userTitles:re,language:oe,lastname:ie,postalCode:ne,securityAnswer:H,securityQuestion:O,username:ae,iban:se}=N;const le=e=>{var t;if(e.data)switch(e.data.type){case"ProfileDetailsData":r(4,F=!1),N=e.data.profileDetails,r(35,ae=N.username),r(30,I=N.mobile),r(31,ee=N.email),r(32,te=N.firstname),r(34,ie=N.lastname),oe=N.language,r(28,Z=(null==(t=N.birth)?void 0:t.day)+"/"+(null==(t=N.birth)?void 0:t.month)+"/"+(null==(t=N.birth)?void 0:t.year)),r(29,J=N.currency),r(36,se=N.iban),r(33,re=N.title),r(10,g=N.securityQuestion),r(11,v=N.securityAnswer),r(12,E=null==(t=N.mobile)?void 0:t.prefix),r(13,w=null==(t=N.mobile)?void 0:t.number),r(27,C.address=N.address1,C),r(27,C.city=N.city,C),r(27,C.mobilePrefix=null==I?void 0:I.prefix,C),r(27,C.mobileNumber=null==I?void 0:I.number,C),r(27,C.postalCode=N.postalCode,C),r(27,C.securityAnswer=N.securityAnswer,C),r(27,C.securityQuestion=N.securityQuestion,C);break;case"ProfileConsentData":A=e.data.consent.items,Array.isArray(A)&&A.forEach(e=>{"emailmarketing"==e.tagCode?(r(17,B=!0),r(9,b="Accepted"==e.status),r(27,C.acceptNewsEmail=b,C)):"sms"==e.tagCode&&(r(18,T=!0),r(8,y="Accepted"==e.status),r(27,C.acceptSMSOffers=y,C))});break;case"ConfirmProfileInfoSave":r(14,P=!1),r(26,W=!0),setTimeout(()=>{r(26,W=!1)},3e3)}},D=()=>{r(19,x=!(Q||V||j||$||z||l))},ue=e=>{e.preventDefault(),1==P&&1==x&&(window.postMessage({type:"UpdatePlayerInfo",provisionalArray:X},window.location.href),window.postMessage({type:"UpdatePlayerConsent",consentArray:_},window.location.href))},ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)},M=()=>{var e,t;X={acceptNewsEmail:b,acceptSMSOffers:y,address:a.value,city:s.value,mobileNumber:w,mobilePrefix:E,postalCode:n.value,securityAnswer:v,securityQuestion:g},e=X,t=C,JSON.stringify(e)===JSON.stringify(t)?r(14,P=!1):r(14,P=!0),_={items:[]},T&&_.items.push({tagCode:"sms",status:y?"Accepted":"Denied"}),B&&_.items.push({tagCode:"emailmarketing",status:b?"Accepted":"Denied"}),D()};return o=()=>(window.addEventListener("message",le,!1),()=>{window.removeEventListener("message",le)}),function(){if(fe)return fe;throw new Error("Function called outside component initialization")}().$$.on_mount.push(o),t.$$set=e=>{"endpoint"in e&&r(54,u=e.endpoint),"lang"in e&&r(55,c=e.lang),"countrycode"in e&&r(0,h=e.countrycode),"clientstyling"in e&&r(56,p=e.clientstyling),"clientstylingurl"in e&&r(57,f=e.clientstylingurl),"translationurl"in e&&r(58,d=e.translationurl),"custominputtextswitch"in e&&r(1,m=e.custominputtextswitch)},t.$$.update=()=>{if(16777216&t.$$.dirty[1]&&c&&(e=c,no.set(e)),1&t.$$.dirty[0]|8388608&t.$$.dirty[1]&&u&&h&&fetch(u+"/v1/player/countries").then(e=>300<=e.status?new Error("Error while fetching the countries"):e.json()).then(e=>{fetch(u+"/v1/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{G=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code)),r(15,U=G.find(e=>e.Alpha2Code===h)||{Name:"I.E. Ireland"}),r(3,k=!1)})}),8388608&t.$$.dirty[1]&&u&&fetch(u+"/v1/player/phonecodes").then(e=>e.json()).then(e=>{r(16,S=e.phoneCodes)}),4&t.$$.dirty[0]|67108864&t.$$.dirty[1]&&f&&i){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;4&t.$$.dirty[0]|33554432&t.$$.dirty[1]&&p&&i&&((e=document.createElement("style")).innerHTML=p,i.appendChild(e)),134217728&t.$$.dirty[1]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Eo(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,i,k,F,n,a,s,y,b,g,v,E,w,P,U,S,B,T,x,j,z,$,Q,V,l,W,C,Z,J,I,ee,te,re,ie,ae,se,L,R,e,Y,q,ne,H,O,()=>{r(25,l=!(w&&5<=w.length&&w.length<=12)),D()},()=>{r(23,Q=!(()=>{if(O)switch(m){case"true":if(K.document.test(O)&&O.length<=50)return!0;break;case"false":if(O&&O.length<=120)return!0}return!1})()),D()},()=>{r(24,V=!(()=>{if(H)switch(m){case"true":if(K.document.test(H)&&H.length<=50)return!0;break;case"false":if(H&&H.length<=120)return!0}return!1})()),D()},()=>{r(20,j=!(s.value&&s.value.length<=50)),D()},()=>{r(21,z=!(n.value&&n.value.length<=20)),D()},()=>{r(22,$=!(a.value&&a.value.length<=100)),D()},ue,ce,M,u,c,p,f,d,()=>ce(),function(){E=function(e){e=e.querySelector(":checked");return e&&e.__value}(this),r(12,E),r(16,S)},()=>M(),function(){w=this.value,r(13,w)},()=>M(),function(){g=this.value,r(10,g)},()=>M(),function(){v=this.value,r(11,v)},()=>M(),function(e){he[e?"unshift":"push"](()=>{s=e,r(7,s)})},()=>M(),function(e){he[e?"unshift":"push"](()=>{a=e,r(6,a)})},()=>M(),function(e){he[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>M(),function(){y=this.checked,r(8,y)},function(){b=this.checked,r(9,b)},e=>ue(e),function(e){he[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}class Go extends L{constructor(e){super();var t=document.createElement("style");t.textContent="button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));background:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));padding:50px;max-width:760px;border-radius:20px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw-color-white, #FFFFFF);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox.InvalidField input{border:1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));background:var(--emw-color-pale, #FBECF4);color:var(--emw-color-error, var(--emw-color-red, #FD2839))}.PlayerInfoBox .InvalidInput{color:var(--emw-color-error, var(--emw-color-red, #FD2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px;outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emw-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px)}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw-color-gray-50, #F9F8F8);max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(-emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerInfoBox:last-child .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{font-family:var(--emw--button-typography);grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:var(--emw--font-size-large, 20px);height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:var(--emw-color-valid, var(--emw-color-green, #48952a));color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}",this.shadowRoot.appendChild(t),M(this,{target:this.shadowRoot,props:function(e){var t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Uo,Fo,_,{endpoint:54,lang:55,countrycode:0,clientstyling:56,clientstylingurl:57,translationurl:58,custominputtextswitch:1},null,[-1,-1,-1,-1]),e&&(e.target&&lr(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["endpoint","lang","countrycode","clientstyling","clientstylingurl","translationurl","custominputtextswitch"]}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),d()}get lang(){return this.$$.ctx[55]}set lang(e){this.$$set({lang:e}),d()}get countrycode(){return this.$$.ctx[0]}set countrycode(e){this.$$set({countrycode:e}),d()}get clientstyling(){return this.$$.ctx[56]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[57]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[58]}set translationurl(e){this.$$set({translationurl:e}),d()}get custominputtextswitch(){return this.$$.ctx[1]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),d()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",Go),Go});
|
2
2
|
//# sourceMappingURL=player-profile-info.js.map
|