@everymatrix/player-profile-info 1.45.0 → 1.45.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +0,0 @@
1
- "use strict";var pa=Object.defineProperty,da=Object.defineProperties;var ma=Object.getOwnPropertyDescriptors;var Gn=Object.getOwnPropertySymbols;var va=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable;var Qr=(e,t,r)=>t in e?pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zn=(e,t)=>{for(var r in t||(t={}))va.call(t,r)&&Qr(e,r,t[r]);if(Gn)for(var r of Gn(t))ba.call(t,r)&&Qr(e,r,t[r]);return e},Qn=(e,t)=>da(e,ma(t));var ue=(e,t,r)=>Qr(e,typeof t!="symbol"?t+"":t,r);var br=(e,t,r)=>new Promise((n,i)=>{var a=c=>{try{u(r.next(c))}catch(f){i(f)}},o=c=>{try{u(r.throw(c))}catch(f){i(f)}},u=c=>c.done?n(c.value):Promise.resolve(c.value).then(a,o);u((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ce(){}function Ii(e){return e()}function Vn(){return Object.create(null)}function He(e){e.forEach(Ii)}function Ar(e){return typeof e=="function"}function Ni(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ya(e){return Object.keys(e).length===0}function Ti(e,...t){if(e==null){for(const n of t)n(void 0);return ce}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ga(e,t,r){e.$$.on_destroy.push(Ti(t,r))}function s(e,t){e.appendChild(t)}function Ea(e,t,r){const n=_a(e);if(!n.getElementById(t)){const i=d("style");i.id=t,i.textContent=r,Pa(n,i)}}function _a(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Pa(e,t){return s(e.head||e,t),t.sheet}function k(e,t,r){e.insertBefore(t,r||null)}function D(e){e.parentNode&&e.parentNode.removeChild(e)}function Sa(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function d(e){return document.createElement(e)}function ft(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function E(){return w(" ")}function wa(){return w("")}function M(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function l(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function xa(e){return Array.from(e.childNodes)}function I(e,t){t=""+t,e.data!==t&&(e.data=t)}function z(e,t){e.value=t==null?"":t}function $n(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function ja(e){const t=e.querySelector(":checked");return t&&t.__value}function Aa(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let mn;function Ut(e){mn=e}const dt=[],Kr=[];let mt=[];const Wn=[],Ba=Promise.resolve();let en=!1;function Ca(){en||(en=!0,Ba.then(xe))}function wr(e){mt.push(e)}const Vr=new Set;let ht=0;function xe(){if(ht!==0)return;const e=mn;do{try{for(;ht<dt.length;){const t=dt[ht];ht++,Ut(t),Ia(t.$$)}}catch(t){throw dt.length=0,ht=0,t}for(Ut(null),dt.length=0,ht=0;Kr.length;)Kr.pop()();for(let t=0;t<mt.length;t+=1){const r=mt[t];Vr.has(r)||(Vr.add(r),r())}mt.length=0}while(dt.length);for(;Wn.length;)Wn.pop()();en=!1,Vr.clear(),Ut(e)}function Ia(e){if(e.fragment!==null){e.update(),He(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(wr)}}function Na(e){const t=[],r=[];mt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),mt=t}const Ta=new Set;function Ha(e,t){e&&e.i&&(Ta.delete(e),e.i(t))}function Xn(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Oa(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),wr(()=>{const a=e.$$.on_mount.map(Ii).filter(Ar);e.$$.on_destroy?e.$$.on_destroy.push(...a):He(a),e.$$.on_mount=[]}),i.forEach(wr)}function Ma(e,t){const r=e.$$;r.fragment!==null&&(Na(r.after_update),He(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Da(e,t){e.$$.dirty[0]===-1&&(dt.push(e),Ca(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function La(e,t,r,n,i,a,o=null,u=[-1]){const c=mn;Ut(e);const f=e.$$={fragment:null,ctx:[],props:a,update:ce,not_equal:i,bound:Vn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Vn(),dirty:u,skip_bound:!1,root:t.target||c.$$.root};o&&o(f.root);let h=!1;if(f.ctx=r?r(e,t.props||{},(m,p,...g)=>{const j=g.length?g[0]:p;return f.ctx&&i(f.ctx[m],f.ctx[m]=j)&&(!f.skip_bound&&f.bound[m]&&f.bound[m](j),h&&Da(e,m)),p}):[],f.update(),h=!0,He(f.before_update),f.fragment=n?n(f.ctx):!1,t.target){if(t.hydrate){const m=xa(t.target);f.fragment&&f.fragment.l(m),m.forEach(D)}else f.fragment&&f.fragment.c();t.intro&&Ha(e.$$.fragment),Oa(e,t.target,t.anchor),xe()}Ut(c)}let Hi;typeof HTMLElement=="function"&&(Hi=class extends HTMLElement{constructor(t,r,n){super();ue(this,"$$ctor");ue(this,"$$s");ue(this,"$$c");ue(this,"$$cn",!1);ue(this,"$$d",{});ue(this,"$$r",!1);ue(this,"$$p_d",{});ue(this,"$$l",{});ue(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return br(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=d("slot"),a!=="default"&&l(o,"name",a)},m:function(f,h){k(f,o,h)},d:function(f){f&&D(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Aa(this);for(const a of this.$$s)a in n&&(r[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Er(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Qn(zn({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=Er(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const o of this.$$l[a]){const u=this.$$c.$on(a,o);this.$$l_u.set(o,u)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Er(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Er(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ka(e,t,r,n,i,a){let o=class extends Hi{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(o.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(c){var f;c=Er(u,c,t),this.$$d[u]=c,(f=this.$$c)==null||f.$set({[u]:c})}})}),n.forEach(u=>{Object.defineProperty(o.prototype,u,{get(){var c;return(c=this.$$c)==null?void 0:c[u]}})}),e.element=o,o}class Fa{constructor(){ue(this,"$$");ue(this,"$$set")}$destroy(){Ma(this,1),this.$destroy=ce}$on(t,r){if(!Ar(r))return ce;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ya(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ra="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ra);var tn=function(e,t){return tn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},tn(e,t)};function Oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");tn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var C=function(){return C=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},C.apply(this,arguments)};function Ua(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function rn(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function nn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){o={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function vt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function Te(e){return typeof e=="function"}function Oi(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var $r=Oi(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
- `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=r}});function an(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Br=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var u=rn(o),c=u.next();!c.done;c=u.next()){var f=c.value;f.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else o.remove(this);var h=this.initialTeardown;if(Te(h))try{h()}catch(_){a=_ instanceof $r?_.errors:[_]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var p=rn(m),g=p.next();!g.done;g=p.next()){var j=g.value;try{Zn(j)}catch(_){a=a!=null?a:[],_ instanceof $r?a=vt(vt([],nn(a)),nn(_.errors)):a.push(_)}}}catch(_){n={error:_}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(a)throw new $r(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Zn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&an(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&an(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Mi=Br.EMPTY;function Di(e){return e instanceof Br||e&&"closed"in e&&Te(e.remove)&&Te(e.add)&&Te(e.unsubscribe)}function Zn(e){Te(e)?e():e.unsubscribe()}var Li={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ki={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,vt([e,t],nn(r)))},clearTimeout:function(e){var t=ki.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ga(e){ki.setTimeout(function(){throw e})}function Jn(){}function _r(e){e()}var Fi=function(e){Oe(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Di(r)&&r.add(n)):n.destination=$a,n}return t.create=function(r,n,i){return new on(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Br),za=Function.prototype.bind;function Wr(e,t){return za.call(e,t)}var Qa=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){yr(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){yr(n)}else yr(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){yr(r)}},e}(),on=function(e){Oe(t,e);function t(r,n,i){var a=e.call(this)||this,o;if(Te(r)||!r)o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var u;a&&Li.useDeprecatedNextContext?(u=Object.create(r),u.unsubscribe=function(){return a.unsubscribe()},o={next:r.next&&Wr(r.next,u),error:r.error&&Wr(r.error,u),complete:r.complete&&Wr(r.complete,u)}):o=r}return a.destination=new Qa(o),a}return t}(Fi);function yr(e){Ga(e)}function Va(e){throw e}var $a={closed:!0,next:Jn,error:Va,complete:Jn},Wa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Xa(e){return e}function Za(e){return e.length===0?Xa:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var qn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,a=qa(t)?t:new on(t,r,n);return _r(function(){var o=i,u=o.operator,c=o.source;a.add(u?u.call(a,c):c?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Yn(r),new r(function(i,a){var o=new on({next:function(u){try{t(u)}catch(c){a(c),o.unsubscribe()}},error:a,complete:i});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Wa]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Za(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Yn(t),new t(function(n,i){var a;r.subscribe(function(o){return a=o},function(o){return i(o)},function(){return n(a)})})},e.create=function(t){return new e(t)},e}();function Yn(e){var t;return(t=e!=null?e:Li.Promise)!==null&&t!==void 0?t:Promise}function Ja(e){return e&&Te(e.next)&&Te(e.error)&&Te(e.complete)}function qa(e){return e&&e instanceof Fi||Ja(e)&&Di(e)}var Ya=Oi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ri=function(e){Oe(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Kn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ya},t.prototype.next=function(r){var n=this;_r(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=rn(n.currentObservers),u=o.next();!u.done;u=o.next()){var c=u.value;c.next(r)}}catch(f){i={error:f}}finally{try{u&&!u.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;_r(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;_r(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,o=i.isStopped,u=i.observers;return a||o?Mi:(this.currentObservers=null,u.push(r),new Br(function(){n.currentObservers=null,an(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,o=n.isStopped;i?r.error(a):o&&r.complete()},t.prototype.asObservable=function(){var r=new qn;return r.source=this,r},t.create=function(r,n){return new Kn(r,n)},t}(qn),Kn=function(e){Oe(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Mi},t}(Ri),Ui={now:function(){return(Ui.delegate||Date).now()},delegate:void 0},Ka=function(e){Oe(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ui);var a=e.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return t.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,o=n._infiniteTimeWindow,u=n._timestampProvider,c=n._windowTime;i||(a.push(r),!o&&a.push(u.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,o=i._buffer,u=o.slice(),c=0;c<u.length&&!r.closed;c+=a?1:2)r.next(u[c]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,o=r._infiniteTimeWindow,u=(o?1:2)*n;if(n<1/0&&u<a.length&&a.splice(0,a.length-u),!o){for(var c=i.now(),f=0,h=1;h<a.length&&a[h]<=c;h+=2)f=h;f&&a.splice(0,f+1)}},t}(Ri);const ei=[],ti={},eo=(e,t=0)=>{if(ei.indexOf(e)==-1){const r=new Ka(t);ti[e]=r,ei.push(e)}return ti[e]},pt=[];function to(e,t){return{subscribe:Cr(e,t).subscribe}}function Cr(e,t=ce){let r;const n=new Set;function i(u){if(Ni(e,u)&&(e=u,r)){const c=!pt.length;for(const f of n)f[1](),pt.push(f,e);if(c){for(let f=0;f<pt.length;f+=2)pt[f][0](pt[f+1]);pt.length=0}}}function a(u){i(u(e))}function o(u,c=ce){const f=[u,c];return n.add(f),n.size===1&&(r=t(i,a)||ce),u(e),()=>{n.delete(f),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:o}}function _t(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return to(r,(o,u)=>{let c=!1;const f=[];let h=0,m=ce;const p=()=>{if(h)return;m();const j=t(n?f[0]:f,o,u);a?o(j):m=Ar(j)?j:ce},g=i.map((j,_)=>Ti(j,O=>{f[_]=O,h&=~(1<<_),c&&p()},()=>{h|=1<<_}));return c=!0,p(),function(){He(g),m(),c=!1}})}function ro(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var no=function(t){return io(t)&&!ao(t)};function io(e){return!!e&&typeof e=="object"}function ao(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||lo(e)}var oo=typeof Symbol=="function"&&Symbol.for,so=oo?Symbol.for("react.element"):60103;function lo(e){return e.$$typeof===so}function uo(e){return Array.isArray(e)?[]:{}}function Gt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?bt(uo(e),e,t):e}function co(e,t,r){return e.concat(t).map(function(n){return Gt(n,r)})}function fo(e,t){if(!t.customMerge)return bt;var r=t.customMerge(e);return typeof r=="function"?r:bt}function ho(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ri(e){return Object.keys(e).concat(ho(e))}function Gi(e,t){try{return t in e}catch(r){return!1}}function po(e,t){return Gi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function mo(e,t,r){var n={};return r.isMergeableObject(e)&&ri(e).forEach(function(i){n[i]=Gt(e[i],r)}),ri(t).forEach(function(i){po(e,i)||(Gi(e,i)&&r.isMergeableObject(t[i])?n[i]=fo(i,r)(e[i],t[i],r):n[i]=Gt(t[i],r))}),n}function bt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||co,r.isMergeableObject=r.isMergeableObject||no,r.cloneUnlessOtherwiseSpecified=Gt;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):mo(e,t,r):Gt(t,r)}bt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return bt(n,i,r)},{})};var vo=bt,bo=vo;const yo=ro(bo);var x;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(x||(x={}));var H;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(H||(H={}));var yt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(yt||(yt={}));function ni(e){return e.type===H.literal}function go(e){return e.type===H.argument}function zi(e){return e.type===H.number}function Qi(e){return e.type===H.date}function Vi(e){return e.type===H.time}function $i(e){return e.type===H.select}function Wi(e){return e.type===H.plural}function Eo(e){return e.type===H.pound}function Xi(e){return e.type===H.tag}function Zi(e){return!!(e&&typeof e=="object"&&e.type===yt.number)}function sn(e){return!!(e&&typeof e=="object"&&e.type===yt.dateTime)}var Ji=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_o=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Po(e){var t={};return e.replace(_o,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var So=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function wo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(So).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var a=i[n],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var u=o[0],c=o.slice(1),f=0,h=c;f<h.length;f++){var m=h[f];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:c})}return r}function xo(e){return e.replace(/^(.*?)-/,"")}var ii=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,qi=/^(@+)?(\+|#+)?[rs]?$/g,jo=/(\*)(0+)|(#+)(0+)|(0+)/g,Yi=/^(0+)$/;function ai(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(qi,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Ki(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 Ao(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Yi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function oi(e){var t={},r=Ki(e);return r||t}function Bo(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=xo(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=C(C(C({},t),{notation:"scientific"}),i.options.reduce(function(c,f){return C(C({},c),oi(f))},{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),i.options.reduce(function(c,f){return C(C({},c),oi(f))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(jo,function(c,f,h,m,p,g){if(f)t.minimumIntegerDigits=h.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Yi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ii.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ii,function(c,f,h,m,p,g){return h==="*"?t.minimumFractionDigits=f.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:p&&g?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+g.length):(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length),""});var a=i.options[0];a==="w"?t=C(C({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=C(C({},t),ai(a)));continue}if(qi.test(i.stem)){t=C(C({},t),ai(i.stem));continue}var o=Ki(i.stem);o&&(t=C(C({},t),o));var u=Ao(i.stem);u&&(t=C(C({},t),u))}return t}var gr={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"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"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Co(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var o=1+(a&1),u=a<2?1:3+(a>>1),c="a",f=Io(t);for((f=="H"||f=="k")&&(u=0);u-- >0;)r+=c;for(;o-- >0;)r=f+r}else i==="J"?r+="H":r+=i}return r}function Io(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=gr[n||""]||gr[r||""]||gr["".concat(r,"-001")]||gr["001"];return i[0]}var Xr,No=new RegExp("^".concat(Ji.source,"*")),To=new RegExp("".concat(Ji.source,"*$"));function A(e,t){return{start:e,end:t}}var Ho=!!String.prototype.startsWith&&"_a".startsWith("a",1),Oo=!!String.fromCodePoint,Mo=!!Object.fromEntries,Do=!!String.prototype.codePointAt,Lo=!!String.prototype.trimStart,ko=!!String.prototype.trimEnd,Fo=!!Number.isSafeInteger,Ro=Fo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ln=!0;try{var Uo=ta("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ln=((Xr=Uo.exec("a"))===null||Xr===void 0?void 0:Xr[0])==="a"}catch(e){ln=!1}var si=Ho?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},un=Oo?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,o;i>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},li=Mo?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],o=a[0],u=a[1];r[o]=u}return r},ea=Do?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},Go=Lo?function(t){return t.trimStart()}:function(t){return t.replace(No,"")},zo=ko?function(t){return t.trimEnd()}:function(t){return t.replace(To,"")};function ta(e,t){return new RegExp(e,t)}var cn;if(ln){var ui=ta("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");cn=function(t,r){var n;ui.lastIndex=r;var i=ui.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else cn=function(t,r){for(var n=[];;){var i=ea(t,r);if(i===void 0||ra(i)||Wo(i))break;n.push(i),r+=i>=65536?2:1}return un.apply(void 0,n)};var Qo=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),i.push({type:H.pound,location:A(u,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(x.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&fn(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:H.literal,value:"<".concat(i,"/>"),location:A(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var o=a.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!fn(this.char()))return this.error(x.INVALID_TAG,A(u,this.clonePosition()));var c=this.clonePosition(),f=this.parseTagName();return i!==f?this.error(x.UNMATCHED_CLOSING_TAG,A(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:H.tag,value:i,children:o,location:A(n,this.clonePosition())},err:null}:this.error(x.INVALID_TAG,A(u,this.clonePosition())))}else return this.error(x.UNCLOSED_TAG,A(n,this.clonePosition()))}else return this.error(x.INVALID_TAG,A(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&$o(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var u=this.tryParseLeftAngleBracket();if(u){i+=u;continue}break}var c=A(n,this.clonePosition());return{val:{type:H.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Vo(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return un.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),un(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(x.EMPTY_ARGUMENT,A(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(x.MALFORMED_ARGUMENT,A(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:H.argument,value:i,location:A(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(x.MALFORMED_ARGUMENT,A(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=cn(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),o=A(t,a);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,o=this.clonePosition(),u=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(u){case"":return this.error(x.EXPECT_ARGUMENT_TYPE,A(o,c));case"number":case"date":case"time":{this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=zo(m.val);if(p.length===0)return this.error(x.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var g=A(h,this.clonePosition());f={style:p,styleLocation:g}}var j=this.tryParseArgumentClose(i);if(j.err)return j;var _=A(i,this.clonePosition());if(f&&si(f==null?void 0:f.style,"::",0)){var O=Go(f.style.slice(2));if(u==="number"){var m=this.parseNumberSkeletonFromString(O,f.styleLocation);return m.err?m:{val:{type:H.number,value:n,location:_,style:m.val},err:null}}else{if(O.length===0)return this.error(x.EXPECT_DATE_TIME_SKELETON,_);var B=O;this.locale&&(B=Co(O,this.locale));var p={type:yt.dateTime,pattern:B,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?Po(B):{}},L=u==="date"?H.date:H.time;return{val:{type:L,value:n,location:_,style:p},err:null}}}return{val:{type:u==="number"?H.number:u==="date"?H.date:H.time,value:n,location:_,style:(a=f==null?void 0:f.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var F=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS,A(F,C({},F)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),P=0;if(u!=="select"&&v.value==="offset"){if(!this.bumpIf(":"))return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),v=this.parseIdentifierIfPossible(),P=m.val}var fe=this.tryParsePluralOrSelectOptions(t,u,r,v);if(fe.err)return fe;var j=this.tryParseArgumentClose(i);if(j.err)return j;var ie=A(i,this.clonePosition());return u==="select"?{val:{type:H.select,value:n,options:li(fe.val),location:ie},err:null}:{val:{type:H.plural,value:n,options:li(fe.val),offset:P,pluralType:u==="plural"?"cardinal":"ordinal",location:ie},err:null}}default:return this.error(x.INVALID_ARGUMENT_TYPE,A(o,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=wo(t)}catch(i){return this.error(x.INVALID_NUMBER_SKELETON,r)}return{val:{type:yt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Bo(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,u=[],c=new Set,f=i.value,h=i.location;;){if(f.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR,x.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=A(m,this.clonePosition()),f=this.message.slice(m.offset,this.offset())}else break}if(c.has(f))return this.error(r==="select"?x.DUPLICATE_SELECT_ARGUMENT_SELECTOR:x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);f==="other"&&(o=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var j=this.parseMessage(t+1,r,n);if(j.err)return j;var _=this.tryParseArgumentClose(g);if(_.err)return _;u.push([f,{value:j.val,location:A(g,this.clonePosition())}]),c.add(f),this.bumpSpace(),a=this.parseIdentifierIfPossible(),f=a.value,h=a.location}return u.length===0?this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR:x.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(x.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,o=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)a=!0,o=o*10+(u-48),this.bump();else break}var c=A(i,this.clonePosition());return a?(o*=n,Ro(o)?{val:o,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=ea(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(si(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ra(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function fn(e){return e>=97&&e<=122||e>=65&&e<=90}function Vo(e){return fn(e)||e===47}function $o(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ra(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Wo(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function hn(e){e.forEach(function(t){if(delete t.location,$i(t)||Wi(t))for(var r in t.options)delete t.options[r].location,hn(t.options[r].value);else zi(t)&&Zi(t.style)||(Qi(t)||Vi(t))&&sn(t.style)?delete t.style.location:Xi(t)&&hn(t.children)})}function Xo(e,t){t===void 0&&(t={}),t=C({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Qo(e,t).parse();if(r.err){var n=SyntaxError(x[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||hn(r.val),r.val}function Zr(e,t){var r=t&&t.cache?t.cache:es,n=t&&t.serializer?t.serializer:Ko,i=t&&t.strategy?t.strategy:Jo;return i(e,{cache:r,serializer:n})}function Zo(e){return e==null||typeof e=="number"||typeof e=="boolean"}function na(e,t,r,n){var i=Zo(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function ia(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,n),t.set(i,a)),a}function vn(e,t,r,n,i){return r.bind(t,e,n,i)}function Jo(e,t){var r=e.length===1?na:ia;return vn(e,this,r,t.cache.create(),t.serializer)}function qo(e,t){return vn(e,this,ia,t.cache.create(),t.serializer)}function Yo(e,t){return vn(e,this,na,t.cache.create(),t.serializer)}var Ko=function(){return JSON.stringify(arguments)};function bn(){this.cache=Object.create(null)}bn.prototype.get=function(e){return this.cache[e]};bn.prototype.set=function(e,t){this.cache[e]=t};var es={create:function(){return new bn}},Jr={variadic:qo,monadic:Yo},gt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(gt||(gt={}));var Ir=function(e){Oe(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ci=function(e){Oe(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),gt.INVALID_VALUE,a)||this}return t}(Ir),ts=function(e){Oe(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),gt.INVALID_VALUE,i)||this}return t}(Ir),rs=function(e){Oe(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),gt.MISSING_VALUE,n)||this}return t}(Ir),W;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(W||(W={}));function ns(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==W.literal||r.type!==W.literal?t.push(r):n.value+=r.value,t},[])}function is(e){return typeof e=="function"}function Pr(e,t,r,n,i,a,o){if(e.length===1&&ni(e[0]))return[{type:W.literal,value:e[0].value}];for(var u=[],c=0,f=e;c<f.length;c++){var h=f[c];if(ni(h)){u.push({type:W.literal,value:h.value});continue}if(Eo(h)){typeof a=="number"&&u.push({type:W.literal,value:r.getNumberFormat(t).format(a)});continue}var m=h.value;if(!(i&&m in i))throw new rs(m,o);var p=i[m];if(go(h)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),u.push({type:typeof p=="string"?W.literal:W.object,value:p});continue}if(Qi(h)){var g=typeof h.style=="string"?n.date[h.style]:sn(h.style)?h.style.parsedOptions:void 0;u.push({type:W.literal,value:r.getDateTimeFormat(t,g).format(p)});continue}if(Vi(h)){var g=typeof h.style=="string"?n.time[h.style]:sn(h.style)?h.style.parsedOptions:n.time.medium;u.push({type:W.literal,value:r.getDateTimeFormat(t,g).format(p)});continue}if(zi(h)){var g=typeof h.style=="string"?n.number[h.style]:Zi(h.style)?h.style.parsedOptions:void 0;g&&g.scale&&(p=p*(g.scale||1)),u.push({type:W.literal,value:r.getNumberFormat(t,g).format(p)});continue}if(Xi(h)){var j=h.children,_=h.value,O=i[_];if(!is(O))throw new ts(_,"function",o);var B=Pr(j,t,r,n,i,a),L=O(B.map(function(P){return P.value}));Array.isArray(L)||(L=[L]),u.push.apply(u,L.map(function(P){return{type:typeof P=="string"?W.literal:W.object,value:P}}))}if($i(h)){var F=h.options[p]||h.options.other;if(!F)throw new ci(h.value,p,Object.keys(h.options),o);u.push.apply(u,Pr(F.value,t,r,n,i));continue}if(Wi(h)){var F=h.options["=".concat(p)];if(!F){if(!Intl.PluralRules)throw new Ir(`Intl.PluralRules is not available in this environment.
4
- Try polyfilling it using "@formatjs/intl-pluralrules"
5
- `,gt.MISSING_INTL_API,o);var v=r.getPluralRules(t,{type:h.pluralType}).select(p-(h.offset||0));F=h.options[v]||h.options.other}if(!F)throw new ci(h.value,p,Object.keys(h.options),o);u.push.apply(u,Pr(F.value,t,r,n,i,p-(h.offset||0)));continue}}return ns(u)}function as(e,t){return t?C(C(C({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=C(C({},e[n]),t[n]||{}),r},{})):e}function os(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=as(e[n],t[n]),r},C({},e)):e}function qr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ss(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Zr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,vt([void 0],r,!1)))},{cache:qr(e.number),strategy:Jr.variadic}),getDateTimeFormat:Zr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,vt([void 0],r,!1)))},{cache:qr(e.dateTime),strategy:Jr.variadic}),getPluralRules:Zr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,vt([void 0],r,!1)))},{cache:qr(e.pluralRules),strategy:Jr.variadic})}}var ls=function(){function e(t,r,n,i){var a=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var f=a.formatToParts(c);if(f.length===1)return f[0].value;var h=f.reduce(function(m,p){return!m.length||p.type!==W.literal||typeof m[m.length-1]!="string"?m.push(p.value):m[m.length-1]+=p.value,m},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(c){return Pr(a.ast,a.locales,a.formatters,a.formats,c,void 0,a.message)},this.resolvedOptions=function(){var c;return{locale:((c=a.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var u=Ua(o,["formatters"]);this.ast=e.__parse(t,C(C({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=os(e.formats,n),this.formatters=i&&i.formatters||ss(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Xo,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function us(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const Ue={},cs=(e,t,r)=>r&&(t in Ue||(Ue[t]={}),e in Ue[t]||(Ue[t][e]=r),r),aa=(e,t)=>{if(t==null)return;if(t in Ue&&e in Ue[t])return Ue[t][e];const r=Nr(t);for(let n=0;n<r.length;n++){const i=r[n],a=hs(i,e);if(a)return cs(e,t,a)}};let yn;const Qt=Cr({});function fs(e){return yn[e]||null}function oa(e){return e in yn}function hs(e,t){if(!oa(e))return null;const r=fs(e);return us(r,t)}function ps(e){if(e==null)return;const t=Nr(e);for(let r=0;r<t.length;r++){const n=t[r];if(oa(n))return n}}function sa(e,...t){delete Ue[e],Qt.update(r=>(r[e]=yo.all([r[e]||{},...t]),r))}_t([Qt],([e])=>Object.keys(e));Qt.subscribe(e=>yn=e);const Sr={};function ds(e,t){Sr[e].delete(t),Sr[e].size===0&&delete Sr[e]}function la(e){return Sr[e]}function ms(e){return Nr(e).map(t=>{const r=la(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function pn(e){return e==null?!1:Nr(e).some(t=>{var r;return(r=la(t))==null?void 0:r.size})}function vs(e,t){return Promise.all(t.map(n=>(ds(e,n),n().then(i=>i.default||i)))).then(n=>sa(e,...n))}const Rt={};function ua(e){if(!pn(e))return e in Rt?Rt[e]:Promise.resolve();const t=ms(e);return Rt[e]=Promise.all(t.map(([r,n])=>vs(r,n))).then(()=>{if(pn(e))return ua(e);delete Rt[e]}),Rt[e]}const bs={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"}}},ys={fallbackLocale:null,loadingDelay:200,formats:bs,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},gs=ys;function Et(){return gs}const Yr=Cr(!1);var Es=Object.defineProperty,_s=Object.defineProperties,Ps=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,Ss=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable,hi=(e,t,r)=>t in e?Es(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xs=(e,t)=>{for(var r in t||(t={}))Ss.call(t,r)&&hi(e,r,t[r]);if(fi)for(var r of fi(t))ws.call(t,r)&&hi(e,r,t[r]);return e},js=(e,t)=>_s(e,Ps(t));let dn;const xr=Cr(null);function pi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Nr(e,t=Et().fallbackLocale){const r=pi(e);return t?[...new Set([...r,...pi(t)])]:r}function Ye(){return dn!=null?dn:void 0}xr.subscribe(e=>{dn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const As=e=>{if(e&&ps(e)&&pn(e)){const{loadingDelay:t}=Et();let r;return typeof window!="undefined"&&Ye()!=null&&t?r=window.setTimeout(()=>Yr.set(!0),t):Yr.set(!0),ua(e).then(()=>{xr.set(e)}).finally(()=>{clearTimeout(r),Yr.set(!1)})}return xr.set(e)},Pt=js(xs({},xr),{set:As}),Tr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Bs=Object.defineProperty,jr=Object.getOwnPropertySymbols,ca=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable,di=(e,t,r)=>t in e?Bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gn=(e,t)=>{for(var r in t||(t={}))ca.call(t,r)&&di(e,r,t[r]);if(jr)for(var r of jr(t))fa.call(t,r)&&di(e,r,t[r]);return e},St=(e,t)=>{var r={};for(var n in e)ca.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&jr)for(var n of jr(e))t.indexOf(n)<0&&fa.call(e,n)&&(r[n]=e[n]);return r};const zt=(e,t)=>{const{formats:r}=Et();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Cs=Tr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=zt("number",n)),new Intl.NumberFormat(r,i)}),Is=Tr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=zt("date",n):Object.keys(i).length===0&&(i=zt("date","short")),new Intl.DateTimeFormat(r,i)}),Ns=Tr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=zt("time",n):Object.keys(i).length===0&&(i=zt("time","short")),new Intl.DateTimeFormat(r,i)}),Ts=(e={})=>{var t=e,{locale:r=Ye()}=t,n=St(t,["locale"]);return Cs(gn({locale:r},n))},Hs=(e={})=>{var t=e,{locale:r=Ye()}=t,n=St(t,["locale"]);return Is(gn({locale:r},n))},Os=(e={})=>{var t=e,{locale:r=Ye()}=t,n=St(t,["locale"]);return Ns(gn({locale:r},n))},Ms=Tr((e,t=Ye())=>new ls(e,t,Et().formats,{ignoreTag:Et().ignoreTag})),Ds=(e,t={})=>{var r,n,i,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:u,locale:c=Ye(),default:f}=o;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=aa(e,c);if(!h)h=(a=(i=(n=(r=Et()).handleMissingMessage)==null?void 0:n.call(r,{locale:c,id:e,defaultValue:f}))!=null?i:f)!=null?a:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!u)return h;let m=h;try{m=Ms(h,c).format(u)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return m},Ls=(e,t)=>Os(t).format(e),ks=(e,t)=>Hs(t).format(e),Fs=(e,t)=>Ts(t).format(e),Rs=(e,t=Ye())=>aa(e,t),Us=_t([Pt,Qt],()=>Ds);_t([Pt],()=>Ls);_t([Pt],()=>ks);_t([Pt],()=>Fs);_t([Pt,Qt],()=>Rs);window.emWidgets={topic:eo};const Gs=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function mi(e,t){sa(e,t)}function zs(e){Pt.set(e)}const vi={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userSMSNotification:"Enable SMS notifications",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information"},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userSMSNotification:"啟用短信通知",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userSMSNotification:"Activer les notifications par sms",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!",userProfileUpdateError:"Une erreur s'est produite lors de la tentative de mise à jour des informations du profil"},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului"},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",userProfileUpdateError:"Profil bilgilerini güncellemeye çalışırken bir hata oluştu"},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones SMS",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userSMSNotification:"Ativar notificações por SMS",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",userSMSNotification:"Omogućite SMS obavijesti",userEmailNotification:"Omogući e-mail",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila"},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",userSMSNotification:"Habilitar notificações por SMS",userEmailNotification:"Ativar e-mail",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones de SMS",userEmailNotification:"Habilitar correo electrónico",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"}};function Qs(e){Ea(e,"svelte-j3atn7",`button.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{font-family:var(--emw--button-typography)}input.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7,select.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7,option.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{font-family:inherit}.MyAccountCategoryTitle.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{display:none}.PlayerInfoWrapper.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));background:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));padding:50px;height:100%;border-radius:20px}.PlayerNotificationsHeader.svelte-j3atn7 h3.svelte-j3atn7.svelte-j3atn7,.PlayerLocationHeader.svelte-j3atn7 h3.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{color:var(--emw-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{display:flex;flex-direction:column}.PlayerInfoBox.svelte-j3atn7 label.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox.svelte-j3atn7 input.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw-color-white, #FFFFFF);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px}.PlayerInfoBox.svelte-j3atn7 input.svelte-j3atn7.svelte-j3atn7:focus,.PlayerInfoBox.svelte-j3atn7 input .svelte-j3atn7.svelte-j3atn7:focus-within,.PlayerInfoBox.svelte-j3atn7 input .svelte-j3atn7.svelte-j3atn7:focus-visible,.PlayerInfoBox.svelte-j3atn7 input .svelte-j3atn7.svelte-j3atn7:visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox.InvalidField.svelte-j3atn7 input.svelte-j3atn7.svelte-j3atn7{border:1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));background:var(--emw-color-pale, #FBECF4);color:var(--emw-color-error, var(--emw-color-red, #FD2839))}.PlayerInfoBox.svelte-j3atn7 .InvalidInput.svelte-j3atn7.svelte-j3atn7{color:var(--emw-color-error, var(--emw-color-red, #FD2839));font-size:10px;line-height:10px}.PlayerInfoBox.svelte-j3atn7 .FieldDisabled.svelte-j3atn7.svelte-j3atn7{opacity:0.5}.PlayerInfoBox.svelte-j3atn7 .PlayerPhoneNumber.svelte-j3atn7.svelte-j3atn7{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox.svelte-j3atn7 select.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px;outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox.svelte-j3atn7 select.svelte-j3atn7.svelte-j3atn7:focus,.PlayerInfoBox.svelte-j3atn7 select .svelte-j3atn7.svelte-j3atn7:focus-within,.PlayerInfoBox.svelte-j3atn7 select .svelte-j3atn7.svelte-j3atn7:focus-visible,.PlayerInfoBox.svelte-j3atn7 select .svelte-j3atn7.svelte-j3atn7:visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox.svelte-j3atn7 input.svelte-j3atn7.svelte-j3atn7::-webkit-outer-spin-button,.PlayerInfoBox.svelte-j3atn7 input.svelte-j3atn7.svelte-j3atn7::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7:first-child{margin-bottom:10px}.PlayerNotificationBox.svelte-j3atn7 label.svelte-j3atn7.svelte-j3atn7{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox.svelte-j3atn7 label.svelte-j3atn7 span.svelte-j3atn7{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox.svelte-j3atn7 label input.svelte-j3atn7.svelte-j3atn7{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox.svelte-j3atn7 label input.svelte-j3atn7.svelte-j3atn7:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerNotificationBox.svelte-j3atn7 label .Checkmark.svelte-j3atn7.svelte-j3atn7{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea.svelte-j3atn7 .PlayerDetailsSaveButton.svelte-j3atn7.svelte-j3atn7{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea.svelte-j3atn7 .PlayerDetailsSaveButton.svelte-j3atn7.svelte-j3atn7{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea.svelte-j3atn7 .PlayerDetailsSaveButton.svelte-j3atn7.svelte-j3atn7:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsButtonsArea.svelte-j3atn7 .PlayerDetailsSaveButton.PlayerButtonDisabled.svelte-j3atn7.svelte-j3atn7{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile.svelte-j3atn7 .PlayerDetailsSaveButton.svelte-j3atn7.svelte-j3atn7{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{padding-bottom:30px}.PlayerInfoWrapperMobile.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{padding:20px 15px;background:var(--emw-color-gray-50, #F9F8F8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerDetailsContent.svelte-j3atn7.svelte-j3atn7{grid-template-columns:1fr}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerNotificationsHeader h3.svelte-j3atn7.svelte-j3atn7,.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerDetailsHeader h3.svelte-j3atn7.svelte-j3atn7,.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerLocationHeader h3.svelte-j3atn7.svelte-j3atn7{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerInfoBox label.svelte-j3atn7.svelte-j3atn7{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(-emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerInfoBox input.svelte-j3atn7.svelte-j3atn7{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerInfoBox select.svelte-j3atn7.svelte-j3atn7{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerLocationContent.svelte-j3atn7.svelte-j3atn7{grid-template-columns:1fr}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerNotificationsCheckboxArea .PlayerNotificationBox label.svelte-j3atn7.svelte-j3atn7{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerDetailsButtonsArea.svelte-j3atn7.svelte-j3atn7{grid-column-gap:10px}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerDetailsSaveButton.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperMobile.svelte-j3atn7 .PlayerDetailsSaveButton.PlayerButtonDisabled.svelte-j3atn7.svelte-j3atn7{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerDetailsContent.svelte-j3atn7.svelte-j3atn7{grid-row-gap:20px}.PlayerInfoWrapperTablet.svelte-j3atn7 .MenuReturnButton.svelte-j3atn7.svelte-j3atn7{margin-bottom:30px}.PlayerInfoWrapperTablet.svelte-j3atn7 .MenuReturnButton span.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerDetailsHeader h3.svelte-j3atn7.svelte-j3atn7,.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerLocationHeader h3.svelte-j3atn7.svelte-j3atn7,.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerNotificationsHeader h3.svelte-j3atn7.svelte-j3atn7{font-size:24px}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerInfoBox label.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerInfoBox input.svelte-j3atn7.svelte-j3atn7{height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerInfoBox select.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerInfoBox .InvalidInput.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerInfoBox:last-child .InvalidInput.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerDetailsButtonsArea.svelte-j3atn7.svelte-j3atn7{font-family:var(--emw--button-typography);grid-column-gap:40px}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--font-size-large, 20px);height:56px}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.svelte-j3atn7.svelte-j3atn7{color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled.svelte-j3atn7.svelte-j3atn7{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerNotificationBox label span.svelte-j3atn7.svelte-j3atn7{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerNotificationBox label input.svelte-j3atn7.svelte-j3atn7{height:26px;width:26px}.PlayerInfoWrapperTablet.svelte-j3atn7 .PlayerNotificationBox label .Checkmark.svelte-j3atn7.svelte-j3atn7{left:50px;top:9px}.PlayerDetailsConfirmSave.svelte-j3atn7.svelte-j3atn7.svelte-j3atn7{background:var(--emw-color-valid, var(--emw-color-green, #48952a));color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave.svelte-j3atn7 .PlayerDetailsConfirmSaveText.svelte-j3atn7.svelte-j3atn7{padding:0;margin:0}`)}function bi(e,t,r){const n=e.slice();return n[72]=t[r],n}function Vs(e){let t,r,n,i=e[15]("titleProfileInfo")+"",a,o,u,c,f=e[15]("personalDetails")+"",h,m,p,g,j,_=e[15]("userName")+"",O,B,L,F,v,P,fe,ie=e[15]("userPhone")+"",Me,De,he,Q,Ge,U,Le,je,Ke,ae,Ae,pe=(e[0]=="true"?e[15]("profileSecurityQuestion2"):e[15]("profileSecurityQuestion"))+"",wt,et,ze,Vt,oe,$t,Qe,xt,R,Ee,tt=(e[0]=="true"?e[15]("profileSecurityAnswer2"):e[15]("profileSecurityAnswer"))+"",jt,rt,Ve,Wt,se,Xt,nt,Zt,ke,$e,it=e[15]("userEmail")+"",At,Jt,de,We,qt,Fe,Xe,at=e[15]("dateOfBirth")+"",Bt,Yt,me,Ze,Kt,Re,Je,b=e[15]("firstName")+"",S,T,N,X,Be,le,Ct,er=e[15]("lastName")+"",Hr,En,Ce,It,_n,ot,Nt,tr=e[15]("userTitle")+"",Or,Pn,Ie,Tt,Sn,st,Ht,rr=e[15]("currency")+"",Mr,wn,Ne,Ot,xn,jn,nr,ir,ar=e[15]("locationDetails")+"",Dr,An,_e,lt,Mt,or=e[15]("userCountry")+"",Lr,Bn,ve,Dt,sr,Cn,Pe,Lt,lr=e[15]("userCity")+"",kr,In,be,Nn,ur,Tn,Se,kt,cr=e[15]("userAddress")+"",Fr,Hn,ye,On,fr,Mn,we,Ft,hr=e[15]("userPostalCode")+"",Rr,Dn,ge,Ln,pr,kn,Ur,dr,ut,mr=e[15]("userProfileSaveChanges")+"",Gr,vr,Fn,zr,Rn,qe=e[16]&&Ws(e),ct=Xn(e[3]),V=[];for(let $=0;$<ct.length;$+=1)V[$]=yi(bi(e,ct,$));let Z=!e[13]&&gi(e),J=!e[11]&&Ei(e),q=!e[12]&&_i(e),Y=e[5].iban&&Pi(e),K=!e[8]&&Si(e),ee=!e[10]&&wi(e),te=!e[9]&&xi(e),re=(e[4].acceptSMSOffers!==void 0||e[4].acceptNewsEmail!==void 0)&&ji(e),ne=e[14]&&Ci(e);return{c(){t=d("form"),qe&&qe.c(),r=E(),n=d("h2"),a=w(i),o=E(),u=d("div"),c=d("h3"),h=w(f),m=E(),p=d("section"),g=d("div"),j=d("p"),O=w(_),B=E(),L=d("input"),v=E(),P=d("div"),fe=d("p"),Me=w(ie),De=E(),he=d("div"),Q=d("select");for(let $=0;$<V.length;$+=1)V[$].c();Ge=E(),U=d("input"),Le=E(),Z&&Z.c(),Ke=E(),ae=d("div"),Ae=d("label"),wt=w(pe),et=w(":"),ze=d("span"),ze.textContent="*",Vt=E(),oe=d("input"),$t=E(),J&&J.c(),xt=E(),R=d("div"),Ee=d("label"),jt=w(tt),rt=w(":"),Ve=d("span"),Ve.textContent="*",Wt=E(),se=d("input"),Xt=E(),q&&q.c(),Zt=E(),ke=d("div"),$e=d("label"),At=w(it),Jt=E(),de=d("input"),qt=E(),Fe=d("div"),Xe=d("label"),Bt=w(at),Yt=E(),me=d("input"),Kt=E(),Re=d("div"),Je=d("label"),S=w(b),T=E(),N=d("input"),Be=E(),le=d("div"),Ct=d("label"),Hr=w(er),En=E(),Ce=d("input"),_n=E(),ot=d("div"),Nt=d("label"),Or=w(tr),Pn=E(),Ie=d("input"),Sn=E(),st=d("div"),Ht=d("label"),Mr=w(rr),wn=E(),Ne=d("input"),xn=E(),Y&&Y.c(),jn=E(),nr=d("div"),ir=d("h3"),Dr=w(ar),An=E(),_e=d("section"),lt=d("div"),Mt=d("label"),Lr=w(or),Bn=E(),ve=d("input"),Cn=E(),Pe=d("div"),Lt=d("label"),kr=w(lr),In=E(),be=d("input"),Nn=E(),K&&K.c(),Tn=E(),Se=d("div"),kt=d("label"),Fr=w(cr),Hn=E(),ye=d("input"),On=E(),ee&&ee.c(),Mn=E(),we=d("div"),Ft=d("label"),Rr=w(hr),Dn=E(),ge=d("input"),Ln=E(),te&&te.c(),kn=E(),re&&re.c(),Ur=E(),dr=d("section"),ut=d("button"),Gr=w(mr),Fn=E(),ne&&ne.c(),l(n,"class","MyAccountCategoryTitle "+(e[16]?"MyAccountCategoryTitleNone":"")+" svelte-j3atn7"),l(c,"class","svelte-j3atn7"),l(u,"class","PlayerNotificationsHeader svelte-j3atn7"),l(j,"class","svelte-j3atn7"),l(L,"type","text"),l(L,"class","FieldDisabled svelte-j3atn7"),L.value=F=e[5].username,L.readOnly=!0,l(g,"class","PlayerInfoBox svelte-j3atn7"),l(fe,"class","svelte-j3atn7"),l(Q,"class","svelte-j3atn7"),e[4].mobile.prefix===void 0&&wr(()=>e[33].call(Q)),l(U,"type","text"),l(U,"placeholder",e[17].mobile.number),l(U,"class","svelte-j3atn7"),l(he,"class","PlayerPhoneNumber svelte-j3atn7"),l(P,"class",je="PlayerInfoBox "+(e[13]?"":"InvalidField")+" svelte-j3atn7"),l(ze,"class","FormRequired svelte-j3atn7"),l(Ae,"for","SecurityQuestion"),l(Ae,"class","svelte-j3atn7"),l(oe,"id","SecurityQuestion"),l(oe,"type","text"),l(oe,"placeholder",e[17].securityQuestion),l(oe,"class","svelte-j3atn7"),l(ae,"class",Qe="PlayerInfoBox "+(e[11]?"":"InvalidField")+" svelte-j3atn7"),l(Ve,"class","FormRequired svelte-j3atn7"),l(Ee,"for","SecurityAnswer"),l(Ee,"class","svelte-j3atn7"),l(se,"id","SecurityAnswer"),l(se,"type","text"),l(se,"placeholder",e[17].securityAnswer),l(se,"class","svelte-j3atn7"),l(R,"class",nt="PlayerInfoBox "+(e[12]?"":"InvalidField")+" svelte-j3atn7"),l($e,"for","UserEmail"),l($e,"class","svelte-j3atn7"),l(de,"id","UserEmail"),l(de,"type","email"),l(de,"class","FieldDisabled svelte-j3atn7"),de.value=We=e[5].email,de.readOnly=!0,l(ke,"class","PlayerInfoBox svelte-j3atn7"),l(Xe,"for","DateOfBirth"),l(Xe,"class","svelte-j3atn7"),l(me,"id","DateOfBirth"),l(me,"type","text"),l(me,"class","FieldDisabled svelte-j3atn7"),me.value=Ze=e[5].birth,me.readOnly=!0,l(Fe,"class","PlayerInfoBox svelte-j3atn7"),l(Je,"for","FirstName"),l(Je,"class","svelte-j3atn7"),l(N,"id","FirstName"),l(N,"type","text"),l(N,"class","FieldDisabled svelte-j3atn7"),N.value=X=e[5].firstname,N.readOnly=!0,l(Re,"class","PlayerInfoBox svelte-j3atn7"),l(Ct,"for","LastName"),l(Ct,"class","svelte-j3atn7"),l(Ce,"id","LastName"),l(Ce,"type","text"),l(Ce,"class","FieldDisabled svelte-j3atn7"),Ce.value=It=e[5].lastname,Ce.readOnly=!0,l(le,"class","PlayerInfoBox svelte-j3atn7"),l(Nt,"for","UserTitle"),l(Nt,"class","svelte-j3atn7"),l(Ie,"id","UserTitle"),l(Ie,"type","text"),l(Ie,"class","FieldDisabled svelte-j3atn7"),Ie.value=Tt=e[5].userTitles,Ie.readOnly=!0,l(ot,"class","PlayerInfoBox svelte-j3atn7"),l(Ht,"for","Currrency"),l(Ht,"class","svelte-j3atn7"),l(Ne,"id","Currency"),l(Ne,"type","text"),l(Ne,"class","FieldDisabled svelte-j3atn7"),Ne.value=Ot=e[5].currency,Ne.readOnly=!0,l(st,"class","PlayerInfoBox svelte-j3atn7"),l(p,"class","PlayerDetailsContent svelte-j3atn7"),l(ir,"class","svelte-j3atn7"),l(nr,"class","PlayerLocationHeader svelte-j3atn7"),l(Mt,"for","UserCountry"),l(Mt,"class","svelte-j3atn7"),l(ve,"id","UserCountry"),l(ve,"type","text"),l(ve,"class","PlayerCountry FieldDisabled svelte-j3atn7"),ve.value=Dt=e[5].countryName,l(ve,"placeholder",sr=e[5].countryCode),ve.readOnly=!0,l(lt,"class","PlayerInfoBox svelte-j3atn7"),l(Lt,"for","UserCity"),l(Lt,"class","svelte-j3atn7"),l(be,"id","UserCity"),l(be,"type","text"),l(be,"placeholder",e[17].city),l(be,"class","svelte-j3atn7"),l(Pe,"class",ur="PlayerInfoBox "+(e[8]?"":"InvalidField")+" svelte-j3atn7"),l(kt,"for","UserAdress"),l(kt,"class","svelte-j3atn7"),l(ye,"id","UserAdress"),l(ye,"type","text"),l(ye,"placeholder",e[17].adress),l(ye,"class","svelte-j3atn7"),l(Se,"class",fr="PlayerInfoBox "+(e[10]?"":"InvalidField")+" svelte-j3atn7"),l(Ft,"for","UserPostalCode"),l(Ft,"class","svelte-j3atn7"),l(ge,"id","UserPostalCode"),l(ge,"type","text"),l(ge,"placeholder",e[17].postalCode),l(ge,"class","svelte-j3atn7"),l(we,"class",pr="PlayerInfoBox "+(e[9]?"":"InvalidField")+" svelte-j3atn7"),l(_e,"class","PlayerLocationContent svelte-j3atn7"),l(ut,"class",vr="PlayerDetailsSaveButton "+(e[6]&&e[7]?"":"PlayerButtonDisabled")+" svelte-j3atn7"),l(dr,"class","PlayerDetailsButtonsArea "+(e[16]?"PlayerDetailsButtonsAreaMobile":"")+" svelte-j3atn7"),l(t,"class","PlayerInfoWrapper "+(e[16]?"PlayerInfoWrapperMobile":"")+" "+(e[18].matches&&e[16]?"PlayerInfoWrapperTablet":"")+" svelte-j3atn7")},m($,y){k($,t,y),qe&&qe.m(t,null),s(t,r),s(t,n),s(n,a),s(t,o),s(t,u),s(u,c),s(c,h),s(t,m),s(t,p),s(p,g),s(g,j),s(j,O),s(g,B),s(g,L),s(p,v),s(p,P),s(P,fe),s(fe,Me),s(P,De),s(P,he),s(he,Q);for(let G=0;G<V.length;G+=1)V[G]&&V[G].m(Q,null);$n(Q,e[4].mobile.prefix,!0),s(he,Ge),s(he,U),z(U,e[4].mobile.number),s(P,Le),Z&&Z.m(P,null),s(p,Ke),s(p,ae),s(ae,Ae),s(Ae,wt),s(Ae,et),s(Ae,ze),s(ae,Vt),s(ae,oe),z(oe,e[4].securityQuestion),s(ae,$t),J&&J.m(ae,null),s(p,xt),s(p,R),s(R,Ee),s(Ee,jt),s(Ee,rt),s(Ee,Ve),s(R,Wt),s(R,se),z(se,e[4].securityAnswer),s(R,Xt),q&&q.m(R,null),s(p,Zt),s(p,ke),s(ke,$e),s($e,At),s(ke,Jt),s(ke,de),s(p,qt),s(p,Fe),s(Fe,Xe),s(Xe,Bt),s(Fe,Yt),s(Fe,me),s(p,Kt),s(p,Re),s(Re,Je),s(Je,S),s(Re,T),s(Re,N),s(p,Be),s(p,le),s(le,Ct),s(Ct,Hr),s(le,En),s(le,Ce),s(p,_n),s(p,ot),s(ot,Nt),s(Nt,Or),s(ot,Pn),s(ot,Ie),s(p,Sn),s(p,st),s(st,Ht),s(Ht,Mr),s(st,wn),s(st,Ne),s(p,xn),Y&&Y.m(p,null),s(t,jn),s(t,nr),s(nr,ir),s(ir,Dr),s(t,An),s(t,_e),s(_e,lt),s(lt,Mt),s(Mt,Lr),s(lt,Bn),s(lt,ve),s(_e,Cn),s(_e,Pe),s(Pe,Lt),s(Lt,kr),s(Pe,In),s(Pe,be),z(be,e[4].city),s(Pe,Nn),K&&K.m(Pe,null),s(_e,Tn),s(_e,Se),s(Se,kt),s(kt,Fr),s(Se,Hn),s(Se,ye),z(ye,e[4].address1),s(Se,On),ee&&ee.m(Se,null),s(_e,Mn),s(_e,we),s(we,Ft),s(Ft,Rr),s(we,Dn),s(we,ge),z(ge,e[4].postalCode),s(we,Ln),te&&te.m(we,null),s(t,kn),re&&re.m(t,null),s(t,Ur),s(t,dr),s(dr,ut),s(ut,Gr),s(t,Fn),ne&&ne.m(t,null),zr||(Rn=[M(Q,"change",e[33]),M(Q,"change",e[19]),M(U,"input",e[34]),M(U,"keyup",e[35]),M(U,"input",function(){Ar(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),M(oe,"input",e[36]),M(oe,"keyup",e[37]),M(se,"input",e[38]),M(se,"keyup",e[39]),M(be,"input",e[40]),M(be,"keyup",e[41]),M(ye,"input",e[42]),M(ye,"keyup",e[43]),M(ge,"input",e[44]),M(ge,"keyup",e[45]),M(ut,"click",e[21])],zr=!0)},p($,y){if(e=$,e[16]&&qe.p(e,y),y[0]&32768&&i!==(i=e[15]("titleProfileInfo")+"")&&I(a,i),y[0]&32768&&f!==(f=e[15]("personalDetails")+"")&&I(h,f),y[0]&32768&&_!==(_=e[15]("userName")+"")&&I(O,_),y[0]&32&&F!==(F=e[5].username)&&L.value!==F&&(L.value=F),y[0]&32768&&ie!==(ie=e[15]("userPhone")+"")&&I(Me,ie),y[0]&24){ct=Xn(e[3]);let G;for(G=0;G<ct.length;G+=1){const Un=bi(e,ct,G);V[G]?V[G].p(Un,y):(V[G]=yi(Un),V[G].c(),V[G].m(Q,null))}for(;G<V.length;G+=1)V[G].d(1);V.length=ct.length}y[0]&24&&$n(Q,e[4].mobile.prefix),y[0]&24&&U.value!==e[4].mobile.number&&z(U,e[4].mobile.number),e[13]?Z&&(Z.d(1),Z=null):Z?Z.p(e,y):(Z=gi(e),Z.c(),Z.m(P,null)),y[0]&8192&&je!==(je="PlayerInfoBox "+(e[13]?"":"InvalidField")+" svelte-j3atn7")&&l(P,"class",je),y[0]&32769&&pe!==(pe=(e[0]=="true"?e[15]("profileSecurityQuestion2"):e[15]("profileSecurityQuestion"))+"")&&I(wt,pe),y[0]&24&&oe.value!==e[4].securityQuestion&&z(oe,e[4].securityQuestion),e[11]?J&&(J.d(1),J=null):J?J.p(e,y):(J=Ei(e),J.c(),J.m(ae,null)),y[0]&2048&&Qe!==(Qe="PlayerInfoBox "+(e[11]?"":"InvalidField")+" svelte-j3atn7")&&l(ae,"class",Qe),y[0]&32769&&tt!==(tt=(e[0]=="true"?e[15]("profileSecurityAnswer2"):e[15]("profileSecurityAnswer"))+"")&&I(jt,tt),y[0]&24&&se.value!==e[4].securityAnswer&&z(se,e[4].securityAnswer),e[12]?q&&(q.d(1),q=null):q?q.p(e,y):(q=_i(e),q.c(),q.m(R,null)),y[0]&4096&&nt!==(nt="PlayerInfoBox "+(e[12]?"":"InvalidField")+" svelte-j3atn7")&&l(R,"class",nt),y[0]&32768&&it!==(it=e[15]("userEmail")+"")&&I(At,it),y[0]&32&&We!==(We=e[5].email)&&de.value!==We&&(de.value=We),y[0]&32768&&at!==(at=e[15]("dateOfBirth")+"")&&I(Bt,at),y[0]&32&&Ze!==(Ze=e[5].birth)&&me.value!==Ze&&(me.value=Ze),y[0]&32768&&b!==(b=e[15]("firstName")+"")&&I(S,b),y[0]&32&&X!==(X=e[5].firstname)&&N.value!==X&&(N.value=X),y[0]&32768&&er!==(er=e[15]("lastName")+"")&&I(Hr,er),y[0]&32&&It!==(It=e[5].lastname)&&Ce.value!==It&&(Ce.value=It),y[0]&32768&&tr!==(tr=e[15]("userTitle")+"")&&I(Or,tr),y[0]&32&&Tt!==(Tt=e[5].userTitles)&&Ie.value!==Tt&&(Ie.value=Tt),y[0]&32768&&rr!==(rr=e[15]("currency")+"")&&I(Mr,rr),y[0]&32&&Ot!==(Ot=e[5].currency)&&Ne.value!==Ot&&(Ne.value=Ot),e[5].iban?Y?Y.p(e,y):(Y=Pi(e),Y.c(),Y.m(p,null)):Y&&(Y.d(1),Y=null),y[0]&32768&&ar!==(ar=e[15]("locationDetails")+"")&&I(Dr,ar),y[0]&32768&&or!==(or=e[15]("userCountry")+"")&&I(Lr,or),y[0]&32&&Dt!==(Dt=e[5].countryName)&&ve.value!==Dt&&(ve.value=Dt),y[0]&32&&sr!==(sr=e[5].countryCode)&&l(ve,"placeholder",sr),y[0]&32768&&lr!==(lr=e[15]("userCity")+"")&&I(kr,lr),y[0]&24&&be.value!==e[4].city&&z(be,e[4].city),e[8]?K&&(K.d(1),K=null):K?K.p(e,y):(K=Si(e),K.c(),K.m(Pe,null)),y[0]&256&&ur!==(ur="PlayerInfoBox "+(e[8]?"":"InvalidField")+" svelte-j3atn7")&&l(Pe,"class",ur),y[0]&32768&&cr!==(cr=e[15]("userAddress")+"")&&I(Fr,cr),y[0]&24&&ye.value!==e[4].address1&&z(ye,e[4].address1),e[10]?ee&&(ee.d(1),ee=null):ee?ee.p(e,y):(ee=wi(e),ee.c(),ee.m(Se,null)),y[0]&1024&&fr!==(fr="PlayerInfoBox "+(e[10]?"":"InvalidField")+" svelte-j3atn7")&&l(Se,"class",fr),y[0]&32768&&hr!==(hr=e[15]("userPostalCode")+"")&&I(Rr,hr),y[0]&24&&ge.value!==e[4].postalCode&&z(ge,e[4].postalCode),e[9]?te&&(te.d(1),te=null):te?te.p(e,y):(te=xi(e),te.c(),te.m(we,null)),y[0]&512&&pr!==(pr="PlayerInfoBox "+(e[9]?"":"InvalidField")+" svelte-j3atn7")&&l(we,"class",pr),e[4].acceptSMSOffers!==void 0||e[4].acceptNewsEmail!==void 0?re?re.p(e,y):(re=ji(e),re.c(),re.m(t,Ur)):re&&(re.d(1),re=null),y[0]&32768&&mr!==(mr=e[15]("userProfileSaveChanges")+"")&&I(Gr,mr),y[0]&192&&vr!==(vr="PlayerDetailsSaveButton "+(e[6]&&e[7]?"":"PlayerButtonDisabled")+" svelte-j3atn7")&&l(ut,"class",vr),e[14]?ne?ne.p(e,y):(ne=Ci(e),ne.c(),ne.m(t,null)):ne&&(ne.d(1),ne=null)},d($){$&&D(t),qe&&qe.d(),Sa(V,$),Z&&Z.d(),J&&J.d(),q&&q.d(),Y&&Y.d(),K&&K.d(),ee&&ee.d(),te&&te.d(),re&&re.d(),ne&&ne.d(),zr=!1,He(Rn)}}}function $s(e){let t;return{c(){t=d("div"),l(t,"class","ModalLoader")},m(r,n){k(r,t,n)},p:ce,d(r){r&&D(t)}}}function Ws(e){let t,r,n,i,a,o,u,c,f,h,m=e[15]("titleProfileInfo")+"",p,g,j;return{c(){t=d("div"),r=ft("svg"),n=ft("defs"),i=ft("style"),a=w(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),o=ft("g"),u=ft("g"),c=ft("path"),f=E(),h=d("h2"),p=w(m),l(c,"class","aaa"),l(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(c,"transform","translate(15 15) rotate(180)"),l(u,"transform","translate(20 158)"),l(o,"transform","translate(-20 -158)"),l(r,"xmlns","http://www.w3.org/2000/svg"),l(r,"width","15"),l(r,"height","15"),l(r,"viewBox","0 0 15 15"),l(h,"class","MyAccountCategoryTitleMobile svelte-j3atn7"),l(t,"class","MenuReturnButton svelte-j3atn7")},m(_,O){k(_,t,O),s(t,r),s(r,n),s(n,i),s(i,a),s(r,o),s(o,u),s(u,c),s(t,f),s(t,h),s(h,p),g||(j=[M(t,"click",e[22]),M(t,"keyup",null)],g=!0)},p(_,O){O[0]&32768&&m!==(m=_[15]("titleProfileInfo")+"")&&I(p,m)},d(_){_&&D(t),g=!1,He(j)}}}function Xs(e){let t,r=e[72].Prefix+"",n,i;return{c(){t=d("option"),n=w(r),t.__value=i=e[72].Prefix,z(t,t.__value),l(t,"class","svelte-j3atn7")},m(a,o){k(a,t,o),s(t,n)},p(a,o){o[0]&8&&r!==(r=a[72].Prefix+"")&&I(n,r),o[0]&8&&i!==(i=a[72].Prefix)&&(t.__value=i,z(t,t.__value))},d(a){a&&D(t)}}}function Zs(e){let t,r=e[72].Prefix+"",n,i;return{c(){t=d("option"),n=w(r),t.selected=!0,t.__value=i=e[72].Prefix,z(t,t.__value),l(t,"class","svelte-j3atn7")},m(a,o){k(a,t,o),s(t,n)},p(a,o){o[0]&8&&r!==(r=a[72].Prefix+"")&&I(n,r),o[0]&8&&i!==(i=a[72].Prefix)&&(t.__value=i,z(t,t.__value))},d(a){a&&D(t)}}}function yi(e){let t;function r(a,o){return a[72].Prefix===a[4].mobile.prefix?Zs:Xs}let n=r(e),i=n(e);return{c(){i.c(),t=wa()},m(a,o){i.m(a,o),k(a,t,o)},p(a,o){n===(n=r(a))&&i?i.p(a,o):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&D(t),i.d(a)}}}function gi(e){let t,r=e[15]("userPhoneError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput svelte-j3atn7")},m(i,a){k(i,t,a),s(t,n)},p(i,a){a[0]&32768&&r!==(r=i[15]("userPhoneError")+"")&&I(n,r)},d(i){i&&D(t)}}}function Ei(e){let t,r=(e[0]=="true"?e[15]("profileSecurityQuestionError2"):e[15]("profileSecurityQuestionError"))+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput svelte-j3atn7")},m(i,a){k(i,t,a),s(t,n)},p(i,a){a[0]&32769&&r!==(r=(i[0]=="true"?i[15]("profileSecurityQuestionError2"):i[15]("profileSecurityQuestionError"))+"")&&I(n,r)},d(i){i&&D(t)}}}function _i(e){let t,r=(e[0]=="true"?e[15]("profileSecurityAnswerError2"):e[15]("profileSecurityAnswerError"))+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput svelte-j3atn7")},m(i,a){k(i,t,a),s(t,n)},p(i,a){a[0]&32769&&r!==(r=(i[0]=="true"?i[15]("profileSecurityAnswerError2"):i[15]("profileSecurityAnswerError"))+"")&&I(n,r)},d(i){i&&D(t)}}}function Pi(e){let t,r,n=e[15]("iban")+"",i,a,o,u;return{c(){t=d("div"),r=d("label"),i=w(n),a=E(),o=d("input"),l(r,"for","Iban"),l(r,"class","svelte-j3atn7"),l(o,"id","Iban"),l(o,"type","text"),l(o,"class","FieldDisabled svelte-j3atn7"),o.value=u=e[5].iban,o.readOnly=!0,l(t,"class","PlayerInfoBox svelte-j3atn7")},m(c,f){k(c,t,f),s(t,r),s(r,i),s(t,a),s(t,o)},p(c,f){f[0]&32768&&n!==(n=c[15]("iban")+"")&&I(i,n),f[0]&32&&u!==(u=c[5].iban)&&o.value!==u&&(o.value=u)},d(c){c&&D(t)}}}function Si(e){let t,r=e[15]("userCityError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput svelte-j3atn7")},m(i,a){k(i,t,a),s(t,n)},p(i,a){a[0]&32768&&r!==(r=i[15]("userCityError")+"")&&I(n,r)},d(i){i&&D(t)}}}function wi(e){let t,r=e[15]("userAddressError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput svelte-j3atn7")},m(i,a){k(i,t,a),s(t,n)},p(i,a){a[0]&32768&&r!==(r=i[15]("userAddressError")+"")&&I(n,r)},d(i){i&&D(t)}}}function xi(e){let t,r=e[15]("userPostalCodeError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput svelte-j3atn7")},m(i,a){k(i,t,a),s(t,n)},p(i,a){a[0]&32768&&r!==(r=i[15]("userPostalCodeError")+"")&&I(n,r)},d(i){i&&D(t)}}}function ji(e){let t,r,n=e[15]("userNotifications")+"",i,a,o,u,c=e[4].acceptSMSOffers!==void 0&&Ai(e),f=e[4].acceptNewsEmail!==void 0&&Bi(e);return{c(){t=d("div"),r=d("h3"),i=w(n),a=E(),o=d("section"),c&&c.c(),u=E(),f&&f.c(),l(r,"class","svelte-j3atn7"),l(t,"class","PlayerNotificationsHeader svelte-j3atn7"),l(o,"class","PlayerNotificationsCheckboxArea svelte-j3atn7")},m(h,m){k(h,t,m),s(t,r),s(r,i),k(h,a,m),k(h,o,m),c&&c.m(o,null),s(o,u),f&&f.m(o,null)},p(h,m){m[0]&32768&&n!==(n=h[15]("userNotifications")+"")&&I(i,n),h[4].acceptSMSOffers!==void 0?c?c.p(h,m):(c=Ai(h),c.c(),c.m(o,u)):c&&(c.d(1),c=null),h[4].acceptNewsEmail!==void 0?f?f.p(h,m):(f=Bi(h),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},d(h){h&&(D(t),D(a),D(o)),c&&c.d(),f&&f.d()}}}function Ai(e){let t,r,n,i,a,o,u,c=e[15]("userSMSNotification")+"",f,h,m;return{c(){t=d("div"),r=d("label"),n=d("input"),i=E(),a=d("span"),o=E(),u=d("span"),f=w(c),l(n,"type","checkbox"),l(n,"id","SMSNotification"),l(n,"name","Enable SMS notifications"),l(n,"class","svelte-j3atn7"),l(a,"class","Checkmark svelte-j3atn7"),l(u,"class","svelte-j3atn7"),l(r,"for","SMSNotification"),l(r,"class","svelte-j3atn7"),l(t,"class","PlayerNotificationBox svelte-j3atn7")},m(p,g){k(p,t,g),s(t,r),s(r,n),n.checked=e[4].acceptSMSOffers,s(r,i),s(r,a),s(r,o),s(r,u),s(u,f),h||(m=[M(n,"change",e[46]),M(n,"change",e[47])],h=!0)},p(p,g){g[0]&24&&(n.checked=p[4].acceptSMSOffers),g[0]&32768&&c!==(c=p[15]("userSMSNotification")+"")&&I(f,c)},d(p){p&&D(t),h=!1,He(m)}}}function Bi(e){let t,r,n,i,a,o,u,c=e[15]("userEmailNotification")+"",f,h,m;return{c(){t=d("div"),r=d("label"),n=d("input"),i=E(),a=d("span"),o=E(),u=d("span"),f=w(c),l(n,"type","checkbox"),l(n,"id","EmailNotification"),l(n,"name","Enable Emails"),l(n,"class","svelte-j3atn7"),l(a,"class","Checkmark svelte-j3atn7"),l(u,"class","svelte-j3atn7"),l(r,"for","EmailNotification"),l(r,"class","svelte-j3atn7"),l(t,"class","PlayerNotificationBox svelte-j3atn7")},m(p,g){k(p,t,g),s(t,r),s(r,n),n.checked=e[4].acceptNewsEmail,s(r,i),s(r,a),s(r,o),s(r,u),s(u,f),h||(m=[M(n,"change",e[48]),M(n,"change",e[49])],h=!0)},p(p,g){g[0]&24&&(n.checked=p[4].acceptNewsEmail),g[0]&32768&&c!==(c=p[15]("userEmailNotification")+"")&&I(f,c)},d(p){p&&D(t),h=!1,He(m)}}}function Ci(e){let t,r,n=e[15]("userProfileConfirmationMessage")+"",i;return{c(){t=d("section"),r=d("p"),i=w(n),l(r,"class","PlayerDetailsConfirmSaveText svelte-j3atn7"),l(t,"class","PlayerDetailsConfirmSave svelte-j3atn7")},m(a,o){k(a,t,o),s(t,r),s(r,i)},p(a,o){o[0]&32768&&n!==(n=a[15]("userProfileConfirmationMessage")+"")&&I(i,n)},d(a){a&&D(t)}}}function Js(e){let t;function r(a,o){return a[2]?$s:Vs}let n=r(e),i=n(e);return{c(){t=d("div"),i.c()},m(a,o){k(a,t,o),i.m(t,null),e[50](t)},p(a,o){n===(n=r(a))&&i?i.p(a,o):(i.d(1),i=n(a),i&&(i.c(),i.m(t,null)))},i:ce,o:ce,d(a){a&&D(t),i.d(),e[50](null)}}}function qs(e,t,r){let n;ga(e,Us,b=>r(15,n=b));let{userid:i}=t,{sessionid:a}=t,{endpoint:o}=t,{lang:u="en"}=t,{clientstyling:c}=t,{clientstylingurl:f}=t,{translationurl:h}=t,{custominputtextswitch:m="false"}=t,p,g=!0;const j=Gs(window.navigator.userAgent)!=="PC";let _=null,O=null,B=null,L=null,F;const v={},P={},fe={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"};let ie=!1,Me=!1,De=!0,he=!0,Q=!0,Ge=!0,U=!0,Le=!0,je=!0,Ke=!1;const ae={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/},Ae=window.matchMedia("(min-width: 768px)"),pe=b=>{try{return JSON.stringify(b)}catch(S){return null}},wt=()=>{var b,S,T,N,X,Be;r(5,P.username=B.username,P),r(5,P.mobile=B.mobile,P),r(5,P.email=B.email,P),r(5,P.firstname=B.firstname,P),r(5,P.lastname=B.lastname,P),r(5,P.language=B.language,P),r(5,P.birth=((b=B.birth)==null?void 0:b.day)+"/"+((S=B.birth)==null?void 0:S.month)+"/"+((T=B.birth)==null?void 0:T.year),P),r(5,P.currency=B.currency,P),r(5,P.iban=B.iban,P),r(5,P.userTitles=B.title,P),r(5,P.countryCode=B.country,P),r(5,P.countryName=((N=O.find(le=>le.Alpha2Code===B.country))==null?void 0:N.Name)||"I.E. Ireland",P),r(4,v.address1=B.address1,v),r(4,v.city=B.city,v),r(4,v.mobile={},v),r(4,v.mobile.prefix=(X=B.mobile)==null?void 0:X.prefix,v),r(4,v.mobile.number=(Be=B.mobile)==null?void 0:Be.number,v),r(4,v.postalCode=B.postalCode,v),r(4,v.securityAnswer=B.securityAnswer,v),r(4,v.securityQuestion=B.securityQuestion,v),Array.isArray(L)&&L.forEach(le=>{le.tagCode==="emailmarketing"?r(4,v.acceptNewsEmail=le.status==="Accepted",v):le.tagCode==="sms"&&r(4,v.acceptSMSOffers=le.status==="Accepted",v)}),pe(v),F=pe(new Object({acceptNewsEmail:v.acceptNewsEmail,acceptSMSOffers:v.acceptSMSOffers})),r(2,g=!1)},et=()=>{const b=new URL(`${o}/v1/player/${i}/profile`),S=new Headers;S.append("X-SessionID",a);const T={method:"GET",headers:S};fetch(b.href,T).then(N=>N.json()).then(N=>{r(31,B=N)},N=>{console.error(N)})},ze=()=>{const b=new URL(`${o}/v1/player/${i}/consent`),S=new Headers;S.append("X-SessionID",a);const T={method:"GET",headers:S};fetch(b.href,T).then(N=>N.json()).then(N=>{r(32,L=N.items)},N=>{console.error(N)})},Vt=()=>{fetch(`${o}/v1/player/countries`).then(b=>b.status>=300?new Error("Error while fetching the countries"):b.json()).then(b=>{fetch(`${o}/v1/player/operatorSupportedCountries`).then(S=>S.status>=300?new Error("Error while fetching the supported countries"):S.json()).then(S=>{r(30,O=b.countries.filter(T=>S.countries.indexOf(T.Alpha2Code)>=0))})})},oe=()=>{fetch(`${o}/v1/player/phonecodes`).then(b=>b.json()).then(b=>{r(3,_=b.phoneCodes)})},$t=()=>{r(7,De=!1),U&&Le&&he&&Ge&&Q&&je&&r(7,De=!0)},Qe=()=>{r(6,ie=pe(v)!==F)},xt=()=>{const b=new Object({acceptNewsEmail:v.acceptNewsEmail,acceptSMSOffers:v.acceptSMSOffers});Me=pe(b)!==F},R=b=>{switch(b){case"mobileNumber":r(13,je=!1),v.mobile.number&&v.mobile.number.length>=5&&v.mobile.number.length<=12&&r(13,je=!0);break;case"city":r(8,he=!1),v.city&&v.city.length<=50&&r(8,he=!0);break;case"postalCode":r(9,Q=!1),v.postalCode&&v.postalCode.length<=20&&r(9,Q=!0);break;case"address":r(10,Ge=!1),v.address1&&v.address1.length<=100&&r(10,Ge=!0);break;case"securityQuestion":if(r(11,U=!1),v.securityQuestion)switch(m){case"true":ae.document.test(v.securityQuestion)&&v.securityQuestion.length<=50&&r(11,U=!0);break;case"false":v.securityQuestion&&v.securityQuestion.length<=120&&r(11,U=!0);break}break;case"securityAnswer":if(r(12,Le=!1),v.securityAnswer)switch(m){case"true":ae.document.test(v.securityAnswer)&&v.securityAnswer.length<=50&&r(12,Le=!0);break;case"false":v.securityAnswer&&v.securityAnswer.length<=120&&r(12,Le=!0);break}break;case"acceptSMSOffers":xt();break;case"acceptNewsEmail":xt();break}Qe(),$t()},Ee=()=>{r(14,Ke=!0),setTimeout(()=>{r(14,Ke=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},tt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("userProfileUpdateError")}},window.location.href)},jt=b=>{if(b.preventDefault(),ie&&!Me&&De){rt().then(S=>{S&&(et(),Ee())});return}if(ie&&Me&&De){rt(),Ve(),Promise.all([rt(),Ve()]).then(S=>{S[0]&&S[1]?(et(),ze(),Ee(),r(6,ie=!1),Me=!1):tt()});return}},rt=()=>br(this,null,function*(){const b=new URL(`${o}/v1/player/${i}/profile`),S=new Headers;S.append("X-SessionID",a),S.append("Content-Type","application/json"),S.append("Accept","application/json");const T=pe(v);if(T===null)return!1;let N={method:"POST",headers:S,body:T};return yield fetch(b.href,N).then(X=>X.status==200,X=>(console.error(X),!1))}),Ve=()=>br(this,null,function*(){const b=[{tagCode:"sms",status:v.acceptSMSOffers?"Accepted":"Denied"},{tagCode:"emailmarketing",status:v.acceptNewsEmail?"Accepted":"Denied"}],S=new URL(`${o}/v1/player/${i}/consent`),T=new Headers;T.append("X-SessionID",a),T.append("Content-Type","application/json"),T.append("Accept","application/json");const N=pe({items:b});if(N===null)return!1;const X={method:"POST",headers:T,body:N};return yield fetch(S.href,X).then(Be=>Be.status==200,Be=>(console.error(Be),!1))}),Wt=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:j},window.location.href)},se=()=>{zs(u)},Xt=()=>{let b=document.createElement("style");b.innerHTML=c,p.appendChild(b)},nt=()=>{let b=new URL(f),S=document.createElement("style");fetch(b.href).then(T=>T.text()).then(T=>{S.innerHTML=T,setTimeout(()=>{p.appendChild(S)},1)})},Zt=()=>{fetch(h).then(S=>S.json()).then(S=>{Object.keys(S).forEach(T=>{mi(T,S[T])})}).catch(S=>{console.log(S)})};Object.keys(vi).forEach(b=>{mi(b,vi[b])});function ke(){v.mobile.prefix=ja(this),r(4,v),r(3,_)}function $e(){v.mobile.number=this.value,r(4,v),r(3,_)}const it=()=>R("mobileNumber");function At(){v.securityQuestion=this.value,r(4,v),r(3,_)}const Jt=()=>R("securityQuestion");function de(){v.securityAnswer=this.value,r(4,v),r(3,_)}const We=()=>R("securityAnswer");function qt(){v.city=this.value,r(4,v),r(3,_)}const Fe=()=>R("city");function Xe(){v.address1=this.value,r(4,v),r(3,_)}const at=()=>R("address");function Bt(){v.postalCode=this.value,r(4,v),r(3,_)}const Yt=()=>R("postalCode");function me(){v.acceptSMSOffers=this.checked,r(4,v),r(3,_)}const Ze=()=>R("acceptSMSOffers");function Kt(){v.acceptNewsEmail=this.checked,r(4,v),r(3,_)}const Re=()=>R("acceptNewsEmail");function Je(b){Kr[b?"unshift":"push"](()=>{p=b,r(1,p)})}return e.$$set=b=>{"userid"in b&&r(23,i=b.userid),"sessionid"in b&&r(24,a=b.sessionid),"endpoint"in b&&r(25,o=b.endpoint),"lang"in b&&r(26,u=b.lang),"clientstyling"in b&&r(27,c=b.clientstyling),"clientstylingurl"in b&&r(28,f=b.clientstylingurl),"translationurl"in b&&r(29,h=b.translationurl),"custominputtextswitch"in b&&r(0,m=b.custominputtextswitch)},e.$$.update=()=>{e.$$.dirty[0]&58720256&&o&&i&&a&&et(),e.$$.dirty[0]&58720256&&o&&i&&a&&ze(),e.$$.dirty[0]&33554432&&o&&Vt(),e.$$.dirty[0]&33554432&&o&&oe(),e.$$.dirty[0]&1073741824|e.$$.dirty[1]&3&&B&&L&&O&&wt(),e.$$.dirty[0]&67108864&&u&&se(),e.$$.dirty[0]&268435458&&f&&p&&nt(),e.$$.dirty[0]&134217730&&c&&p&&Xt(),e.$$.dirty[0]&536870912&&h&&Zt()},[m,p,g,_,v,P,ie,De,he,Q,Ge,U,Le,je,Ke,n,j,fe,Ae,Qe,R,jt,Wt,i,a,o,u,c,f,h,O,B,L,ke,$e,it,At,Jt,de,We,qt,Fe,Xe,at,Bt,Yt,me,Ze,Kt,Re,Je]}class ha extends Fa{constructor(t){super(),La(this,t,qs,Js,Ni,{userid:23,sessionid:24,endpoint:25,lang:26,clientstyling:27,clientstylingurl:28,translationurl:29,custominputtextswitch:0},Qs,[-1,-1,-1])}get userid(){return this.$$.ctx[23]}set userid(t){this.$$set({userid:t}),xe()}get sessionid(){return this.$$.ctx[24]}set sessionid(t){this.$$set({sessionid:t}),xe()}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),xe()}get lang(){return this.$$.ctx[26]}set lang(t){this.$$set({lang:t}),xe()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),xe()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),xe()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),xe()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),xe()}}ka(ha,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},custominputtextswitch:{}},[],[],!0);exports.default=ha;