@everymatrix/player-profile-info 1.91.0 → 1.91.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountBiometricsAction-BRUlfF_m.js → PlayerAccountBiometricsAction-BA9Ie2Za.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-C8lOWyzJ.cjs → PlayerAccountBiometricsAction-BT9CnaZn.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-CLLphgZa.js → PlayerAccountBiometricsAction-CdjRpYV-.js} +1 -1
- package/components/PlayerProfileInfo-BjnZ5Gd8.cjs +21 -0
- package/components/{PlayerProfileInfo-DrL5cABV.js → PlayerProfileInfo-CTEj5Rw2.js} +2203 -1872
- package/components/{PlayerProfileInfo-Ciw8RH-a.js → PlayerProfileInfo-DWSJ3IK_.js} +2405 -2083
- package/components/QrSessionGenerator-B4KOHnOP.js +1773 -0
- package/components/QrSessionGenerator-BwR-VKzG.js +1790 -0
- package/components/QrSessionGenerator-Cf0niVes.cjs +8 -0
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
- package/components/PlayerProfileInfo-BHv5dDZH.cjs +0 -21
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";var Os=Object.defineProperty,Ts=Object.defineProperties;var Hs=Object.getOwnPropertyDescriptors;var Vo=Object.getOwnPropertySymbols;var Ns=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable;var En=(e,t,r)=>t in e?Os(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wo=(e,t)=>{for(var r in t||(t={}))Ns.call(t,r)&&En(e,r,t[r]);if(Vo)for(var r of Vo(t))Ms.call(t,r)&&En(e,r,t[r]);return e},$o=(e,t)=>Ts(e,Hs(t));var Ve=(e,t,r)=>(En(e,typeof t!="symbol"?t+"":t,r),r);var Qe=(e,t,r)=>new Promise((i,n)=>{var o=c=>{try{u(r.next(c))}catch(p){n(p)}},a=c=>{try{u(r.throw(c))}catch(p){n(p)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);u((r=r.apply(e,t)).next())});require("../stencil/ui-skeleton-BreIU6e5.cjs");function pe(){}function za(e){return e()}function Qo(){return Object.create(null)}function ot(e){e.forEach(za)}function Kt(e){return typeof e=="function"}function Zn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Ds(e){return Object.keys(e).length===0}function Ga(e,...t){if(e==null){for(const i of t)i(void 0);return pe}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Va(e,t,r){e.$$.on_destroy.push(Ga(t,r))}function s(e,t){e.appendChild(t)}function Wa(e,t,r){const i=Ls(e);if(!i.getElementById(t)){const n=h("style");n.id=t,n.textContent=r,Us(i,n)}}function Ls(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Us(e,t){return s(e.head||e,t),t.sheet}function D(e,t,r){e.insertBefore(t,r||null)}function M(e){e.parentNode&&e.parentNode.removeChild(e)}function $t(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function h(e){return document.createElement(e)}function Ft(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function S(){return E(" ")}function Yn(){return E("")}function U(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function l(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Te(e,t,r){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:l(e,t,r)}function js(e){return Array.from(e.childNodes)}function k(e,t){t=""+t,e.data!==t&&(e.data=t)}function W(e,t){e.value=t==null?"":t}function Xo(e,t,r){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Rs(e){const t=e.querySelector(":checked");return t&&t.__value}function Fs(e,t,r){e.classList.toggle(t,!!r)}function zs(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let qr;function Xr(e){qr=e}function Gs(){if(!qr)throw new Error("Function called outside component initialization");return qr}function $a(e){Gs().$$.on_mount.push(e)}const Vt=[],Qt=[];let Xt=[];const qo=[],Vs=Promise.resolve();let Nn=!1;function Ws(){Nn||(Nn=!0,Vs.then(ee))}function Ki(e){Xt.push(e)}const An=new Set;let zt=0;function ee(){if(zt!==0)return;const e=qr;do{try{for(;zt<Vt.length;){const t=Vt[zt];zt++,Xr(t),$s(t.$$)}}catch(t){throw Vt.length=0,zt=0,t}for(Xr(null),Vt.length=0,zt=0;Qt.length;)Qt.pop()();for(let t=0;t<Xt.length;t+=1){const r=Xt[t];An.has(r)||(An.add(r),r())}Xt.length=0}while(Vt.length);for(;qo.length;)qo.pop()();Nn=!1,An.clear(),Xr(e)}function $s(e){if(e.fragment!==null){e.update(),ot(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ki)}}function Qs(e){const t=[],r=[];Xt.forEach(i=>e.indexOf(i)===-1?t.push(i):r.push(i)),r.forEach(i=>i()),Xt=t}const Xs=new Set;function qs(e,t){e&&e.i&&(Xs.delete(e),e.i(t))}function et(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Zs(e,t,r){const{fragment:i,after_update:n}=e.$$;i&&i.m(t,r),Ki(()=>{const o=e.$$.on_mount.map(za).filter(Kt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ot(o),e.$$.on_mount=[]}),n.forEach(Ki)}function Ys(e,t){const r=e.$$;r.fragment!==null&&(Qs(r.after_update),ot(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Js(e,t){e.$$.dirty[0]===-1&&(Vt.push(e),Ws(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Qa(e,t,r,i,n,o,a=null,u=[-1]){const c=qr;Xr(e);const p=e.$$={fragment:null,ctx:[],props:o,update:pe,not_equal:n,bound:Qo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Qo(),dirty:u,skip_bound:!1,root:t.target||c.$$.root};a&&a(p.root);let f=!1;if(p.ctx=r?r(e,t.props||{},(d,m,...g)=>{const P=g.length?g[0]:m;return p.ctx&&n(p.ctx[d],p.ctx[d]=P)&&(!p.skip_bound&&p.bound[d]&&p.bound[d](P),f&&Js(e,d)),m}):[],p.update(),f=!0,ot(p.before_update),p.fragment=i?i(p.ctx):!1,t.target){if(t.hydrate){const d=js(t.target);p.fragment&&p.fragment.l(d),d.forEach(M)}else p.fragment&&p.fragment.c();t.intro&&qs(e.$$.fragment),Zs(e,t.target,t.anchor),ee()}Xr(c)}let Xa;typeof HTMLElement=="function"&&(Xa=class extends HTMLElement{constructor(t,r,i){super();Ve(this,"$$ctor");Ve(this,"$$s");Ve(this,"$$c");Ve(this,"$$cn",!1);Ve(this,"$$d",{});Ve(this,"$$r",!1);Ve(this,"$$p_d",{});Ve(this,"$$l",{});Ve(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}connectedCallback(){return Qe(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=h("slot"),o!=="default"&&l(a,"name",o)},m:function(p,f){D(p,a,f)},d:function(p){p&&M(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=zs(this);for(const o of this.$$s)o in i&&(r[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=qi(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:$o(Wo({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=qi(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const o in this.$$l)for(const a of this.$$l[o]){const u=this.$$c.$on(o,a);this.$$l_u.set(a,u)}this.$$l={}}})}attributeChangedCallback(t,r,i){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=qi(t,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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 qi(e,t,r,i){var o;const n=(o=r[e])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function qa(e,t,r,i,n,o){let a=class extends Xa{constructor(){super(e,r,n),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(a.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(c){var p;c=qi(u,c,t),this.$$d[u]=c,(p=this.$$c)==null||p.$set({[u]:c})}})}),i.forEach(u=>{Object.defineProperty(a.prototype,u,{get(){var c;return(c=this.$$c)==null?void 0:c[u]}})}),e.element=a,a}class Za{constructor(){Ve(this,"$$");Ve(this,"$$set")}$destroy(){Ys(this,1),this.$destroy=pe}$on(t,r){if(!Kt(r))return pe;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(r),()=>{const n=i.indexOf(r);n!==-1&&i.splice(n,1)}}$set(t){this.$$set&&!Ds(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ks="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ks);const Gt=[];function el(e,t){return{subscribe:nn(e,t).subscribe}}function nn(e,t=pe){let r;const i=new Set;function n(u){if(Zn(e,u)&&(e=u,r)){const c=!Gt.length;for(const p of i)p[1](),Gt.push(p,e);if(c){for(let p=0;p<Gt.length;p+=2)Gt[p][0](Gt[p+1]);Gt.length=0}}}function o(u){n(u(e))}function a(u,c=pe){const p=[u,c];return i.add(p),i.size===1&&(r=t(n,o)||pe),u(e),()=>{i.delete(p),i.size===0&&r&&(r(),r=null)}}return{set:n,update:o,subscribe:a}}function er(e,t,r){const i=!Array.isArray(e),n=i?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return el(r,(a,u)=>{let c=!1;const p=[];let f=0,d=pe;const m=()=>{if(f)return;d();const P=t(i?p[0]:p,a,u);o?a(P):d=Kt(P)?P:pe},g=n.map((P,C)=>Ga(P,I=>{p[C]=I,f&=~(1<<C),c&&m()},()=>{f|=1<<C}));return c=!0,m(),function(){ot(g),d(),c=!1}})}function tl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rl=function(t){return il(t)&&!nl(t)};function il(e){return!!e&&typeof e=="object"}function nl(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||sl(e)}var ol=typeof Symbol=="function"&&Symbol.for,al=ol?Symbol.for("react.element"):60103;function sl(e){return e.$$typeof===al}function ll(e){return Array.isArray(e)?[]:{}}function Zr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?qt(ll(e),e,t):e}function ul(e,t,r){return e.concat(t).map(function(i){return Zr(i,r)})}function cl(e,t){if(!t.customMerge)return qt;var r=t.customMerge(e);return typeof r=="function"?r:qt}function fl(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Zo(e){return Object.keys(e).concat(fl(e))}function Ya(e,t){try{return t in e}catch(r){return!1}}function pl(e,t){return Ya(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function dl(e,t,r){var i={};return r.isMergeableObject(e)&&Zo(e).forEach(function(n){i[n]=Zr(e[n],r)}),Zo(t).forEach(function(n){pl(e,n)||(Ya(e,n)&&r.isMergeableObject(t[n])?i[n]=cl(n,r)(e[n],t[n],r):i[n]=Zr(t[n],r))}),i}function qt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ul,r.isMergeableObject=r.isMergeableObject||rl,r.cloneUnlessOtherwiseSpecified=Zr;var i=Array.isArray(t),n=Array.isArray(e),o=i===n;return o?i?r.arrayMerge(e,t,r):dl(e,t,r):Zr(t,r)}qt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return qt(i,n,r)},{})};var hl=qt,ml=hl;const bl=tl(ml);var Mn=function(e,t){return Mn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Mn(e,t)};function on(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Mn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ze=function(){return Ze=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Ze.apply(this,arguments)};function vl(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function kn(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function In(e,t){var r=t&&t.cache?t.cache:wl,i=t&&t.serializer?t.serializer:Sl,n=t&&t.strategy?t.strategy:Cl;return n(e,{cache:r,serializer:i})}function yl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function gl(e,t,r,i){var n=yl(i)?i:r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,i),t.set(n,o)),o}function Ja(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,i),t.set(n,o)),o}function Ka(e,t,r,i,n){return r.bind(t,e,i,n)}function Cl(e,t){var r=e.length===1?gl:Ja;return Ka(e,this,r,t.cache.create(),t.serializer)}function _l(e,t){return Ka(e,this,Ja,t.cache.create(),t.serializer)}var Sl=function(){return JSON.stringify(arguments)},Pl=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),wl={create:function(){return new Pl}},Bn={variadic:_l},en=function(){return en=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},en.apply(this,arguments)};var H;(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"})(H||(H={}));var $;(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"})($||($={}));var Zt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Zt||(Zt={}));function Yo(e){return e.type===$.literal}function El(e){return e.type===$.argument}function es(e){return e.type===$.number}function ts(e){return e.type===$.date}function rs(e){return e.type===$.time}function is(e){return e.type===$.select}function ns(e){return e.type===$.plural}function Al(e){return e.type===$.pound}function os(e){return e.type===$.tag}function as(e){return!!(e&&typeof e=="object"&&e.type===Zt.number)}function Dn(e){return!!(e&&typeof e=="object"&&e.type===Zt.dateTime)}var ss=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,kl=/(?:[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 Il(e){var t={};return e.replace(kl,function(r){var i=r.length;switch(r[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===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"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-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=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-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"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-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"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<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 q=function(){return q=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},q.apply(this,arguments)};var Bl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function xl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Bl).filter(function(m){return m.length>0}),r=[],i=0,n=t;i<n.length;i++){var o=n[i],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var u=a[0],c=a.slice(1),p=0,f=c;p<f.length;p++){var d=f[p];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:c})}return r}function Ol(e){return e.replace(/^(.*?)-/,"")}var Jo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ls=/^(@+)?(\+|#+)?[rs]?$/g,Tl=/(\*)(0+)|(#+)(0+)|(0+)/g,us=/^(0+)$/;function Ko(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ls,function(r,i,n){return typeof n!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):n==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),t}function cs(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 Hl(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)),!us.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ea(e){var t={},r=cs(e);return r||t}function Nl(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.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=Ol(n.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=q(q(q({},t),{notation:"scientific"}),n.options.reduce(function(c,p){return q(q({},c),ea(p))},{}));continue;case"engineering":t=q(q(q({},t),{notation:"engineering"}),n.options.reduce(function(c,p){return q(q({},c),ea(p))},{}));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(n.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(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Tl,function(c,p,f,d,m,g){if(p)t.minimumIntegerDigits=f.length;else{if(d&&m)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(us.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Jo.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Jo,function(c,p,f,d,m,g){return f==="*"?t.minimumFractionDigits=p.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:m&&g?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+g.length):(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length),""});var o=n.options[0];o==="w"?t=q(q({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=q(q({},t),Ko(o)));continue}if(ls.test(n.stem)){t=q(q({},t),Ko(n.stem));continue}var a=cs(n.stem);a&&(t=q(q({},t),a));var u=Hl(n.stem);u&&(t=q(q({},t),u))}return t}var Qi={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Ml(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var a=1+(o&1),u=o<2?1:3+(o>>1),c="a",p=Dl(t);for((p=="H"||p=="k")&&(u=0);u-- >0;)r+=c;for(;a-- >0;)r=p+r}else n==="J"?r+="H":r+=n}return r}function Dl(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,i;r!=="root"&&(i=e.maximize().region);var n=Qi[i||""]||Qi[r||""]||Qi["".concat(r,"-001")]||Qi["001"];return n[0]}var xn,Ll=new RegExp("^".concat(ss.source,"*")),Ul=new RegExp("".concat(ss.source,"*$"));function N(e,t){return{start:e,end:t}}var jl=!!String.prototype.startsWith&&"_a".startsWith("a",1),Rl=!!String.fromCodePoint,Fl=!!Object.fromEntries,zl=!!String.prototype.codePointAt,Gl=!!String.prototype.trimStart,Vl=!!String.prototype.trimEnd,Wl=!!Number.isSafeInteger,$l=Wl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ln=!0;try{var Ql=ps("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ln=((xn=Ql.exec("a"))===null||xn===void 0?void 0:xn[0])==="a"}catch(e){Ln=!1}var ta=jl?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},Un=Rl?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i="",n=t.length,o=0,a;n>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},ra=Fl?Object.fromEntries:function(t){for(var r={},i=0,n=t;i<n.length;i++){var o=n[i],a=o[0],u=o[1];r[a]=u}return r},fs=zl?function(t,r){return t.codePointAt(r)}:function(t,r){var i=t.length;if(!(r<0||r>=i)){var n=t.charCodeAt(r),o;return n<55296||n>56319||r+1===i||(o=t.charCodeAt(r+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},Xl=Gl?function(t){return t.trimStart()}:function(t){return t.replace(Ll,"")},ql=Vl?function(t){return t.trimEnd()}:function(t){return t.replace(Ul,"")};function ps(e,t){return new RegExp(e,t)}var jn;if(Ln){var ia=ps("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");jn=function(t,r){var i;ia.lastIndex=r;var n=ia.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}}else jn=function(t,r){for(var i=[];;){var n=fs(t,r);if(n===void 0||ds(n)||Kl(n))break;i.push(n),r+=n>=65536?2:1}return Un.apply(void 0,i)};var Zl=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,i){for(var n=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,i);if(a.err)return a;n.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),n.push({type:$.pound,location:N(u,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(H.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Rn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,r){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(n,"/>"),location:N(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Rn(this.char()))return this.error(H.INVALID_TAG,N(u,this.clonePosition()));var c=this.clonePosition(),p=this.parseTagName();return n!==p?this.error(H.UNMATCHED_CLOSING_TAG,N(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:n,children:a,location:N(i,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,N(u,this.clonePosition())))}else return this.error(H.UNCLOSED_TAG,N(i,this.clonePosition()))}else return this.error(H.INVALID_TAG,N(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Jl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var i=this.clonePosition(),n="";;){var o=this.tryParseQuote(r);if(o){n+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){n+=a;continue}var u=this.tryParseLeftAngleBracket();if(u){n+=u;continue}break}var c=N(i,this.clonePosition());return{val:{type:$.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Yl(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 i=this.char();if(i===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(i);this.bump()}return Un.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(r==="plural"||r==="selectordinal")||i===125&&t>0?null:(this.bump(),Un(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,N(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(H.EMPTY_ARGUMENT,N(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(H.MALFORMED_ARGUMENT,N(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,N(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:n,location:N(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,N(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(H.MALFORMED_ARGUMENT,N(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=jn(this.message,r),n=r+i.length;this.bumpTo(n);var o=this.clonePosition(),a=N(t,o);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(t,r,i,n){var o,a=this.clonePosition(),u=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(u){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,N(a,c));case"number":case"date":case"time":{this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var m=ql(d.val);if(m.length===0)return this.error(H.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));var g=N(f,this.clonePosition());p={style:m,styleLocation:g}}var P=this.tryParseArgumentClose(n);if(P.err)return P;var C=N(n,this.clonePosition());if(p&&ta(p==null?void 0:p.style,"::",0)){var I=Xl(p.style.slice(2));if(u==="number"){var d=this.parseNumberSkeletonFromString(I,p.styleLocation);return d.err?d:{val:{type:$.number,value:i,location:C,style:d.val},err:null}}else{if(I.length===0)return this.error(H.EXPECT_DATE_TIME_SKELETON,C);var L=I;this.locale&&(L=Ml(I,this.locale));var m={type:Zt.dateTime,pattern:L,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?Il(L):{}},j=u==="date"?$.date:$.time;return{val:{type:j,value:i,location:C,style:m},err:null}}}return{val:{type:u==="number"?$.number:u==="date"?$.date:$.time,value:i,location:C,style:(o=p==null?void 0:p.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,N(A,en({},A)));this.bumpSpace();var G=this.parseIdentifierIfPossible(),B=0;if(u!=="select"&&G.value==="offset"){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),G=this.parseIdentifierIfPossible(),B=d.val}var X=this.tryParsePluralOrSelectOptions(t,u,r,G);if(X.err)return X;var P=this.tryParseArgumentClose(n);if(P.err)return P;var F=N(n,this.clonePosition());return u==="select"?{val:{type:$.select,value:i,options:ra(X.val),location:F},err:null}:{val:{type:$.plural,value:i,options:ra(X.val),offset:B,pluralType:u==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(H.INVALID_ARGUMENT_TYPE,N(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,N(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(n,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 i=[];try{i=xl(t)}catch(n){return this.error(H.INVALID_NUMBER_SKELETON,r)}return{val:{type:Zt.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?Nl(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var o,a=!1,u=[],c=new Set,p=n.value,f=n.location;;){if(p.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;f=N(d,this.clonePosition()),p=this.message.slice(d.offset,this.offset())}else break}if(c.has(p))return this.error(r==="select"?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);p==="other"&&(a=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var P=this.parseMessage(t+1,r,i);if(P.err)return P;var C=this.tryParseArgumentClose(g);if(C.err)return C;u.push([p,{value:P.val,location:N(g,this.clonePosition())}]),c.add(p),this.bumpSpace(),o=this.parseIdentifierIfPossible(),p=o.value,f=o.location}return u.length===0?this.error(r==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(H.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,a=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)o=!0,a=a*10+(u-48),this.bump();else break}var c=N(n,this.clonePosition());return o?(a*=i,$l(a)?{val:a,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=fs(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(ta(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(),i=this.message.indexOf(t,r);return i>=0?(this.bumpTo(i),!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()&&ds(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),i=this.message.charCodeAt(r+(t>=65536?2:1));return i!=null?i:null},e}();function Rn(e){return e>=97&&e<=122||e>=65&&e<=90}function Yl(e){return Rn(e)||e===47}function Jl(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 ds(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Kl(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 Fn(e){e.forEach(function(t){if(delete t.location,is(t)||ns(t))for(var r in t.options)delete t.options[r].location,Fn(t.options[r].value);else es(t)&&as(t.style)||(ts(t)||rs(t))&&Dn(t.style)?delete t.style.location:os(t)&&Fn(t.children)})}function eu(e,t){t===void 0&&(t={}),t=en({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Zl(e,t).parse();if(r.err){var i=SyntaxError(H[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t!=null&&t.captureLocation||Fn(r.val),r.val}var Yt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Yt||(Yt={}));var an=function(e){on(t,e);function t(r,i,n){var o=e.call(this,r)||this;return o.code=i,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),na=function(e){on(t,e);function t(r,i,n,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Yt.INVALID_VALUE,o)||this}return t}(an),tu=function(e){on(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),Yt.INVALID_VALUE,n)||this}return t}(an),ru=function(e){on(t,e);function t(r,i){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(i,'"'),Yt.MISSING_VALUE,i)||this}return t}(an),fe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(fe||(fe={}));function iu(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==fe.literal||r.type!==fe.literal?t.push(r):i.value+=r.value,t},[])}function nu(e){return typeof e=="function"}function Zi(e,t,r,i,n,o,a){if(e.length===1&&Yo(e[0]))return[{type:fe.literal,value:e[0].value}];for(var u=[],c=0,p=e;c<p.length;c++){var f=p[c];if(Yo(f)){u.push({type:fe.literal,value:f.value});continue}if(Al(f)){typeof o=="number"&&u.push({type:fe.literal,value:r.getNumberFormat(t).format(o)});continue}var d=f.value;if(!(n&&d in n))throw new ru(d,a);var m=n[d];if(El(f)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),u.push({type:typeof m=="string"?fe.literal:fe.object,value:m});continue}if(ts(f)){var g=typeof f.style=="string"?i.date[f.style]:Dn(f.style)?f.style.parsedOptions:void 0;u.push({type:fe.literal,value:r.getDateTimeFormat(t,g).format(m)});continue}if(rs(f)){var g=typeof f.style=="string"?i.time[f.style]:Dn(f.style)?f.style.parsedOptions:i.time.medium;u.push({type:fe.literal,value:r.getDateTimeFormat(t,g).format(m)});continue}if(es(f)){var g=typeof f.style=="string"?i.number[f.style]:as(f.style)?f.style.parsedOptions:void 0;g&&g.scale&&(m=m*(g.scale||1)),u.push({type:fe.literal,value:r.getNumberFormat(t,g).format(m)});continue}if(os(f)){var P=f.children,C=f.value,I=n[C];if(!nu(I))throw new tu(C,"function",a);var L=Zi(P,t,r,i,n,o),j=I(L.map(function(B){return B.value}));Array.isArray(j)||(j=[j]),u.push.apply(u,j.map(function(B){return{type:typeof B=="string"?fe.literal:fe.object,value:B}}))}if(is(f)){var A=f.options[m]||f.options.other;if(!A)throw new na(f.value,m,Object.keys(f.options),a);u.push.apply(u,Zi(A.value,t,r,i,n));continue}if(ns(f)){var A=f.options["=".concat(m)];if(!A){if(!Intl.PluralRules)throw new an(`Intl.PluralRules is not available in this environment.
|
|
2
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,Yt.MISSING_INTL_API,a);var G=r.getPluralRules(t,{type:f.pluralType}).select(m-(f.offset||0));A=f.options[G]||f.options.other}if(!A)throw new na(f.value,m,Object.keys(f.options),a);u.push.apply(u,Zi(A.value,t,r,i,n,m-(f.offset||0)));continue}}return iu(u)}function ou(e,t){return t?Ze(Ze(Ze({},e||{}),t||{}),Object.keys(e).reduce(function(r,i){return r[i]=Ze(Ze({},e[i]),t[i]||{}),r},{})):e}function au(e,t){return t?Object.keys(e).reduce(function(r,i){return r[i]=ou(e[i],t[i]),r},Ze({},e)):e}function On(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function su(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:In(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,kn([void 0],r,!1)))},{cache:On(e.number),strategy:Bn.variadic}),getDateTimeFormat:In(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,kn([void 0],r,!1)))},{cache:On(e.dateTime),strategy:Bn.variadic}),getPluralRules:In(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,kn([void 0],r,!1)))},{cache:On(e.pluralRules),strategy:Bn.variadic})}}var lu=function(){function e(t,r,i,n){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var p=o.formatToParts(c);if(p.length===1)return p[0].value;var f=p.reduce(function(d,m){return!d.length||m.type!==fe.literal||typeof d[d.length-1]!="string"?d.push(m.value):d[d.length-1]+=m.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(c){return Zi(o.ast,o.locales,o.formatters,o.formats,c,void 0,o.message)},this.resolvedOptions=function(){var c;return{locale:((c=o.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.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 a=n||{};a.formatters;var u=vl(a,["formatters"]);this.ast=e.__parse(t,Ze(Ze({},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=au(e.formats,i),this.formatters=n&&n.formatters||su(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=eu,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 uu(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let i=e;for(let n=0;n<r.length;n++)if(typeof i=="object"){if(n>0){const o=r.slice(n,r.length).join(".");if(o in i){i=i[o];break}}i=i[r[n]]}else i=void 0;return i}const nt={},cu=(e,t,r)=>r&&(t in nt||(nt[t]={}),e in nt[t]||(nt[t][e]=r),r),hs=(e,t)=>{if(t==null)return;if(t in nt&&e in nt[t])return nt[t][e];const r=sn(t);for(let i=0;i<r.length;i++){const n=r[i],o=pu(n,e);if(o)return cu(e,t,o)}};let Jn;const Jr=nn({});function fu(e){return Jn[e]||null}function ms(e){return e in Jn}function pu(e,t){if(!ms(e))return null;const r=fu(e);return uu(r,t)}function du(e){if(e==null)return;const t=sn(e);for(let r=0;r<t.length;r++){const i=t[r];if(ms(i))return i}}function Kn(e,...t){delete nt[e],Jr.update(r=>(r[e]=bl.all([r[e]||{},...t]),r))}er([Jr],([e])=>Object.keys(e));Jr.subscribe(e=>Jn=e);const Yi={};function hu(e,t){Yi[e].delete(t),Yi[e].size===0&&delete Yi[e]}function bs(e){return Yi[e]}function mu(e){return sn(e).map(t=>{const r=bs(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function zn(e){return e==null?!1:sn(e).some(t=>{var r;return(r=bs(t))==null?void 0:r.size})}function bu(e,t){return Promise.all(t.map(i=>(hu(e,i),i().then(n=>n.default||n)))).then(i=>Kn(e,...i))}const Qr={};function vs(e){if(!zn(e))return e in Qr?Qr[e]:Promise.resolve();const t=mu(e);return Qr[e]=Promise.all(t.map(([r,i])=>bu(r,i))).then(()=>{if(zn(e))return vs(e);delete Qr[e]}),Qr[e]}const vu={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"}}},yu={fallbackLocale:null,loadingDelay:200,formats:vu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},gu=yu;function Jt(){return gu}const Tn=nn(!1);var Cu=Object.defineProperty,_u=Object.defineProperties,Su=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,Pu=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,aa=(e,t,r)=>t in e?Cu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Eu=(e,t)=>{for(var r in t||(t={}))Pu.call(t,r)&&aa(e,r,t[r]);if(oa)for(var r of oa(t))wu.call(t,r)&&aa(e,r,t[r]);return e},Au=(e,t)=>_u(e,Su(t));let Gn;const tn=nn(null);function sa(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function sn(e,t=Jt().fallbackLocale){const r=sa(e);return t?[...new Set([...r,...sa(t)])]:r}function bt(){return Gn!=null?Gn:void 0}tn.subscribe(e=>{Gn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ku=e=>{if(e&&du(e)&&zn(e)){const{loadingDelay:t}=Jt();let r;return typeof window!="undefined"&&bt()!=null&&t?r=window.setTimeout(()=>Tn.set(!0),t):Tn.set(!0),vs(e).then(()=>{tn.set(e)}).finally(()=>{clearTimeout(r),Tn.set(!1)})}return tn.set(e)},vt=Au(Eu({},tn),{set:ku}),ln=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var Iu=Object.defineProperty,rn=Object.getOwnPropertySymbols,ys=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,la=(e,t,r)=>t in e?Iu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eo=(e,t)=>{for(var r in t||(t={}))ys.call(t,r)&&la(e,r,t[r]);if(rn)for(var r of rn(t))gs.call(t,r)&&la(e,r,t[r]);return e},tr=(e,t)=>{var r={};for(var i in e)ys.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&rn)for(var i of rn(e))t.indexOf(i)<0&&gs.call(e,i)&&(r[i]=e[i]);return r};const Yr=(e,t)=>{const{formats:r}=Jt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Bu=ln(e=>{var t=e,{locale:r,format:i}=t,n=tr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=Yr("number",i)),new Intl.NumberFormat(r,n)}),xu=ln(e=>{var t=e,{locale:r,format:i}=t,n=tr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=Yr("date",i):Object.keys(n).length===0&&(n=Yr("date","short")),new Intl.DateTimeFormat(r,n)}),Ou=ln(e=>{var t=e,{locale:r,format:i}=t,n=tr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=Yr("time",i):Object.keys(n).length===0&&(n=Yr("time","short")),new Intl.DateTimeFormat(r,n)}),Tu=(e={})=>{var t=e,{locale:r=bt()}=t,i=tr(t,["locale"]);return Bu(eo({locale:r},i))},Hu=(e={})=>{var t=e,{locale:r=bt()}=t,i=tr(t,["locale"]);return xu(eo({locale:r},i))},Nu=(e={})=>{var t=e,{locale:r=bt()}=t,i=tr(t,["locale"]);return Ou(eo({locale:r},i))},Mu=ln((e,t=bt())=>new lu(e,t,Jt().formats,{ignoreTag:Jt().ignoreTag})),Du=(e,t={})=>{var r,i,n,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:u,locale:c=bt(),default:p}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=hs(e,c);if(!f)f=(o=(n=(i=(r=Jt()).handleMissingMessage)==null?void 0:i.call(r,{locale:c,id:e,defaultValue:p}))!=null?n:p)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!u)return f;let d=f;try{d=Mu(f,c).format(u)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return d},Lu=(e,t)=>Nu(t).format(e),Uu=(e,t)=>Hu(t).format(e),ju=(e,t)=>Tu(t).format(e),Ru=(e,t=bt())=>hs(e,t),Cs=er([vt,Jr],()=>Du);er([vt],()=>Lu);er([vt],()=>Uu);er([vt],()=>ju);er([vt,Jr],()=>Ru);function ua(e,t){Kn(e,t)}function Fu(e){vt.set(e)}const ca={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",personalId:"Personal ID:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userPrefixError:"Prefix value is required",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:",firstNameError:"Please enter a valid first name (2–30 letters only).",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:",lastNameError:"Please enter a valid last name (2–30 letters only).",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:","Mr.":"Mr.","Mrs.":"Mrs.",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddress2:"Address 2:",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",smsConsent:"Enable SMS notifications",emailmarketingConsent:"Enable Emails",phonecallConsent:"Enable phone call notifications",postConsent:"Enable post notifications","3rdpartyConsent":"Enable third-party notifications",smsandemailConsent:"Enable SMS and email notifications",casinosmsConsent:"Enable SMS notifications",casinoemailConsent:"Enable Emails",casino3rdpartyConsent:"Enable phone call notifications",casinopushConsent:"Enable push notifications",casinomarketingConsent:"Enable marketing materials",casinophonecallConsent:"Enable phone call notifications",sportssmsConsent:"Enable SMS notifications",sportsemailConsent:"Enable Emails",sports3rdpartyConsent:"Enable phone call notifications",sportspushConsent:"Enable push notifications",sportsmarketingConsent:"Enable marketing materials",sportsphonecallConsent:"Enable phone call notifications",bingosmsConsent:"Enable SMS notifications",bingoemailConsent:"Enable Emails",bingo3rdpartyConsent:"Enable phone call notifications",bingopushConsent:"Enable push notifications",bingomarketingConsent:"Enable marketing materials",bingophonecallConsent:"Enable phone call notifications",virtualsportssmsConsent:"Enable SMS notifications",virtualsportsemailConsent:"Enable Emails",virtualsports3rdpartyConsent:"Enable phone call notifications",virtualsportspushConsent:"Enable push notifications",virtualsportsmarketingConsent:"Enable marketing materials",virtualsportsphonecallConsent:"Enable phone call notifications",consentCategoryHeaderCasino:"Casino Promotions",consentCategoryHeaderSports:"Sports Promotions",consentCategoryHeaderBingo:"Bingo Promotions",consentCategoryHeaderVirtualSports:"Virtual Sports Promotions",consentCategoryHeaderMarketing:"Marketing Promotions",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information",locationDetailsDescription:"If you wish to update any of your personal details, please contact Customer Services who may request proof of these changes before updating your account.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",personalId:"個人身份證號碼:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userPrefixError:"需要前綴值",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",firstNameError:"請輸入有效的名字(僅限 2–30 個字母)。",lastNameError:"請輸入有效的姓氏(僅限 2–30 個字母)。",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:","Mr.":"先生","Mrs.":"太太",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddress2:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",smsConsent:"啟用短信通知",emailmarketingConsent:"啟用電子郵件",phonecallConsent:"啟用電話通知",postConsent:"啟用郵件通知","3rdpartyConsent":"啟用第三方通知",smsandemailConsent:"啟用短信和電子郵件通知",casinosmsConsent:"啟用短信通知",casinoemailConsent:"啟用電子郵件",casino3rdpartyConsent:"啟用電話通知",casinopushConsent:"啟用推送通知",casinomarketingConsent:"啟用市場推廣資料",casinophonecallConsent:"啟用電話通知",sportssmsConsent:"啟用短信通知",sportsemailConsent:"啟用電子郵件",sports3rdpartyConsent:"啟用電話通知",sportspushConsent:"啟用推送通知",sportsmarketingConsent:"啟用市場推廣資料",sportsphonecallConsent:"啟用電話通知",bingosmsConsent:"啟用短信通知",bingoemailConsent:"啟用電子郵件",bingo3rdpartyConsent:"啟用電話通知",bingopushConsent:"啟用推送通知",bingomarketingConsent:"啟用市場推廣資料",bingophonecallConsent:"啟用電話通知",virtualsportssmsConsent:"啟用短信通知",virtualsportsemailConsent:"啟用電子郵件",virtualsports3rdpartyConsent:"啟用電話通知",virtualsportspushConsent:"啟用推送通知",virtualsportsmarketingConsent:"啟用市場推廣資料",virtualsportsphonecallConsent:"啟用電話通知",consentCategoryHeaderCasino:"賭場促銷",consentCategoryHeaderSports:"體育促銷",consentCategoryHeaderBingo:"賓果促銷",consentCategoryHeaderVirtualSports:"虛擬體育促銷",consentCategoryHeaderMarketing:"營銷促銷",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤",locationDetailsDescription:"如果您希望更新任何個人資料,請聯絡客戶服務部門,他們可能會要求您提供這些變更的證明,然後才會更新您的帳戶。",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",personalId:"Identifiant personnel:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userPrefixError:"La valeur du préfixe est requise",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:",firstNameError:"Veuillez entrer un prénom valide (2 à 30 lettres uniquement).",lastNameError:"Veuillez entrer un nom valide (2 à 30 lettres uniquement).",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:","Mr.":"M.","Mrs.":"Mme",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:",userAddress2:"Adresse 2:",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",smsConsent:"Activer les notifications par sms",emailmarketingConsent:"Activer les e-mails",phonecallConsent:"Activer les notifications d'appel téléphonique",postConsent:"Activer les notifications par courrier","3rdpartyConsent":"Activer les notifications de tiers",smsandemailConsent:"Activer les notifications par SMS et e-mail",casinosmsConsent:"Activer les notifications par SMS",casinoemailConsent:"Activer les e-mails",casino3rdpartyConsent:"Activer les notifications par appel téléphonique",casinopushConsent:"Activer les notifications push",casinomarketingConsent:"Activer les supports marketing",casinophonecallConsent:"Activer les notifications par appel téléphonique",sportssmsConsent:"Activer les notifications par SMS",sportsemailConsent:"Activer les e-mails",sports3rdpartyConsent:"Activer les notifications par appel téléphonique",sportspushConsent:"Activer les notifications push",sportsmarketingConsent:"Activer les supports marketing",sportsphonecallConsent:"Activer les notifications par appel téléphonique",bingosmsConsent:"Activer les notifications par SMS",bingoemailConsent:"Activer les e-mails",bingo3rdpartyConsent:"Activer les notifications par appel téléphonique",bingopushConsent:"Activer les notifications push",bingomarketingConsent:"Activer les supports marketing",bingophonecallConsent:"Activer les notifications par appel téléphonique",virtualsportssmsConsent:"Activer les notifications par SMS",virtualsportsemailConsent:"Activer les e-mails",virtualsports3rdpartyConsent:"Activer les notifications par appel téléphonique",virtualsportspushConsent:"Activer les notifications push",virtualsportsmarketingConsent:"Activer les supports marketing",virtualsportsphonecallConsent:"Activer les notifications par appel téléphonique",consentCategoryHeaderCasino:"Promotions de casino",consentCategoryHeaderSports:"Promotions sportives",consentCategoryHeaderBingo:"Promotions de bingo",consentCategoryHeaderVirtualSports:"Promotions de sports virtuels",consentCategoryHeaderMarketing:"Promotions marketing",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",locationDetailsDescription:"Si vous souhaitez mettre à jour vos informations personnelles, veuillez contacter le service client qui pourrait vous demander une preuve de ces modifications avant de mettre à jour votre compte.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",personalId:"ID personal:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userPrefixError:"Prefixul este necesar",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:",firstNameError:"Vă rugăm să introduceţi un prenume valid (doar 2-30 litere).",lastNameError:"Vă rugăm să introduceţi un nume de familie valid (doar 2-30 litere).",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:","Mr.":"Dl.","Mrs.":"Dna.",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ă:",userAddress2:"Adresă 2:",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",smsConsent:"Activează notificări prin SMS",emailmarketingConsent:"Activează notificări prin E-mail",phonecallConsent:"Activează notificările prin apel telefonic",postConsent:"Activează notificările prin poștă","3rdpartyConsent":"Activează notificările de la parte terță",smsandemailConsent:"Activează notificările prin SMS și e-mail",casinosmsConsent:"Activează notificările prin SMS",casinoemailConsent:"Activează e-mailurile",casino3rdpartyConsent:"Activează notificările prin apel telefonic",casinopushConsent:"Activează notificările push",casinomarketingConsent:"Activează materialele de marketing",casinophonecallConsent:"Activează notificările prin apel telefonic",sportssmsConsent:"Activează notificările prin SMS",sportsemailConsent:"Activează e-mailurile",sports3rdpartyConsent:"Activează notificările prin apel telefonic",sportspushConsent:"Activează notificările push",sportsmarketingConsent:"Activează materialele de marketing",sportsphonecallConsent:"Activează notificările prin apel telefonic",bingosmsConsent:"Activează notificările prin SMS",bingoemailConsent:"Activează e-mailurile",bingo3rdpartyConsent:"Activează notificările prin apel telefonic",bingopushConsent:"Activează notificările push",bingomarketingConsent:"Activează materialele de marketing",bingophonecallConsent:"Activează notificările prin apel telefonic",virtualsportssmsConsent:"Activează notificările prin SMS",virtualsportsemailConsent:"Activează e-mailurile",virtualsports3rdpartyConsent:"Activează notificările prin apel telefonic",virtualsportspushConsent:"Activează notificările push",virtualsportsmarketingConsent:"Activează materialele de marketing",virtualsportsphonecallConsent:"Activează notificările prin apel telefonic",consentCategoryHeaderCasino:"Promoții de cazino",consentCategoryHeaderSports:"Promoții sportive",consentCategoryHeaderBingo:"Promoții de bingo",consentCategoryHeaderVirtualSports:"Promoții pentru sporturi virtuale",consentCategoryHeaderMarketing:"Promoții de marketing",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului",locationDetailsDescription:"Dacă doriți să actualizați orice detalii personale, vă rugăm să contactați Serviciul Clienți, care poate solicita o dovadă a acestor modificări înainte de a vă actualiza contul.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",personalId:"Kişisel Kimlik:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userPrefixError:"Önek değeri gereklidir",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ı:",firstNameError:"Lütfen geçerli bir isim girin (yalnızca 2–30 harf).",lastNameError:"Lütfen geçerli bir soyisim girin (yalnızca 2–30 harf).",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:","Mr.":"Bay","Mrs.":"Bayan",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddress2:"Adres 2:",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",smsConsent:"SMS bildirimlerini etkinleştir",emailmarketingConsent:"E-postaları Etkinleştir",phonecallConsent:"Telefon araması bildirimlerini etkinleştir",postConsent:"Posta bildirimlerini etkinleştir","3rdpartyConsent":"Üçüncü taraf bildirimlerini etkinleştir",casinosmsConsent:"SMS bildirimlerini etkinleştir",casinoemailConsent:"E-postaları etkinleştir",casino3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",casinopushConsent:"Anlık bildirimleri etkinleştir",casinomarketingConsent:"Pazarlama materyallerini etkinleştir",casinophonecallConsent:"Telefon arama bildirimlerini etkinleştir",sportssmsConsent:"SMS bildirimlerini etkinleştir",sportsemailConsent:"E-postaları etkinleştir",sports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",sportspushConsent:"Anlık bildirimleri etkinleştir",sportsmarketingConsent:"Pazarlama materyallerini etkinleştir",sportsphonecallConsent:"Telefon arama bildirimlerini etkinleştir",bingosmsConsent:"SMS bildirimlerini etkinleştir",bingoemailConsent:"E-postaları etkinleştir",bingo3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",bingopushConsent:"Anlık bildirimleri etkinleştir",bingomarketingConsent:"Pazarlama materyallerini etkinleştir",bingophonecallConsent:"Telefon arama bildirimlerini etkinleştir",virtualsportssmsConsent:"SMS bildirimlerini etkinleştir",virtualsportsemailConsent:"E-postaları etkinleştir",virtualsports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",virtualsportspushConsent:"Anlık bildirimleri etkinleştir",virtualsportsmarketingConsent:"Pazarlama materyallerini etkinleştir",virtualsportsphonecallConsent:"Telefon arama bildirimlerini etkinleştir",consentCategoryHeaderCasino:"Kumarhane Promosyonları",consentCategoryHeaderSports:"Spor Promosyonları",consentCategoryHeaderBingo:"Bingo Promosyonları",consentCategoryHeaderVirtualSports:"Sanal Sporlar Promosyonları",consentCategoryHeaderMarketing:"Pazarlama Promosyonları",smsandemailConsent:"SMS ve e-posta bildirimlerini 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",locationDetailsDescription:"Kişisel bilgilerinizi güncellemek istiyorsanız, hesabınızı güncellemeden önce bu değişikliklerin kanıtını isteyebilecek Müşteri Hizmetleri ile iletişime geçin.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",personalId:"Identificación personal:",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userPrefixError:"Se requiere el valor del prefijo",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",firstNameError:"Por favor, introduce un nombre válido (solo 2–30 letras).",lastNameError:"Por favor, introduce un apellido válido (solo 2–30 letras).",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:","Mr.":"Sr.","Mrs.":"Sra.",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:",userAddress2:"Dirección 2:",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",smsConsent:"Habilitar notificaciones SMS",emailmarketingConsent:"Habilitar Emails",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",casinomarketingConsent:"Activar materiales de marketing",casinophonecallConsent:"Activar notificaciones por llamada telefónica",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",sportsmarketingConsent:"Activar materiales de marketing",sportsphonecallConsent:"Activar notificaciones por llamada telefónica",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",bingomarketingConsent:"Activar materiales de marketing",bingophonecallConsent:"Activar notificaciones por llamada telefónica",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",virtualsportsmarketingConsent:"Activar materiales de marketing",virtualsportsphonecallConsent:"Activar notificaciones por llamada telefónica",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",personalId:"Identificação pessoal:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userPrefixError:"O valor do prefixo é obrigatório",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:",firstNameError:"Por favor, insira um nome válido (apenas 2 a 30 letras).",lastNameError:"Por favor, insira um apelido/sobrenome válido (apenas 2 a 30 letras).",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:","Mr.":"Sr.","Mrs.":"Sra.",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:",userAddress2:"Endereço 2:",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",smsConsent:"Ativar notificações por SMS",emailmarketingConsent:"Ativar notificações por e-mail",phonecallConsent:"Ativar notificações de chamadas telefónicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",casinomarketingConsent:"Ativar materiais de marketing",casinophonecallConsent:"Ativar notificações por chamada telefónica",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",sportsmarketingConsent:"Ativar materiais de marketing",sportsphonecallConsent:"Ativar notificações por chamada telefónica",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",bingomarketingConsent:"Ativar materiais de marketing",bingophonecallConsent:"Ativar notificações por chamada telefónica",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",virtualsportsmarketingConsent:"Ativar materiais de marketing",virtualsportsphonecallConsent:"Ativar notificações por chamada telefónica",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",personalId:"Osobni identifikacijski broj:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userPrefixError:"Vrijednost prefiksa je potrebna",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",firstNameError:"Molimo unesite valjano ime (samo 2–30 slova).",lastNameError:"Molimo unesite valjano prezime (samo 2–30 slova).",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:","Mr.":"Gosp.","Mrs.":"Gđa.",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddress2:"Adresa 2:",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",smsConsent:"Omogućite SMS obavijesti",emailmarketingConsent:"Omogući e-mail",phonecallConsent:"Omogući obavijesti o telefonskim pozivima",postConsent:"Omogući obavijesti o pošti","3rdpartyConsent":"Omogući obavijesti od trećih strana",smsandemailConsent:"Omogući obavijesti putem SMS-a i e-pošte",casinosmsConsent:"Omogući SMS obavijesti",casinoemailConsent:"Omogući e-poštu",casino3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",casinopushConsent:"Omogući push obavijesti",casinomarketingConsent:"Omogući marketinške materijale",casinophonecallConsent:"Omogući obavijesti putem telefonskog poziva",sportssmsConsent:"Omogući SMS obavijesti",sportsemailConsent:"Omogući e-poštu",sports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",sportspushConsent:"Omogući push obavijesti",sportsmarketingConsent:"Omogući marketinške materijale",sportsphonecallConsent:"Omogući obavijesti putem telefonskog poziva",bingosmsConsent:"Omogući SMS obavijesti",bingoemailConsent:"Omogući e-poštu",bingo3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",bingopushConsent:"Omogući push obavijesti",bingomarketingConsent:"Omogući marketinške materijale",bingophonecallConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportssmsConsent:"Omogući SMS obavijesti",virtualsportsemailConsent:"Omogući e-poštu",virtualsports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportspushConsent:"Omogući push obavijesti",virtualsportsmarketingConsent:"Omogući marketinške materijale",virtualsportsphonecallConsent:"Omogući obavijesti putem telefonskog poziva",consentCategoryHeaderCasino:"Promocije kasina",consentCategoryHeaderSports:"Sportske promocije",consentCategoryHeaderBingo:"Bingo promocije",consentCategoryHeaderVirtualSports:"Promocije virtualnih sportova",consentCategoryHeaderMarketing:"Marketinške promocije",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila",locationDetailsDescription:"Ako želite ažurirati bilo koje svoje osobne podatke, obratite se Službi za korisnike koja može zatražiti dokaz o tim promjenama prije ažuriranja vašeg računa.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",personalId:"Identificação pessoal:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userPrefixError:"O valor do prefixo é obrigatório",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:",firstNameError:"Por favor, insira um nome válido (apenas 2 a 30 letras).",lastNameError:"Por favor, insira um sobrenome válido (apenas 2 a 30 letras).",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:","Mr.":"Sr.","Mrs.":"Sra.",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:",userAddress2:"Endereço 2:",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",smsConsent:"Habilitar notificações por SMS",emailmarketingConsent:"Ativar e-mail",phonecallConsent:"Ativar notificações de chamadas telefônicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",casinomarketingConsent:"Ativar materiais de marketing",casinophonecallConsent:"Ativar notificações por chamada telefónica",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",sportsmarketingConsent:"Ativar materiais de marketing",sportsphonecallConsent:"Ativar notificações por chamada telefónica",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",bingomarketingConsent:"Ativar materiais de marketing",bingophonecallConsent:"Ativar notificações por chamada telefónica",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",virtualsportsmarketingConsent:"Ativar materiais de marketing",virtualsportsphonecallConsent:"Ativar notificações por chamada telefónica",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",personalId:"Identificación personal:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userPrefixError:"Se requiere el valor del prefijo",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:",firstNameError:"Por favor, introduce un nombre válido (solo 2–30 letras).",lastNameError:"Por favor, introduce un apellido válido (solo 2–30 letras).",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:","Mr.":"Sr.","Mrs.":"Sra.",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:",userAddress2:"Dirección 2:",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",smsConsent:"Habilitar notificaciones de SMS",emailmarketingConsent:"Habilitar correo electrónico",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",casinomarketingConsent:"Activar materiales de marketing",casinophonecallConsent:"Activar notificaciones por llamada telefónica",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",sportsmarketingConsent:"Activar materiales de marketing",sportsphonecallConsent:"Activar notificaciones por llamada telefónica",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",bingomarketingConsent:"Activar materiales de marketing",bingophonecallConsent:"Activar notificaciones por llamada telefónica",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",virtualsportsmarketingConsent:"Activar materiales de marketing",virtualsportsphonecallConsent:"Activar notificaciones por llamada telefónica",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile",appSettingsTitle:"App Settings",loginWithBiometrics:"Login with Face ID / Touch ID"}},Wt="__WIDGET_GLOBAL_STYLE_CACHE__";function _s(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Ss(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(i=>i.text()).then(i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Ps(e,t,r,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return r=zu(e,t),r;window[Wt]||(window[Wt]={}),r=Gu(e,t);const o=r.unsubscribe.bind(r),a=()=>{if(window[Wt][t]){const u=window[Wt][t];u.refCount>1?u.refCount=u.refCount-1:delete window[Wt][t]}o()};return r.unsubscribe=a,r}function zu(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,i=>{e&&(r.innerHTML=i,e.appendChild(r))})}function Gu(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const i=e.getRootNode(),n=window[Wt];let o=n[t]&&n[t].sheet;o?n[t].refCount=n[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),n[t]={sheet:o,refCount:1});const a=i.adoptedStyleSheets||[];a.includes(o)||(i.adoptedStyleSheets=[...a,o])})}/*! *****************************************************************************
|
|
4
|
-
Copyright (c) Microsoft Corporation.
|
|
5
|
-
|
|
6
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
7
|
-
purpose with or without fee is hereby granted.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
-
***************************************************************************** */var Vn=function(e,t){return Vn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Vn(e,t)};function Kr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Vn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Wn(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $n(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,o=[],a;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(u){a={error:u}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}function Qn(e,t,r){if(arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||t)}function tt(e){return typeof e=="function"}function ws(e){var t=function(i){Error.call(i),i.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Hn=ws(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
|
-
`+r.map(function(i,n){return n+1+") "+i.toString()}).join(`
|
|
18
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function Xn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var un=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=Wn(a),c=u.next();!c.done;c=u.next()){var p=c.value;p.remove(this)}}catch(C){t={error:C}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(tt(f))try{f()}catch(C){o=C instanceof Hn?C.errors:[C]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var m=Wn(d),g=m.next();!g.done;g=m.next()){var P=g.value;try{fa(P)}catch(C){o=o!=null?o:[],C instanceof Hn?o=Qn(Qn([],$n(o)),$n(C.errors)):o.push(C)}}}catch(C){i={error:C}}finally{try{g&&!g.done&&(n=m.return)&&n.call(m)}finally{if(i)throw i.error}}}if(o)throw new Hn(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)fa(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)&&Xn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Xn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Es=un.EMPTY;function As(e){return e instanceof un||e&&"closed"in e&&tt(e.remove)&&tt(e.add)&&tt(e.unsubscribe)}function fa(e){tt(e)?e():e.unsubscribe()}var Vu={Promise:void 0},Wu={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Qn([e,t],$n(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function $u(e){Wu.setTimeout(function(){throw e})}function pa(){}function Ji(e){e()}var ks=function(e){Kr(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,As(r)&&r.add(i)):i.destination=qu,i}return t.create=function(r,i,n){return new qn(r,i,n)},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}(un),Qu=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(i){Xi(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Xi(i)}else Xi(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Xi(r)}},e}(),qn=function(e){Kr(t,e);function t(r,i,n){var o=e.call(this)||this,a;return tt(r)||!r?a={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0}:a=r,o.destination=new Qu(a),o}return t}(ks);function Xi(e){$u(e)}function Xu(e){throw e}var qu={closed:!0,next:pa,error:Xu,complete:pa},Zu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Yu(e){return e}function Ju(e){return e.length===0?Yu:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var da=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,i){var n=this,o=ec(t)?t:new qn(t,r,i);return Ji(function(){var a=n,u=a.operator,c=a.source;o.add(u?u.call(o,c):c?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var i=this;return r=ha(r),new r(function(n,o){var a=new qn({next:function(u){try{t(u)}catch(c){o(c),a.unsubscribe()}},error:o,complete:n});i.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Zu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ju(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=ha(t),new t(function(i,n){var o;r.subscribe(function(a){return o=a},function(a){return n(a)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function ha(e){var t;return(t=e!=null?e:Vu.Promise)!==null&&t!==void 0?t:Promise}function Ku(e){return e&&tt(e.next)&&tt(e.error)&&tt(e.complete)}function ec(e){return e&&e instanceof ks||Ku(e)&&As(e)}var tc=ws(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Is=function(e){Kr(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 i=new ma(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new tc},t.prototype.next=function(r){var i=this;Ji(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=Wn(i.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(r)}}catch(p){n={error:p}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;Ji(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ji(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.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 i=this,n=this,o=n.hasError,a=n.isStopped,u=n.observers;return o||a?Es:(this.currentObservers=null,u.push(r),new un(function(){i.currentObservers=null,Xn(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,a=i.isStopped;n?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new da;return r.source=this,r},t.create=function(r,i){return new ma(r,i)},t}(da),ma=function(e){Kr(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:Es},t}(Is),Bs={now:function(){return(Bs.delegate||Date).now()},delegate:void 0},rc=function(e){Kr(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=Bs);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,a=i._infiniteTimeWindow,u=i._timestampProvider,c=i._windowTime;n||(o.push(r),!a&&o.push(u.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,a=n._buffer,u=a.slice(),c=0;c<u.length&&!r.closed;c+=o?1:2)r.next(u[c]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,u=(a?1:2)*i;if(i<1/0&&u<o.length&&o.splice(0,o.length-u),!a){for(var c=n.now(),p=0,f=1;f<o.length&&o[f]<=c;f+=2)p=f;p&&o.splice(0,p+1)}},t}(Is);const ba=[],va={},ic=(e,t=0)=>{if(ba.indexOf(e)==-1){const r=new rc(t);va[e]=r,ba.push(e)}return va[e]};window.emWidgets={topic:ic};const nc=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountBiometricsAction-C8lOWyzJ.cjs")).then(({default:t})=>{!customElements.get("player-account-biometrics-action")&&customElements.define("player-account-biometrics-action",t.element)})}function oc(e){Wa(e,"svelte-11g1awd",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.WelcomeSection{display:grid;gap:0.5rem}.WelcomeSection .WelcomeSectionTitle{margin:0;font-size:1.25rem;line-height:1.2;font-weight:700}.WelcomeSection .WelcomeSectionDescription{margin:0;font-size:0.95rem;line-height:1.4;opacity:0.9}.WelcomeSection .WelcomeSectionProfileRow{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0.75rem;margin-top:0.25rem}.WelcomeSection .WelcomeSectionProfilePicture{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;color:#333}.WelcomeSection .WelcomeSectionProfilePicture .AvatarIcon{width:100%;height:100%}.WelcomeSection .WelcomeSectionFullName{font-weight:600;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px}.PlayerInfoWrapper .PlayerFadeInWarapper{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw--color-gray-300, #58586b);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:10px;line-height:16px;background:var(--emw--color-white, #ffffff);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px)}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input.FieldDisabled:focus,.PlayerInfoBox input.FieldDisabled:focus-within,.PlayerInfoBox input.FieldDisabled:focus-visible{border:1px solid var(--emw--color-gray-100, #353535);box-shadow:none}.PlayerInfoBox.InvalidField input,.PlayerInfoBox.InvalidPrefix select{border:1px solid var(--emw--color-error, var(--emw--color-red, #fd2839));background:var(--emw--color-pale, #fbecf4);color:var(--emw--color-error, var(--emw--color-red, #fd2839))}.PlayerInfoBox .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #ffffff);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield;appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.LocationDetailsDescription{grid-column:span 2}.PlayerNotificationBox{margin-top:5px;margin-bottom:5px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw--color-gray-100, #e6e6e6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw--color-white, #ffffff);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerNotificationBox.Parent span{font-weight:var(--emw--font-weight-bold, 700)}.PlayerNotificationBox.Child{margin-left:20px}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{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 .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, black 20%), var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0e5924);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{display:flex;gap:50px;padding-bottom:30px}.PlayerBiometricsContainer{border-top:1px solid var(--emw--color-gray-100, #e6e6e6)}.PlayerBiometricsContainer .PlayerBiometrics{display:flex;align-items:center;justify-content:space-between;height:auto;width:100%;padding-bottom:30px}.PlayerBiometricsContainer .PlayerBiometrics span{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{padding:20px 15px;background:var(--emw--color-gray-50, #f9f8f8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw--button-typography, var(--emw--color-white, #ffffff))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:var(--emw--color-gray-300, #58586b)}.PlayerDetailsConfirmSave{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}.skeletonContainer{max-width:unset;container-type:inline-size}.skeletonContainer .skeletonWrapper{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonContainer .skeletonWrapper .skeletonHeaderText{width:200px;margin:25px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{width:150px;margin:16px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{display:grid;grid-column-gap:50px;grid-row-gap:23px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:25px;margin-top:15px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer{display:flex;flex-direction:column}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skletonInputText{width:70px;margin:0px 0px 11px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skeletonInputField{border-radius:var(--emw--border-radius-medium, 10px);overflow:hidden}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:30px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputCircle{margin:5px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputText{width:150px}.skeletonContainer .skeletonWrapper .skeletonButton{width:400px;border-radius:var(--emw--button-border-radius, 10px);overflow:hidden;margin-top:10px}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{padding:20px 15px;width:auto;max-width:unset;border-radius:0px}.skeletonContainer .skeletonWrapper .skeletonHeaderText{margin:10px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{margin-top:31px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{grid-template-columns:1fr;margin-top:13px;grid-row-gap:18px}.skeletonContainer .skeletonWrapper .skeletonButton{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`)}function ya(e,t,r){const i=e.slice();return i[85]=t[r],i[86]=t,i[87]=r,i}function ga(e,t,r){const i=e.slice();return i[88]=t[r],i[89]=t,i[90]=r,i}function Ca(e,t,r){const i=e.slice();return i[91]=t[r],i}function ac(e,t,r){const i=e.slice();return i[94]=t[r],i[96]=r,i}function sc(e,t,r){const i=e.slice();return i[94]=t[r],i[96]=r,i}function lc(e,t,r){const i=e.slice();return i[94]=t[r],i[96]=r,i}function uc(e){let t;return{c(){t=h("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputText"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,i){D(r,t,i)},p:pe,d(r){r&&M(t)}}}function cc(e){let t;return{c(){t=h("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputField"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,i){D(r,t,i)},p:pe,d(r){r&&M(t)}}}function fc(e){let t;return{c(){t=h("div"),t.innerHTML='<div class="skletonInputCircle"><ui-skeleton structure="circle" size="20px" height="10px"></ui-skeleton></div> <div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,i){D(r,t,i)},p:pe,d(r){r&&M(t)}}}function _a(e){var xo,Oo,To,Ho,No,Mo;let t,r,i,n,o,a=e[21]("titleProfileInfo")+"",u,c,p,f,d,m=e[21]("personalDetails")+"",g,P,C,I,L,j=e[21]("userName")+"",A,G,B,X,F,J,Re,He,Z,w,Ne,Q=e[21]("userPhone")+"",rr,y,V,ie,at,yt,ir,K,Fe,ze,Ye,st,lt,nr,te,se,gt=(e[5]=="true"?e[21]("profileSecurityQuestion2"):e[21]("profileSecurityQuestion"))+"",or,ei,Ct,ti,ne,_t,St,ri,Pt,ut,de,Me,wt=(e[5]=="true"?e[21]("profileSecurityAnswer2"):e[21]("profileSecurityAnswer"))+"",Et,ar,ct,ii,oe,At,kt,ni,Je,sr,rt,It,Bt=e[21]("userEmail")+"",lr,oi,De,xt,ft,Ot,ai,it,Tt,Ht=e[21]("dateOfBirth")+"",ur,si,Le,b,_,x,O,T,z,R=e[21]("firstName")+"",Ue,ae,Y,Xe,Nt,to,ro,Ke,li,ui=e[21]("lastName")+"",cn,io,je,ci,fi,no,oo,Mt,pi,di=e[21]("userTitle")+"",fn,ao,We,hi,cr,mi,so,Dt,bi,vi=e[21]("currency")+"",pn,lo,$e,yi,fr,gi,uo,co,Ci,dn,_i=e[21]("locationDetails")+"",hn,fo,le,Lt,Si,Pi=e[21]("userCountry")+"",mn,po,ue,wi,Ei,Ai,ho,pt,ki,Ii=e[21]("userCity")+"",bn,mo,he,Bi,xi,bo,vo,dt,Oi,Ti=e[21]("userAddress")+"",vn,yo,me,Hi,Ni,go,Co,ht,Mi,Di=e[21]("userAddress2")+"",yn,_o,be,Li,Ui,So,Po,mt,ji,Ri=e[21]("userPostalCode")+"",gn,wo,ve,Fi,zi,Eo,Ao,ko,Cn=Object.keys(e[12].consents).length>0,_n,Sn,pr,Ut,Gi=e[21]("userProfileSaveChanges")+"",Pn,Vi,Wi,Io,$i,wn,Bo,ye=e[6]==="true"&&Sa(e),ge=e[15]&&Pa(e),Ce=e[12].personalId.value&&wa(e),jt=et(e[11]),ce=[];for(let re=0;re<jt.length;re+=1)ce[re]=Ea(Ca(e,jt,re));let _e=!((xo=e[12].mobile)!=null&&xo.isNumberValid)&&Aa(e),Se=!((Oo=e[12].mobile)!=null&&Oo.isPrefixValid)&&ka(e),Pe=!((To=e[12].securityQuestion)!=null&&To.isValid)&&Ia(e),we=!((Ho=e[12].securityAnswer)!=null&&Ho.isValid)&&Ba(e),Ee=!((No=e[12].firstname)!=null&&No.isValid)&&xa(e),Ae=!((Mo=e[12].lastname)!=null&&Mo.isValid)&&Oa(e),ke=e[12].iban.value&&Ta(e),Ie=e[7]==="true"&&Ha(e),Be=Cn&&Na(e),xe=e[8]=="true"&&e[20]&&ja(e),Oe=e[19]&&Ra(e);return{c(){var re,v,qe,dr,hr,mr,br,vr,yr,gr,Cr,_r,Sr,Pr,wr,Er,Ar,kr,Ir,Br,xr,Or,Tr,Hr,Nr,Mr,Dr,Lr,Ur,jr,Rr,Fr,zr,Gr,Vr,Wr,$r;ye&&ye.c(),t=S(),r=h("form"),i=h("div"),ge&&ge.c(),n=S(),o=h("h2"),u=E(a),p=S(),f=h("div"),d=h("h3"),g=E(m),P=S(),C=h("section"),I=h("div"),L=h("label"),A=E(j),G=S(),B=h("input"),He=S(),Ce&&Ce.c(),Z=S(),w=h("div"),Ne=h("label"),rr=E(Q),y=S(),V=h("div"),ie=h("select");for(let Rt=0;Rt<ce.length;Rt+=1)ce[Rt].c();ir=S(),K=h("input"),Ye=S(),_e&&_e.c(),st=S(),Se&&Se.c(),nr=S(),te=h("div"),se=h("label"),or=E(gt),ei=E(":"),Ct=h("span"),Ct.textContent="*",ti=S(),ne=h("input"),ri=S(),Pe&&Pe.c(),ut=S(),de=h("div"),Me=h("label"),Et=E(wt),ar=E(":"),ct=h("span"),ct.textContent="*",ii=S(),oe=h("input"),ni=S(),we&&we.c(),sr=S(),rt=h("div"),It=h("label"),lr=E(Bt),oi=S(),De=h("input"),ai=S(),it=h("div"),Tt=h("label"),ur=E(Ht),si=S(),Le=h("input"),O=S(),T=h("div"),z=h("label"),Ue=E(R),ae=S(),Y=h("input"),to=S(),Ee&&Ee.c(),ro=S(),Ke=h("div"),li=h("label"),cn=E(ui),io=S(),je=h("input"),no=S(),Ae&&Ae.c(),oo=S(),Mt=h("div"),pi=h("label"),fn=E(di),ao=S(),We=h("input"),so=S(),Dt=h("div"),bi=h("label"),pn=E(vi),lo=S(),$e=h("input"),uo=S(),ke&&ke.c(),co=S(),Ci=h("div"),dn=h("h3"),hn=E(_i),fo=S(),le=h("section"),Lt=h("div"),Si=h("label"),mn=E(Pi),po=S(),ue=h("input"),ho=S(),pt=h("div"),ki=h("label"),bn=E(Ii),mo=S(),he=h("input"),bo=S(),vo=S(),dt=h("div"),Oi=h("label"),vn=E(Ti),yo=S(),me=h("input"),go=S(),Co=S(),ht=h("div"),Mi=h("label"),yn=E(Di),_o=S(),be=h("input"),So=S(),Po=S(),mt=h("div"),ji=h("label"),gn=E(Ri),wo=S(),ve=h("input"),Eo=S(),Ao=S(),Ie&&Ie.c(),ko=S(),Be&&Be.c(),_n=S(),xe&&xe.c(),Sn=S(),pr=h("section"),Ut=h("button"),Pn=E(Gi),Io=S(),Oe&&Oe.c(),l(o,"class",c="MyAccountCategoryTitle "+(e[15]?"MyAccountCategoryTitleNone":"")),l(f,"class","PlayerNotificationsHeader"),l(L,"for","Username"),l(B,"id","Username"),l(B,"type","text"),l(B,"class",X=`${(re=e[12].username)!=null&&re.readOnly?"FieldDisabled":""}`),B.value=F=e[12].username.value,B.readOnly=J=(v=e[12].username)==null?void 0:v.readOnly,l(I,"class",Re="PlayerInfoBox "+(e[12].username.isValid?"":"InvalidField")),l(Ne,"for","UserMobile"),l(ie,"id","UserMobilePrefix"),l(ie,"class",at=`${(qe=e[12].mobile)!=null&&qe.readOnly?"FieldDisabled":""} ${(dr=e[12].mobile)!=null&&dr.isPrefixValid?"":"InvalidPrefix"}`),ie.disabled=yt=(hr=e[12].mobile)==null?void 0:hr.readOnly,e[12].mobile.prefix===void 0&&Ki(()=>e[38].call(ie)),l(K,"id","UserMobile"),l(K,"type","text"),l(K,"class",Fe=`${(mr=e[12].mobile)!=null&&mr.readOnly?"FieldDisabled":""} ${(br=e[12].mobile)!=null&&br.isNumberValid?"":"InvalidNumber"}`),l(K,"placeholder",e[22].mobile.number),K.readOnly=ze=(vr=e[12].mobile)==null?void 0:vr.readOnly,l(V,"class","PlayerPhoneNumber"),l(V,"id","UserMobile"),l(w,"class",lt="PlayerInfoBox "+((yr=e[12].mobile)!=null&&yr.isValid?"":"InvalidField")),l(Ct,"class","FormRequired"),l(se,"for","SecurityQuestion"),l(ne,"id","SecurityQuestion"),l(ne,"type","text"),l(ne,"class",_t=`${(gr=e[12].securityQuestion)!=null&&gr.readOnly?"FieldDisabled":""}`),l(ne,"placeholder",e[22].securityQuestion),ne.readOnly=St=(Cr=e[12].securityQuestion)==null?void 0:Cr.readOnly,l(te,"class",Pt="PlayerInfoBox "+((_r=e[12].securityQuestion)!=null&&_r.isValid?"":"InvalidField")),l(ct,"class","FormRequired"),l(Me,"for","SecurityAnswer"),l(oe,"id","SecurityAnswer"),l(oe,"type","text"),l(oe,"class",At=`${(Sr=e[12].securityAnswer)!=null&&Sr.readOnly?"FieldDisabled":""}`),l(oe,"placeholder",e[22].securityAnswer),oe.readOnly=kt=(Pr=e[12].securityAnswer)==null?void 0:Pr.readOnly,l(de,"class",Je="PlayerInfoBox "+((wr=e[12].securityAnswer)!=null&&wr.isValid?"":"InvalidField")),l(It,"for","UserEmail"),l(De,"id","UserEmail"),l(De,"type","email"),l(De,"class",xt=`${(Er=e[12].email)!=null&&Er.readOnly?"FieldDisabled":""}`),De.value=ft=e[12].email.value,De.readOnly=Ot=(Ar=e[12].email)==null?void 0:Ar.readOnly,l(rt,"class","PlayerInfoBox"),l(Tt,"for","DateOfBirth"),l(Le,"id","DateOfBirth"),l(Le,"type","text"),l(Le,"class",b=`${(kr=e[12].birth)!=null&&kr.readOnly?"FieldDisabled":""}`),Le.value=_=e[12].birth.value,Le.readOnly=x=(Ir=e[12].birth)==null?void 0:Ir.readOnly,l(it,"class","PlayerInfoBox"),l(z,"for","FirstName"),l(Y,"id","FirstName"),l(Y,"type","text"),l(Y,"class",Xe=`${(Br=e[12].firstname)!=null&&Br.readOnly?"FieldDisabled":""}`),Y.readOnly=Nt=(xr=e[12].firstname)==null?void 0:xr.readOnly,l(T,"class","PlayerInfoBox"),l(li,"for","LastName"),l(je,"id","LastName"),l(je,"type","text"),l(je,"class",ci=`${(Or=e[12].lastname)!=null&&Or.readOnly?"FieldDisabled":""}`),je.readOnly=fi=(Tr=e[12].lastname)==null?void 0:Tr.readOnly,l(Ke,"class","PlayerInfoBox"),l(pi,"for","UserTitle"),l(We,"id","UserTitle"),l(We,"type","text"),l(We,"class",hi=`${(Hr=e[12].title)!=null&&Hr.readOnly?"FieldDisabled":""}`),We.value=cr=e[12].title.value,We.readOnly=mi=(Nr=e[12].title)==null?void 0:Nr.readOnly,l(Mt,"class","PlayerInfoBox"),l(bi,"for","Currrency"),l($e,"id","Currency"),l($e,"type","text"),l($e,"class",yi=`${(Mr=e[12].currency)!=null&&Mr.readOnly?"FieldDisabled":""}`),$e.value=fr=e[12].currency.value,$e.readOnly=gi=(Dr=e[12].currency)==null?void 0:Dr.readOnly,l(Dt,"class","PlayerInfoBox"),l(C,"class","PlayerDetailsContent"),l(Ci,"class","PlayerLocationHeader"),l(Si,"for","UserCountry"),l(ue,"id","UserCountry"),l(ue,"type","text"),l(ue,"class",wi=`PlayerCountry ${(Lr=e[12].country)!=null&&Lr.readOnly?"FieldDisabled":""}`),l(ue,"placeholder",Ei=e[12].country.countryCode),ue.readOnly=Ai=(Ur=e[12].country)==null?void 0:Ur.readOnly,l(Lt,"class","PlayerInfoBox"),l(ki,"for","UserCity"),l(he,"id","UserCity"),l(he,"type","text"),l(he,"class",Bi=`${(jr=e[12].city)!=null&&jr.readOnly?"FieldDisabled":""}`),l(he,"placeholder",e[22].city),he.readOnly=xi=(Rr=e[12].city)==null?void 0:Rr.readOnly,l(pt,"class","PlayerInfoBox "),l(Oi,"for","UserAddress"),l(me,"id","UserAddress"),l(me,"type","text"),l(me,"class",Hi=`${(Fr=e[12].address1)!=null&&Fr.readOnly?"FieldDisabled":""}`),l(me,"placeholder",e[22].address1),me.readOnly=Ni=(zr=e[12].address1)==null?void 0:zr.readOnly,l(dt,"class","PlayerInfoBox "),l(Mi,"for","UserAddress"),l(be,"id","UserAddress2"),l(be,"type","text"),l(be,"class",Li=`${(Gr=e[12].address2)!=null&&Gr.readOnly?"FieldDisabled":""}`),l(be,"placeholder",e[22].address2),be.readOnly=Ui=(Vr=e[12].address2)==null?void 0:Vr.readOnly,l(ht,"class","PlayerInfoBox "),l(ji,"for","UserPostalCode"),l(ve,"id","UserPostalCode"),l(ve,"type","text"),l(ve,"class",Fi=`${(Wr=e[12].postalCode)!=null&&Wr.readOnly?"FieldDisabled":""}`),l(ve,"placeholder",e[22].postalCode),ve.readOnly=zi=($r=e[12].postalCode)==null?void 0:$r.readOnly,l(mt,"class","PlayerInfoBox "),l(le,"class","PlayerLocationContent"),l(Ut,"class",Vi="PlayerDetailsSaveButton "+((e[16]||e[17])&&e[18]?"":"PlayerButtonDisabled")),l(pr,"class",Wi="PlayerDetailsButtonsArea "+(e[15]?"PlayerDetailsButtonsAreaMobile":"")),l(i,"class","PlayerFadeInWarapper"),l(r,"class",$i="PlayerInfoWrapper "+(e[15]?"PlayerInfoWrapperMobile":""))},m(re,v){ye&&ye.m(re,v),D(re,t,v),D(re,r,v),s(r,i),ge&&ge.m(i,null),s(i,n),s(i,o),s(o,u),s(i,p),s(i,f),s(f,d),s(d,g),s(i,P),s(i,C),s(C,I),s(I,L),s(L,A),s(I,G),s(I,B),s(C,He),Ce&&Ce.m(C,null),s(C,Z),s(C,w),s(w,Ne),s(Ne,rr),s(w,y),s(w,V),s(V,ie);for(let qe=0;qe<ce.length;qe+=1)ce[qe]&&ce[qe].m(ie,null);Xo(ie,e[12].mobile.prefix,!0),s(V,ir),s(V,K),W(K,e[12].mobile.number),s(w,Ye),_e&&_e.m(w,null),s(w,st),Se&&Se.m(w,null),s(C,nr),s(C,te),s(te,se),s(se,or),s(se,ei),s(se,Ct),s(te,ti),s(te,ne),W(ne,e[12].securityQuestion.value),s(te,ri),Pe&&Pe.m(te,null),s(C,ut),s(C,de),s(de,Me),s(Me,Et),s(Me,ar),s(Me,ct),s(de,ii),s(de,oe),W(oe,e[12].securityAnswer.value),s(de,ni),we&&we.m(de,null),s(C,sr),s(C,rt),s(rt,It),s(It,lr),s(rt,oi),s(rt,De),s(C,ai),s(C,it),s(it,Tt),s(Tt,ur),s(it,si),s(it,Le),s(C,O),s(C,T),s(T,z),s(z,Ue),s(T,ae),s(T,Y),W(Y,e[12].firstname.value),s(T,to),Ee&&Ee.m(T,null),s(C,ro),s(C,Ke),s(Ke,li),s(li,cn),s(Ke,io),s(Ke,je),W(je,e[12].lastname.value),s(Ke,no),Ae&&Ae.m(Ke,null),s(C,oo),s(C,Mt),s(Mt,pi),s(pi,fn),s(Mt,ao),s(Mt,We),s(C,so),s(C,Dt),s(Dt,bi),s(bi,pn),s(Dt,lo),s(Dt,$e),s(C,uo),ke&&ke.m(C,null),s(i,co),s(i,Ci),s(Ci,dn),s(dn,hn),s(i,fo),s(i,le),s(le,Lt),s(Lt,Si),s(Si,mn),s(Lt,po),s(Lt,ue),W(ue,e[12].country.countryName),s(le,ho),s(le,pt),s(pt,ki),s(ki,bn),s(pt,mo),s(pt,he),W(he,e[12].city.value),s(pt,bo),s(le,vo),s(le,dt),s(dt,Oi),s(Oi,vn),s(dt,yo),s(dt,me),W(me,e[12].address1.value),s(dt,go),s(le,Co),s(le,ht),s(ht,Mi),s(Mi,yn),s(ht,_o),s(ht,be),W(be,e[12].address2.value),s(ht,So),s(le,Po),s(le,mt),s(mt,ji),s(ji,gn),s(mt,wo),s(mt,ve),W(ve,e[12].postalCode.value),s(mt,Eo),s(le,Ao),Ie&&Ie.m(le,null),s(i,ko),Be&&Be.m(i,null),s(i,_n),xe&&xe.m(i,null),s(i,Sn),s(i,pr),s(pr,Ut),s(Ut,Pn),s(i,Io),Oe&&Oe.m(i,null),wn||(Bo=[U(ie,"change",e[38]),U(ie,"change",e[24]("mobilePrefix")),U(K,"input",e[39]),U(K,"keyup",e[24]("mobileNumber")),U(K,"input",function(){Kt(e[12].mobile.number=e[12].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[12].mobile.number=e[12].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),U(ne,"input",e[40]),U(ne,"keyup",e[24]("securityQuestion")),U(oe,"input",e[41]),U(oe,"keyup",e[24]("securityAnswer")),U(Y,"input",e[42]),U(Y,"keyup",e[24]("firstname")),U(je,"input",e[43]),U(je,"keyup",e[24]("lastname")),U(ue,"input",e[44]),U(ue,"keyup",e[24]("country")),U(he,"input",e[45]),U(he,"keyup",e[24]("city")),U(me,"input",e[46]),U(me,"keyup",e[24]("address1")),U(be,"input",e[47]),U(be,"keyup",e[24]("address2")),U(ve,"input",e[48]),U(ve,"keyup",e[24]("postalCode")),U(Ut,"click",e[25])],wn=!0)},p(re,v){var qe,dr,hr,mr,br,vr,yr,gr,Cr,_r,Sr,Pr,wr,Er,Ar,kr,Ir,Br,xr,Or,Tr,Hr,Nr,Mr,Dr,Lr,Ur,jr,Rr,Fr,zr,Gr,Vr,Wr,$r,Rt,Do,Lo,Uo,jo,Ro,Fo,zo;if(e=re,e[6]==="true"?ye?ye.p(e,v):(ye=Sa(e),ye.c(),ye.m(t.parentNode,t)):ye&&(ye.d(1),ye=null),e[15]?ge?ge.p(e,v):(ge=Pa(e),ge.c(),ge.m(i,n)):ge&&(ge.d(1),ge=null),v[0]&2097152&&a!==(a=e[21]("titleProfileInfo")+"")&&k(u,a),v[0]&32768&&c!==(c="MyAccountCategoryTitle "+(e[15]?"MyAccountCategoryTitleNone":""))&&l(o,"class",c),v[0]&2097152&&m!==(m=e[21]("personalDetails")+"")&&k(g,m),v[0]&2097152&&j!==(j=e[21]("userName")+"")&&k(A,j),v[0]&6144&&X!==(X=`${(qe=e[12].username)!=null&&qe.readOnly?"FieldDisabled":""}`)&&l(B,"class",X),v[0]&6144&&F!==(F=e[12].username.value)&&B.value!==F&&(B.value=F),v[0]&6144&&J!==(J=(dr=e[12].username)==null?void 0:dr.readOnly)&&(B.readOnly=J),v[0]&6144&&Re!==(Re="PlayerInfoBox "+(e[12].username.isValid?"":"InvalidField"))&&l(I,"class",Re),e[12].personalId.value?Ce?Ce.p(e,v):(Ce=wa(e),Ce.c(),Ce.m(C,Z)):Ce&&(Ce.d(1),Ce=null),v[0]&2097152&&Q!==(Q=e[21]("userPhone")+"")&&k(rr,Q),v[0]&6144){jt=et(e[11]);let Ge;for(Ge=0;Ge<jt.length;Ge+=1){const Go=Ca(e,jt,Ge);ce[Ge]?ce[Ge].p(Go,v):(ce[Ge]=Ea(Go),ce[Ge].c(),ce[Ge].m(ie,null))}for(;Ge<ce.length;Ge+=1)ce[Ge].d(1);ce.length=jt.length}v[0]&6144&&at!==(at=`${(hr=e[12].mobile)!=null&&hr.readOnly?"FieldDisabled":""} ${(mr=e[12].mobile)!=null&&mr.isPrefixValid?"":"InvalidPrefix"}`)&&l(ie,"class",at),v[0]&6144&&yt!==(yt=(br=e[12].mobile)==null?void 0:br.readOnly)&&(ie.disabled=yt),v[0]&6144&&Xo(ie,e[12].mobile.prefix),v[0]&6144&&Fe!==(Fe=`${(vr=e[12].mobile)!=null&&vr.readOnly?"FieldDisabled":""} ${(yr=e[12].mobile)!=null&&yr.isNumberValid?"":"InvalidNumber"}`)&&l(K,"class",Fe),v[0]&6144&&ze!==(ze=(gr=e[12].mobile)==null?void 0:gr.readOnly)&&(K.readOnly=ze),v[0]&6144&&K.value!==e[12].mobile.number&&W(K,e[12].mobile.number),(Cr=e[12].mobile)!=null&&Cr.isNumberValid?_e&&(_e.d(1),_e=null):_e?_e.p(e,v):(_e=Aa(e),_e.c(),_e.m(w,st)),(_r=e[12].mobile)!=null&&_r.isPrefixValid?Se&&(Se.d(1),Se=null):Se?Se.p(e,v):(Se=ka(e),Se.c(),Se.m(w,null)),v[0]&6144&<!==(lt="PlayerInfoBox "+((Sr=e[12].mobile)!=null&&Sr.isValid?"":"InvalidField"))&&l(w,"class",lt),v[0]&2097184&>!==(gt=(e[5]=="true"?e[21]("profileSecurityQuestion2"):e[21]("profileSecurityQuestion"))+"")&&k(or,gt),v[0]&6144&&_t!==(_t=`${(Pr=e[12].securityQuestion)!=null&&Pr.readOnly?"FieldDisabled":""}`)&&l(ne,"class",_t),v[0]&6144&&St!==(St=(wr=e[12].securityQuestion)==null?void 0:wr.readOnly)&&(ne.readOnly=St),v[0]&6144&&ne.value!==e[12].securityQuestion.value&&W(ne,e[12].securityQuestion.value),(Er=e[12].securityQuestion)!=null&&Er.isValid?Pe&&(Pe.d(1),Pe=null):Pe?Pe.p(e,v):(Pe=Ia(e),Pe.c(),Pe.m(te,null)),v[0]&6144&&Pt!==(Pt="PlayerInfoBox "+((Ar=e[12].securityQuestion)!=null&&Ar.isValid?"":"InvalidField"))&&l(te,"class",Pt),v[0]&2097184&&wt!==(wt=(e[5]=="true"?e[21]("profileSecurityAnswer2"):e[21]("profileSecurityAnswer"))+"")&&k(Et,wt),v[0]&6144&&At!==(At=`${(kr=e[12].securityAnswer)!=null&&kr.readOnly?"FieldDisabled":""}`)&&l(oe,"class",At),v[0]&6144&&kt!==(kt=(Ir=e[12].securityAnswer)==null?void 0:Ir.readOnly)&&(oe.readOnly=kt),v[0]&6144&&oe.value!==e[12].securityAnswer.value&&W(oe,e[12].securityAnswer.value),(Br=e[12].securityAnswer)!=null&&Br.isValid?we&&(we.d(1),we=null):we?we.p(e,v):(we=Ba(e),we.c(),we.m(de,null)),v[0]&6144&&Je!==(Je="PlayerInfoBox "+((xr=e[12].securityAnswer)!=null&&xr.isValid?"":"InvalidField"))&&l(de,"class",Je),v[0]&2097152&&Bt!==(Bt=e[21]("userEmail")+"")&&k(lr,Bt),v[0]&6144&&xt!==(xt=`${(Or=e[12].email)!=null&&Or.readOnly?"FieldDisabled":""}`)&&l(De,"class",xt),v[0]&6144&&ft!==(ft=e[12].email.value)&&De.value!==ft&&(De.value=ft),v[0]&6144&&Ot!==(Ot=(Tr=e[12].email)==null?void 0:Tr.readOnly)&&(De.readOnly=Ot),v[0]&2097152&&Ht!==(Ht=e[21]("dateOfBirth")+"")&&k(ur,Ht),v[0]&6144&&b!==(b=`${(Hr=e[12].birth)!=null&&Hr.readOnly?"FieldDisabled":""}`)&&l(Le,"class",b),v[0]&6144&&_!==(_=e[12].birth.value)&&Le.value!==_&&(Le.value=_),v[0]&6144&&x!==(x=(Nr=e[12].birth)==null?void 0:Nr.readOnly)&&(Le.readOnly=x),v[0]&2097152&&R!==(R=e[21]("firstName")+"")&&k(Ue,R),v[0]&6144&&Xe!==(Xe=`${(Mr=e[12].firstname)!=null&&Mr.readOnly?"FieldDisabled":""}`)&&l(Y,"class",Xe),v[0]&6144&&Nt!==(Nt=(Dr=e[12].firstname)==null?void 0:Dr.readOnly)&&(Y.readOnly=Nt),v[0]&6144&&Y.value!==e[12].firstname.value&&W(Y,e[12].firstname.value),(Lr=e[12].firstname)!=null&&Lr.isValid?Ee&&(Ee.d(1),Ee=null):Ee?Ee.p(e,v):(Ee=xa(e),Ee.c(),Ee.m(T,null)),v[0]&2097152&&ui!==(ui=e[21]("lastName")+"")&&k(cn,ui),v[0]&6144&&ci!==(ci=`${(Ur=e[12].lastname)!=null&&Ur.readOnly?"FieldDisabled":""}`)&&l(je,"class",ci),v[0]&6144&&fi!==(fi=(jr=e[12].lastname)==null?void 0:jr.readOnly)&&(je.readOnly=fi),v[0]&6144&&je.value!==e[12].lastname.value&&W(je,e[12].lastname.value),(Rr=e[12].lastname)!=null&&Rr.isValid?Ae&&(Ae.d(1),Ae=null):Ae?Ae.p(e,v):(Ae=Oa(e),Ae.c(),Ae.m(Ke,null)),v[0]&2097152&&di!==(di=e[21]("userTitle")+"")&&k(fn,di),v[0]&6144&&hi!==(hi=`${(Fr=e[12].title)!=null&&Fr.readOnly?"FieldDisabled":""}`)&&l(We,"class",hi),v[0]&6144&&cr!==(cr=e[12].title.value)&&We.value!==cr&&(We.value=cr),v[0]&6144&&mi!==(mi=(zr=e[12].title)==null?void 0:zr.readOnly)&&(We.readOnly=mi),v[0]&2097152&&vi!==(vi=e[21]("currency")+"")&&k(pn,vi),v[0]&6144&&yi!==(yi=`${(Gr=e[12].currency)!=null&&Gr.readOnly?"FieldDisabled":""}`)&&l($e,"class",yi),v[0]&6144&&fr!==(fr=e[12].currency.value)&&$e.value!==fr&&($e.value=fr),v[0]&6144&&gi!==(gi=(Vr=e[12].currency)==null?void 0:Vr.readOnly)&&($e.readOnly=gi),e[12].iban.value?ke?ke.p(e,v):(ke=Ta(e),ke.c(),ke.m(C,null)):ke&&(ke.d(1),ke=null),v[0]&2097152&&_i!==(_i=e[21]("locationDetails")+"")&&k(hn,_i),v[0]&2097152&&Pi!==(Pi=e[21]("userCountry")+"")&&k(mn,Pi),v[0]&6144&&wi!==(wi=`PlayerCountry ${(Wr=e[12].country)!=null&&Wr.readOnly?"FieldDisabled":""}`)&&l(ue,"class",wi),v[0]&6144&&Ei!==(Ei=e[12].country.countryCode)&&l(ue,"placeholder",Ei),v[0]&6144&&Ai!==(Ai=($r=e[12].country)==null?void 0:$r.readOnly)&&(ue.readOnly=Ai),v[0]&6144&&ue.value!==e[12].country.countryName&&W(ue,e[12].country.countryName),v[0]&2097152&&Ii!==(Ii=e[21]("userCity")+"")&&k(bn,Ii),v[0]&6144&&Bi!==(Bi=`${(Rt=e[12].city)!=null&&Rt.readOnly?"FieldDisabled":""}`)&&l(he,"class",Bi),v[0]&6144&&xi!==(xi=(Do=e[12].city)==null?void 0:Do.readOnly)&&(he.readOnly=xi),v[0]&6144&&he.value!==e[12].city.value&&W(he,e[12].city.value),v[0]&2097152&&Ti!==(Ti=e[21]("userAddress")+"")&&k(vn,Ti),v[0]&6144&&Hi!==(Hi=`${(Lo=e[12].address1)!=null&&Lo.readOnly?"FieldDisabled":""}`)&&l(me,"class",Hi),v[0]&6144&&Ni!==(Ni=(Uo=e[12].address1)==null?void 0:Uo.readOnly)&&(me.readOnly=Ni),v[0]&6144&&me.value!==e[12].address1.value&&W(me,e[12].address1.value),v[0]&2097152&&Di!==(Di=e[21]("userAddress2")+"")&&k(yn,Di),v[0]&6144&&Li!==(Li=`${(jo=e[12].address2)!=null&&jo.readOnly?"FieldDisabled":""}`)&&l(be,"class",Li),v[0]&6144&&Ui!==(Ui=(Ro=e[12].address2)==null?void 0:Ro.readOnly)&&(be.readOnly=Ui),v[0]&6144&&be.value!==e[12].address2.value&&W(be,e[12].address2.value),v[0]&2097152&&Ri!==(Ri=e[21]("userPostalCode")+"")&&k(gn,Ri),v[0]&6144&&Fi!==(Fi=`${(Fo=e[12].postalCode)!=null&&Fo.readOnly?"FieldDisabled":""}`)&&l(ve,"class",Fi),v[0]&6144&&zi!==(zi=(zo=e[12].postalCode)==null?void 0:zo.readOnly)&&(ve.readOnly=zi),v[0]&6144&&ve.value!==e[12].postalCode.value&&W(ve,e[12].postalCode.value),e[7]==="true"?Ie?Ie.p(e,v):(Ie=Ha(e),Ie.c(),Ie.m(le,null)):Ie&&(Ie.d(1),Ie=null),v[0]&4096&&(Cn=Object.keys(e[12].consents).length>0),Cn?Be?Be.p(e,v):(Be=Na(e),Be.c(),Be.m(i,_n)):Be&&(Be.d(1),Be=null),e[8]=="true"&&e[20]?xe?xe.p(e,v):(xe=ja(e),xe.c(),xe.m(i,Sn)):xe&&(xe.d(1),xe=null),v[0]&2097152&&Gi!==(Gi=e[21]("userProfileSaveChanges")+"")&&k(Pn,Gi),v[0]&458752&&Vi!==(Vi="PlayerDetailsSaveButton "+((e[16]||e[17])&&e[18]?"":"PlayerButtonDisabled"))&&l(Ut,"class",Vi),v[0]&32768&&Wi!==(Wi="PlayerDetailsButtonsArea "+(e[15]?"PlayerDetailsButtonsAreaMobile":""))&&l(pr,"class",Wi),e[19]?Oe?Oe.p(e,v):(Oe=Ra(e),Oe.c(),Oe.m(i,null)):Oe&&(Oe.d(1),Oe=null),v[0]&32768&&$i!==($i="PlayerInfoWrapper "+(e[15]?"PlayerInfoWrapperMobile":""))&&l(r,"class",$i)},d(re){re&&(M(t),M(r)),ye&&ye.d(re),ge&&ge.d(),Ce&&Ce.d(),$t(ce,re),_e&&_e.d(),Se&&Se.d(),Pe&&Pe.d(),we&&we.d(),Ee&&Ee.d(),Ae&&Ae.d(),ke&&ke.d(),Ie&&Ie.d(),Be&&Be.d(),xe&&xe.d(),Oe&&Oe.d(),wn=!1,ot(Bo)}}}function Sa(e){let t,r,i=e[21]("welcomePanelTitle").replace("{fullName}",`${e[12].firstname.value} ${e[12].lastname.value}`)+"",n,o,a,u=e[21]("welcomePanelDescription")+"",c,p,f,d,m,g,P=e[12].firstname.value+"",C,I,L=e[12].lastname.value+"",j;return{c(){t=h("section"),r=h("h2"),n=E(i),o=S(),a=h("p"),c=E(u),p=S(),f=h("div"),d=h("div"),d.innerHTML='<svg viewBox="0 0 48 48" class="AvatarIcon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="24" cy="24" r="22" fill="currentColor" opacity="0.12"></circle><circle cx="24" cy="19" r="7" fill="currentColor" opacity="0.35"></circle><path d="M10 38c3.6-7 11-8.5 14-8.5S34.4 31 38 38" fill="currentColor" opacity="0.35"></path></svg>',m=S(),g=h("div"),C=E(P),I=S(),j=E(L),l(r,"class","WelcomeSectionTitle"),l(a,"class","WelcomeSectionDescription"),l(d,"class","WelcomeSectionProfilePicture"),l(d,"aria-hidden","true"),l(g,"class","WelcomeSectionFullName"),l(f,"class","WelcomeSectionProfileRow"),l(f,"role","group"),l(t,"class","WelcomeSection"),l(t,"role","region")},m(A,G){D(A,t,G),s(t,r),s(r,n),s(t,o),s(t,a),s(a,c),s(t,p),s(t,f),s(f,d),s(f,m),s(f,g),s(g,C),s(g,I),s(g,j)},p(A,G){G[0]&2101248&&i!==(i=A[21]("welcomePanelTitle").replace("{fullName}",`${A[12].firstname.value} ${A[12].lastname.value}`)+"")&&k(n,i),G[0]&2097152&&u!==(u=A[21]("welcomePanelDescription")+"")&&k(c,u),G[0]&4096&&P!==(P=A[12].firstname.value+"")&&k(C,P),G[0]&4096&&L!==(L=A[12].lastname.value+"")&&k(j,L)},d(A){A&&M(t)}}}function Pa(e){let t,r,i,n,o,a,u,c,p,f,d=e[21]("titleProfileInfo")+"",m,g,P;return{c(){t=h("div"),r=Ft("svg"),i=Ft("defs"),n=Ft("style"),o=E(`.aaa {
|
|
19
|
-
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
20
|
-
}
|
|
21
|
-
`),a=Ft("g"),u=Ft("g"),c=Ft("path"),p=S(),f=h("h2"),m=E(d),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(a,"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(f,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(C,I){D(C,t,I),s(t,r),s(r,i),s(i,n),s(n,o),s(r,a),s(a,u),s(u,c),s(t,p),s(t,f),s(f,m),g||(P=[U(t,"click",e[26]),U(t,"keyup",null)],g=!0)},p(C,I){I[0]&2097152&&d!==(d=C[21]("titleProfileInfo")+"")&&k(m,d)},d(C){C&&M(t),g=!1,ot(P)}}}function wa(e){let t,r,i=e[21]("personalId")+"",n,o,a,u,c,p,f;return{c(){var d,m;t=h("div"),r=h("label"),n=E(i),o=S(),a=h("input"),l(r,"for","PersonalId"),l(a,"id","PersonalId"),l(a,"type","text"),l(a,"class",u=`${(d=e[12].personalId)!=null&&d.readOnly?"FieldDisabled":""}`),a.value=c=e[12].personalId.value,a.readOnly=p=(m=e[12].personalId)==null?void 0:m.readOnly,l(t,"class",f="PlayerInfoBox "+(e[12].personalId.isValid?"":"InvalidField"))},m(d,m){D(d,t,m),s(t,r),s(r,n),s(t,o),s(t,a)},p(d,m){var g,P;m[0]&2097152&&i!==(i=d[21]("personalId")+"")&&k(n,i),m[0]&6144&&u!==(u=`${(g=d[12].personalId)!=null&&g.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),m[0]&6144&&c!==(c=d[12].personalId.value)&&a.value!==c&&(a.value=c),m[0]&6144&&p!==(p=(P=d[12].personalId)==null?void 0:P.readOnly)&&(a.readOnly=p),m[0]&6144&&f!==(f="PlayerInfoBox "+(d[12].personalId.isValid?"":"InvalidField"))&&l(t,"class",f)},d(d){d&&M(t)}}}function pc(e){let t,r=e[91]+"",i,n;return{c(){t=h("option"),i=E(r),t.__value=n=e[91],W(t,t.__value)},m(o,a){D(o,t,a),s(t,i)},p(o,a){a[0]&2048&&r!==(r=o[91]+"")&&k(i,r),a[0]&2048&&n!==(n=o[91])&&(t.__value=n,W(t,t.__value))},d(o){o&&M(t)}}}function dc(e){let t,r=e[91]+"",i,n;return{c(){t=h("option"),i=E(r),t.selected=!0,t.__value=n=e[91],W(t,t.__value)},m(o,a){D(o,t,a),s(t,i)},p(o,a){a[0]&2048&&r!==(r=o[91]+"")&&k(i,r),a[0]&2048&&n!==(n=o[91])&&(t.__value=n,W(t,t.__value))},d(o){o&&M(t)}}}function Ea(e){let t;function r(o,a){return o[91]===o[12].mobile.prefix?dc:pc}let i=r(e),n=i(e);return{c(){n.c(),t=Yn()},m(o,a){n.m(o,a),D(o,t,a)},p(o,a){i===(i=r(o))&&n?n.p(o,a):(n.d(1),n=i(o),n&&(n.c(),n.m(t.parentNode,t)))},d(o){o&&M(t),n.d(o)}}}function Aa(e){let t,r=e[21]("userPhoneError")+"",i;return{c(){t=h("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){D(n,t,o),s(t,i)},p(n,o){o[0]&2097152&&r!==(r=n[21]("userPhoneError")+"")&&k(i,r)},d(n){n&&M(t)}}}function ka(e){let t,r=e[21]("userPrefixError")+"",i;return{c(){t=h("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){D(n,t,o),s(t,i)},p(n,o){o[0]&2097152&&r!==(r=n[21]("userPrefixError")+"")&&k(i,r)},d(n){n&&M(t)}}}function Ia(e){let t,r=(e[5]=="true"?e[21]("profileSecurityQuestionError2"):e[21]("profileSecurityQuestionError"))+"",i;return{c(){t=h("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){D(n,t,o),s(t,i)},p(n,o){o[0]&2097184&&r!==(r=(n[5]=="true"?n[21]("profileSecurityQuestionError2"):n[21]("profileSecurityQuestionError"))+"")&&k(i,r)},d(n){n&&M(t)}}}function Ba(e){let t,r=(e[5]=="true"?e[21]("profileSecurityAnswerError2"):e[21]("profileSecurityAnswerError"))+"",i;return{c(){t=h("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){D(n,t,o),s(t,i)},p(n,o){o[0]&2097184&&r!==(r=(n[5]=="true"?n[21]("profileSecurityAnswerError2"):n[21]("profileSecurityAnswerError"))+"")&&k(i,r)},d(n){n&&M(t)}}}function xa(e){let t,r=e[21]("firstNameError")+"",i;return{c(){t=h("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){D(n,t,o),s(t,i)},p(n,o){o[0]&2097152&&r!==(r=n[21]("firstNameError")+"")&&k(i,r)},d(n){n&&M(t)}}}function Oa(e){let t,r=e[21]("lastNameError")+"",i;return{c(){t=h("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){D(n,t,o),s(t,i)},p(n,o){o[0]&2097152&&r!==(r=n[21]("lastNameError")+"")&&k(i,r)},d(n){n&&M(t)}}}function Ta(e){let t,r,i=e[21]("iban")+"",n,o,a,u,c,p;return{c(){var f,d;t=h("div"),r=h("label"),n=E(i),o=S(),a=h("input"),l(r,"for","Iban"),l(a,"id","Iban"),l(a,"type","text"),l(a,"class",u=`${(f=e[12].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=c=e[12].iban.value,a.readOnly=p=(d=e[12].iban)==null?void 0:d.readOnly,l(t,"class","PlayerInfoBox")},m(f,d){D(f,t,d),s(t,r),s(r,n),s(t,o),s(t,a)},p(f,d){var m,g;d[0]&2097152&&i!==(i=f[21]("iban")+"")&&k(n,i),d[0]&6144&&u!==(u=`${(m=f[12].iban)!=null&&m.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),d[0]&6144&&c!==(c=f[12].iban.value)&&a.value!==c&&(a.value=c),d[0]&6144&&p!==(p=(g=f[12].iban)==null?void 0:g.readOnly)&&(a.readOnly=p)},d(f){f&&M(t)}}}function Ha(e){let t,r=e[21]("locationDetailsDescription")+"",i;return{c(){t=h("div"),i=E(r),l(t,"class","LocationDetailsDescription")},m(n,o){D(n,t,o),s(t,i)},p(n,o){o[0]&2097152&&r!==(r=n[21]("locationDetailsDescription")+"")&&k(i,r)},d(n){n&&M(t)}}}function Na(e){var p;let t,r,i=e[21]("userNotifications")+"",n,o,a,u=et(Object.keys((p=e[12].consents)!=null?p:{})),c=[];for(let f=0;f<u.length;f+=1)c[f]=Ua(ya(e,u,f));return{c(){t=h("div"),r=h("h3"),n=E(i),o=S(),a=h("section");for(let f=0;f<c.length;f+=1)c[f].c();l(t,"class","PlayerNotificationsHeader"),l(a,"class","PlayerNotificationsCheckboxArea")},m(f,d){D(f,t,d),s(t,r),s(r,n),D(f,o,d),D(f,a,d);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(a,null)},p(f,d){var m;if(d[0]&2097152&&i!==(i=f[21]("userNotifications")+"")&&k(n,i),d[0]&413151232){u=et(Object.keys((m=f[12].consents)!=null?m:{}));let g;for(g=0;g<u.length;g+=1){const P=ya(f,u,g);c[g]?c[g].p(P,d):(c[g]=Ua(P),c[g].c(),c[g].m(a,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=u.length}},d(f){f&&(M(t),M(o),M(a)),$t(c,f)}}}function Ma(e){let t,r=e[23].includes(e[85]),i,n,o=r&&Da(e),a=et(e[12].consents[e[85]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=La(ga(e,a,c));return{c(){t=h("div"),o&&o.c(),i=S();for(let c=0;c<u.length;c+=1)u[c].c();n=S(),l(t,"class","ConsentGroup")},m(c,p){D(c,t,p),o&&o.m(t,null),s(t,i);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(t,null);s(t,n)},p(c,p){if(p[0]&4096&&(r=c[23].includes(c[85])),r?o?o.p(c,p):(o=Da(c),o.c(),o.m(t,i)):o&&(o.d(1),o=null),p[0]&278933504){a=et(c[12].consents[c[85]]);let f;for(f=0;f<a.length;f+=1){const d=ga(c,a,f);u[f]?u[f].p(d,p):(u[f]=La(d),u[f].c(),u[f].m(t,n))}for(;f<u.length;f+=1)u[f].d(1);u.length=a.length}},d(c){c&&M(t),o&&o.d(),$t(u,c)}}}function Da(e){let t,r,i,n,o=e[85],a,u,c,p,f=e[21](`consentCategoryHeader${e[85]}`)+"",d,m,g;const P=()=>e[49](i,o),C=()=>e[49](null,o);return{c(){t=h("div"),r=h("label"),i=h("input"),a=S(),u=h("span"),c=S(),p=h("span"),d=E(f),i.checked=n=e[12].consents[e[85]].every(Fa),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(I,L){D(I,t,L),s(t,r),s(r,i),P(),s(r,a),s(r,u),s(r,c),s(r,p),s(p,d),m||(g=U(i,"change",function(){Kt(e[27](e[85]))&&e[27](e[85]).apply(this,arguments)}),m=!0)},p(I,L){e=I,L[0]&6144&&n!==(n=e[12].consents[e[85]].every(Fa))&&(i.checked=n),o!==e[85]&&(C(),o=e[85],P()),L[0]&2101248&&f!==(f=e[21](`consentCategoryHeader${e[85]}`)+"")&&k(d,f)},d(I){I&&M(t),C(),m=!1,g()}}}function La(e){let t,r,i,n=e[85],o=e[88],a,u,c,p,f=e[21](`${e[88].tagCode}Consent`)+"",d,m,g,P;const C=()=>e[50](i,n,o),I=()=>e[50](null,n,o);function L(){e[51].call(i,e[89],e[90])}return{c(){t=h("div"),r=h("label"),i=h("input"),a=S(),u=h("span"),c=S(),p=h("span"),d=E(f),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",m="PlayerNotificationBox "+(e[23].includes(e[85])?"Child":""))},m(j,A){D(j,t,A),s(t,r),s(r,i),C(),i.checked=e[88].status,s(r,a),s(r,u),s(r,c),s(r,p),s(p,d),g||(P=[U(i,"change",L),U(i,"change",function(){Kt(e[28](e[85]))&&e[28](e[85]).apply(this,arguments)})],g=!0)},p(j,A){e=j,(n!==e[85]||o!==e[88])&&(I(),n=e[85],o=e[88],C()),A[0]&6144&&(i.checked=e[88].status),A[0]&2101248&&f!==(f=e[21](`${e[88].tagCode}Consent`)+"")&&k(d,f),A[0]&6144&&m!==(m="PlayerNotificationBox "+(e[23].includes(e[85])?"Child":""))&&l(t,"class",m)},d(j){j&&M(t),I(),g=!1,ot(P)}}}function Ua(e){var i;let t,r=((i=e[12].consents[e[85]])==null?void 0:i.length)>0&&Ma(e);return{c(){r&&r.c(),t=Yn()},m(n,o){r&&r.m(n,o),D(n,t,o)},p(n,o){var a;((a=n[12].consents[n[85]])==null?void 0:a.length)>0?r?r.p(n,o):(r=Ma(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&M(t),r&&r.d(n)}}}function ja(e){let t,r,i,n=e[21]("appSettingsTitle")+"",o,a,u,c,p=e[21]("loginWithBiometrics")+"",f,d,m;return{c(){t=h("div"),r=h("div"),i=h("h3"),o=E(n),a=S(),u=h("div"),c=h("span"),f=E(p),d=S(),m=h("player-account-biometrics-action"),l(r,"class","PlayerNotificationsHeader"),Te(m,"mode",e[9]),Te(m,"isNativeApp",e[20]),Te(m,"lang",e[0]),Te(m,"translationurl",e[4]),Te(m,"clientstyling",e[1]),Te(m,"clientstylingurl",e[2]),Te(m,"mbsource",e[3]),l(u,"class","PlayerBiometrics"),l(t,"class","PlayerBiometricsContainer")},m(g,P){D(g,t,P),s(t,r),s(r,i),s(i,o),s(t,a),s(t,u),s(u,c),s(c,f),s(u,d),s(u,m)},p(g,P){P[0]&2097152&&n!==(n=g[21]("appSettingsTitle")+"")&&k(o,n),P[0]&2097152&&p!==(p=g[21]("loginWithBiometrics")+"")&&k(f,p),P[0]&512&&Te(m,"mode",g[9]),P[0]&1048576&&Te(m,"isNativeApp",g[20]),P[0]&1&&Te(m,"lang",g[0]),P[0]&16&&Te(m,"translationurl",g[4]),P[0]&2&&Te(m,"clientstyling",g[1]),P[0]&4&&Te(m,"clientstylingurl",g[2]),P[0]&8&&Te(m,"mbsource",g[3])},d(g){g&&M(t)}}}function Ra(e){let t,r,i=e[21]("userProfileConfirmationMessage")+"",n;return{c(){t=h("section"),r=h("p"),n=E(i),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){D(o,t,a),s(t,r),s(r,n)},p(o,a){a[0]&2097152&&i!==(i=o[21]("userProfileConfirmationMessage")+"")&&k(n,i)},d(o){o&&M(t)}}}function hc(e){let t,r,i,n,o,a,u,c,p,f,d,m,g,P,C,I,L,j,A,G,B=et({length:10}),X=[];for(let w=0;w<B.length;w+=1)X[w]=uc(lc(e,B,w));let F=et({length:4}),J=[];for(let w=0;w<F.length;w+=1)J[w]=cc(sc(e,F,w));let Re=et({length:4}),He=[];for(let w=0;w<Re.length;w+=1)He[w]=fc(ac(e,Re,w));let Z=!e[14]&&_a(e);return{c(){t=h("div"),r=h("div"),i=h("div"),i.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',n=S(),o=h("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=S(),u=h("div");for(let w=0;w<X.length;w+=1)X[w].c();c=S(),p=h("div"),p.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=S(),d=h("div");for(let w=0;w<J.length;w+=1)J[w].c();m=S(),g=h("div"),g.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',P=S(),C=h("div");for(let w=0;w<He.length;w+=1)He[w].c();I=S(),L=h("div"),L.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',A=S(),G=h("div"),Z&&Z.c(),l(i,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(p,"class","skeletonSectionText"),l(d,"class","skeletonSectionContainer"),l(g,"class","skeletonSectionText"),l(C,"class","skeletonConsentsContainer"),l(L,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",j="skeletonContainer "+(e[14]?"":"Hidden"))},m(w,Ne){D(w,t,Ne),s(t,r),s(r,i),s(r,n),s(r,o),s(r,a),s(r,u);for(let Q=0;Q<X.length;Q+=1)X[Q]&&X[Q].m(u,null);s(r,c),s(r,p),s(r,f),s(r,d);for(let Q=0;Q<J.length;Q+=1)J[Q]&&J[Q].m(d,null);s(r,m),s(r,g),s(r,P),s(r,C);for(let Q=0;Q<He.length;Q+=1)He[Q]&&He[Q].m(C,null);s(r,I),s(r,L),D(w,A,Ne),D(w,G,Ne),Z&&Z.m(G,null),e[52](G)},p(w,Ne){Ne[0]&16384&&j!==(j="skeletonContainer "+(w[14]?"":"Hidden"))&&l(t,"class",j),w[14]?Z&&(Z.d(1),Z=null):Z?Z.p(w,Ne):(Z=_a(w),Z.c(),Z.m(G,null))},i:pe,o:pe,d(w){w&&(M(t),M(A),M(G)),$t(X,w),$t(J,w),$t(He,w),Z&&Z.d(),e[52](null)}}}const Fa=e=>e.status;function mc(e,t,r){let i;Va(e,Cs,b=>r(21,i=b));let{userid:n}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:c}=t,{clientstylingurl:p}=t,{mbsource:f}=t,{translationurl:d}=t,{custominputtextswitch:m="false"}=t,{showwelcomepanel:g="false"}=t,{showlocationdetailsdescription:P="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,{marketingconsentstitle:I="false"}=t,{biometricenabled:L="false"}=t,{biometricactionmode:j="switch"}=t,A,G,B=[],X=[],F={},J=[],Re=[],He=[],Z,w,Ne=window.navigator.userAgent,Q="";const rr={address1:"i.e.: Glanmire Rd.",address2:"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"},y={},V={},ie=["Marketing","Casino","Sports","Bingo","VirtualSports"],at=["Casino","Sports","Bingo","VirtualSports"],yt=()=>{I==="true"&&at.unshift("Marketing")};let ir=!0,K=!1,Fe=!1,ze=!1,Ye=!0,st=!1;const lt={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/,name:new RegExp("^(?!.*[-'’·\\s]{2})(?![-'’·\\s])[A-Za-zÀ-ÖØ-öø-ÿĀ-žḀ-ỿ’'·\\- ]{2,30}(?<![-'’·\\s])$")};window.matchMedia("(min-width: 768px)");let nr=!1;const te=b=>{try{return JSON.stringify(b)}catch(_){return null}},se=b=>Qe(this,null,function*(){try{const _=new URL(`${a}${b}`),O={method:"GET",headers:new Headers({"X-SessionID":o})},T=yield fetch(_.href,O);if(!T.ok)throw new Error(`HTTP error! Status: ${T.status}`);return yield T.json()}catch(_){throw console.error("Fetch error:",_),_}});function gt(){return Qe(this,null,function*(){r(35,F=yield se(`/v1/player/${n}/profile`))})}function or(){return Qe(this,null,function*(){r(36,J=(yield se(`/v1/player/${n}/consent`)).items)})}function ei(){return Qe(this,null,function*(){r(37,Re=(yield se("/v1/player/consentRequirements")).items)})}function Ct(){return Qe(this,null,function*(){r(34,X=(yield se("/v1/player/countries")).countries)})}const ti=()=>{Object.keys(F).forEach(_=>{var x,O,T,z,R,Ue;switch(r(12,y[_]={},y),_){case"birth":const ae=((x=F[_])==null?void 0:x.day)||"",Y=((O=F[_])==null?void 0:O.month)||"",Xe=((T=F[_])==null?void 0:T.year)||"";r(12,y[_].value=`${ae}/${Y}/${Xe}`,y);break;case"country":r(12,y[_].countryName=((z=X.find(Nt=>Nt.Alpha2Code===F.country))==null?void 0:z.Name)||"I.E. Ireland",y),r(12,y[_].countryCode=F.country||"",y);break;case"mobile":r(12,y[_].prefix=(R=F.mobile)==null?void 0:R.prefix,y),r(12,y[_].number=(Ue=F.mobile)==null?void 0:Ue.number,y),r(12,y.mobile.isPrefixValid=!0,y),r(12,y.mobile.isNumberValid=!0,y);break;default:r(12,y[_].value=F[_],y)}r(12,y[_].readOnly=He.includes(_),y),r(12,y[_].isValid=!0,y)}),r(12,y.consents={},y),Re.forEach(_=>{if(ie.includes(_.category)&&!_.mustAccept){const x=J.find(O=>O.tagCode===_.tagCode);r(12,y.consents[_.category]=y.consents[_.category]||[],y),x?y.consents[_.category].push({tagCode:x.tagCode,status:x.status==="Accepted"}):y.consents[_.category].push({tagCode:_.tagCode,status:!1})}});const b=y.consents;for(const[_,x]of Object.entries(b))V[_]||(r(13,V[_]={},V),r(13,V[_].parent=null,V),x.forEach(O=>r(13,V[_][O.tagCode]=null,V)));w=te(y),Z=te(y.consents),r(14,ir=!1)},ne=b=>b.split(","),_t=()=>{const b=new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);fetch(b.href).then(_=>_.json()).then(_=>r(11,B=_.phoneCodes)).catch(_=>console.log("Failed to fetch phone codes:",_))},St=()=>(r(18,Ye=Object.values(y).every(b=>!b||typeof b.isValid!="boolean"?!0:b.isValid)),Ye),ri=()=>{r(16,Fe=te(y)!==w)},Pt=()=>{r(17,ze=te(y.consents)!==Z)},ut=b=>()=>{var T,z;const _=b==="mobilePrefix"||b==="mobileNumber";if(_&&((T=y.mobile)!=null&&T.readOnly)||(z=y[b])!=null&&z.readOnly)return;const x=_?y.mobile.value:y[b].value,O=!_&&typeof x=="string"?x.trim():x;switch(b){case"lastname":case"firstname":r(12,y[b].isValid=lt.name.test(O),y);break;case"mobilePrefix":case"mobileNumber":{const R=!!y.mobile.prefix,Ue=!!y.mobile.number&&y.mobile.number.length>=5&&y.mobile.number.length<=12;r(12,y.mobile.isPrefixValid=R,y),r(12,y.mobile.isNumberValid=Ue,y),r(12,y.mobile.isValid=R&&Ue,y)}break;case"city":r(12,y[b].isValid=O&&O.length<=50,y);break;case"postalCode":r(12,y[b].isValid=O&&O.length<=20,y);break;case"address1":case"address2":r(12,y[b].isValid=O&&O.length<=100,y);break;case"securityQuestion":case"securityAnswer":if(r(12,y[b].isValid=!1,y),O)switch(m){case"true":lt.document.test(O)&&O.length<=50&&r(12,y[b].isValid=!0,y);break;case"false":O&&O.length<=120&&r(12,y[b].isValid=!0,y);break}break;case"consents":Pt();break}b!=="consents"&&ri(),St()},de=()=>{r(19,st=!0),setTimeout(()=>{r(19,st=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("profileUpdateSuccess")}},window.location.href)},Me=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:Q}},window.location.href)},wt=b=>Qe(this,null,function*(){if(b.preventDefault(),Fe&&!ze&&Ye)try{(yield Et())?(r(35,F=yield se(`/v1/player/${n}/profile`)),r(16,Fe=!1),de()):Me()}catch(T){console.error("Update profile info error",T),Me()}finally{return}if(!Fe&&ze&&Ye)try{(yield ct())?(r(36,J=(yield se(`/v1/player/${n}/consent`)).items),r(17,ze=!1),de()):Me()}catch(T){console.error("Update profile consent error",T),Me()}finally{return}if(Fe&&ze&&Ye)try{const T=yield Promise.all([Et(),ct()]);T[0]&&T[1]?(r(36,J=(yield se(`/v1/player/${n}/consent`)).items),r(35,F=yield se(`/v1/player/${n}/profile`)),r(16,Fe=!1),r(17,ze=!1),de()):Me()}catch(T){console.error("Update profile info and consent error",T),Me()}finally{return}}),Et=()=>Qe(this,null,function*(){const b=new URL(`${a}/v1/player/${n}/profile`),_=new Headers;_.append("X-SessionID",o),_.append("Content-Type","application/json"),_.append("Accept","application/json");const x=Object.entries(y).reduce((z,[R,Ue])=>{var Y;const ae=Ue;if(!ae.readOnly)if(R==="mobile"||R==="phone")z[R]={prefix:ae.prefix,number:ae.number};else if(R==="consents")z[R]=ae;else if(R==="country")z[R]=ae.countryCode;else if(R==="birth"&&typeof ae.value=="string"){const Xe=ae.value.split("/");z[R]={year:Xe[2],month:Xe[1],day:Xe[0]}}else z[R]=(Y=ae.value)!=null?Y:null;return z},{}),O=te(x);if(O===null)return!1;const T={method:"POST",headers:_,body:O};try{const z=yield fetch(b.href,T);if(z.status===200)return!0;const R=yield z.json();return ar(R),!1}catch(z){return console.error(z),ar(z),!1}}),ar=b=>{var x;const _=(x=b.thirdPartyResponse)==null?void 0:x.message;_&&_.includes("Mandatory input parameter is missing: mobilePrefix")?(Q=i("userPrefixError"),ut("mobilePrefix")()):Q=i("userProfileUpdateError")},ct=()=>Qe(this,null,function*(){const b=[],_=y.consents;for(let R of Object.values(_).flat())b.push({tagCode:R.tagCode,status:R.status?"Accepted":"Denied"});const x=new URL(`${a}/v1/player/${n}/consent`),O=new Headers;O.append("X-SessionID",o),O.append("Content-Type","application/json"),O.append("Accept","application/json");const T=te({items:b});if(T===null)return!1;const z={method:"POST",headers:O,body:T};try{if((yield fetch(x.href,z)).status===200){const Ue=b.reduce((ae,Y)=>(ae[Y.tagCode]=Y.status==="Accepted",ae),{});return window.postMessage({type:"ConsentsUpdated",status:"updated",consents:Ue},window.location.href),!0}return!1}catch(R){return console.error(R),!1}}),ii=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:K},window.location.href)},oe=()=>{Fu(u)},At=()=>{fetch(d).then(_=>_.json()).then(_=>{Object.keys(_).forEach(x=>{ua(x,_[x])})}).catch(_=>{console.log(_)})};Object.keys(ca).forEach(b=>{ua(b,ca[b])});const kt=b=>_=>{y.consents[b].forEach(x=>{x.status=_.target.checked,Object.values(V[b]).forEach(O=>{O&&(O.checked=x.status)})}),ut("consents")()},ni=b=>_=>{V[b].parent&&r(13,V[b].parent.checked=y.consents[b].every(x=>x.status),V),ut("consents")()},Je=b=>Array.isArray(b)?b.length>0:Object.keys(b).length>0,sr=b=>Qe(this,null,function*(){var _;((_=b.data)==null?void 0:_.type)==="NativeAppReady"&&r(20,nr=!0)}),rt=()=>{window.postMessage({type:"CheckNativeApp"})};$a(()=>(nc(Ne)&&r(15,K=!0),L==="true"&&(window.addEventListener("message",sr),rt()),()=>{window.removeEventListener("message",sr)}));function It(){y.mobile.prefix=Rs(this),r(12,y),r(11,B)}function Bt(){y.mobile.number=this.value,r(12,y),r(11,B)}function lr(){y.securityQuestion.value=this.value,r(12,y),r(11,B)}function oi(){y.securityAnswer.value=this.value,r(12,y),r(11,B)}function De(){y.firstname.value=this.value,r(12,y),r(11,B)}function xt(){y.lastname.value=this.value,r(12,y),r(11,B)}function ft(){y.country.countryName=this.value,r(12,y),r(11,B)}function Ot(){y.city.value=this.value,r(12,y),r(11,B)}function ai(){y.address1.value=this.value,r(12,y),r(11,B)}function it(){y.address2.value=this.value,r(12,y),r(11,B)}function Tt(){y.postalCode.value=this.value,r(12,y),r(11,B)}function Ht(b,_){Qt[b?"unshift":"push"](()=>{V[_].parent=b,r(13,V)})}function ur(b,_,x){Qt[b?"unshift":"push"](()=>{V[_][x.tagCode]=b,r(13,V)})}function si(b,_){b[_].status=this.checked,r(12,y),r(11,B)}function Le(b){Qt[b?"unshift":"push"](()=>{A=b,r(10,A)})}return e.$$set=b=>{"userid"in b&&r(29,n=b.userid),"sessionid"in b&&r(30,o=b.sessionid),"endpoint"in b&&r(31,a=b.endpoint),"lang"in b&&r(0,u=b.lang),"clientstyling"in b&&r(1,c=b.clientstyling),"clientstylingurl"in b&&r(2,p=b.clientstylingurl),"mbsource"in b&&r(3,f=b.mbsource),"translationurl"in b&&r(4,d=b.translationurl),"custominputtextswitch"in b&&r(5,m=b.custominputtextswitch),"showwelcomepanel"in b&&r(6,g=b.showwelcomepanel),"showlocationdetailsdescription"in b&&r(7,P=b.showlocationdetailsdescription),"disabledfields"in b&&r(32,C=b.disabledfields),"marketingconsentstitle"in b&&r(33,I=b.marketingconsentstitle),"biometricenabled"in b&&r(8,L=b.biometricenabled),"biometricactionmode"in b&&r(9,j=b.biometricactionmode)},e.$$.update=()=>{e.$$.dirty[0]&1610612736|e.$$.dirty[1]&1&&a&&n&&o&>()&&or()&&ei(),e.$$.dirty[1]&1&&a&&Ct()&&_t(),e.$$.dirty[1]&120&&Je(F)&&Je(J)&&Je(Re)&&Je(X)&&ti(),e.$$.dirty[0]&1&&u&&oe(),e.$$.dirty[1]&2&&C&&(He=ne(C)),e.$$.dirty[0]&1026&&c&&A&&_s(A,c),e.$$.dirty[0]&1028&&p&&A&&Ss(A,p),e.$$.dirty[0]&1032&&f&&A&&Ps(A,`${f}.Style`,G),e.$$.dirty[0]&16&&d&&At(),e.$$.dirty[1]&4&&I&&yt()},[u,c,p,f,d,m,g,P,L,j,A,B,y,V,ir,K,Fe,ze,Ye,st,nr,i,rr,at,ut,wt,ii,kt,ni,n,o,a,C,I,X,F,J,Re,It,Bt,lr,oi,De,xt,ft,Ot,ai,it,Tt,Ht,ur,si,Le]}class xs extends Za{constructor(t){super(),Qa(this,t,mc,hc,Zn,{userid:29,sessionid:30,endpoint:31,lang:0,clientstyling:1,clientstylingurl:2,mbsource:3,translationurl:4,custominputtextswitch:5,showwelcomepanel:6,showlocationdetailsdescription:7,disabledfields:32,marketingconsentstitle:33,biometricenabled:8,biometricactionmode:9},oc,[-1,-1,-1,-1])}get userid(){return this.$$.ctx[29]}set userid(t){this.$$set({userid:t}),ee()}get sessionid(){return this.$$.ctx[30]}set sessionid(t){this.$$set({sessionid:t}),ee()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),ee()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),ee()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),ee()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ee()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),ee()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),ee()}get custominputtextswitch(){return this.$$.ctx[5]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),ee()}get showwelcomepanel(){return this.$$.ctx[6]}set showwelcomepanel(t){this.$$set({showwelcomepanel:t}),ee()}get showlocationdetailsdescription(){return this.$$.ctx[7]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),ee()}get disabledfields(){return this.$$.ctx[32]}set disabledfields(t){this.$$set({disabledfields:t}),ee()}get marketingconsentstitle(){return this.$$.ctx[33]}set marketingconsentstitle(t){this.$$set({marketingconsentstitle:t}),ee()}get biometricenabled(){return this.$$.ctx[8]}set biometricenabled(t){this.$$set({biometricenabled:t}),ee()}get biometricactionmode(){return this.$$.ctx[9]}set biometricactionmode(t){this.$$set({biometricactionmode:t}),ee()}}qa(xs,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showwelcomepanel:{},showlocationdetailsdescription:{},disabledfields:{},marketingconsentstitle:{},biometricenabled:{},biometricactionmode:{}},[],[],!0);const bc=Object.freeze(Object.defineProperty({__proto__:null,default:xs},Symbol.toStringTag,{value:"Module"}));exports.$format=Cs;exports.$locale=vt;exports.PlayerProfileInfo_ce=bc;exports.SvelteComponent=Za;exports.addMessages=Kn;exports.append=s;exports.append_styles=Wa;exports.attr=l;exports.binding_callbacks=Qt;exports.component_subscribe=Va;exports.create_custom_element=qa;exports.detach=M;exports.element=h;exports.empty=Yn;exports.flush=ee;exports.init=Qa;exports.insert=D;exports.listen=U;exports.noop=pe;exports.onMount=$a;exports.safe_not_equal=Zn;exports.setClientStyling=_s;exports.setClientStylingURL=Ss;exports.setStreamStyling=Ps;exports.set_data=k;exports.text=E;exports.toggle_class=Fs;
|