@everymatrix/player-profile-info 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(A){"use strict";(i=A)&&"object"==typeof i&&0 in i;function m(){}function T(e){return e()}function _(){return Object.create(null)}function ur(e){e.forEach(T)}function I(e){return"function"==typeof e}function x(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function pe(e,...t){if(null==e)return m;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function cr(e,t){e.appendChild(t)}function hr(e,t,r){e.insertBefore(t,r||null)}function pr(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function fr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function dr(e){return document.createTextNode(e)}function yr(){return dr(" ")}function mr(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function br(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function gr(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function vr(e,t){e.value=null==t?"":t}function Er(t,r){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===r)return i.selected=!0}t.selectedIndex=-1}let fe;function S(e){fe=e}const C=[],he=[],N=[],H=[],D=Promise.resolve();let O=!1;function Pr(e){N.push(e)}const L=new Set;let M=0;function b(){const e=fe;do{for(;M<C.length;){const e=C[M];M++,S(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),ur(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Pr))}for(S(null),C.length=0,M=0;he.length;)he.pop()();for(let e=0;e<N.length;e+=1){const i=N[e];L.has(i)||(L.add(i),i())}}while(N.length=0,C.length);for(;H.length;)H.pop()();O=!1,L.clear(),S(e)}const R=new Set;function k(i,e,t,r,n,o,a,s=[-1]){var l=fe;S(i);const u=i.$$={fragment:null,ctx:null,props:o,update:m,not_equal:n,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return u.ctx&&n(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c&&(r=e,-1===(e=i).$$.dirty[0]&&(C.push(e),O||(O=!0,D.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],u.update(),c=!0,ur(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){o=e.target;const i=Array.from(o.childNodes);u.fragment&&u.fragment.l(i),i.forEach(pr)}else u.fragment&&u.fragment.c();e.intro&&(s=i.$$.fragment)&&s.i&&(R.delete(s),s.i(void 0));{var h=i;a=e.target;t=e.anchor;r=e.customElement;const{fragment:p,on_mount:f,on_destroy:d,after_update:y}=h.$$;p&&p.m(a,t),r||Pr(()=>{var e=f.map(T).filter(I);d?d.push(...e):ur(e),h.$$.on_mount=[]}),y.forEach(Pr)}b()}S(l)}let F;"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(T).filter(I);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ur(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(ur(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=m}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var U,G,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,$="URLSearchParams"in s,j="Symbol"in s&&"iterator"in Symbol,z="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),W="FormData"in s,V="ArrayBuffer"in s;function X(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 K(e){return e="string"!=typeof e?String(e):e}function Q(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Y(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Z(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function q(e){var t=new FileReader,r=Z(t);return t.readAsArrayBuffer(e),r}function J(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ee(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:W&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:$&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():V&&z&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=J(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):V&&(ArrayBuffer.prototype.isPrototypeOf(e)||G(e))?this._bodyArrayBuffer=J(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):$&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},z&&(this.blob=function(){var e=Y(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Y(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(q)}),this.text=function(){var e,t,r=Y(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=Z(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},W&&(this.formData=function(){return this.text().then(re)}),this.json=function(){return this.text().then(JSON.parse)},this}V&&(U=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],G=ArrayBuffer.isView||function(e){return e&&-1<U.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=X(e),t=K(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[X(e)]},l.prototype.get=function(e){return e=X(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(X(e))},l.prototype.set=function(e,t){this.map[X(e)]=K(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Q(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Q(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Q(r)},j&&(l.prototype[Symbol.iterator]=l.prototype.entries);var te=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<te.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function re(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},ee.call(u.prototype),ee.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var ie=[301,302,303,307,308],h=(c.redirect=function(e,t){if(-1===ie.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},s.DOMException);try{new h}catch(A){(h=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),h.prototype.constructor=h}function ne(i,a){return new Promise(function(n,e){var t=new u(i,a);if(t.signal&&t.signal.aborted)return e(new h("Aborted","AbortError"));var o=new XMLHttpRequest;function r(){o.abort()}o.onload=function(){var e,r,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},i=(t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){n(new c(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new h("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(z?o.responseType="blob":V&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){o.setRequestHeader(e,K(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",r)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}ne.polyfill=!0,s.fetch||(s.fetch=ne,s.Headers=l,s.Request=u,s.Response=c),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 ae(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 se(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return a}function ue(e,t,r){if(r||2===arguments.length)for(var i,n=0,o=t.length;n<o;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function p(e){return"function"==typeof e}function ce(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 de=ce(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 ye(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,i,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=se(o),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 o.remove(this);o=this.initialTeardown;if(p(o))try{o()}catch(e){n=e instanceof de?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=se(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{ve(c)}catch(e){n=null!=n?n:[],e instanceof de?n=ue(ue([],le(n)),le(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(n)throw new de(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ve(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)&&ye(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&ye(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((i=new r).closed=!0,i);var me=r,be=me.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function ge(e){return e instanceof me||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function ve(e){p(e)?e():e.unsubscribe()}var Ee=void 0,Pe=!1,Be=!1,we={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=we.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ue([e,t],le(r))):setTimeout.apply(void 0,ue([e,t],le(r)))},clearTimeout:function(e){var t=we.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ae(){}var Te=null;function _e(e){if(Pe){var t=!Te;if(t&&(Te={errorThrown:!1,error:null}),e(),t){var t=Te,r=t.errorThrown,t=t.error;if(Te=null,r)throw t}}else e()}ae(e,Ie=me),e.create=function(e,t,r){return new De(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,Ie.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 Ie,xe=e,Se=Function.prototype.bind;function e(e){var t=Ie.call(this)||this;return t.isStopped=!1,e?ge(t.destination=e)&&e.add(t):t.destination=Re,t}function Ce(e,t){return Se.call(e,t)}Le.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Me(e)}},Le.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Me(e)}else Me(e)},Le.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Me(e)}};var Ne,He=Le,De=(ae(Oe,Ne=xe),Oe);function Oe(e,t,r){var i=Ne.call(this)||this,r=p(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&Be?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Ce(e.next,t),error:e.error&&Ce(e.error,t),complete:e.complete&&Ce(e.complete,t)}):e;return i.destination=new He(r),i}function Le(e){this.partialObserver=e}function Me(e){var t=e;we.setTimeout(function(){throw t})}var Re={closed:!0,next:Ae,error:function(e){throw e},complete:Ae},i="function"==typeof Symbol&&Symbol.observable||"@@observable";function ke(e){return e}n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,r){var i,n=this,o=(i=e)&&i instanceof xe||i&&p(i.next)&&p(i.error)&&p(i.complete)&&ge(i)?e:new De(e,t,r);return _e(function(){var e=n.operator,t=n.source;o.add(e?e.call(o,t):t?n._subscribe(o):n._trySubscribe(o))}),o},n.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},n.prototype.forEach=function(i,e){var n=this;return new(e=Ue(e))(function(e,t){var r=new De({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},n.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},n.prototype[i]=function(){return this},n.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?ke:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},n.prototype.toPromise=function(e){var i=this;return new(e=Ue(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},n.create=function(e){return new n(e)};var Fe=n;function n(e){e&&(this._subscribe=e)}function Ue(e){return null!=(e=null!=e?e:Ee)?e:Promise}var Ge,$e,je,ze=ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(ae(a,je=Fe),a.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new ze},a.prototype.next=function(n){var o=this;_e(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var r=se(o.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(n)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;_e(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;_e(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(),je.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?be:(this.currentObservers=null,n.push(e),new me(function(){t.currentObservers=null,ye(n,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},a.prototype.asObservable=function(){var e=new Fe;return e.source=this,e},a.create=function(e,t){return new We(e,t)},a),We=(ae(o,$e=i),o.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},o.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},o.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},o.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:be},o),Ve={now:function(){return(Ve.delegate||Date).now()},delegate:void 0},Xe=(ae(Ke,Ge=i),Ke.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,n=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;r||(i.push(e),n||i.push(o.now()+t)),this._trimBuffer(),Ge.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var o=t.now(),a=0,s=1;s<r.length&&r[s]<=o;s+=2)a=s;a&&r.splice(0,a+1)}},Ke);function Ke(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Ve);var i=Ge.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function o(e,t){var r=$e.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=je.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Qe=[],Ye={};const Ze=[];function qe(i,n=m){let o;const a=new Set;function s(e){if(x(i,e)&&(i=e,o)){const e=!Ze.length;for(const e of a)e[1](),Ze.push(e,i);if(e){for(let e=0;e<Ze.length;e+=2)Ze[e][0](Ze[e+1]);Ze.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=m){const r=[e,t];return a.add(r),1===a.size&&(o=n(s)||m),e(i),()=>{a.delete(r),0===a.size&&(o(),o=null)}}}}function Je(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:qe(t,t=>{let r=!1;const i=[];let n=0,o=m;const a=()=>{var e;n||(o(),e=s(l?i[0]:i,t),c?t(e):o=I(e)?e:m)},e=u.map((e,t)=>pe(e,e=>{i[t]=e,n&=~(1<<t),r&&a()},()=>{n|=1<<t}));return r=!0,a(),function(){ur(e),o()}}).subscribe}}function et(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===tt));var t}var tt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function rt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?st(Array.isArray(e)?[]:{},e,t):e}function it(e,t,r){return e.concat(t).map(function(e){return rt(e,r)})}function nt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ot(e,t){try{return t in e}catch(e){return!1}}function at(i,n,o){var a={};return o.isMergeableObject(i)&&nt(i).forEach(function(e){a[e]=rt(i[e],o)}),nt(n).forEach(function(t){var e,r;(!ot(e=i,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(ot(i,t)&&o.isMergeableObject(n[t])?a[t]=function(e){if(!e.customMerge)return st;e=e.customMerge(t);return"function"==typeof e?e:st}(o)(i[t],n[t],o):a[t]=rt(n[t],o))}),a}function st(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||it,r.isMergeableObject=r.isMergeableObject||et,r.cloneUnlessOtherwiseSpecified=rt;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):at(e,t,r):rt(t,r)}st.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return st(e,t,r)},{});throw new Error("first argument should be an array")};var lt=st,ut=function(e,t){return(ut=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 ct(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}ut(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var y,g,ht,v=function(){return(v=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function pt(e,t,r){if(r||2===arguments.length)for(var i,n=0,o=t.length;n<o;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function ft(e){return e.type===g.literal}function dt(e){return e.type===g.number}function yt(e){return e.type===g.date}function mt(e){return e.type===g.time}function bt(e){return e.type===g.select}function gt(e){return e.type===g.plural}function vt(e){return e.type===g.tag}function Et(e){return e&&"object"==typeof e&&e.type===ht.number}function Pt(e){return e&&"object"==typeof e&&e.type===ht.dateTime}(i=y=y||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=g=g||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=ht=ht||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bt=/(?:[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,At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Tt=/^(@+)?(\+|#+)?[rs]?$/g,_t=/(\*)(0+)|(#+)(0+)|(0+)/g,It=/^(0+)$/;function xt(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(Tt,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function St(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 Ct(e){return St(e)||{}}function Nt(e){for(var a={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=v(v(v({},a),{notation:"scientific"}),n.options.reduce(function(e,t){return v(v({},e),Ct(t))},{}));continue;case"engineering":a=v(v(v({},a),{notation:"engineering"}),n.options.reduce(function(e,t){return v(v({},e),Ct(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(_t,function(e,t,r,i,n,o){if(t)a.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(It.test(n.stem))a.minimumIntegerDigits=n.stem.length;else if(At.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(At,function(e,t,r,i,n,o){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:n&&o?(a.minimumFractionDigits=n.length,a.maximumFractionDigits=n.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=n.options[0];"w"===o?a=v(v({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=v(v({},a),xt(o)))}else Tt.test(n.stem)?a=v(v({},a),xt(n.stem)):((o=St(n.stem))&&(a=v(v({},a),o)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!It.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(a=v(v({},a),i)))}return a}var Ht={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 Dt=new RegExp("^".concat(i.source,"*")),Ot=new RegExp("".concat(i.source,"*$"));function E(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,Lt=!!String.fromCodePoint,Mt=!!Object.fromEntries,Rt=!!String.prototype.codePointAt,kt=!!String.prototype.trimStart,Ft=!!String.prototype.trimEnd,Ut=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gt=!0;try{Gt="a"===(null==(lr=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:lr[0])}catch(A){Gt=!1}var $t,jt,zt=i?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Wt=Lt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,o=0;o<n;){if(1114111<(r=e[o++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},Vt=Mt?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],o=n[0],n=n[1];t[o]=n}return t},Xt=Rt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},Kt=kt?function(e){return e.trimStart()}:function(e){return e.replace(Dt,"")},Qt=Ft?function(e){return e.trimEnd()}:function(e){return e.replace(Ot,"")};function Yt(e,t){return new RegExp(e,t)}jt=Gt?($t=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return $t.lastIndex=t,null!=(t=$t.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=Xt(e,t);if(void 0===n||Jt(n)||(33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;i.push(n),t+=65536<=n?2:1}return Wt.apply(void 0,i)};f.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},f.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,o=this.char();if(123===o){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(y.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&qt(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;i.push(n.val)}else{if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}}else{o=this.clonePosition();this.bump(),i.push({type:g.pound,location:E(o,this.clonePosition())})}}}return{val:i,err:null}},f.prototype.parseTag=function(e,t){var r=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:g.literal,value:"<".concat(i,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!qt(this.char()))return this.error(y.INVALID_TAG,E(e,this.clonePosition()));var n=this.clonePosition();return i!==this.parseTagName()?this.error(y.UNMATCHED_CLOSING_TAG,E(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:i,children:t,location:E(r,this.clonePosition())},err:null}:this.error(y.INVALID_TAG,E(e,this.clonePosition())))}return this.error(y.UNCLOSED_TAG,E(r,this.clonePosition()))}return this.error(y.INVALID_TAG,E(r,this.clonePosition()))},f.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())},f.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=E(r,this.clonePosition());return{val:{type:g.literal,value:i,location:r},err:null}},f.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(qt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},f.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 Wt.apply(void 0,t)},f.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Wt(r))},f.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(y.EMPTY_ARGUMENT,E(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(y.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:i,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(y.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},f.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=jt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},f.prototype.parseArgumentOptions=function(e,t,r,i){var n,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(y.EXPECT_ARGUMENT_TYPE,E(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(f=Qt(d.val)).length)return this.error(y.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:E(u,this.clonePosition())}}if((u=this.tryParseArgumentClose(i)).err)return u;var c=E(i,this.clonePosition());if(l&&zt(null==l?void 0:l.style,"::",0)){var h=Kt(l.style.slice(2));if("number"===a)return(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:g.number,value:r,location:c,style:d.val},err:null};if(0===h.length)return this.error(y.EXPECT_DATE_TIME_SKELETON,c);var p=h,f=(this.locale&&(p=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var a=1+(1&o),s=o<2?1:3+(o>>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),(Ht[t||""]||Ht[r||""]||Ht["".concat(r,"-001")]||Ht["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===n?"H":n}return r}(h,this.locale)),{type:ht.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},p.replace(Bt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}});return{val:{type:"date"===a?g.date:g.time,value:r,location:c,style:f},err:null}}return{val:{type:"number"===a?g.number:"date"===a?g.date:g.time,value:r,location:c,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,E(p,v({},p)));this.bumpSpace();var d,f=this.parseIdentifierIfPossible(),c=0;if("select"!==a&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),f=this.parseIdentifierIfPossible(),c=d.val}l=this.tryParsePluralOrSelectOptions(e,a,t,f);if(l.err)return l;if((u=this.tryParseArgumentClose(i)).err)return u;h=E(i,this.clonePosition());return"select"===a?{val:{type:g.select,value:r,options:Vt(l.val),location:h},err:null}:{val:{type:g.plural,value:r,options:Vt(l.val),offset:c,pluralType:"plural"===a?"cardinal":"ordinal",location:h},err:null};default:return this.error(y.INVALID_ARGUMENT_TYPE,E(o,s))}},f.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},f.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,E(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}},f.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(wt).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var o=n[0],n=n.slice(1),a=0,s=n;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:n})}return t}(e)}catch(e){return this.error(y.INVALID_NUMBER_SKELETON,t)}return{val:{type:ht.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Nt(r):{}},err:null}},f.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,o=[],a=new Set,s=i.value,l=i.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=E(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&&(n=!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,E(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;o.push([s,{value:u.val,location:E(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR:y.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(y.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:o,err:null}},f.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;n=!0,o=10*o+(a-48),this.bump()}i=E(i,this.clonePosition());return n?Ut(o*=r)?{val:o,err:null}:this.error(t,i):this.error(e,i)},f.prototype.offset=function(){return this.position.offset},f.prototype.isEOF=function(){return this.offset()===this.message.length},f.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},f.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Xt(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},f.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},f.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))},f.prototype.bumpIf=function(e){if(zt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},f.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)},f.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}},f.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jt(this.char());)this.bump()},f.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Zt=f;function f(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 qt(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function er(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Zt(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,bt(e)||gt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else dt(e)&&Et(e.style)||(yt(e)||mt(e))&&Pt(e.style)?delete e.style.location:vt(e)&&r(e.children)})}(e.val),e.val}function tr(e,t){var r=t&&t.cache?t.cache:Br,i=t&&t.serializer?t.serializer:or;return(t&&t.strategy?t.strategy:function(e,t){return nr(e,this,1===e.length?rr:ir,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function rr(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function ir(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function nr(e,t,r,i,n){return r.bind(t,e,i,n)}var or=function(){return JSON.stringify(arguments)};function ar(){this.cache=Object.create(null)}ar.prototype.get=function(e){return this.cache[e]},ar.prototype.set=function(e,t){this.cache[e]=t};var sr,lr,Br={create:function(){return new ar}},wr={variadic:function(e,t){return nr(e,this,ir,t.cache.create(),t.serializer)},monadic:function(e,t){return nr(e,this,rr,t.cache.create(),t.serializer)}};(lr=sr=sr||{}).MISSING_VALUE="MISSING_VALUE",lr.INVALID_VALUE="INVALID_VALUE",lr.MISSING_INTL_API="MISSING_INTL_API";ct(Lr,Ir=Error),Lr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var P,Ar,Tr,_r,Ir,xr=Lr,Sr=(ct(Or,_r=xr),Or),Cr=(ct(Dr,Tr=xr),Dr),Nr=(ct(Hr,Ar=xr),Hr);function Hr(e,t){return Ar.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),sr.MISSING_VALUE,t)||this}function Dr(e,t,r){return Tr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),sr.INVALID_VALUE,r)||this}function Or(e,t,r,i){return _r.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),sr.INVALID_VALUE,i)||this}function Lr(e,t,r){e=Ir.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Mr(e,t,r,i,n,o,a){if(1===e.length&&ft(e[0]))return[{type:P.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ft(c))s.push({type:P.literal,value:c.value});else if(c.type===g.pound)"number"==typeof o&&s.push({type:P.literal,value:r.getNumberFormat(t).format(o)});else{var h=c.value;if(!(n&&h in n))throw new Nr(h,a);h=n[h];if(c.type===g.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?P.literal:P.object,value:h});else if(yt(c)){var p="string"==typeof c.style?i.date[c.style]:Pt(c.style)?c.style.parsedOptions:void 0;s.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(mt(c))p="string"==typeof c.style?i.time[c.style]:Pt(c.style)?c.style.parsedOptions:i.time.medium,s.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(dt(c))(p="string"==typeof c.style?i.number[c.style]:Et(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:P.literal,value:r.getNumberFormat(t,p).format(h)});else{if(vt(c)){var f=c.children,d=c.value,y=n[d];if("function"!=typeof y)throw new Cr(d,"function",a);d=y(Mr(f,t,r,i,n,o).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?P.literal:P.object,value:e}}))}if(bt(c)){if(!(m=c.options[h]||c.options.other))throw new Sr(c.value,h,Object.keys(c.options),a);s.push.apply(s,Mr(m.value,t,r,i,n))}else if(gt(c)){if(!(m=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new xr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',sr.MISSING_INTL_API,a);var y=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),m=c.options[y]||c.options.other}if(!m)throw new Sr(c.value,h,Object.keys(c.options),a);s.push.apply(s,Mr(m.value,t,r,i,n,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===P.literal&&t.type===P.literal?r.value+=t.value:e.push(t),e},[])}function Rr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(i=P=P||{})[i.literal=0]="literal",i[i.object=1]="object",Object.defineProperty(d,"defaultLocale",{get:function(){return d.memoizedDefaultLocale||(d.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),d.memoizedDefaultLocale},enumerable:!1,configurable:!0}),d.memoizedDefaultLocale=null,d.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])},d.__parse=er,d.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 kr=d;function d(e,t,r,i){var n,o,a=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===P.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Mr(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=d.resolveLocale(t),"string"==typeof e){if(this.message=e,!d.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=d.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=d.formats,(o=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=o[t])?v(v(v({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=v(v({},r[t]),i[t]||{}),e},{})):r),e},v({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,pt([void 0],t,!1)))},{cache:Rr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:wr.variadic}),getDateTimeFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,pt([void 0],t,!1)))},{cache:Rr(t.dateTime),strategy:wr.variadic}),getPluralRules:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,pt([void 0],t,!1)))},{cache:Rr(t.pluralRules),strategy:wr.variadic})}}const B={},Fr=(e,t,r)=>r&&(t in B||(B[t]={}),e in B[t]||(B[t][e]=r),r),Ur=(t,r)=>{if(null!=r){if(r in B&&t in B[r])return B[r][t];var i=ri(r);for(let e=0;e<i.length;e++){var n=function(e,r){if(!jr(e))return null;e=function(e){return Gr[e]||null}(e);{var i=r;if(null==i)return;if(i in e)return e[i];const n=i.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const i=n.slice(e,n.length).join(".");if(i in t){t=t[i];break}}t=t[n[e]]}else t=void 0;return t}}(i[e],t);if(n)return Fr(t,r,n)}}};let Gr;const $r=qe({});function jr(e){return e in Gr}function zr(t,...r){delete B[t],$r.update(e=>(e[t]=lt.all([e[t]||{},...r]),e))}Je([$r],([e])=>Object.keys(e)),$r.subscribe(e=>Gr=e);const Wr={};function Vr(e){return Wr[e]}function Xr(e){return null!=e&&ri(e).some(e=>{return null==(e=Vr(e))?void 0:e.size})}const Kr={};function Qr(e){if(!Xr(e))return e in Kr?Kr[e]:Promise.resolve();const t=ri(e).map(e=>{var t=Vr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Kr[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const r=Promise.all(e.map(e=>{var t=i,r=e;return Wr[t].delete(r),0===Wr[t].size&&delete Wr[t],e().then(e=>e.default||e)}));return r.then(e=>zr(i,...e))}})).then(()=>{if(Xr(e))return Qr(e);delete Kr[e]}),Kr[e]}function Yr(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}const Zr={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 qr=qe(!1);let Jr;const ei=qe(null);function ti(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function ri(e,t=Zr.fallbackLocale){e=ti(e);return t?[...new Set([...e,...ti(t)])]:e}function w(){return null!=Jr?Jr:void 0}ei.subscribe(e=>{Jr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ii=Object.assign(Object.assign({},ei),{set:t=>{if(t&&function(e){if(null!=e){var t=ri(e);for(let e=0;e<t.length;e++){var r=t[e];if(jr(r))return r}}}(t)&&Xr(t)){var r=Zr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=w()&&r?e=window.setTimeout(()=>qr.set(!0),r):qr.set(!0),Qr(t).then(()=>{ei.set(t)}).finally(()=>{clearTimeout(e),qr.set(!1)})}return ei.set(t)}}),ni=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},oi=(e,t)=>{var r=Zr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ai=ni(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=oi("number",r)),new Intl.NumberFormat(t,e)}),si=ni(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=oi("date",r):0===Object.keys(e).length&&(e=oi("date","short")),new Intl.DateTimeFormat(t,e)}),li=ni(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=oi("time",r):0===Object.keys(e).length&&(e=oi("time","short")),new Intl.DateTimeFormat(t,e)}),ui=ni((e,t=w())=>new kr(e,t,Zr.formats,{ignoreTag:Zr.ignoreTag})),ci=Je([ii,$r],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:o,locale:a=w(),default:s}=n;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ur(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=Zr).handleMissingMessage)?void 0:r.call(i,{locale:a,id:e,defaultValue:s}))?r:s)?i:e;if(!o)return l;let u=l;try{u=ui(l,a).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function hi(e,t){zr(e,t)}Je([ii],()=>(e,t)=>((e={})=>{var{locale:t=w()}=e,e=Yr(e,["locale"]);return li(Object.assign({locale:t},e))})(t).format(e)),Je([ii],()=>(e,t)=>((e={})=>{var{locale:t=w()}=e,e=Yr(e,["locale"]);return si(Object.assign({locale:t},e))})(t).format(e)),Je([ii],()=>(e,t)=>((e={})=>{var{locale:t=w()}=e,e=Yr(e,["locale"]);return ai(Object.assign({locale:t},e))})(t).format(e)),Je([ii,$r],()=>(e,t=w())=>Ur(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Qe.indexOf(e)&&(t=new Xe(t),Ye[e]=t,Qe.push(e)),Ye[e]}};const pi={en:{playerProfile:{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:",securityQuestion:"Security Question:",securityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",firstName:"First Name:",securityAnswer:"Security Answer:",securityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",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",userAppSettings:"Biometrics",userSMSNotification:"Enable SMS notifications",userBiometrics:"Enable biometrics",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!"}},"zh-hk":{playerProfile:{title:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",securityQuestion:"安全問題:",securityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",firstName:"名:",securityAnswer:"安全答案:",securityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userAppSettings:"生物识别",userSMSNotification:"啟用短信通知",userBiometrics:"启用生物识别",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!"}},fr:{playerProfile:{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:",securityQuestion:"Questions de sécurité:",securityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",firstName:"Prénom:",securityAnswer:"Reponses de sécurité:",securityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",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",userAppSettings:"Biométrie",userSMSNotification:"Activer les notifications par sms",userBiometrics:"Activer la biométrie",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!"}},ro:{playerProfile:{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:",securityQuestion:"Întrebare securitate:",securityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",firstName:"Prenume:",securityAnswer:"Răspuns securitate:",securityAnswerError:"Raspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userCity:"Oraș:",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:{playerProfile:{title:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve en fazla 12 karakter olmalıdır.",userEmail:"E-posta:",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",firstName:"İlk adı:",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",lastName:"Soyadı:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",userTitle:"Başlık:",locationDetails:"Konum Ayrıntıları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",userPostalCode:"Posta kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter 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!"}},es:{playerProfile:{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:",securityQuestion:"Pregunta de seguridad:",securityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",firstName:"Nombre",securityAnswer:"Respuesta de seguridad:",securityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",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",userAppSettings:"Biometría",userSMSNotification:"Habilitar notificaciones SMS",userBiometrics:"Habilitar datos biométricos",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!"}},pt:{playerProfile:{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:",securityQuestion:"Pergunta de segurança:",securityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",firstName:"Primeiro nome:",securityAnswer:"Resposta de segurança:",securityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",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",userAppSettings:"Biometrics",userSMSNotification:"Ativar notificações por SMS",userBiometrics:"Ativar biometria.",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!"}}};function fi(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return r=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],r&&r.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,r=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof r?(t=Array.prototype.slice.call(arguments,1),r.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var di=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},yi=function(e,...t){try{return fi(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},mi=function(e,t){try{return fi(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function bi(e,t,r){const i=e.slice();return i[106]=t[r],i}function gi(i){let n,k,F,U,G,$,j,z,W,r,V,X,K,Q,o,Y,a,Z,q,J,ee,s,te,l,e,re,ie,ne,oe,u,ae,se,le,c,ue,ce,he,pe,fe,h,de,ye,me,p,be,ge,ve,Ee,Pe,Be,we,Ae,Te,f,_e,Ie,xe,Se,Ce,d,Ne,He,De,Oe,Le,y,Me,Re,ke,Fe,Ue,m,Ge,$e,je,ze,We,b,Ve,Xe,Ke,Qe,Ye,g,Ze,qe,Je,et,tt,v,rt,it,nt,ot,E,at,st,P,lt,ut,ct,B,ht,pt,ft,dt,yt,mt,w,bt,gt,vt,A,Et,Pt,Bt,wt,At,T,Tt,_t,It,_,xt,St,Ct,Nt,Ht,Dt,Ot,Lt,Mt,I,Rt,kt,Ft,Ut,Gt,$t,jt=i[37]("playerProfile.title")+"",zt=i[37]("playerProfile.personalDetails")+"",Wt=i[37]("playerProfile.userName")+"",Vt=i[37]("playerProfile.userPhone")+"",Xt=i[37]("playerProfile.securityQuestion")+"",Kt=i[37]("playerProfile.securityAnswer")+"",Qt=i[37]("playerProfile.userEmail")+"",Yt=i[37]("playerProfile.dateOfBirth")+"",Zt=i[37]("playerProfile.firstName")+"",qt=i[37]("playerProfile.lastName")+"",Jt=i[37]("playerProfile.userTitle")+"",er=i[37]("playerProfile.currency")+"",tr=i[37]("playerProfile.locationDetails")+"",rr=i[37]("playerProfile.userCountry")+"",ir=i[37]("playerProfile.userCity")+"",nr=i[37]("playerProfile.userAddress")+"",or=i[37]("playerProfile.userPostalCode")+"",ar=i[37]("playerProfile.userProfileSaveChanges")+"",sr=i[38]&&function(r){let i,n,o,a,s,l,u,c,h,p,f,d,y,m=r[37]("playerProfile.title")+"";return{c(){i=t("div"),n=fr("svg"),o=fr("defs"),a=fr("style"),s=dr(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=fr("g"),u=fr("g"),c=fr("path"),h=yr(),p=t("h2"),f=dr(m),br(c,"class","aaa"),br(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),br(c,"transform","translate(15 15) rotate(180)"),br(u,"transform","translate(20 158)"),br(l,"transform","translate(-20 -158)"),br(n,"xmlns","http://www.w3.org/2000/svg"),br(n,"width","15"),br(n,"height","15"),br(n,"viewBox","0 0 15 15"),br(p,"class","MyAccountCategoryTitleMobile"),br(p,"part","MyAccountCategoryTitleMobile"),br(i,"class","MenuReturnButton"),br(i,"part","MenuReturnButton")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),cr(o,a),cr(a,s),cr(n,l),cr(l,u),cr(u,c),cr(i,h),cr(i,p),cr(p,f),d||(y=mr(i,"click",r[59]),d=!0)},p(e,t){64&t[1]&&m!==(m=e[37]("playerProfile.title")+"")&&gr(f,m)},d(e){e&&pr(i),d=!1,y()}}}(i),lr=i[16],x=[];for(let e=0;e<lr.length;e+=1)x[e]=Bi(bi(i,lr,e));let S=i[25]&&wi(i),C=i[23]&&Ai(i),N=i[24]&&Ti(i),H=i[20]&&_i(i),D=i[22]&&Ii(i),O=i[21]&&xi(i),L=(i[17]||i[18])&&Si(i),M=i[27]&&Hi(i),R=i[26]&&Di(i);return{c(){n=t("form"),sr&&sr.c(),k=yr(),F=t("h2"),U=dr(jt),G=yr(),$=t("div"),j=t("h3"),z=dr(zt),W=yr(),r=t("section"),V=t("div"),X=t("label"),K=dr(Wt),Q=yr(),o=t("input"),Y=yr(),a=t("div"),Z=t("label"),q=dr(Vt),J=yr(),ee=t("div"),s=t("select");for(let e=0;e<x.length;e+=1)x[e].c();te=yr(),l=t("input"),re=yr(),S&&S.c(),oe=yr(),u=t("div"),ae=t("label"),se=dr(Xt),le=yr(),c=t("input"),ce=yr(),C&&C.c(),fe=yr(),h=t("div"),de=t("label"),ye=dr(Kt),me=yr(),p=t("input"),ge=yr(),N&&N.c(),Pe=yr(),Be=t("div"),we=t("label"),Ae=dr(Qt),Te=yr(),f=t("input"),_e=yr(),Ie=t("div"),xe=t("label"),Se=dr(Yt),Ce=yr(),d=t("input"),Ne=yr(),He=t("div"),De=t("label"),Oe=dr(Zt),Le=yr(),y=t("input"),Me=yr(),Re=t("div"),ke=t("label"),Fe=dr(qt),Ue=yr(),m=t("input"),Ge=yr(),$e=t("div"),je=t("label"),ze=dr(Jt),We=yr(),b=t("input"),Ve=yr(),Xe=t("div"),Ke=t("label"),Qe=dr(er),Ye=yr(),g=t("input"),Ze=yr(),qe=t("div"),Je=t("h3"),et=dr(tr),tt=yr(),v=t("section"),rt=t("div"),it=t("label"),nt=dr(rr),ot=yr(),E=t("input"),st=yr(),P=t("div"),lt=t("label"),ut=dr(ir),ct=yr(),B=t("input"),ft=yr(),H&&H.c(),mt=yr(),w=t("div"),bt=t("label"),gt=dr(nr),vt=yr(),A=t("input"),Pt=yr(),D&&D.c(),At=yr(),T=t("div"),Tt=t("label"),_t=dr(or),It=yr(),_=t("input"),Ct=yr(),O&&O.c(),Dt=yr(),L&&L.c(),Ot=yr(),M&&M.c(),Lt=yr(),Mt=t("section"),I=t("button"),Rt=dr(ar),Ut=yr(),R&&R.c(),br(F,"class","MyAccountCategoryTitle "+(i[38]?"MyAccountCategoryTitleNone":"")),br(F,"part","MyAccountCategoryTitle "+(i[38]?"MyAccountCategoryTitleNone":"")),br($,"class","PlayerNotificationsHeader"),br($,"part","PlayerNotificationsHeader"),br(o,"type","text"),br(o,"class","FieldDisabled"),br(o,"part","FieldDisabled"),o.value=i[36],o.readOnly=!0,br(V,"class","PlayerInfoBox"),br(V,"part","PlayerInfoBox"),void 0===i[12]&&Pr(()=>i[60].call(s)),br(l,"type","text"),br(l,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),br(l,"placeholder",e=i[3]?i[31].number:""),br(ee,"class","PlayerPhoneNumber"),br(ee,"part","PlayerPhoneNumber"),br(a,"class",ie="PlayerInfoBox "+(i[25]?"InvalidField":"")),br(a,"part",ne="PlayerInfoBox "+(i[25]?"InvalidField":"")),br(c,"type","text"),br(c,"placeholder",ue=i[3]?i[44]:""),br(u,"class",he="PlayerInfoBox "+(i[23]?"InvalidField":"")),br(u,"part",pe="PlayerInfoBox "+(i[23]?"InvalidField":"")),br(p,"type","text"),br(p,"placeholder",be=i[3]?i[43]:""),br(h,"class",ve="PlayerInfoBox "+(i[24]?"InvalidField":"")),br(h,"part",Ee="PlayerInfoBox "+(i[24]?"InvalidField":"")),br(f,"type","email"),br(f,"class","FieldDisabled"),br(f,"part","FieldDisabled"),f.value=i[32],f.readOnly=!0,br(Be,"class","PlayerInfoBox"),br(Be,"part","PlayerInfoBox"),br(d,"type","text"),br(d,"class","FieldDisabled"),br(d,"part","FieldDisabled"),d.value=i[29],d.readOnly=!0,br(Ie,"class","PlayerInfoBox"),br(Ie,"part","PlayerInfoBox"),br(y,"type","text"),br(y,"class","FieldDisabled"),br(y,"part","FieldDisabled"),y.value=i[33],y.readOnly=!0,br(He,"class","PlayerInfoBox"),br(He,"part","PlayerInfoBox"),br(m,"type","text"),br(m,"class","FieldDisabled"),br(m,"part","FieldDisabled"),m.value=i[35],m.readOnly=!0,br(Re,"class","PlayerInfoBox"),br(Re,"part","PlayerInfoBox"),br(b,"type","text"),br(b,"class","FieldDisabled"),br(b,"part","FieldDisabled"),b.value=i[34],b.readOnly=!0,br($e,"class","PlayerInfoBox"),br($e,"part","PlayerInfoBox"),br(g,"type","text"),br(g,"class","FieldDisabled"),br(g,"part","FieldDisabled"),g.value=i[30],g.readOnly=!0,br(Xe,"class","PlayerInfoBox"),br(Xe,"part","PlayerInfoBox"),br(r,"class","PlayerDetailsContent"),br(r,"part","PlayerDetailsContent"),br(qe,"class","PlayerLocationHeader"),br(qe,"part","PlayerLocationHeader"),br(E,"type","text"),br(E,"class","PlayerCountry FieldDisabled"),br(E,"part","PlayerCountry FieldDisabled"),br(E,"placeholder",i[0]),E.value=at=i[15].Name,E.readOnly=!0,br(rt,"class","PlayerInfoBox"),br(rt,"part","PlayerInfoBox"),br(B,"type","text"),br(B,"placeholder",ht=i[3]?i[41]:""),B.value=pt=i[3]?"":i[28].city,br(P,"class",dt="PlayerInfoBox "+(i[20]?"InvalidField":"")),br(P,"part",yt="PlayerInfoBox "+(i[20]?"InvalidField":"")),br(A,"placeholder",i[40]),br(A,"type","text"),A.value=Et=i[3]?"":i[28].address,br(w,"class",Bt="PlayerInfoBox "+(i[22]?"InvalidField":"")),br(w,"part",wt="PlayerInfoBox "+(i[22]?"InvalidField":"")),br(_,"type","text"),br(_,"placeholder",xt=i[3]?i[42]:""),_.value=St=i[3]?"":i[28].postalCode,br(T,"class",Nt="PlayerInfoBox "+(i[21]?"InvalidField":"")),br(T,"part",Ht="PlayerInfoBox "+(i[21]?"InvalidField":"")),br(v,"class","PlayerLocationContent"),br(v,"part","PlayerLocationContent"),br(I,"class",kt="PlayerDetailsSaveButton "+(i[14]&&i[19]?"":"PlayerButtonDisabled")),br(I,"part",Ft="PlayerDetailsSaveButton "+(i[14]&&i[19]?"":"PlayerButtonDisabled")),br(Mt,"class","PlayerDetailsButtonsArea "+(i[38]?"PlayerDetailsButtonsAreaMobile":"")),br(Mt,"part","PlayerDetailsButtonsArea "+(i[38]?"PlayerDetailsButtonsAreaMobile":"")),br(n,"class","PlayerInfoWrapper "+(i[38]?"PlayerInfoWrapperMobile":"")+" "+(i[39].matches&&i[38]?"PlayerInfoWrapperTablet":"")),br(n,"part","PlayerInfoWrapper "+(i[38]?"PlayerInfoWrapperMobile":"")+" "+(i[39].matches&&i[38]?"PlayerInfoWrapperTablet":""))},m(e,t){hr(e,n,t),sr&&sr.m(n,null),cr(n,k),cr(n,F),cr(F,U),cr(n,G),cr(n,$),cr($,j),cr(j,z),cr(n,W),cr(n,r),cr(r,V),cr(V,X),cr(X,K),cr(V,Q),cr(V,o),cr(r,Y),cr(r,a),cr(a,Z),cr(Z,q),cr(a,J),cr(a,ee),cr(ee,s);for(let e=0;e<x.length;e+=1)x[e].m(s,null);Er(s,i[12]),cr(ee,te),cr(ee,l),vr(l,i[13]),cr(a,re),S&&S.m(a,null),cr(r,oe),cr(r,u),cr(u,ae),cr(ae,se),cr(u,le),cr(u,c),vr(c,i[10]),cr(u,ce),C&&C.m(u,null),cr(r,fe),cr(r,h),cr(h,de),cr(de,ye),cr(h,me),cr(h,p),vr(p,i[11]),cr(h,ge),N&&N.m(h,null),cr(r,Pe),cr(r,Be),cr(Be,we),cr(we,Ae),cr(Be,Te),cr(Be,f),cr(r,_e),cr(r,Ie),cr(Ie,xe),cr(xe,Se),cr(Ie,Ce),cr(Ie,d),cr(r,Ne),cr(r,He),cr(He,De),cr(De,Oe),cr(He,Le),cr(He,y),cr(r,Me),cr(r,Re),cr(Re,ke),cr(ke,Fe),cr(Re,Ue),cr(Re,m),cr(r,Ge),cr(r,$e),cr($e,je),cr(je,ze),cr($e,We),cr($e,b),cr(r,Ve),cr(r,Xe),cr(Xe,Ke),cr(Ke,Qe),cr(Xe,Ye),cr(Xe,g),cr(n,Ze),cr(n,qe),cr(qe,Je),cr(Je,et),cr(n,tt),cr(n,v),cr(v,rt),cr(rt,it),cr(it,nt),cr(rt,ot),cr(rt,E),cr(v,st),cr(v,P),cr(P,lt),cr(lt,ut),cr(P,ct),cr(P,B),i[68](B),cr(P,ft),H&&H.m(P,null),cr(v,mt),cr(v,w),cr(w,bt),cr(bt,gt),cr(w,vt),cr(w,A),i[70](A),cr(w,Pt),D&&D.m(w,null),cr(v,At),cr(v,T),cr(T,Tt),cr(Tt,_t),cr(T,It),cr(T,_),i[72](_),cr(T,Ct),O&&O.m(T,null),cr(n,Dt),L&&L.m(n,null),cr(n,Ot),M&&M.m(n,null),cr(n,Lt),cr(n,Mt),cr(Mt,I),cr(I,Rt),cr(n,Ut),R&&R.m(n,null),Gt||($t=[mr(s,"change",i[60]),mr(s,"change",i[61]),mr(l,"input",i[62]),mr(l,"keyup",i[45]),mr(l,"keyup",i[63]),mr(c,"input",i[64]),mr(c,"keyup",i[65]),mr(c,"blur",i[46]),mr(p,"input",i[66]),mr(p,"keyup",i[67]),mr(p,"blur",i[47]),mr(B,"blur",i[48]),mr(B,"keyup",i[69]),mr(A,"blur",i[50]),mr(A,"keyup",i[71]),mr(_,"blur",i[49]),mr(_,"keyup",i[73]),mr(I,"click",i[77])],Gt=!0)},p(t,r){if(t[38]&&sr.p(t,r),64&r[1]&&jt!==(jt=t[37]("playerProfile.title")+"")&&gr(U,jt),64&r[1]&&zt!==(zt=t[37]("playerProfile.personalDetails")+"")&&gr(z,zt),64&r[1]&&Wt!==(Wt=t[37]("playerProfile.userName")+"")&&gr(K,Wt),32&r[1]&&o.value!==t[36]&&(o.value=t[36]),64&r[1]&&Vt!==(Vt=t[37]("playerProfile.userPhone")+"")&&gr(q,Vt),268500992&r[0]){let e;for(lr=t[16],e=0;e<lr.length;e+=1){var i=bi(t,lr,e);x[e]?x[e].p(i,r):(x[e]=Bi(i),x[e].c(),x[e].m(s,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=lr.length}69632&r[0]&&Er(s,t[12]),8&r[0]|1&r[1]&&e!==(e=t[3]?t[31].number:"")&&br(l,"placeholder",e),8192&r[0]&&l.value!==t[13]&&vr(l,t[13]),t[25]?S?S.p(t,r):((S=wi(t)).c(),S.m(a,null)):S&&(S.d(1),S=null),33554432&r[0]&&ie!==(ie="PlayerInfoBox "+(t[25]?"InvalidField":""))&&br(a,"class",ie),33554432&r[0]&&ne!==(ne="PlayerInfoBox "+(t[25]?"InvalidField":""))&&br(a,"part",ne),64&r[1]&&Xt!==(Xt=t[37]("playerProfile.securityQuestion")+"")&&gr(se,Xt),8&r[0]&&ue!==(ue=t[3]?t[44]:"")&&br(c,"placeholder",ue),1024&r[0]&&c.value!==t[10]&&vr(c,t[10]),t[23]?C?C.p(t,r):((C=Ai(t)).c(),C.m(u,null)):C&&(C.d(1),C=null),8388608&r[0]&&he!==(he="PlayerInfoBox "+(t[23]?"InvalidField":""))&&br(u,"class",he),8388608&r[0]&&pe!==(pe="PlayerInfoBox "+(t[23]?"InvalidField":""))&&br(u,"part",pe),64&r[1]&&Kt!==(Kt=t[37]("playerProfile.securityAnswer")+"")&&gr(ye,Kt),8&r[0]&&be!==(be=t[3]?t[43]:"")&&br(p,"placeholder",be),2048&r[0]&&p.value!==t[11]&&vr(p,t[11]),t[24]?N?N.p(t,r):((N=Ti(t)).c(),N.m(h,null)):N&&(N.d(1),N=null),16777216&r[0]&&ve!==(ve="PlayerInfoBox "+(t[24]?"InvalidField":""))&&br(h,"class",ve),16777216&r[0]&&Ee!==(Ee="PlayerInfoBox "+(t[24]?"InvalidField":""))&&br(h,"part",Ee),64&r[1]&&Qt!==(Qt=t[37]("playerProfile.userEmail")+"")&&gr(Ae,Qt),2&r[1]&&f.value!==t[32]&&(f.value=t[32]),64&r[1]&&Yt!==(Yt=t[37]("playerProfile.dateOfBirth")+"")&&gr(Se,Yt),536870912&r[0]&&d.value!==t[29]&&(d.value=t[29]),64&r[1]&&Zt!==(Zt=t[37]("playerProfile.firstName")+"")&&gr(Oe,Zt),4&r[1]&&y.value!==t[33]&&(y.value=t[33]),64&r[1]&&qt!==(qt=t[37]("playerProfile.lastName")+"")&&gr(Fe,qt),16&r[1]&&m.value!==t[35]&&(m.value=t[35]),64&r[1]&&Jt!==(Jt=t[37]("playerProfile.userTitle")+"")&&gr(ze,Jt),8&r[1]&&b.value!==t[34]&&(b.value=t[34]),64&r[1]&&er!==(er=t[37]("playerProfile.currency")+"")&&gr(Qe,er),1073741824&r[0]&&g.value!==t[30]&&(g.value=t[30]),64&r[1]&&tr!==(tr=t[37]("playerProfile.locationDetails")+"")&&gr(et,tr),64&r[1]&&rr!==(rr=t[37]("playerProfile.userCountry")+"")&&gr(nt,rr),1&r[0]&&br(E,"placeholder",t[0]),32768&r[0]&&at!==(at=t[15].Name)&&E.value!==at&&(E.value=at),64&r[1]&&ir!==(ir=t[37]("playerProfile.userCity")+"")&&gr(ut,ir),8&r[0]&&ht!==(ht=t[3]?t[41]:"")&&br(B,"placeholder",ht),268435464&r[0]&&pt!==(pt=t[3]?"":t[28].city)&&B.value!==pt&&(B.value=pt),t[20]?H?H.p(t,r):((H=_i(t)).c(),H.m(P,null)):H&&(H.d(1),H=null),1048576&r[0]&&dt!==(dt="PlayerInfoBox "+(t[20]?"InvalidField":""))&&br(P,"class",dt),1048576&r[0]&&yt!==(yt="PlayerInfoBox "+(t[20]?"InvalidField":""))&&br(P,"part",yt),64&r[1]&&nr!==(nr=t[37]("playerProfile.userAddress")+"")&&gr(gt,nr),268435464&r[0]&&Et!==(Et=t[3]?"":t[28].address)&&A.value!==Et&&(A.value=Et),t[22]?D?D.p(t,r):((D=Ii(t)).c(),D.m(w,null)):D&&(D.d(1),D=null),4194304&r[0]&&Bt!==(Bt="PlayerInfoBox "+(t[22]?"InvalidField":""))&&br(w,"class",Bt),4194304&r[0]&&wt!==(wt="PlayerInfoBox "+(t[22]?"InvalidField":""))&&br(w,"part",wt),64&r[1]&&or!==(or=t[37]("playerProfile.userPostalCode")+"")&&gr(_t,or),8&r[0]&&xt!==(xt=t[3]?t[42]:"")&&br(_,"placeholder",xt),268435464&r[0]&&St!==(St=t[3]?"":t[28].postalCode)&&_.value!==St&&(_.value=St),t[21]?O?O.p(t,r):((O=xi(t)).c(),O.m(T,null)):O&&(O.d(1),O=null),2097152&r[0]&&Nt!==(Nt="PlayerInfoBox "+(t[21]?"InvalidField":""))&&br(T,"class",Nt),2097152&r[0]&&Ht!==(Ht="PlayerInfoBox "+(t[21]?"InvalidField":""))&&br(T,"part",Ht),t[17]||t[18]?L?L.p(t,r):((L=Si(t)).c(),L.m(n,Ot)):L&&(L.d(1),L=null),t[27]?M?M.p(t,r):((M=Hi(t)).c(),M.m(n,Lt)):M&&(M.d(1),M=null),64&r[1]&&ar!==(ar=t[37]("playerProfile.userProfileSaveChanges")+"")&&gr(Rt,ar),540672&r[0]&&kt!==(kt="PlayerDetailsSaveButton "+(t[14]&&t[19]?"":"PlayerButtonDisabled"))&&br(I,"class",kt),540672&r[0]&&Ft!==(Ft="PlayerDetailsSaveButton "+(t[14]&&t[19]?"":"PlayerButtonDisabled"))&&br(I,"part",Ft),t[26]?R?R.p(t,r):((R=Di(t)).c(),R.m(n,null)):R&&(R.d(1),R=null)},d(e){e&&pr(n),sr&&sr.d();var t=x,r=e;for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r);S&&S.d(),C&&C.d(),N&&N.d(),i[68](null),H&&H.d(),i[70](null),D&&D.d(),i[72](null),O&&O.d(),L&&L.d(),M&&M.d(),R&&R.d(),Gt=!1,ur($t)}}}function vi(e){let r;return{c(){br(r=t("div"),"class","ModalLoader"),br(r,"part","ModalLoader")},m(e,t){hr(e,r,t)},p:m,d(e){e&&pr(r)}}}function Ei(e){let r,i,n,o=e[106].Prefix+"";return{c(){r=t("option"),i=dr(o),r.__value=n=e[106].Prefix,r.value=r.__value},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){65536&t[0]&&o!==(o=e[106].Prefix+"")&&gr(i,o),65536&t[0]&&n!==(n=e[106].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&pr(r)}}}function Pi(e){let r,i,n,o=e[106].Prefix+"";return{c(){r=t("option"),i=dr(o),r.selected=!0,r.__value=n=e[106].Prefix,r.value=r.__value},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){65536&t[0]&&o!==(o=e[106].Prefix+"")&&gr(i,o),65536&t[0]&&n!==(n=e[106].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&pr(r)}}}function Bi(e){let r;function i(e){return e[106].Prefix===e[28].mobiePrefix?Pi:Ei}let n=i(e),o=n(e);return{c(){o.c(),r=dr("")},m(e,t){o.m(e,t),hr(e,r,t)},p(e,t){n===(n=i(e))&&o?o.p(e,t):(o.d(1),(o=n(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){o.d(e),e&&pr(r)}}}function wi(e){let r,i,n=e[37]("playerProfile.userPhoneError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userPhoneError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Ai(e){let r,i,n=e[37]("playerProfile.securityQuestionError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.securityQuestionError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Ti(e){let r,i,n=e[37]("playerProfile.securityAnswerError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.securityAnswerError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function _i(e){let r,i,n=e[37]("playerProfile.userCityError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userCityError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Ii(e){let r,i,n=e[37]("playerProfile.userAddressError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userAddressError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function xi(e){let r,i,n=e[37]("playerProfile.userPostalCodeError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userPostalCodeError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Si(e){let r,i,n,o,a,s,l=e[37]("playerProfile.userNotifications")+"",u=e[18]&&Ci(e),c=e[17]&&Ni(e);return{c(){r=t("div"),i=t("h3"),n=dr(l),o=yr(),a=t("section"),u&&u.c(),s=yr(),c&&c.c(),br(r,"class","PlayerNotificationsHeader"),br(r,"part","PlayerNotificationsHeader"),br(a,"class","PlayerNotificationsCheckboxArea"),br(a,"part","PlayerNotificationsCheckboxArea")},m(e,t){hr(e,r,t),cr(r,i),cr(i,n),hr(e,o,t),hr(e,a,t),u&&u.m(a,null),cr(a,s),c&&c.m(a,null)},p(e,t){64&t[1]&&l!==(l=e[37]("playerProfile.userNotifications")+"")&&gr(n,l),e[18]?u?u.p(e,t):((u=Ci(e)).c(),u.m(a,s)):u&&(u.d(1),u=null),e[17]?c?c.p(e,t):((c=Ni(e)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&pr(r),e&&pr(o),e&&pr(a),u&&u.d(),c&&c.d()}}}function Ci(r){let i,n,o,a,s,l,u,c,h,p,f=r[37]("playerProfile.userSMSNotification")+"";return{c(){i=t("div"),n=t("label"),o=t("input"),a=yr(),s=t("span"),l=yr(),u=t("span"),c=dr(f),br(o,"type","checkbox"),br(o,"id","SMSNotification"),br(o,"name","Enable SMS notifications"),br(s,"class","Checkmark"),br(s,"part","Checkmark"),br(n,"for","SMSNotification"),br(i,"class","PlayerNotificationBox"),br(i,"part","PlayerNotificationBox")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),o.checked=r[7],cr(n,a),cr(n,s),cr(n,l),cr(n,u),cr(u,c),h||(p=[mr(o,"change",r[74]),mr(o,"change",r[53])],h=!0)},p(e,t){128&t[0]&&(o.checked=e[7]),64&t[1]&&f!==(f=e[37]("playerProfile.userSMSNotification")+"")&&gr(c,f)},d(e){e&&pr(i),h=!1,ur(p)}}}function Ni(r){let i,n,o,a,s,l,u,c,h,p,f=r[37]("playerProfile.userEmailNotification")+"";return{c(){i=t("div"),n=t("label"),o=t("input"),a=yr(),s=t("span"),l=yr(),u=t("span"),c=dr(f),br(o,"type","checkbox"),br(o,"id","EmailNotification"),br(o,"name","Enable Emails"),br(s,"class","Checkmark"),br(s,"part","Checkmark"),br(n,"for","EmailNotification"),br(i,"class","PlayerNotificationBox"),br(i,"part","PlayerNotificationBox")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),o.checked=r[8],cr(n,a),cr(n,s),cr(n,l),cr(n,u),cr(u,c),h||(p=[mr(o,"change",r[75]),mr(o,"change",r[53])],h=!0)},p(e,t){256&t[0]&&(o.checked=e[8]),64&t[1]&&f!==(f=e[37]("playerProfile.userEmailNotification")+"")&&gr(c,f)},d(e){e&&pr(i),h=!1,ur(p)}}}function Hi(r){let i,n,o,a,s,l,u,c,h,p,f,d,y,m,b,g=r[37]("playerProfile.userAppSettings")+"",v=r[37]("playerProfile.userBiometrics")+"";return{c(){i=t("div"),n=t("h3"),o=dr(g),a=yr(),s=t("section"),l=t("div"),u=t("label"),c=t("input"),h=yr(),p=t("span"),f=yr(),d=t("span"),y=dr(v),br(i,"class","PlayerNotificationsHeader"),br(i,"part","PlayerNotificationsHeader"),br(c,"type","checkbox"),br(c,"id","BiometricsEnabled"),br(c,"name","Biometric Enabled"),br(p,"class","Checkmark"),br(p,"part","Checkmark"),br(u,"for","Biometrics"),br(l,"class","PlayerNotificationBox"),br(l,"part","PlayerNotificationBox"),br(s,"class","PlayerNotificationsCheckboxArea"),br(s,"part","PlayerNotificationsCheckboxArea")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),hr(e,a,t),hr(e,s,t),cr(s,l),cr(l,u),cr(u,c),c.checked=r[9],cr(u,h),cr(u,p),cr(u,f),cr(u,d),cr(d,y),m||(b=[mr(c,"change",r[76]),mr(c,"change",r[53])],m=!0)},p(e,t){64&t[1]&&g!==(g=e[37]("playerProfile.userAppSettings")+"")&&gr(o,g),512&t[0]&&(c.checked=e[9]),64&t[1]&&v!==(v=e[37]("playerProfile.userBiometrics")+"")&&gr(y,v)},d(e){e&&pr(i),e&&pr(a),e&&pr(s),m=!1,ur(b)}}}function Di(e){let r,i,n,o=e[37]("playerProfile.userProfileConfirmationMessage")+"";return{c(){r=t("section"),i=t("p"),n=dr(o),br(i,"class","PlayerDetailsConfirmSaveText"),br(i,"part","PlayerDetailsConfirmSaveText"),br(r,"class","PlayerDetailsConfirmSave"),br(r,"part","PlayerDetailsConfirmSave")},m(e,t){hr(e,r,t),cr(r,i),cr(i,n)},p(e,t){64&t[1]&&o!==(o=e[37]("playerProfile.userProfileConfirmationMessage")+"")&&gr(n,o)},d(e){e&&pr(r)}}}function Oi(r){let i;function n(e){return e[2]?vi:gi}let o=n(r),a=o(r);return{c(){i=t("div"),a.c(),this.c=m},m(e,t){hr(e,i,t),a.m(i,null),r[78](i)},p(e,t){o===(o=n(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(i,null)))},i:m,o:m,d(e){e&&pr(i),a.d(),r[78](null)}}}function Li(t,e,r){let M;var i=ci;t.$$.on_destroy.push(pe(i,e=>r(37,M=e)));let n,o,a,s,l,{endpoint:u=""}=e,{lang:c="en"}=e,{countrycode:h="IR"}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{translationurl:d=""}=e,R=!0,k=window.navigator.userAgent,F="PC"!=((i=k).toLowerCase().match(/android/i)?"Android":i.toLowerCase().match(/iphone/i)?"iPhone":i.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),U=!0,y=!1,m=!1,b=!1,g="",v="",E="",P="",B=!1,G={Name:"I.e Ireland"},w=[],$=[],A=[],T=!1,_=!1,I={items:[]},x=!1,S="",j="",z="",W=!1,V=!1,X=!1,C=!1;Object.keys(pi).forEach(e=>{hi(e,pi[e])});e=window.matchMedia("(min-width: 768px)");let K={address1:"",address2:"",city:"",acceptNewsEmail:!1,acceptSMSOffers:!1,country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},N={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},H={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",country:"i.e.: Ireland",currency:"EUR",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:Q,birth:Y,city:Z,currency:q,mobile:D,email:J,firstname:ee,userTitles:te,language:re,lastname:ie,postalCode:ne,securityAnswer:oe,securityQuestion:ae,username:se}=H;const le=e=>{var t;if(e.data)switch(e.data.type){case"ProfileDetailsData":r(3,U=!1),H=e.data.profileDetails,r(36,se=H.username),r(31,D=H.mobile),r(32,J=H.email),r(33,ee=H.firstname),r(35,ie=H.lastname),re=H.language,r(29,Y=(null==(t=H.birth)?void 0:t.day)+"/"+(null==(t=H.birth)?void 0:t.month)+"/"+(null==(t=H.birth)?void 0:t.year)),r(30,q=H.currency),r(34,te=H.title),r(10,g=H.securityQuestion),r(11,v=H.securityAnswer),r(12,E=null==(t=H.mobile)?void 0:t.prefix),r(13,P=null==(t=H.mobile)?void 0:t.number),r(28,N.address=H.address1,N),r(28,N.city=H.city,N),r(28,N.mobilePrefix=null==D?void 0:D.prefix,N),r(28,N.mobileNumber=null==D?void 0:D.number,N),r(28,N.postalCode=H.postalCode,N),r(28,N.securityAnswer=H.securityAnswer,N),r(28,N.securityQuestion=H.securityQuestion,N);break;case"ProfileConsentData":A=e.data.consent.items,Array.isArray(A)&&A.forEach(e=>{"emailmarketing"==e.tagCode?(r(17,T=!0),r(8,m="Accepted"==e.status),r(28,N.acceptNewsEmail=m,N)):"sms"==e.tagCode&&(r(18,_=!0),r(7,y="Accepted"==e.status),r(28,N.acceptSMSOffers=y,N))});break;case"ConfirmProfileInfoSave":C&&(mi("BIOMETRICS_ENABLED",e=>{e!==b&&r(9,b=e)}),yi(b?"ENABLE_BIOMETRICS":"DISABLE_BIOMETRICS")),r(14,B=!1),r(26,X=!0),setTimeout(()=>{r(26,X=!1)},3e3)}},O=()=>{r(19,x=!(W||V||S||z||j||l))},ue=e=>{e.preventDefault(),1==B&&1==x&&(window.postMessage({type:"UpdatePlayerInfo",provisionalArray:K},window.location.href),window.postMessage({type:"UpdatePlayerConsent",consentArray:I},window.location.href))},ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:F},window.location.href)},L=()=>{var e,t;K={acceptNewsEmail:m,acceptSMSOffers:y,address:a.value,city:s.value,mobileNumber:P,mobilePrefix:E,postalCode:o.value,securityAnswer:v,securityQuestion:g},e=K,t=N,JSON.stringify(e)===JSON.stringify(t)?r(14,B=!1):r(14,B=!0),I={items:[]},_&&I.items.push({tagCode:"sms",status:y?"Accepted":"Denied"}),T&&I.items.push({tagCode:"emailmarketing",status:m?"Accepted":"Denied"}),O()};return i=()=>(window.addEventListener("message",le,!1),r(27,C=!!di(k)),C&&(mi("BIOMETRICS_ENABLED",e=>{r(9,b=!!e)}),yi("BIOMETRICS_ENABLED")),()=>{window.removeEventListener("message",le)}),function(){if(fe)return fe;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),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)},t.$$.update=()=>{if(16777216&t.$$.dirty[1]&&c&&(e=c,ii.set(e)),1&t.$$.dirty[0]|8388608&t.$$.dirty[1]&&u&&h&&fetch(u+"/player/countries").then(e=>300<=e.status?new Error("Error while fetching the countries"):e.json()).then(e=>{fetch(u+"/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{$=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code)),r(15,G=$.find(e=>e.Alpha2Code===h)||{Name:"I.E. Ireland"}),r(2,R=!1)})}),8388608&t.$$.dirty[1]&&u&&fetch(u+"/player/phonecodes").then(e=>e.json()).then(e=>{r(16,w=e.phoneCodes)}),2&t.$$.dirty[0]|67108864&t.$$.dirty[1]&&f&&n){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}if(2&t.$$.dirty[0]|33554432&t.$$.dirty[1]&&p&&n){let e=document.createElement("style");e.innerHTML=p,n.appendChild(e)}var e;134217728&t.$$.dirty[1]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{hi(e,t[e])})}).catch(e=>{console.log(e)})},[h,n,R,U,o,a,s,y,m,b,g,v,E,P,B,G,w,T,_,x,S,j,z,W,V,l,X,C,N,Y,q,D,J,ee,te,ie,se,M,F,e,Q,Z,ne,oe,ae,()=>{r(25,l=!(P&&5<=P.length&&P.length<=12)),O()},()=>{r(23,W=!(g&&g.length<=120)),O()},()=>{r(24,V=!(v&&v.length<=120)),O()},()=>{r(20,S=!(s.value&&s.value.length<=50)),O()},()=>{r(21,j=!(o.value&&o.value.length<=20)),O()},()=>{r(22,z=!(a.value&&a.value.length<=100)),O()},ue,ce,L,u,c,p,f,d,()=>ce(),function(){E=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),r(12,E),r(16,w)},()=>L(),function(){P=this.value,r(13,P)},()=>L(),function(){g=this.value,r(10,g)},()=>L(),function(){v=this.value,r(11,v)},()=>L(),function(e){he[e?"unshift":"push"](()=>{s=e,r(6,s)})},()=>L(),function(e){he[e?"unshift":"push"](()=>{a=e,r(5,a)})},()=>L(),function(e){he[e?"unshift":"push"](()=>{o=e,r(4,o)})},()=>L(),function(){y=this.checked,r(7,y)},function(){m=this.checked,r(8,m)},function(){b=this.checked,r(9,b)},e=>ue(e),function(e){he[e?"unshift":"push"](()=>{n=e,r(1,n)})}]}class Mi extends F{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color: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-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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerInfoBox.InvalidField input{border:1px solid var(--emfe-w-color-error, #FD2839);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-error, #FD2839)}.PlayerInfoBox .InvalidInput{color:var(--emfe-w-color-error, #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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C)}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid white;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-color-contrast, #07072A);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emfe-w-color-primary-600, #99034F)}.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-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-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-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-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-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>",k(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Li,Oi,x,{endpoint:54,lang:55,countrycode:0,clientstyling:56,clientstylingurl:57,translationurl:58},null,[-1,-1,-1,-1]),e&&(e.target&&hr(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["endpoint","lang","countrycode","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),b()}get lang(){return this.$$.ctx[55]}set lang(e){this.$$set({lang:e}),b()}get countrycode(){return this.$$.ctx[0]}set countrycode(e){this.$$set({countrycode:e}),b()}get clientstyling(){return this.$$.ctx[56]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[57]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get translationurl(){return this.$$.ctx[58]}set translationurl(e){this.$$set({translationurl:e}),b()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",Mi),Mi});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(A){"use strict";(i=A)&&"object"==typeof i&&0 in i;function m(){}function T(e){return e()}function _(){return Object.create(null)}function ur(e){e.forEach(T)}function I(e){return"function"==typeof e}function x(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function pe(e,...t){if(null==e)return m;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function cr(e,t){e.appendChild(t)}function hr(e,t,r){e.insertBefore(t,r||null)}function pr(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function fr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function dr(e){return document.createTextNode(e)}function yr(){return dr(" ")}function mr(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function br(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function gr(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function vr(e,t){e.value=null==t?"":t}function Er(t,r){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===r)return i.selected=!0}t.selectedIndex=-1}let fe;function S(e){fe=e}const C=[],he=[],N=[],H=[],D=Promise.resolve();let O=!1;function Pr(e){N.push(e)}const L=new Set;let M=0;function b(){const e=fe;do{for(;M<C.length;){const e=C[M];M++,S(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),ur(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Pr))}for(S(null),C.length=0,M=0;he.length;)he.pop()();for(let e=0;e<N.length;e+=1){const i=N[e];L.has(i)||(L.add(i),i())}}while(N.length=0,C.length);for(;H.length;)H.pop()();O=!1,L.clear(),S(e)}const R=new Set;function k(i,e,t,r,n,o,a,s=[-1]){var l=fe;S(i);const u=i.$$={fragment:null,ctx:null,props:o,update:m,not_equal:n,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return u.ctx&&n(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c&&(r=e,-1===(e=i).$$.dirty[0]&&(C.push(e),O||(O=!0,D.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],u.update(),c=!0,ur(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){o=e.target;const i=Array.from(o.childNodes);u.fragment&&u.fragment.l(i),i.forEach(pr)}else u.fragment&&u.fragment.c();e.intro&&(s=i.$$.fragment)&&s.i&&(R.delete(s),s.i(void 0));{var h=i;a=e.target;t=e.anchor;r=e.customElement;const{fragment:p,on_mount:f,on_destroy:d,after_update:y}=h.$$;p&&p.m(a,t),r||Pr(()=>{var e=f.map(T).filter(I);d?d.push(...e):ur(e),h.$$.on_mount=[]}),y.forEach(Pr)}b()}S(l)}let F;"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(T).filter(I);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ur(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(ur(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=m}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var U,G,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,$="URLSearchParams"in s,j="Symbol"in s&&"iterator"in Symbol,z="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),W="FormData"in s,V="ArrayBuffer"in s;function X(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 K(e){return e="string"!=typeof e?String(e):e}function Q(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Y(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Z(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function q(e){var t=new FileReader,r=Z(t);return t.readAsArrayBuffer(e),r}function J(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ee(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:W&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:$&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():V&&z&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=J(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):V&&(ArrayBuffer.prototype.isPrototypeOf(e)||G(e))?this._bodyArrayBuffer=J(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):$&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},z&&(this.blob=function(){var e=Y(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Y(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(q)}),this.text=function(){var e,t,r=Y(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=Z(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},W&&(this.formData=function(){return this.text().then(re)}),this.json=function(){return this.text().then(JSON.parse)},this}V&&(U=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],G=ArrayBuffer.isView||function(e){return e&&-1<U.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=X(e),t=K(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[X(e)]},l.prototype.get=function(e){return e=X(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(X(e))},l.prototype.set=function(e,t){this.map[X(e)]=K(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Q(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Q(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Q(r)},j&&(l.prototype[Symbol.iterator]=l.prototype.entries);var te=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<te.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function re(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},ee.call(u.prototype),ee.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var ie=[301,302,303,307,308],h=(c.redirect=function(e,t){if(-1===ie.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},s.DOMException);try{new h}catch(A){(h=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),h.prototype.constructor=h}function ne(i,a){return new Promise(function(n,e){var t=new u(i,a);if(t.signal&&t.signal.aborted)return e(new h("Aborted","AbortError"));var o=new XMLHttpRequest;function r(){o.abort()}o.onload=function(){var e,r,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},i=(t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){n(new c(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new h("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(z?o.responseType="blob":V&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){o.setRequestHeader(e,K(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",r)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}ne.polyfill=!0,s.fetch||(s.fetch=ne,s.Headers=l,s.Request=u,s.Response=c),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 ae(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 se(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return a}function ue(e,t,r){if(r||2===arguments.length)for(var i,n=0,o=t.length;n<o;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function p(e){return"function"==typeof e}function ce(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 de=ce(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 ye(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,i,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=se(o),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 o.remove(this);o=this.initialTeardown;if(p(o))try{o()}catch(e){n=e instanceof de?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=se(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{ve(c)}catch(e){n=null!=n?n:[],e instanceof de?n=ue(ue([],le(n)),le(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(n)throw new de(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ve(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)&&ye(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&ye(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((i=new r).closed=!0,i);var me=r,be=me.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function ge(e){return e instanceof me||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function ve(e){p(e)?e():e.unsubscribe()}var Ee=void 0,Pe=!1,Be=!1,we={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=we.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ue([e,t],le(r))):setTimeout.apply(void 0,ue([e,t],le(r)))},clearTimeout:function(e){var t=we.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ae(){}var Te=null;function _e(e){if(Pe){var t=!Te;if(t&&(Te={errorThrown:!1,error:null}),e(),t){var t=Te,r=t.errorThrown,t=t.error;if(Te=null,r)throw t}}else e()}ae(e,Ie=me),e.create=function(e,t,r){return new De(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,Ie.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 Ie,xe=e,Se=Function.prototype.bind;function e(e){var t=Ie.call(this)||this;return t.isStopped=!1,e?ge(t.destination=e)&&e.add(t):t.destination=Re,t}function Ce(e,t){return Se.call(e,t)}Le.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Me(e)}},Le.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Me(e)}else Me(e)},Le.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Me(e)}};var Ne,He=Le,De=(ae(Oe,Ne=xe),Oe);function Oe(e,t,r){var i=Ne.call(this)||this,r=p(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&Be?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Ce(e.next,t),error:e.error&&Ce(e.error,t),complete:e.complete&&Ce(e.complete,t)}):e;return i.destination=new He(r),i}function Le(e){this.partialObserver=e}function Me(e){var t=e;we.setTimeout(function(){throw t})}var Re={closed:!0,next:Ae,error:function(e){throw e},complete:Ae},i="function"==typeof Symbol&&Symbol.observable||"@@observable";function ke(e){return e}n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,r){var i,n=this,o=(i=e)&&i instanceof xe||i&&p(i.next)&&p(i.error)&&p(i.complete)&&ge(i)?e:new De(e,t,r);return _e(function(){var e=n.operator,t=n.source;o.add(e?e.call(o,t):t?n._subscribe(o):n._trySubscribe(o))}),o},n.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},n.prototype.forEach=function(i,e){var n=this;return new(e=Ue(e))(function(e,t){var r=new De({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},n.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},n.prototype[i]=function(){return this},n.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?ke:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},n.prototype.toPromise=function(e){var i=this;return new(e=Ue(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},n.create=function(e){return new n(e)};var Fe=n;function n(e){e&&(this._subscribe=e)}function Ue(e){return null!=(e=null!=e?e:Ee)?e:Promise}var Ge,$e,je,ze=ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(ae(a,je=Fe),a.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new ze},a.prototype.next=function(n){var o=this;_e(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var r=se(o.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(n)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;_e(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;_e(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(),je.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?be:(this.currentObservers=null,n.push(e),new me(function(){t.currentObservers=null,ye(n,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},a.prototype.asObservable=function(){var e=new Fe;return e.source=this,e},a.create=function(e,t){return new We(e,t)},a),We=(ae(o,$e=i),o.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},o.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},o.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},o.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:be},o),Ve={now:function(){return(Ve.delegate||Date).now()},delegate:void 0},Xe=(ae(Ke,Ge=i),Ke.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,n=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;r||(i.push(e),n||i.push(o.now()+t)),this._trimBuffer(),Ge.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var o=t.now(),a=0,s=1;s<r.length&&r[s]<=o;s+=2)a=s;a&&r.splice(0,a+1)}},Ke);function Ke(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Ve);var i=Ge.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function o(e,t){var r=$e.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=je.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Qe=[],Ye={};const Ze=[];function qe(i,n=m){let o;const a=new Set;function s(e){if(x(i,e)&&(i=e,o)){const e=!Ze.length;for(const e of a)e[1](),Ze.push(e,i);if(e){for(let e=0;e<Ze.length;e+=2)Ze[e][0](Ze[e+1]);Ze.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=m){const r=[e,t];return a.add(r),1===a.size&&(o=n(s)||m),e(i),()=>{a.delete(r),0===a.size&&(o(),o=null)}}}}function Je(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:qe(t,t=>{let r=!1;const i=[];let n=0,o=m;const a=()=>{var e;n||(o(),e=s(l?i[0]:i,t),c?t(e):o=I(e)?e:m)},e=u.map((e,t)=>pe(e,e=>{i[t]=e,n&=~(1<<t),r&&a()},()=>{n|=1<<t}));return r=!0,a(),function(){ur(e),o()}}).subscribe}}function et(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===tt));var t}var tt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function rt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?st(Array.isArray(e)?[]:{},e,t):e}function it(e,t,r){return e.concat(t).map(function(e){return rt(e,r)})}function nt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ot(e,t){try{return t in e}catch(e){return!1}}function at(i,n,o){var a={};return o.isMergeableObject(i)&&nt(i).forEach(function(e){a[e]=rt(i[e],o)}),nt(n).forEach(function(t){var e,r;(!ot(e=i,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(ot(i,t)&&o.isMergeableObject(n[t])?a[t]=function(e){if(!e.customMerge)return st;e=e.customMerge(t);return"function"==typeof e?e:st}(o)(i[t],n[t],o):a[t]=rt(n[t],o))}),a}function st(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||it,r.isMergeableObject=r.isMergeableObject||et,r.cloneUnlessOtherwiseSpecified=rt;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):at(e,t,r):rt(t,r)}st.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return st(e,t,r)},{});throw new Error("first argument should be an array")};var lt=st,ut=function(e,t){return(ut=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 ct(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}ut(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var y,g,ht,v=function(){return(v=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function pt(e,t,r){if(r||2===arguments.length)for(var i,n=0,o=t.length;n<o;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function ft(e){return e.type===g.literal}function dt(e){return e.type===g.number}function yt(e){return e.type===g.date}function mt(e){return e.type===g.time}function bt(e){return e.type===g.select}function gt(e){return e.type===g.plural}function vt(e){return e.type===g.tag}function Et(e){return e&&"object"==typeof e&&e.type===ht.number}function Pt(e){return e&&"object"==typeof e&&e.type===ht.dateTime}(i=y=y||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=g=g||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=ht=ht||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bt=/(?:[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,At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Tt=/^(@+)?(\+|#+)?[rs]?$/g,_t=/(\*)(0+)|(#+)(0+)|(0+)/g,It=/^(0+)$/;function xt(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(Tt,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function St(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 Ct(e){return St(e)||{}}function Nt(e){for(var a={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=v(v(v({},a),{notation:"scientific"}),n.options.reduce(function(e,t){return v(v({},e),Ct(t))},{}));continue;case"engineering":a=v(v(v({},a),{notation:"engineering"}),n.options.reduce(function(e,t){return v(v({},e),Ct(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(_t,function(e,t,r,i,n,o){if(t)a.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(It.test(n.stem))a.minimumIntegerDigits=n.stem.length;else if(At.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(At,function(e,t,r,i,n,o){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:n&&o?(a.minimumFractionDigits=n.length,a.maximumFractionDigits=n.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=n.options[0];"w"===o?a=v(v({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=v(v({},a),xt(o)))}else Tt.test(n.stem)?a=v(v({},a),xt(n.stem)):((o=St(n.stem))&&(a=v(v({},a),o)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!It.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(a=v(v({},a),i)))}return a}var Ht={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 Dt=new RegExp("^".concat(i.source,"*")),Ot=new RegExp("".concat(i.source,"*$"));function E(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,Lt=!!String.fromCodePoint,Mt=!!Object.fromEntries,Rt=!!String.prototype.codePointAt,kt=!!String.prototype.trimStart,Ft=!!String.prototype.trimEnd,Ut=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gt=!0;try{Gt="a"===(null==(lr=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:lr[0])}catch(A){Gt=!1}var $t,jt,zt=i?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Wt=Lt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,o=0;o<n;){if(1114111<(r=e[o++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},Vt=Mt?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],o=n[0],n=n[1];t[o]=n}return t},Xt=Rt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},Kt=kt?function(e){return e.trimStart()}:function(e){return e.replace(Dt,"")},Qt=Ft?function(e){return e.trimEnd()}:function(e){return e.replace(Ot,"")};function Yt(e,t){return new RegExp(e,t)}jt=Gt?($t=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return $t.lastIndex=t,null!=(t=$t.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=Xt(e,t);if(void 0===n||Jt(n)||(33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;i.push(n),t+=65536<=n?2:1}return Wt.apply(void 0,i)};f.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},f.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,o=this.char();if(123===o){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(y.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&qt(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;i.push(n.val)}else{if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}}else{o=this.clonePosition();this.bump(),i.push({type:g.pound,location:E(o,this.clonePosition())})}}}return{val:i,err:null}},f.prototype.parseTag=function(e,t){var r=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:g.literal,value:"<".concat(i,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!qt(this.char()))return this.error(y.INVALID_TAG,E(e,this.clonePosition()));var n=this.clonePosition();return i!==this.parseTagName()?this.error(y.UNMATCHED_CLOSING_TAG,E(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:i,children:t,location:E(r,this.clonePosition())},err:null}:this.error(y.INVALID_TAG,E(e,this.clonePosition())))}return this.error(y.UNCLOSED_TAG,E(r,this.clonePosition()))}return this.error(y.INVALID_TAG,E(r,this.clonePosition()))},f.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())},f.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=E(r,this.clonePosition());return{val:{type:g.literal,value:i,location:r},err:null}},f.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(qt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},f.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 Wt.apply(void 0,t)},f.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Wt(r))},f.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(y.EMPTY_ARGUMENT,E(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(y.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:i,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(y.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},f.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=jt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},f.prototype.parseArgumentOptions=function(e,t,r,i){var n,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(y.EXPECT_ARGUMENT_TYPE,E(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(f=Qt(d.val)).length)return this.error(y.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:E(u,this.clonePosition())}}if((u=this.tryParseArgumentClose(i)).err)return u;var c=E(i,this.clonePosition());if(l&&zt(null==l?void 0:l.style,"::",0)){var h=Kt(l.style.slice(2));if("number"===a)return(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:g.number,value:r,location:c,style:d.val},err:null};if(0===h.length)return this.error(y.EXPECT_DATE_TIME_SKELETON,c);var p=h,f=(this.locale&&(p=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var a=1+(1&o),s=o<2?1:3+(o>>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),(Ht[t||""]||Ht[r||""]||Ht["".concat(r,"-001")]||Ht["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===n?"H":n}return r}(h,this.locale)),{type:ht.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},p.replace(Bt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}});return{val:{type:"date"===a?g.date:g.time,value:r,location:c,style:f},err:null}}return{val:{type:"number"===a?g.number:"date"===a?g.date:g.time,value:r,location:c,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,E(p,v({},p)));this.bumpSpace();var d,f=this.parseIdentifierIfPossible(),c=0;if("select"!==a&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),f=this.parseIdentifierIfPossible(),c=d.val}l=this.tryParsePluralOrSelectOptions(e,a,t,f);if(l.err)return l;if((u=this.tryParseArgumentClose(i)).err)return u;h=E(i,this.clonePosition());return"select"===a?{val:{type:g.select,value:r,options:Vt(l.val),location:h},err:null}:{val:{type:g.plural,value:r,options:Vt(l.val),offset:c,pluralType:"plural"===a?"cardinal":"ordinal",location:h},err:null};default:return this.error(y.INVALID_ARGUMENT_TYPE,E(o,s))}},f.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},f.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,E(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}},f.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(wt).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var o=n[0],n=n.slice(1),a=0,s=n;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:n})}return t}(e)}catch(e){return this.error(y.INVALID_NUMBER_SKELETON,t)}return{val:{type:ht.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Nt(r):{}},err:null}},f.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,o=[],a=new Set,s=i.value,l=i.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=E(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&&(n=!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,E(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;o.push([s,{value:u.val,location:E(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR:y.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(y.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:o,err:null}},f.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;n=!0,o=10*o+(a-48),this.bump()}i=E(i,this.clonePosition());return n?Ut(o*=r)?{val:o,err:null}:this.error(t,i):this.error(e,i)},f.prototype.offset=function(){return this.position.offset},f.prototype.isEOF=function(){return this.offset()===this.message.length},f.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},f.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Xt(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},f.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},f.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))},f.prototype.bumpIf=function(e){if(zt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},f.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)},f.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}},f.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jt(this.char());)this.bump()},f.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Zt=f;function f(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 qt(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function er(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Zt(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,bt(e)||gt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else dt(e)&&Et(e.style)||(yt(e)||mt(e))&&Pt(e.style)?delete e.style.location:vt(e)&&r(e.children)})}(e.val),e.val}function tr(e,t){var r=t&&t.cache?t.cache:Br,i=t&&t.serializer?t.serializer:or;return(t&&t.strategy?t.strategy:function(e,t){return nr(e,this,1===e.length?rr:ir,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function rr(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function ir(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function nr(e,t,r,i,n){return r.bind(t,e,i,n)}var or=function(){return JSON.stringify(arguments)};function ar(){this.cache=Object.create(null)}ar.prototype.get=function(e){return this.cache[e]},ar.prototype.set=function(e,t){this.cache[e]=t};var sr,lr,Br={create:function(){return new ar}},wr={variadic:function(e,t){return nr(e,this,ir,t.cache.create(),t.serializer)},monadic:function(e,t){return nr(e,this,rr,t.cache.create(),t.serializer)}};(lr=sr=sr||{}).MISSING_VALUE="MISSING_VALUE",lr.INVALID_VALUE="INVALID_VALUE",lr.MISSING_INTL_API="MISSING_INTL_API";ct(Lr,Ir=Error),Lr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var P,Ar,Tr,_r,Ir,xr=Lr,Sr=(ct(Or,_r=xr),Or),Cr=(ct(Dr,Tr=xr),Dr),Nr=(ct(Hr,Ar=xr),Hr);function Hr(e,t){return Ar.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),sr.MISSING_VALUE,t)||this}function Dr(e,t,r){return Tr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),sr.INVALID_VALUE,r)||this}function Or(e,t,r,i){return _r.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),sr.INVALID_VALUE,i)||this}function Lr(e,t,r){e=Ir.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Mr(e,t,r,i,n,o,a){if(1===e.length&&ft(e[0]))return[{type:P.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ft(c))s.push({type:P.literal,value:c.value});else if(c.type===g.pound)"number"==typeof o&&s.push({type:P.literal,value:r.getNumberFormat(t).format(o)});else{var h=c.value;if(!(n&&h in n))throw new Nr(h,a);h=n[h];if(c.type===g.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?P.literal:P.object,value:h});else if(yt(c)){var p="string"==typeof c.style?i.date[c.style]:Pt(c.style)?c.style.parsedOptions:void 0;s.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(mt(c))p="string"==typeof c.style?i.time[c.style]:Pt(c.style)?c.style.parsedOptions:i.time.medium,s.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(dt(c))(p="string"==typeof c.style?i.number[c.style]:Et(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:P.literal,value:r.getNumberFormat(t,p).format(h)});else{if(vt(c)){var f=c.children,d=c.value,y=n[d];if("function"!=typeof y)throw new Cr(d,"function",a);d=y(Mr(f,t,r,i,n,o).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?P.literal:P.object,value:e}}))}if(bt(c)){if(!(m=c.options[h]||c.options.other))throw new Sr(c.value,h,Object.keys(c.options),a);s.push.apply(s,Mr(m.value,t,r,i,n))}else if(gt(c)){if(!(m=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new xr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',sr.MISSING_INTL_API,a);var y=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),m=c.options[y]||c.options.other}if(!m)throw new Sr(c.value,h,Object.keys(c.options),a);s.push.apply(s,Mr(m.value,t,r,i,n,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===P.literal&&t.type===P.literal?r.value+=t.value:e.push(t),e},[])}function Rr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(i=P=P||{})[i.literal=0]="literal",i[i.object=1]="object",Object.defineProperty(d,"defaultLocale",{get:function(){return d.memoizedDefaultLocale||(d.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),d.memoizedDefaultLocale},enumerable:!1,configurable:!0}),d.memoizedDefaultLocale=null,d.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])},d.__parse=er,d.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 kr=d;function d(e,t,r,i){var n,o,a=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===P.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Mr(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=d.resolveLocale(t),"string"==typeof e){if(this.message=e,!d.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=d.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=d.formats,(o=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=o[t])?v(v(v({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=v(v({},r[t]),i[t]||{}),e},{})):r),e},v({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,pt([void 0],t,!1)))},{cache:Rr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:wr.variadic}),getDateTimeFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,pt([void 0],t,!1)))},{cache:Rr(t.dateTime),strategy:wr.variadic}),getPluralRules:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,pt([void 0],t,!1)))},{cache:Rr(t.pluralRules),strategy:wr.variadic})}}const B={},Fr=(e,t,r)=>r&&(t in B||(B[t]={}),e in B[t]||(B[t][e]=r),r),Ur=(t,r)=>{if(null!=r){if(r in B&&t in B[r])return B[r][t];var i=ri(r);for(let e=0;e<i.length;e++){var n=function(e,r){if(!jr(e))return null;e=function(e){return Gr[e]||null}(e);{var i=r;if(null==i)return;if(i in e)return e[i];const n=i.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const i=n.slice(e,n.length).join(".");if(i in t){t=t[i];break}}t=t[n[e]]}else t=void 0;return t}}(i[e],t);if(n)return Fr(t,r,n)}}};let Gr;const $r=qe({});function jr(e){return e in Gr}function zr(t,...r){delete B[t],$r.update(e=>(e[t]=lt.all([e[t]||{},...r]),e))}Je([$r],([e])=>Object.keys(e)),$r.subscribe(e=>Gr=e);const Wr={};function Vr(e){return Wr[e]}function Xr(e){return null!=e&&ri(e).some(e=>{return null==(e=Vr(e))?void 0:e.size})}const Kr={};function Qr(e){if(!Xr(e))return e in Kr?Kr[e]:Promise.resolve();const t=ri(e).map(e=>{var t=Vr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Kr[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const r=Promise.all(e.map(e=>{var t=i,r=e;return Wr[t].delete(r),0===Wr[t].size&&delete Wr[t],e().then(e=>e.default||e)}));return r.then(e=>zr(i,...e))}})).then(()=>{if(Xr(e))return Qr(e);delete Kr[e]}),Kr[e]}function Yr(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}const Zr={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 qr=qe(!1);let Jr;const ei=qe(null);function ti(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function ri(e,t=Zr.fallbackLocale){e=ti(e);return t?[...new Set([...e,...ti(t)])]:e}function w(){return null!=Jr?Jr:void 0}ei.subscribe(e=>{Jr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ii=Object.assign(Object.assign({},ei),{set:t=>{if(t&&function(e){if(null!=e){var t=ri(e);for(let e=0;e<t.length;e++){var r=t[e];if(jr(r))return r}}}(t)&&Xr(t)){var r=Zr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=w()&&r?e=window.setTimeout(()=>qr.set(!0),r):qr.set(!0),Qr(t).then(()=>{ei.set(t)}).finally(()=>{clearTimeout(e),qr.set(!1)})}return ei.set(t)}}),ni=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},oi=(e,t)=>{var r=Zr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ai=ni(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=oi("number",r)),new Intl.NumberFormat(t,e)}),si=ni(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=oi("date",r):0===Object.keys(e).length&&(e=oi("date","short")),new Intl.DateTimeFormat(t,e)}),li=ni(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=oi("time",r):0===Object.keys(e).length&&(e=oi("time","short")),new Intl.DateTimeFormat(t,e)}),ui=ni((e,t=w())=>new kr(e,t,Zr.formats,{ignoreTag:Zr.ignoreTag})),ci=Je([ii,$r],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:o,locale:a=w(),default:s}=n;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ur(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=Zr).handleMissingMessage)?void 0:r.call(i,{locale:a,id:e,defaultValue:s}))?r:s)?i:e;if(!o)return l;let u=l;try{u=ui(l,a).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function hi(e,t){zr(e,t)}Je([ii],()=>(e,t)=>((e={})=>{var{locale:t=w()}=e,e=Yr(e,["locale"]);return li(Object.assign({locale:t},e))})(t).format(e)),Je([ii],()=>(e,t)=>((e={})=>{var{locale:t=w()}=e,e=Yr(e,["locale"]);return si(Object.assign({locale:t},e))})(t).format(e)),Je([ii],()=>(e,t)=>((e={})=>{var{locale:t=w()}=e,e=Yr(e,["locale"]);return ai(Object.assign({locale:t},e))})(t).format(e)),Je([ii,$r],()=>(e,t=w())=>Ur(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Qe.indexOf(e)&&(t=new Xe(t),Ye[e]=t,Qe.push(e)),Ye[e]}};const pi={en:{playerProfile:{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:",securityQuestion:"Security Question:",securityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",firstName:"First Name:",securityAnswer:"Security Answer:",securityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",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",userAppSettings:"Biometrics",userSMSNotification:"Enable SMS notifications",userBiometrics:"Enable biometrics",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!"}},"zh-hk":{playerProfile:{title:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",securityQuestion:"安全問題:",securityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",firstName:"名:",securityAnswer:"安全答案:",securityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userAppSettings:"生物识别",userSMSNotification:"啟用短信通知",userBiometrics:"启用生物识别",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!"}},fr:{playerProfile:{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:",securityQuestion:"Questions de sécurité:",securityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",firstName:"Prénom:",securityAnswer:"Reponses de sécurité:",securityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",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",userAppSettings:"Biométrie",userSMSNotification:"Activer les notifications par sms",userBiometrics:"Activer la biométrie",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!"}},ro:{playerProfile:{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:",securityQuestion:"Întrebare securitate:",securityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",firstName:"Prenume:",securityAnswer:"Răspuns securitate:",securityAnswerError:"Raspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userCity:"Oraș:",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:{playerProfile:{title:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve en fazla 12 karakter olmalıdır.",userEmail:"E-posta:",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",firstName:"İlk adı:",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",lastName:"Soyadı:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",userTitle:"Başlık:",locationDetails:"Konum Ayrıntıları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",userPostalCode:"Posta kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter 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!"}},es:{playerProfile:{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:",securityQuestion:"Pregunta de seguridad:",securityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",firstName:"Nombre",securityAnswer:"Respuesta de seguridad:",securityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",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",userAppSettings:"Biometría",userSMSNotification:"Habilitar notificaciones SMS",userBiometrics:"Habilitar datos biométricos",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!"}},pt:{playerProfile:{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:",securityQuestion:"Pergunta de segurança:",securityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",firstName:"Primeiro nome:",securityAnswer:"Resposta de segurança:",securityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",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",userAppSettings:"Biometrics",userSMSNotification:"Ativar notificações por SMS",userBiometrics:"Ativar biometria.",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!"}}};function fi(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return r=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],r&&r.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,r=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof r?(t=Array.prototype.slice.call(arguments,1),r.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var di=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},yi=function(e,...t){try{return fi(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},mi=function(e,t){try{return fi(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function bi(e,t,r){const i=e.slice();return i[106]=t[r],i}function gi(i){let n,k,F,U,G,$,j,z,W,r,V,X,K,Q,o,Y,a,Z,q,J,ee,s,te,l,e,re,ie,ne,oe,u,ae,se,le,c,ue,ce,he,pe,fe,h,de,ye,me,p,be,ge,ve,Ee,Pe,Be,we,Ae,Te,f,_e,Ie,xe,Se,Ce,d,Ne,He,De,Oe,Le,y,Me,Re,ke,Fe,Ue,m,Ge,$e,je,ze,We,b,Ve,Xe,Ke,Qe,Ye,g,Ze,qe,Je,et,tt,v,rt,it,nt,ot,E,at,st,P,lt,ut,ct,B,ht,pt,ft,dt,yt,mt,w,bt,gt,vt,A,Et,Pt,Bt,wt,At,T,Tt,_t,It,_,xt,St,Ct,Nt,Ht,Dt,Ot,Lt,Mt,I,Rt,kt,Ft,Ut,Gt,$t,jt=i[37]("playerProfile.title")+"",zt=i[37]("playerProfile.personalDetails")+"",Wt=i[37]("playerProfile.userName")+"",Vt=i[37]("playerProfile.userPhone")+"",Xt=i[37]("playerProfile.securityQuestion")+"",Kt=i[37]("playerProfile.securityAnswer")+"",Qt=i[37]("playerProfile.userEmail")+"",Yt=i[37]("playerProfile.dateOfBirth")+"",Zt=i[37]("playerProfile.firstName")+"",qt=i[37]("playerProfile.lastName")+"",Jt=i[37]("playerProfile.userTitle")+"",er=i[37]("playerProfile.currency")+"",tr=i[37]("playerProfile.locationDetails")+"",rr=i[37]("playerProfile.userCountry")+"",ir=i[37]("playerProfile.userCity")+"",nr=i[37]("playerProfile.userAddress")+"",or=i[37]("playerProfile.userPostalCode")+"",ar=i[37]("playerProfile.userProfileSaveChanges")+"",sr=i[38]&&function(r){let i,n,o,a,s,l,u,c,h,p,f,d,y,m=r[37]("playerProfile.title")+"";return{c(){i=t("div"),n=fr("svg"),o=fr("defs"),a=fr("style"),s=dr(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=fr("g"),u=fr("g"),c=fr("path"),h=yr(),p=t("h2"),f=dr(m),br(c,"class","aaa"),br(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),br(c,"transform","translate(15 15) rotate(180)"),br(u,"transform","translate(20 158)"),br(l,"transform","translate(-20 -158)"),br(n,"xmlns","http://www.w3.org/2000/svg"),br(n,"width","15"),br(n,"height","15"),br(n,"viewBox","0 0 15 15"),br(p,"class","MyAccountCategoryTitleMobile"),br(p,"part","MyAccountCategoryTitleMobile"),br(i,"class","MenuReturnButton"),br(i,"part","MenuReturnButton")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),cr(o,a),cr(a,s),cr(n,l),cr(l,u),cr(u,c),cr(i,h),cr(i,p),cr(p,f),d||(y=mr(i,"click",r[59]),d=!0)},p(e,t){64&t[1]&&m!==(m=e[37]("playerProfile.title")+"")&&gr(f,m)},d(e){e&&pr(i),d=!1,y()}}}(i),lr=i[16],x=[];for(let e=0;e<lr.length;e+=1)x[e]=Bi(bi(i,lr,e));let S=i[25]&&wi(i),C=i[23]&&Ai(i),N=i[24]&&Ti(i),H=i[20]&&_i(i),D=i[22]&&Ii(i),O=i[21]&&xi(i),L=(i[17]||i[18])&&Si(i),M=i[27]&&Hi(i),R=i[26]&&Di(i);return{c(){n=t("form"),sr&&sr.c(),k=yr(),F=t("h2"),U=dr(jt),G=yr(),$=t("div"),j=t("h3"),z=dr(zt),W=yr(),r=t("section"),V=t("div"),X=t("label"),K=dr(Wt),Q=yr(),o=t("input"),Y=yr(),a=t("div"),Z=t("label"),q=dr(Vt),J=yr(),ee=t("div"),s=t("select");for(let e=0;e<x.length;e+=1)x[e].c();te=yr(),l=t("input"),re=yr(),S&&S.c(),oe=yr(),u=t("div"),ae=t("label"),se=dr(Xt),le=yr(),c=t("input"),ce=yr(),C&&C.c(),fe=yr(),h=t("div"),de=t("label"),ye=dr(Kt),me=yr(),p=t("input"),ge=yr(),N&&N.c(),Pe=yr(),Be=t("div"),we=t("label"),Ae=dr(Qt),Te=yr(),f=t("input"),_e=yr(),Ie=t("div"),xe=t("label"),Se=dr(Yt),Ce=yr(),d=t("input"),Ne=yr(),He=t("div"),De=t("label"),Oe=dr(Zt),Le=yr(),y=t("input"),Me=yr(),Re=t("div"),ke=t("label"),Fe=dr(qt),Ue=yr(),m=t("input"),Ge=yr(),$e=t("div"),je=t("label"),ze=dr(Jt),We=yr(),b=t("input"),Ve=yr(),Xe=t("div"),Ke=t("label"),Qe=dr(er),Ye=yr(),g=t("input"),Ze=yr(),qe=t("div"),Je=t("h3"),et=dr(tr),tt=yr(),v=t("section"),rt=t("div"),it=t("label"),nt=dr(rr),ot=yr(),E=t("input"),st=yr(),P=t("div"),lt=t("label"),ut=dr(ir),ct=yr(),B=t("input"),ft=yr(),H&&H.c(),mt=yr(),w=t("div"),bt=t("label"),gt=dr(nr),vt=yr(),A=t("input"),Pt=yr(),D&&D.c(),At=yr(),T=t("div"),Tt=t("label"),_t=dr(or),It=yr(),_=t("input"),Ct=yr(),O&&O.c(),Dt=yr(),L&&L.c(),Ot=yr(),M&&M.c(),Lt=yr(),Mt=t("section"),I=t("button"),Rt=dr(ar),Ut=yr(),R&&R.c(),br(F,"class","MyAccountCategoryTitle "+(i[38]?"MyAccountCategoryTitleNone":"")),br(F,"part","MyAccountCategoryTitle "+(i[38]?"MyAccountCategoryTitleNone":"")),br($,"class","PlayerNotificationsHeader"),br($,"part","PlayerNotificationsHeader"),br(o,"type","text"),br(o,"class","FieldDisabled"),br(o,"part","FieldDisabled"),o.value=i[36],o.readOnly=!0,br(V,"class","PlayerInfoBox"),br(V,"part","PlayerInfoBox"),void 0===i[12]&&Pr(()=>i[60].call(s)),br(l,"type","text"),br(l,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),br(l,"placeholder",e=i[3]?i[31].number:""),br(ee,"class","PlayerPhoneNumber"),br(ee,"part","PlayerPhoneNumber"),br(a,"class",ie="PlayerInfoBox "+(i[25]?"InvalidField":"")),br(a,"part",ne="PlayerInfoBox "+(i[25]?"InvalidField":"")),br(c,"type","text"),br(c,"placeholder",ue=i[3]?i[44]:""),br(u,"class",he="PlayerInfoBox "+(i[23]?"InvalidField":"")),br(u,"part",pe="PlayerInfoBox "+(i[23]?"InvalidField":"")),br(p,"type","text"),br(p,"placeholder",be=i[3]?i[43]:""),br(h,"class",ve="PlayerInfoBox "+(i[24]?"InvalidField":"")),br(h,"part",Ee="PlayerInfoBox "+(i[24]?"InvalidField":"")),br(f,"type","email"),br(f,"class","FieldDisabled"),br(f,"part","FieldDisabled"),f.value=i[32],f.readOnly=!0,br(Be,"class","PlayerInfoBox"),br(Be,"part","PlayerInfoBox"),br(d,"type","text"),br(d,"class","FieldDisabled"),br(d,"part","FieldDisabled"),d.value=i[29],d.readOnly=!0,br(Ie,"class","PlayerInfoBox"),br(Ie,"part","PlayerInfoBox"),br(y,"type","text"),br(y,"class","FieldDisabled"),br(y,"part","FieldDisabled"),y.value=i[33],y.readOnly=!0,br(He,"class","PlayerInfoBox"),br(He,"part","PlayerInfoBox"),br(m,"type","text"),br(m,"class","FieldDisabled"),br(m,"part","FieldDisabled"),m.value=i[35],m.readOnly=!0,br(Re,"class","PlayerInfoBox"),br(Re,"part","PlayerInfoBox"),br(b,"type","text"),br(b,"class","FieldDisabled"),br(b,"part","FieldDisabled"),b.value=i[34],b.readOnly=!0,br($e,"class","PlayerInfoBox"),br($e,"part","PlayerInfoBox"),br(g,"type","text"),br(g,"class","FieldDisabled"),br(g,"part","FieldDisabled"),g.value=i[30],g.readOnly=!0,br(Xe,"class","PlayerInfoBox"),br(Xe,"part","PlayerInfoBox"),br(r,"class","PlayerDetailsContent"),br(r,"part","PlayerDetailsContent"),br(qe,"class","PlayerLocationHeader"),br(qe,"part","PlayerLocationHeader"),br(E,"type","text"),br(E,"class","PlayerCountry FieldDisabled"),br(E,"part","PlayerCountry FieldDisabled"),br(E,"placeholder",i[0]),E.value=at=i[15].Name,E.readOnly=!0,br(rt,"class","PlayerInfoBox"),br(rt,"part","PlayerInfoBox"),br(B,"type","text"),br(B,"placeholder",ht=i[3]?i[41]:""),B.value=pt=i[3]?"":i[28].city,br(P,"class",dt="PlayerInfoBox "+(i[20]?"InvalidField":"")),br(P,"part",yt="PlayerInfoBox "+(i[20]?"InvalidField":"")),br(A,"placeholder",i[40]),br(A,"type","text"),A.value=Et=i[3]?"":i[28].address,br(w,"class",Bt="PlayerInfoBox "+(i[22]?"InvalidField":"")),br(w,"part",wt="PlayerInfoBox "+(i[22]?"InvalidField":"")),br(_,"type","text"),br(_,"placeholder",xt=i[3]?i[42]:""),_.value=St=i[3]?"":i[28].postalCode,br(T,"class",Nt="PlayerInfoBox "+(i[21]?"InvalidField":"")),br(T,"part",Ht="PlayerInfoBox "+(i[21]?"InvalidField":"")),br(v,"class","PlayerLocationContent"),br(v,"part","PlayerLocationContent"),br(I,"class",kt="PlayerDetailsSaveButton "+(i[14]&&i[19]?"":"PlayerButtonDisabled")),br(I,"part",Ft="PlayerDetailsSaveButton "+(i[14]&&i[19]?"":"PlayerButtonDisabled")),br(Mt,"class","PlayerDetailsButtonsArea "+(i[38]?"PlayerDetailsButtonsAreaMobile":"")),br(Mt,"part","PlayerDetailsButtonsArea "+(i[38]?"PlayerDetailsButtonsAreaMobile":"")),br(n,"class","PlayerInfoWrapper "+(i[38]?"PlayerInfoWrapperMobile":"")+" "+(i[39].matches&&i[38]?"PlayerInfoWrapperTablet":"")),br(n,"part","PlayerInfoWrapper "+(i[38]?"PlayerInfoWrapperMobile":"")+" "+(i[39].matches&&i[38]?"PlayerInfoWrapperTablet":""))},m(e,t){hr(e,n,t),sr&&sr.m(n,null),cr(n,k),cr(n,F),cr(F,U),cr(n,G),cr(n,$),cr($,j),cr(j,z),cr(n,W),cr(n,r),cr(r,V),cr(V,X),cr(X,K),cr(V,Q),cr(V,o),cr(r,Y),cr(r,a),cr(a,Z),cr(Z,q),cr(a,J),cr(a,ee),cr(ee,s);for(let e=0;e<x.length;e+=1)x[e].m(s,null);Er(s,i[12]),cr(ee,te),cr(ee,l),vr(l,i[13]),cr(a,re),S&&S.m(a,null),cr(r,oe),cr(r,u),cr(u,ae),cr(ae,se),cr(u,le),cr(u,c),vr(c,i[10]),cr(u,ce),C&&C.m(u,null),cr(r,fe),cr(r,h),cr(h,de),cr(de,ye),cr(h,me),cr(h,p),vr(p,i[11]),cr(h,ge),N&&N.m(h,null),cr(r,Pe),cr(r,Be),cr(Be,we),cr(we,Ae),cr(Be,Te),cr(Be,f),cr(r,_e),cr(r,Ie),cr(Ie,xe),cr(xe,Se),cr(Ie,Ce),cr(Ie,d),cr(r,Ne),cr(r,He),cr(He,De),cr(De,Oe),cr(He,Le),cr(He,y),cr(r,Me),cr(r,Re),cr(Re,ke),cr(ke,Fe),cr(Re,Ue),cr(Re,m),cr(r,Ge),cr(r,$e),cr($e,je),cr(je,ze),cr($e,We),cr($e,b),cr(r,Ve),cr(r,Xe),cr(Xe,Ke),cr(Ke,Qe),cr(Xe,Ye),cr(Xe,g),cr(n,Ze),cr(n,qe),cr(qe,Je),cr(Je,et),cr(n,tt),cr(n,v),cr(v,rt),cr(rt,it),cr(it,nt),cr(rt,ot),cr(rt,E),cr(v,st),cr(v,P),cr(P,lt),cr(lt,ut),cr(P,ct),cr(P,B),i[68](B),cr(P,ft),H&&H.m(P,null),cr(v,mt),cr(v,w),cr(w,bt),cr(bt,gt),cr(w,vt),cr(w,A),i[70](A),cr(w,Pt),D&&D.m(w,null),cr(v,At),cr(v,T),cr(T,Tt),cr(Tt,_t),cr(T,It),cr(T,_),i[72](_),cr(T,Ct),O&&O.m(T,null),cr(n,Dt),L&&L.m(n,null),cr(n,Ot),M&&M.m(n,null),cr(n,Lt),cr(n,Mt),cr(Mt,I),cr(I,Rt),cr(n,Ut),R&&R.m(n,null),Gt||($t=[mr(s,"change",i[60]),mr(s,"change",i[61]),mr(l,"input",i[62]),mr(l,"keyup",i[45]),mr(l,"keyup",i[63]),mr(c,"input",i[64]),mr(c,"keyup",i[65]),mr(c,"blur",i[46]),mr(p,"input",i[66]),mr(p,"keyup",i[67]),mr(p,"blur",i[47]),mr(B,"blur",i[48]),mr(B,"keyup",i[69]),mr(A,"blur",i[50]),mr(A,"keyup",i[71]),mr(_,"blur",i[49]),mr(_,"keyup",i[73]),mr(I,"click",i[77])],Gt=!0)},p(t,r){if(t[38]&&sr.p(t,r),64&r[1]&&jt!==(jt=t[37]("playerProfile.title")+"")&&gr(U,jt),64&r[1]&&zt!==(zt=t[37]("playerProfile.personalDetails")+"")&&gr(z,zt),64&r[1]&&Wt!==(Wt=t[37]("playerProfile.userName")+"")&&gr(K,Wt),32&r[1]&&o.value!==t[36]&&(o.value=t[36]),64&r[1]&&Vt!==(Vt=t[37]("playerProfile.userPhone")+"")&&gr(q,Vt),268500992&r[0]){let e;for(lr=t[16],e=0;e<lr.length;e+=1){var i=bi(t,lr,e);x[e]?x[e].p(i,r):(x[e]=Bi(i),x[e].c(),x[e].m(s,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=lr.length}69632&r[0]&&Er(s,t[12]),8&r[0]|1&r[1]&&e!==(e=t[3]?t[31].number:"")&&br(l,"placeholder",e),8192&r[0]&&l.value!==t[13]&&vr(l,t[13]),t[25]?S?S.p(t,r):((S=wi(t)).c(),S.m(a,null)):S&&(S.d(1),S=null),33554432&r[0]&&ie!==(ie="PlayerInfoBox "+(t[25]?"InvalidField":""))&&br(a,"class",ie),33554432&r[0]&&ne!==(ne="PlayerInfoBox "+(t[25]?"InvalidField":""))&&br(a,"part",ne),64&r[1]&&Xt!==(Xt=t[37]("playerProfile.securityQuestion")+"")&&gr(se,Xt),8&r[0]&&ue!==(ue=t[3]?t[44]:"")&&br(c,"placeholder",ue),1024&r[0]&&c.value!==t[10]&&vr(c,t[10]),t[23]?C?C.p(t,r):((C=Ai(t)).c(),C.m(u,null)):C&&(C.d(1),C=null),8388608&r[0]&&he!==(he="PlayerInfoBox "+(t[23]?"InvalidField":""))&&br(u,"class",he),8388608&r[0]&&pe!==(pe="PlayerInfoBox "+(t[23]?"InvalidField":""))&&br(u,"part",pe),64&r[1]&&Kt!==(Kt=t[37]("playerProfile.securityAnswer")+"")&&gr(ye,Kt),8&r[0]&&be!==(be=t[3]?t[43]:"")&&br(p,"placeholder",be),2048&r[0]&&p.value!==t[11]&&vr(p,t[11]),t[24]?N?N.p(t,r):((N=Ti(t)).c(),N.m(h,null)):N&&(N.d(1),N=null),16777216&r[0]&&ve!==(ve="PlayerInfoBox "+(t[24]?"InvalidField":""))&&br(h,"class",ve),16777216&r[0]&&Ee!==(Ee="PlayerInfoBox "+(t[24]?"InvalidField":""))&&br(h,"part",Ee),64&r[1]&&Qt!==(Qt=t[37]("playerProfile.userEmail")+"")&&gr(Ae,Qt),2&r[1]&&f.value!==t[32]&&(f.value=t[32]),64&r[1]&&Yt!==(Yt=t[37]("playerProfile.dateOfBirth")+"")&&gr(Se,Yt),536870912&r[0]&&d.value!==t[29]&&(d.value=t[29]),64&r[1]&&Zt!==(Zt=t[37]("playerProfile.firstName")+"")&&gr(Oe,Zt),4&r[1]&&y.value!==t[33]&&(y.value=t[33]),64&r[1]&&qt!==(qt=t[37]("playerProfile.lastName")+"")&&gr(Fe,qt),16&r[1]&&m.value!==t[35]&&(m.value=t[35]),64&r[1]&&Jt!==(Jt=t[37]("playerProfile.userTitle")+"")&&gr(ze,Jt),8&r[1]&&b.value!==t[34]&&(b.value=t[34]),64&r[1]&&er!==(er=t[37]("playerProfile.currency")+"")&&gr(Qe,er),1073741824&r[0]&&g.value!==t[30]&&(g.value=t[30]),64&r[1]&&tr!==(tr=t[37]("playerProfile.locationDetails")+"")&&gr(et,tr),64&r[1]&&rr!==(rr=t[37]("playerProfile.userCountry")+"")&&gr(nt,rr),1&r[0]&&br(E,"placeholder",t[0]),32768&r[0]&&at!==(at=t[15].Name)&&E.value!==at&&(E.value=at),64&r[1]&&ir!==(ir=t[37]("playerProfile.userCity")+"")&&gr(ut,ir),8&r[0]&&ht!==(ht=t[3]?t[41]:"")&&br(B,"placeholder",ht),268435464&r[0]&&pt!==(pt=t[3]?"":t[28].city)&&B.value!==pt&&(B.value=pt),t[20]?H?H.p(t,r):((H=_i(t)).c(),H.m(P,null)):H&&(H.d(1),H=null),1048576&r[0]&&dt!==(dt="PlayerInfoBox "+(t[20]?"InvalidField":""))&&br(P,"class",dt),1048576&r[0]&&yt!==(yt="PlayerInfoBox "+(t[20]?"InvalidField":""))&&br(P,"part",yt),64&r[1]&&nr!==(nr=t[37]("playerProfile.userAddress")+"")&&gr(gt,nr),268435464&r[0]&&Et!==(Et=t[3]?"":t[28].address)&&A.value!==Et&&(A.value=Et),t[22]?D?D.p(t,r):((D=Ii(t)).c(),D.m(w,null)):D&&(D.d(1),D=null),4194304&r[0]&&Bt!==(Bt="PlayerInfoBox "+(t[22]?"InvalidField":""))&&br(w,"class",Bt),4194304&r[0]&&wt!==(wt="PlayerInfoBox "+(t[22]?"InvalidField":""))&&br(w,"part",wt),64&r[1]&&or!==(or=t[37]("playerProfile.userPostalCode")+"")&&gr(_t,or),8&r[0]&&xt!==(xt=t[3]?t[42]:"")&&br(_,"placeholder",xt),268435464&r[0]&&St!==(St=t[3]?"":t[28].postalCode)&&_.value!==St&&(_.value=St),t[21]?O?O.p(t,r):((O=xi(t)).c(),O.m(T,null)):O&&(O.d(1),O=null),2097152&r[0]&&Nt!==(Nt="PlayerInfoBox "+(t[21]?"InvalidField":""))&&br(T,"class",Nt),2097152&r[0]&&Ht!==(Ht="PlayerInfoBox "+(t[21]?"InvalidField":""))&&br(T,"part",Ht),t[17]||t[18]?L?L.p(t,r):((L=Si(t)).c(),L.m(n,Ot)):L&&(L.d(1),L=null),t[27]?M?M.p(t,r):((M=Hi(t)).c(),M.m(n,Lt)):M&&(M.d(1),M=null),64&r[1]&&ar!==(ar=t[37]("playerProfile.userProfileSaveChanges")+"")&&gr(Rt,ar),540672&r[0]&&kt!==(kt="PlayerDetailsSaveButton "+(t[14]&&t[19]?"":"PlayerButtonDisabled"))&&br(I,"class",kt),540672&r[0]&&Ft!==(Ft="PlayerDetailsSaveButton "+(t[14]&&t[19]?"":"PlayerButtonDisabled"))&&br(I,"part",Ft),t[26]?R?R.p(t,r):((R=Di(t)).c(),R.m(n,null)):R&&(R.d(1),R=null)},d(e){e&&pr(n),sr&&sr.d();var t=x,r=e;for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r);S&&S.d(),C&&C.d(),N&&N.d(),i[68](null),H&&H.d(),i[70](null),D&&D.d(),i[72](null),O&&O.d(),L&&L.d(),M&&M.d(),R&&R.d(),Gt=!1,ur($t)}}}function vi(e){let r;return{c(){br(r=t("div"),"class","ModalLoader"),br(r,"part","ModalLoader")},m(e,t){hr(e,r,t)},p:m,d(e){e&&pr(r)}}}function Ei(e){let r,i,n,o=e[106].Prefix+"";return{c(){r=t("option"),i=dr(o),r.__value=n=e[106].Prefix,r.value=r.__value},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){65536&t[0]&&o!==(o=e[106].Prefix+"")&&gr(i,o),65536&t[0]&&n!==(n=e[106].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&pr(r)}}}function Pi(e){let r,i,n,o=e[106].Prefix+"";return{c(){r=t("option"),i=dr(o),r.selected=!0,r.__value=n=e[106].Prefix,r.value=r.__value},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){65536&t[0]&&o!==(o=e[106].Prefix+"")&&gr(i,o),65536&t[0]&&n!==(n=e[106].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&pr(r)}}}function Bi(e){let r;function i(e){return e[106].Prefix===e[28].mobiePrefix?Pi:Ei}let n=i(e),o=n(e);return{c(){o.c(),r=dr("")},m(e,t){o.m(e,t),hr(e,r,t)},p(e,t){n===(n=i(e))&&o?o.p(e,t):(o.d(1),(o=n(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){o.d(e),e&&pr(r)}}}function wi(e){let r,i,n=e[37]("playerProfile.userPhoneError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userPhoneError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Ai(e){let r,i,n=e[37]("playerProfile.securityQuestionError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.securityQuestionError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Ti(e){let r,i,n=e[37]("playerProfile.securityAnswerError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.securityAnswerError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function _i(e){let r,i,n=e[37]("playerProfile.userCityError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userCityError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Ii(e){let r,i,n=e[37]("playerProfile.userAddressError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userAddressError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function xi(e){let r,i,n=e[37]("playerProfile.userPostalCodeError")+"";return{c(){r=t("p"),i=dr(n),br(r,"class","InvalidInput"),br(r,"part","InvalidInput")},m(e,t){hr(e,r,t),cr(r,i)},p(e,t){64&t[1]&&n!==(n=e[37]("playerProfile.userPostalCodeError")+"")&&gr(i,n)},d(e){e&&pr(r)}}}function Si(e){let r,i,n,o,a,s,l=e[37]("playerProfile.userNotifications")+"",u=e[18]&&Ci(e),c=e[17]&&Ni(e);return{c(){r=t("div"),i=t("h3"),n=dr(l),o=yr(),a=t("section"),u&&u.c(),s=yr(),c&&c.c(),br(r,"class","PlayerNotificationsHeader"),br(r,"part","PlayerNotificationsHeader"),br(a,"class","PlayerNotificationsCheckboxArea"),br(a,"part","PlayerNotificationsCheckboxArea")},m(e,t){hr(e,r,t),cr(r,i),cr(i,n),hr(e,o,t),hr(e,a,t),u&&u.m(a,null),cr(a,s),c&&c.m(a,null)},p(e,t){64&t[1]&&l!==(l=e[37]("playerProfile.userNotifications")+"")&&gr(n,l),e[18]?u?u.p(e,t):((u=Ci(e)).c(),u.m(a,s)):u&&(u.d(1),u=null),e[17]?c?c.p(e,t):((c=Ni(e)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&pr(r),e&&pr(o),e&&pr(a),u&&u.d(),c&&c.d()}}}function Ci(r){let i,n,o,a,s,l,u,c,h,p,f=r[37]("playerProfile.userSMSNotification")+"";return{c(){i=t("div"),n=t("label"),o=t("input"),a=yr(),s=t("span"),l=yr(),u=t("span"),c=dr(f),br(o,"type","checkbox"),br(o,"id","SMSNotification"),br(o,"name","Enable SMS notifications"),br(s,"class","Checkmark"),br(s,"part","Checkmark"),br(n,"for","SMSNotification"),br(i,"class","PlayerNotificationBox"),br(i,"part","PlayerNotificationBox")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),o.checked=r[7],cr(n,a),cr(n,s),cr(n,l),cr(n,u),cr(u,c),h||(p=[mr(o,"change",r[74]),mr(o,"change",r[53])],h=!0)},p(e,t){128&t[0]&&(o.checked=e[7]),64&t[1]&&f!==(f=e[37]("playerProfile.userSMSNotification")+"")&&gr(c,f)},d(e){e&&pr(i),h=!1,ur(p)}}}function Ni(r){let i,n,o,a,s,l,u,c,h,p,f=r[37]("playerProfile.userEmailNotification")+"";return{c(){i=t("div"),n=t("label"),o=t("input"),a=yr(),s=t("span"),l=yr(),u=t("span"),c=dr(f),br(o,"type","checkbox"),br(o,"id","EmailNotification"),br(o,"name","Enable Emails"),br(s,"class","Checkmark"),br(s,"part","Checkmark"),br(n,"for","EmailNotification"),br(i,"class","PlayerNotificationBox"),br(i,"part","PlayerNotificationBox")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),o.checked=r[8],cr(n,a),cr(n,s),cr(n,l),cr(n,u),cr(u,c),h||(p=[mr(o,"change",r[75]),mr(o,"change",r[53])],h=!0)},p(e,t){256&t[0]&&(o.checked=e[8]),64&t[1]&&f!==(f=e[37]("playerProfile.userEmailNotification")+"")&&gr(c,f)},d(e){e&&pr(i),h=!1,ur(p)}}}function Hi(r){let i,n,o,a,s,l,u,c,h,p,f,d,y,m,b,g=r[37]("playerProfile.userAppSettings")+"",v=r[37]("playerProfile.userBiometrics")+"";return{c(){i=t("div"),n=t("h3"),o=dr(g),a=yr(),s=t("section"),l=t("div"),u=t("label"),c=t("input"),h=yr(),p=t("span"),f=yr(),d=t("span"),y=dr(v),br(i,"class","PlayerNotificationsHeader"),br(i,"part","PlayerNotificationsHeader"),br(c,"type","checkbox"),br(c,"id","BiometricsEnabled"),br(c,"name","Biometric Enabled"),br(p,"class","Checkmark"),br(p,"part","Checkmark"),br(u,"for","Biometrics"),br(l,"class","PlayerNotificationBox"),br(l,"part","PlayerNotificationBox"),br(s,"class","PlayerNotificationsCheckboxArea"),br(s,"part","PlayerNotificationsCheckboxArea")},m(e,t){hr(e,i,t),cr(i,n),cr(n,o),hr(e,a,t),hr(e,s,t),cr(s,l),cr(l,u),cr(u,c),c.checked=r[9],cr(u,h),cr(u,p),cr(u,f),cr(u,d),cr(d,y),m||(b=[mr(c,"change",r[76]),mr(c,"change",r[53])],m=!0)},p(e,t){64&t[1]&&g!==(g=e[37]("playerProfile.userAppSettings")+"")&&gr(o,g),512&t[0]&&(c.checked=e[9]),64&t[1]&&v!==(v=e[37]("playerProfile.userBiometrics")+"")&&gr(y,v)},d(e){e&&pr(i),e&&pr(a),e&&pr(s),m=!1,ur(b)}}}function Di(e){let r,i,n,o=e[37]("playerProfile.userProfileConfirmationMessage")+"";return{c(){r=t("section"),i=t("p"),n=dr(o),br(i,"class","PlayerDetailsConfirmSaveText"),br(i,"part","PlayerDetailsConfirmSaveText"),br(r,"class","PlayerDetailsConfirmSave"),br(r,"part","PlayerDetailsConfirmSave")},m(e,t){hr(e,r,t),cr(r,i),cr(i,n)},p(e,t){64&t[1]&&o!==(o=e[37]("playerProfile.userProfileConfirmationMessage")+"")&&gr(n,o)},d(e){e&&pr(r)}}}function Oi(r){let i;function n(e){return e[2]?vi:gi}let o=n(r),a=o(r);return{c(){i=t("div"),a.c(),this.c=m},m(e,t){hr(e,i,t),a.m(i,null),r[78](i)},p(e,t){o===(o=n(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(i,null)))},i:m,o:m,d(e){e&&pr(i),a.d(),r[78](null)}}}function Li(t,e,r){let M;var i=ci;t.$$.on_destroy.push(pe(i,e=>r(37,M=e)));let n,o,a,s,l,{endpoint:u=""}=e,{lang:c="en"}=e,{countrycode:h="IR"}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{translationurl:d=""}=e,R=!0,k=window.navigator.userAgent,F="PC"!=((i=k).toLowerCase().match(/android/i)?"Android":i.toLowerCase().match(/iphone/i)?"iPhone":i.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),U=!0,y=!1,m=!1,b=!1,g="",v="",E="",P="",B=!1,G={Name:"I.e Ireland"},w=[],$=[],A=[],T=!1,_=!1,I={items:[]},x=!1,S="",j="",z="",W=!1,V=!1,X=!1,C=!1;Object.keys(pi).forEach(e=>{hi(e,pi[e])});e=window.matchMedia("(min-width: 768px)");let K={address1:"",address2:"",city:"",acceptNewsEmail:!1,acceptSMSOffers:!1,country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},N={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},H={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",country:"i.e.: Ireland",currency:"EUR",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:Q,birth:Y,city:Z,currency:q,mobile:D,email:J,firstname:ee,userTitles:te,language:re,lastname:ie,postalCode:ne,securityAnswer:oe,securityQuestion:ae,username:se}=H;const le=e=>{var t;if(e.data)switch(e.data.type){case"ProfileDetailsData":r(3,U=!1),H=e.data.profileDetails,r(36,se=H.username),r(31,D=H.mobile),r(32,J=H.email),r(33,ee=H.firstname),r(35,ie=H.lastname),re=H.language,r(29,Y=(null==(t=H.birth)?void 0:t.day)+"/"+(null==(t=H.birth)?void 0:t.month)+"/"+(null==(t=H.birth)?void 0:t.year)),r(30,q=H.currency),r(34,te=H.title),r(10,g=H.securityQuestion),r(11,v=H.securityAnswer),r(12,E=null==(t=H.mobile)?void 0:t.prefix),r(13,P=null==(t=H.mobile)?void 0:t.number),r(28,N.address=H.address1,N),r(28,N.city=H.city,N),r(28,N.mobilePrefix=null==D?void 0:D.prefix,N),r(28,N.mobileNumber=null==D?void 0:D.number,N),r(28,N.postalCode=H.postalCode,N),r(28,N.securityAnswer=H.securityAnswer,N),r(28,N.securityQuestion=H.securityQuestion,N);break;case"ProfileConsentData":A=e.data.consent.items,Array.isArray(A)&&A.forEach(e=>{"emailmarketing"==e.tagCode?(r(17,T=!0),r(8,m="Accepted"==e.status),r(28,N.acceptNewsEmail=m,N)):"sms"==e.tagCode&&(r(18,_=!0),r(7,y="Accepted"==e.status),r(28,N.acceptSMSOffers=y,N))});break;case"ConfirmProfileInfoSave":C&&(mi("BIOMETRICS_ENABLED",e=>{e!==b&&r(9,b=e)}),yi(b?"ENABLE_BIOMETRICS":"DISABLE_BIOMETRICS")),r(14,B=!1),r(26,X=!0),setTimeout(()=>{r(26,X=!1)},3e3)}},O=()=>{r(19,x=!(W||V||S||z||j||l))},ue=e=>{e.preventDefault(),1==B&&1==x&&(window.postMessage({type:"UpdatePlayerInfo",provisionalArray:K},window.location.href),window.postMessage({type:"UpdatePlayerConsent",consentArray:I},window.location.href))},ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:F},window.location.href)},L=()=>{var e,t;K={acceptNewsEmail:m,acceptSMSOffers:y,address:a.value,city:s.value,mobileNumber:P,mobilePrefix:E,postalCode:o.value,securityAnswer:v,securityQuestion:g},e=K,t=N,JSON.stringify(e)===JSON.stringify(t)?r(14,B=!1):r(14,B=!0),I={items:[]},_&&I.items.push({tagCode:"sms",status:y?"Accepted":"Denied"}),T&&I.items.push({tagCode:"emailmarketing",status:m?"Accepted":"Denied"}),O()};return i=()=>(window.addEventListener("message",le,!1),r(27,C=!!di(k)),C&&(mi("BIOMETRICS_ENABLED",e=>{r(9,b=!!e)}),yi("BIOMETRICS_ENABLED")),()=>{window.removeEventListener("message",le)}),function(){if(fe)return fe;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),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)},t.$$.update=()=>{if(16777216&t.$$.dirty[1]&&c&&(e=c,ii.set(e)),1&t.$$.dirty[0]|8388608&t.$$.dirty[1]&&u&&h&&fetch(u+"/player/countries").then(e=>300<=e.status?new Error("Error while fetching the countries"):e.json()).then(e=>{fetch(u+"/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{$=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code)),r(15,G=$.find(e=>e.Alpha2Code===h)||{Name:"I.E. Ireland"}),r(2,R=!1)})}),8388608&t.$$.dirty[1]&&u&&fetch(u+"/player/phonecodes").then(e=>e.json()).then(e=>{r(16,w=e.phoneCodes)}),2&t.$$.dirty[0]|67108864&t.$$.dirty[1]&&f&&n){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}if(2&t.$$.dirty[0]|33554432&t.$$.dirty[1]&&p&&n){let e=document.createElement("style");e.innerHTML=p,n.appendChild(e)}var e;134217728&t.$$.dirty[1]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{hi(e,t[e])})}).catch(e=>{console.log(e)})},[h,n,R,U,o,a,s,y,m,b,g,v,E,P,B,G,w,T,_,x,S,j,z,W,V,l,X,C,N,Y,q,D,J,ee,te,ie,se,M,F,e,Q,Z,ne,oe,ae,()=>{r(25,l=!(P&&5<=P.length&&P.length<=12)),O()},()=>{r(23,W=!(g&&g.length<=120)),O()},()=>{r(24,V=!(v&&v.length<=120)),O()},()=>{r(20,S=!(s.value&&s.value.length<=50)),O()},()=>{r(21,j=!(o.value&&o.value.length<=20)),O()},()=>{r(22,z=!(a.value&&a.value.length<=100)),O()},ue,ce,L,u,c,p,f,d,()=>ce(),function(){E=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),r(12,E),r(16,w)},()=>L(),function(){P=this.value,r(13,P)},()=>L(),function(){g=this.value,r(10,g)},()=>L(),function(){v=this.value,r(11,v)},()=>L(),function(e){he[e?"unshift":"push"](()=>{s=e,r(6,s)})},()=>L(),function(e){he[e?"unshift":"push"](()=>{a=e,r(5,a)})},()=>L(),function(e){he[e?"unshift":"push"](()=>{o=e,r(4,o)})},()=>L(),function(){y=this.checked,r(7,y)},function(){m=this.checked,r(8,m)},function(){b=this.checked,r(9,b)},e=>ue(e),function(e){he[e?"unshift":"push"](()=>{n=e,r(1,n)})}]}class Mi extends F{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color: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-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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerInfoBox.InvalidField input{border:1px solid var(--emfe-w-color-error, #FD2839);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-error, #FD2839)}.PlayerInfoBox .InvalidInput{color:var(--emfe-w-color-error, #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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C)}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid white;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-color-contrast, #07072A);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emfe-w-color-primary-600, #99034F)}.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-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-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-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-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-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>",k(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Li,Oi,x,{endpoint:54,lang:55,countrycode:0,clientstyling:56,clientstylingurl:57,translationurl:58},null,[-1,-1,-1,-1]),e&&(e.target&&hr(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["endpoint","lang","countrycode","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),b()}get lang(){return this.$$.ctx[55]}set lang(e){this.$$set({lang:e}),b()}get countrycode(){return this.$$.ctx[0]}set countrycode(e){this.$$set({countrycode:e}),b()}get clientstyling(){return this.$$.ctx[56]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[57]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get translationurl(){return this.$$.ctx[58]}set translationurl(e){this.$$set({translationurl:e}),b()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",Mi),Mi});
|
|
2
2
|
//# sourceMappingURL=player-profile-info.js.map
|