@everymatrix/player-profile-info-cu 1.86.2 → 1.86.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +0,0 @@
1
- "use strict";var Va=Object.defineProperty,Qa=Object.defineProperties;var Wa=Object.getOwnPropertyDescriptors;var Co=Object.getOwnPropertySymbols;var Xa=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable;var hn=(e,t,r)=>t in e?Va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,So=(e,t)=>{for(var r in t||(t={}))Xa.call(t,r)&&hn(e,r,t[r]);if(Co)for(var r of Co(t))qa.call(t,r)&&hn(e,r,t[r]);return e},Eo=(e,t)=>Qa(e,Wa(t));var xe=(e,t,r)=>(hn(e,typeof t!="symbol"?t+"":t,r),r);var Ke=(e,t,r)=>new Promise((i,n)=>{var o=f=>{try{u(r.next(f))}catch(c){n(c)}},a=f=>{try{u(r.throw(f))}catch(c){n(c)}},u=f=>f.done?i(f.value):Promise.resolve(f.value).then(o,a);u((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function Se(){}function ca(e){return e()}function Po(){return Object.create(null)}function nt(e){e.forEach(ca)}function Vi(e){return typeof e=="function"}function fa(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Za(e){return Object.keys(e).length===0}function pa(e,...t){if(e==null){for(const i of t)i(void 0);return Se}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Ja(e,t,r){e.$$.on_destroy.push(pa(t,r))}function s(e,t){e.appendChild(t)}function Ya(e,t,r){const i=Ka(e);if(!i.getElementById(t)){const n=m("style");n.id=t,n.textContent=r,es(i,n)}}function Ka(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function es(e,t){return s(e.head||e,t),t.sheet}function L(e,t,r){e.insertBefore(t,r||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function Sn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function m(e){return document.createElement(e)}function Et(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function C(){return E(" ")}function ts(){return E("")}function j(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 rs(e){return Array.from(e.childNodes)}function x(e,t){t=""+t,e.data!==t&&(e.data=t)}function Q(e,t){e.value=t==null?"":t}function wo(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 is(e){const t=e.querySelector(":checked");return t&&t.__value}function ns(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Pr;function Er(e){Pr=e}function os(){if(!Pr)throw new Error("Function called outside component initialization");return Pr}function as(e){os().$$.on_mount.push(e)}const At=[],En=[];let xt=[];const Ao=[],ss=Promise.resolve();let Pn=!1;function ls(){Pn||(Pn=!0,ss.then(Ce))}function Fi(e){xt.push(e)}const dn=new Set;let Pt=0;function Ce(){if(Pt!==0)return;const e=Pr;do{try{for(;Pt<At.length;){const t=At[Pt];Pt++,Er(t),us(t.$$)}}catch(t){throw At.length=0,Pt=0,t}for(Er(null),At.length=0,Pt=0;En.length;)En.pop()();for(let t=0;t<xt.length;t+=1){const r=xt[t];dn.has(r)||(dn.add(r),r())}xt.length=0}while(At.length);for(;Ao.length;)Ao.pop()();Pn=!1,dn.clear(),Er(e)}function us(e){if(e.fragment!==null){e.update(),nt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Fi)}}function cs(e){const t=[],r=[];xt.forEach(i=>e.indexOf(i)===-1?t.push(i):r.push(i)),r.forEach(i=>i()),xt=t}const fs=new Set;function ps(e,t){e&&e.i&&(fs.delete(e),e.i(t))}function Ui(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function hs(e,t,r){const{fragment:i,after_update:n}=e.$$;i&&i.m(t,r),Fi(()=>{const o=e.$$.on_mount.map(ca).filter(Vi);e.$$.on_destroy?e.$$.on_destroy.push(...o):nt(o),e.$$.on_mount=[]}),n.forEach(Fi)}function ds(e,t){const r=e.$$;r.fragment!==null&&(cs(r.after_update),nt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ms(e,t){e.$$.dirty[0]===-1&&(At.push(e),ls(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function bs(e,t,r,i,n,o,a=null,u=[-1]){const f=Pr;Er(e);const c=e.$$={fragment:null,ctx:[],props:o,update:Se,not_equal:n,bound:Po(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(f?f.$$.context:[])),callbacks:Po(),dirty:u,skip_bound:!1,root:t.target||f.$$.root};a&&a(c.root);let p=!1;if(c.ctx=r?r(e,t.props||{},(b,y,...S)=>{const g=S.length?S[0]:y;return c.ctx&&n(c.ctx[b],c.ctx[b]=g)&&(!c.skip_bound&&c.bound[b]&&c.bound[b](g),p&&ms(e,b)),y}):[],c.update(),p=!0,nt(c.before_update),c.fragment=i?i(c.ctx):!1,t.target){if(t.hydrate){const b=rs(t.target);c.fragment&&c.fragment.l(b),b.forEach(N)}else c.fragment&&c.fragment.c();t.intro&&ps(e.$$.fragment),hs(e,t.target,t.anchor),Ce()}Er(f)}let ha;typeof HTMLElement=="function"&&(ha=class extends HTMLElement{constructor(t,r,i){super();xe(this,"$$ctor");xe(this,"$$s");xe(this,"$$c");xe(this,"$$cn",!1);xe(this,"$$d",{});xe(this,"$$r",!1);xe(this,"$$p_d",{});xe(this,"$$l",{});xe(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 Ke(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=m("slot"),o!=="default"&&l(a,"name",o)},m:function(c,p){L(c,a,p)},d:function(c){c&&N(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=ns(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]=Di(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:Eo(So({},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=Di(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]=Di(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 Di(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 ys(e,t,r,i,n,o){let a=class extends ha{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(f){var c;f=Di(u,f,t),this.$$d[u]=f,(c=this.$$c)==null||c.$set({[u]:f})}})}),i.forEach(u=>{Object.defineProperty(a.prototype,u,{get(){var f;return(f=this.$$c)==null?void 0:f[u]}})}),e.element=a,a}class vs{constructor(){xe(this,"$$");xe(this,"$$set")}$destroy(){ds(this,1),this.$destroy=Se}$on(t,r){if(!Vi(r))return Se;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&&!Za(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gs="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gs);function _s(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Cs(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 Ss(e,t,r){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,n=>{i.innerHTML=n,e&&e.appendChild(i)})}}const wt=[];function Es(e,t){return{subscribe:Qi(e,t).subscribe}}function Qi(e,t=Se){let r;const i=new Set;function n(u){if(fa(e,u)&&(e=u,r)){const f=!wt.length;for(const c of i)c[1](),wt.push(c,e);if(f){for(let c=0;c<wt.length;c+=2)wt[c][0](wt[c+1]);wt.length=0}}}function o(u){n(u(e))}function a(u,f=Se){const c=[u,f];return i.add(c),i.size===1&&(r=t(n,o)||Se),u(e),()=>{i.delete(c),i.size===0&&r&&(r(),r=null)}}return{set:n,update:o,subscribe:a}}function Tt(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 Es(r,(a,u)=>{let f=!1;const c=[];let p=0,b=Se;const y=()=>{if(p)return;b();const g=t(i?c[0]:c,a,u);o?a(g):b=Vi(g)?g:Se},S=n.map((g,_)=>pa(g,H=>{c[_]=H,p&=~(1<<_),f&&y()},()=>{p|=1<<_}));return f=!0,y(),function(){nt(S),b(),f=!1}})}function Ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ws=function(t){return As(t)&&!xs(t)};function As(e){return!!e&&typeof e=="object"}function xs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Hs(e)}var Bs=typeof Symbol=="function"&&Symbol.for,Os=Bs?Symbol.for("react.element"):60103;function Hs(e){return e.$$typeof===Os}function Is(e){return Array.isArray(e)?[]:{}}function wr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Bt(Is(e),e,t):e}function Ts(e,t,r){return e.concat(t).map(function(i){return wr(i,r)})}function ks(e,t){if(!t.customMerge)return Bt;var r=t.customMerge(e);return typeof r=="function"?r:Bt}function Ms(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function xo(e){return Object.keys(e).concat(Ms(e))}function da(e,t){try{return t in e}catch(r){return!1}}function Ns(e,t){return da(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ds(e,t,r){var i={};return r.isMergeableObject(e)&&xo(e).forEach(function(n){i[n]=wr(e[n],r)}),xo(t).forEach(function(n){Ns(e,n)||(da(e,n)&&r.isMergeableObject(t[n])?i[n]=ks(n,r)(e[n],t[n],r):i[n]=wr(t[n],r))}),i}function Bt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ts,r.isMergeableObject=r.isMergeableObject||ws,r.cloneUnlessOtherwiseSpecified=wr;var i=Array.isArray(t),n=Array.isArray(e),o=i===n;return o?i?r.arrayMerge(e,t,r):Ds(e,t,r):wr(t,r)}Bt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return Bt(i,n,r)},{})};var Ls=Bt,Rs=Ls;const js=Ps(Rs);var wn=function(e,t){return wn=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])},wn(e,t)};function Wi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wn(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 Fs(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 mn(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 bn(e,t){var r=t&&t.cache?t.cache:Ws,i=t&&t.serializer?t.serializer:Vs,n=t&&t.strategy?t.strategy:Gs;return n(e,{cache:r,serializer:i})}function Us(e){return e==null||typeof e=="number"||typeof e=="boolean"}function zs(e,t,r,i){var n=Us(i)?i:r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,i),t.set(n,o)),o}function ma(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 ba(e,t,r,i,n){return r.bind(t,e,i,n)}function Gs(e,t){var r=e.length===1?zs:ma;return ba(e,this,r,t.cache.create(),t.serializer)}function $s(e,t){return ba(e,this,ma,t.cache.create(),t.serializer)}var Vs=function(){return JSON.stringify(arguments)},Qs=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}(),Ws={create:function(){return new Qs}},yn={variadic:$s},zi=function(){return zi=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},zi.apply(this,arguments)};var P;(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"})(P||(P={}));var k;(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"})(k||(k={}));var Ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ot||(Ot={}));function Bo(e){return e.type===k.literal}function Xs(e){return e.type===k.argument}function ya(e){return e.type===k.number}function va(e){return e.type===k.date}function ga(e){return e.type===k.time}function _a(e){return e.type===k.select}function Ca(e){return e.type===k.plural}function qs(e){return e.type===k.pound}function Sa(e){return e.type===k.tag}function Ea(e){return!!(e&&typeof e=="object"&&e.type===Ot.number)}function An(e){return!!(e&&typeof e=="object"&&e.type===Ot.dateTime)}var Pa=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Zs=/(?:[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 Js(e){var t={};return e.replace(Zs,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 D=function(){return D=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},D.apply(this,arguments)};var Ys=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ks(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ys).filter(function(y){return y.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],f=a.slice(1),c=0,p=f;c<p.length;c++){var b=p[c];if(b.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:f})}return r}function el(e){return e.replace(/^(.*?)-/,"")}var Oo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wa=/^(@+)?(\+|#+)?[rs]?$/g,tl=/(\*)(0+)|(#+)(0+)|(0+)/g,Aa=/^(0+)$/;function Ho(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(wa,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 xa(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 rl(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)),!Aa.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Io(e){var t={},r=xa(e);return r||t}function il(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=el(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=D(D(D({},t),{notation:"scientific"}),n.options.reduce(function(f,c){return D(D({},f),Io(c))},{}));continue;case"engineering":t=D(D(D({},t),{notation:"engineering"}),n.options.reduce(function(f,c){return D(D({},f),Io(c))},{}));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(f,c,p,b,y,S){if(c)t.minimumIntegerDigits=p.length;else{if(b&&y)throw new Error("We currently do not support maximum integer digits");if(S)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Aa.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Oo.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Oo,function(f,c,p,b,y,S){return p==="*"?t.minimumFractionDigits=c.length:b&&b[0]==="#"?t.maximumFractionDigits=b.length:y&&S?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+S.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var o=n.options[0];o==="w"?t=D(D({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=D(D({},t),Ho(o)));continue}if(wa.test(n.stem)){t=D(D({},t),Ho(n.stem));continue}var a=xa(n.stem);a&&(t=D(D({},t),a));var u=rl(n.stem);u&&(t=D(D({},t),u))}return t}var Mi={"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 nl(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),f="a",c=ol(t);for((c=="H"||c=="k")&&(u=0);u-- >0;)r+=f;for(;a-- >0;)r=c+r}else n==="J"?r+="H":r+=n}return r}function ol(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=Mi[i||""]||Mi[r||""]||Mi["".concat(r,"-001")]||Mi["001"];return n[0]}var vn,al=new RegExp("^".concat(Pa.source,"*")),sl=new RegExp("".concat(Pa.source,"*$"));function A(e,t){return{start:e,end:t}}var ll=!!String.prototype.startsWith&&"_a".startsWith("a",1),ul=!!String.fromCodePoint,cl=!!Object.fromEntries,fl=!!String.prototype.codePointAt,pl=!!String.prototype.trimStart,hl=!!String.prototype.trimEnd,dl=!!Number.isSafeInteger,ml=dl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xn=!0;try{var bl=Oa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xn=((vn=bl.exec("a"))===null||vn===void 0?void 0:vn[0])==="a"}catch(e){xn=!1}var To=ll?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},Bn=ul?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},ko=cl?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},Ba=fl?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}},yl=pl?function(t){return t.trimStart()}:function(t){return t.replace(al,"")},vl=hl?function(t){return t.trimEnd()}:function(t){return t.replace(sl,"")};function Oa(e,t){return new RegExp(e,t)}var On;if(xn){var Mo=Oa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");On=function(t,r){var i;Mo.lastIndex=r;var n=Mo.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}}else On=function(t,r){for(var i=[];;){var n=Ba(t,r);if(n===void 0||Ha(n)||Sl(n))break;i.push(n),r+=n>=65536?2:1}return Bn.apply(void 0,i)};var gl=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:k.pound,location:A(u,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(P.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Hn(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:k.literal,value:"<".concat(n,"/>"),location:A(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()||!Hn(this.char()))return this.error(P.INVALID_TAG,A(u,this.clonePosition()));var f=this.clonePosition(),c=this.parseTagName();return n!==c?this.error(P.UNMATCHED_CLOSING_TAG,A(f,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:k.tag,value:n,children:a,location:A(i,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,A(u,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,A(i,this.clonePosition()))}else return this.error(P.INVALID_TAG,A(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Cl(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 f=A(i,this.clonePosition());return{val:{type:k.literal,value:n,location:f},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!_l(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 Bn.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(),Bn(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,A(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:k.argument,value:n,location:A(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=On(this.message,r),n=r+i.length;this.bumpTo(n);var o=this.clonePosition(),a=A(t,o);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(t,r,i,n){var o,a=this.clonePosition(),u=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(u){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,A(a,f));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),b=this.parseSimpleArgStyleIfPossible();if(b.err)return b;var y=vl(b.val);if(y.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var S=A(p,this.clonePosition());c={style:y,styleLocation:S}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=A(n,this.clonePosition());if(c&&To(c==null?void 0:c.style,"::",0)){var H=yl(c.style.slice(2));if(u==="number"){var b=this.parseNumberSkeletonFromString(H,c.styleLocation);return b.err?b:{val:{type:k.number,value:i,location:_,style:b.val},err:null}}else{if(H.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,_);var B=H;this.locale&&(B=nl(H,this.locale));var y={type:Ot.dateTime,pattern:B,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Js(B):{}},R=u==="date"?k.date:k.time;return{val:{type:R,value:i,location:_,style:y},err:null}}}return{val:{type:u==="number"?k.number:u==="date"?k.date:k.time,value:i,location:_,style:(o=c==null?void 0:c.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var F=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,A(F,zi({},F)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),U=0;if(u!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var b=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(b.err)return b;this.bumpSpace(),I=this.parseIdentifierIfPossible(),U=b.val}var O=this.tryParsePluralOrSelectOptions(t,u,r,I);if(O.err)return O;var g=this.tryParseArgumentClose(n);if(g.err)return g;var T=A(n,this.clonePosition());return u==="select"?{val:{type:k.select,value:i,options:ko(O.val),location:T},err:null}:{val:{type:k.plural,value:i,options:ko(O.val),offset:U,pluralType:u==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,A(a,f))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(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=Ks(t)}catch(n){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ot.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?il(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var o,a=!1,u=[],f=new Set,c=n.value,p=n.location;;){if(c.length===0){var b=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;p=A(b,this.clonePosition()),c=this.message.slice(b.offset,this.offset())}else break}if(f.has(c))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,p);c==="other"&&(a=!0),this.bumpSpace();var S=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,i);if(g.err)return g;var _=this.tryParseArgumentClose(S);if(_.err)return _;u.push([c,{value:g.val,location:A(S,this.clonePosition())}]),f.add(c),this.bumpSpace(),o=this.parseIdentifierIfPossible(),c=o.value,p=o.location}return u.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,A(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 f=A(n,this.clonePosition());return o?(a*=i,ml(a)?{val:a,err:null}:this.error(r,f)):this.error(t,f)},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=Ba(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(To(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()&&Ha(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 Hn(e){return e>=97&&e<=122||e>=65&&e<=90}function _l(e){return Hn(e)||e===47}function Cl(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 Ha(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Sl(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 In(e){e.forEach(function(t){if(delete t.location,_a(t)||Ca(t))for(var r in t.options)delete t.options[r].location,In(t.options[r].value);else ya(t)&&Ea(t.style)||(va(t)||ga(t))&&An(t.style)?delete t.style.location:Sa(t)&&In(t.children)})}function El(e,t){t===void 0&&(t={}),t=zi({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new gl(e,t).parse();if(r.err){var i=SyntaxError(P[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t!=null&&t.captureLocation||In(r.val),r.val}var Ht;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ht||(Ht={}));var Xi=function(e){Wi(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),No=function(e){Wi(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('", "'),'"'),Ht.INVALID_VALUE,o)||this}return t}(Xi),Pl=function(e){Wi(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),Ht.INVALID_VALUE,n)||this}return t}(Xi),wl=function(e){Wi(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,'"'),Ht.MISSING_VALUE,i)||this}return t}(Xi),ee;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ee||(ee={}));function Al(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==ee.literal||r.type!==ee.literal?t.push(r):i.value+=r.value,t},[])}function xl(e){return typeof e=="function"}function Li(e,t,r,i,n,o,a){if(e.length===1&&Bo(e[0]))return[{type:ee.literal,value:e[0].value}];for(var u=[],f=0,c=e;f<c.length;f++){var p=c[f];if(Bo(p)){u.push({type:ee.literal,value:p.value});continue}if(qs(p)){typeof o=="number"&&u.push({type:ee.literal,value:r.getNumberFormat(t).format(o)});continue}var b=p.value;if(!(n&&b in n))throw new wl(b,a);var y=n[b];if(Xs(p)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),u.push({type:typeof y=="string"?ee.literal:ee.object,value:y});continue}if(va(p)){var S=typeof p.style=="string"?i.date[p.style]:An(p.style)?p.style.parsedOptions:void 0;u.push({type:ee.literal,value:r.getDateTimeFormat(t,S).format(y)});continue}if(ga(p)){var S=typeof p.style=="string"?i.time[p.style]:An(p.style)?p.style.parsedOptions:i.time.medium;u.push({type:ee.literal,value:r.getDateTimeFormat(t,S).format(y)});continue}if(ya(p)){var S=typeof p.style=="string"?i.number[p.style]:Ea(p.style)?p.style.parsedOptions:void 0;S&&S.scale&&(y=y*(S.scale||1)),u.push({type:ee.literal,value:r.getNumberFormat(t,S).format(y)});continue}if(Sa(p)){var g=p.children,_=p.value,H=n[_];if(!xl(H))throw new Pl(_,"function",a);var B=Li(g,t,r,i,n,o),R=H(B.map(function(U){return U.value}));Array.isArray(R)||(R=[R]),u.push.apply(u,R.map(function(U){return{type:typeof U=="string"?ee.literal:ee.object,value:U}}))}if(_a(p)){var F=p.options[y]||p.options.other;if(!F)throw new No(p.value,y,Object.keys(p.options),a);u.push.apply(u,Li(F.value,t,r,i,n));continue}if(Ca(p)){var F=p.options["=".concat(y)];if(!F){if(!Intl.PluralRules)throw new Xi(`Intl.PluralRules is not available in this environment.
2
- Try polyfilling it using "@formatjs/intl-pluralrules"
3
- `,Ht.MISSING_INTL_API,a);var I=r.getPluralRules(t,{type:p.pluralType}).select(y-(p.offset||0));F=p.options[I]||p.options.other}if(!F)throw new No(p.value,y,Object.keys(p.options),a);u.push.apply(u,Li(F.value,t,r,i,n,y-(p.offset||0)));continue}}return Al(u)}function Bl(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 Ol(e,t){return t?Object.keys(e).reduce(function(r,i){return r[i]=Bl(e[i],t[i]),r},ze({},e)):e}function gn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Hl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,mn([void 0],r,!1)))},{cache:gn(e.number),strategy:yn.variadic}),getDateTimeFormat:bn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,mn([void 0],r,!1)))},{cache:gn(e.dateTime),strategy:yn.variadic}),getPluralRules:bn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,mn([void 0],r,!1)))},{cache:gn(e.pluralRules),strategy:yn.variadic})}}var Il=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(f){var c=o.formatToParts(f);if(c.length===1)return c[0].value;var p=c.reduce(function(b,y){return!b.length||y.type!==ee.literal||typeof b[b.length-1]!="string"?b.push(y.value):b[b.length-1]+=y.value,b},[]);return p.length<=1?p[0]||"":p},this.formatToParts=function(f){return Li(o.ast,o.locales,o.formatters,o.formats,f,void 0,o.message)},this.resolvedOptions=function(){var f;return{locale:((f=o.resolvedLocale)===null||f===void 0?void 0:f.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=Fs(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=Ol(e.formats,i),this.formatters=n&&n.formatters||Hl(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=El,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 Tl(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 et={},kl=(e,t,r)=>r&&(t in et||(et[t]={}),e in et[t]||(et[t][e]=r),r),Ia=(e,t)=>{if(t==null)return;if(t in et&&e in et[t])return et[t][e];const r=qi(t);for(let i=0;i<r.length;i++){const n=r[i],o=Nl(n,e);if(o)return kl(e,t,o)}};let Fn;const xr=Qi({});function Ml(e){return Fn[e]||null}function Ta(e){return e in Fn}function Nl(e,t){if(!Ta(e))return null;const r=Ml(e);return Tl(r,t)}function Dl(e){if(e==null)return;const t=qi(e);for(let r=0;r<t.length;r++){const i=t[r];if(Ta(i))return i}}function ka(e,...t){delete et[e],xr.update(r=>(r[e]=js.all([r[e]||{},...t]),r))}Tt([xr],([e])=>Object.keys(e));xr.subscribe(e=>Fn=e);const Ri={};function Ll(e,t){Ri[e].delete(t),Ri[e].size===0&&delete Ri[e]}function Ma(e){return Ri[e]}function Rl(e){return qi(e).map(t=>{const r=Ma(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Tn(e){return e==null?!1:qi(e).some(t=>{var r;return(r=Ma(t))==null?void 0:r.size})}function jl(e,t){return Promise.all(t.map(i=>(Ll(e,i),i().then(n=>n.default||n)))).then(i=>ka(e,...i))}const Sr={};function Na(e){if(!Tn(e))return e in Sr?Sr[e]:Promise.resolve();const t=Rl(e);return Sr[e]=Promise.all(t.map(([r,i])=>jl(r,i))).then(()=>{if(Tn(e))return Na(e);delete Sr[e]}),Sr[e]}const Fl={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"}}},Ul={fallbackLocale:null,loadingDelay:200,formats:Fl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},zl=Ul;function It(){return zl}const _n=Qi(!1);var Gl=Object.defineProperty,$l=Object.defineProperties,Vl=Object.getOwnPropertyDescriptors,Do=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Wl=Object.prototype.propertyIsEnumerable,Lo=(e,t,r)=>t in e?Gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xl=(e,t)=>{for(var r in t||(t={}))Ql.call(t,r)&&Lo(e,r,t[r]);if(Do)for(var r of Do(t))Wl.call(t,r)&&Lo(e,r,t[r]);return e},ql=(e,t)=>$l(e,Vl(t));let kn;const Gi=Qi(null);function Ro(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function qi(e,t=It().fallbackLocale){const r=Ro(e);return t?[...new Set([...r,...Ro(t)])]:r}function ot(){return kn!=null?kn:void 0}Gi.subscribe(e=>{kn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Zl=e=>{if(e&&Dl(e)&&Tn(e)){const{loadingDelay:t}=It();let r;return typeof window!="undefined"&&ot()!=null&&t?r=window.setTimeout(()=>_n.set(!0),t):_n.set(!0),Na(e).then(()=>{Gi.set(e)}).finally(()=>{clearTimeout(r),_n.set(!1)})}return Gi.set(e)},kt=ql(Xl({},Gi),{set:Zl}),Zi=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var Jl=Object.defineProperty,$i=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,jo=(e,t,r)=>t in e?Jl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Un=(e,t)=>{for(var r in t||(t={}))Da.call(t,r)&&jo(e,r,t[r]);if($i)for(var r of $i(t))La.call(t,r)&&jo(e,r,t[r]);return e},Mt=(e,t)=>{var r={};for(var i in e)Da.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&$i)for(var i of $i(e))t.indexOf(i)<0&&La.call(e,i)&&(r[i]=e[i]);return r};const Ar=(e,t)=>{const{formats:r}=It();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yl=Zi(e=>{var t=e,{locale:r,format:i}=t,n=Mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=Ar("number",i)),new Intl.NumberFormat(r,n)}),Kl=Zi(e=>{var t=e,{locale:r,format:i}=t,n=Mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=Ar("date",i):Object.keys(n).length===0&&(n=Ar("date","short")),new Intl.DateTimeFormat(r,n)}),eu=Zi(e=>{var t=e,{locale:r,format:i}=t,n=Mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=Ar("time",i):Object.keys(n).length===0&&(n=Ar("time","short")),new Intl.DateTimeFormat(r,n)}),tu=(e={})=>{var t=e,{locale:r=ot()}=t,i=Mt(t,["locale"]);return Yl(Un({locale:r},i))},ru=(e={})=>{var t=e,{locale:r=ot()}=t,i=Mt(t,["locale"]);return Kl(Un({locale:r},i))},iu=(e={})=>{var t=e,{locale:r=ot()}=t,i=Mt(t,["locale"]);return eu(Un({locale:r},i))},nu=Zi((e,t=ot())=>new Il(e,t,It().formats,{ignoreTag:It().ignoreTag})),ou=(e,t={})=>{var r,i,n,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:u,locale:f=ot(),default:c}=a;if(f==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let p=Ia(e,f);if(!p)p=(o=(n=(i=(r=It()).handleMissingMessage)==null?void 0:i.call(r,{locale:f,id:e,defaultValue:c}))!=null?n:c)!=null?o:e;else if(typeof p!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof p}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),p;if(!u)return p;let b=p;try{b=nu(p,f).format(u)}catch(y){y instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,y.message)}return b},au=(e,t)=>iu(t).format(e),su=(e,t)=>ru(t).format(e),lu=(e,t)=>tu(t).format(e),uu=(e,t=ot())=>Ia(e,t),cu=Tt([kt,xr],()=>ou);Tt([kt],()=>au);Tt([kt],()=>su);Tt([kt],()=>lu);Tt([kt,xr],()=>uu);function Fo(e,t){ka(e,t)}function fu(e){kt.set(e)}const Uo={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",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:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:","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",sportssmsConsent:"Enable SMS notifications",sportsemailConsent:"Enable Emails",sports3rdpartyConsent:"Enable phone call notifications",sportspushConsent:"Enable push notifications",bingosmsConsent:"Enable SMS notifications",bingoemailConsent:"Enable Emails",bingo3rdpartyConsent:"Enable phone call notifications",bingopushConsent:"Enable push notifications",virtualsportssmsConsent:"Enable SMS notifications",virtualsportsemailConsent:"Enable Emails",virtualsports3rdpartyConsent:"Enable phone call notifications",virtualsportspushConsent:"Enable push 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."},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userPrefixError:"需要前綴值",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",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:"啟用推送通知",sportssmsConsent:"啟用短信通知",sportsemailConsent:"啟用電子郵件",sports3rdpartyConsent:"啟用電話通知",sportspushConsent:"啟用推送通知",bingosmsConsent:"啟用短信通知",bingoemailConsent:"啟用電子郵件",bingo3rdpartyConsent:"啟用電話通知",bingopushConsent:"啟用推送通知",virtualsportssmsConsent:"啟用短信通知",virtualsportsemailConsent:"啟用電子郵件",virtualsports3rdpartyConsent:"啟用電話通知",virtualsportspushConsent:"啟用推送通知",consentCategoryHeaderCasino:"賭場促銷",consentCategoryHeaderSports:"體育促銷",consentCategoryHeaderBingo:"賓果促銷",consentCategoryHeaderVirtualSports:"虛擬體育促銷",consentCategoryHeaderMarketing:"營銷促銷",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤",locationDetailsDescription:"如果您希望更新任何個人資料,請聯絡客戶服務部門,他們可能會要求您提供這些變更的證明,然後才會更新您的帳戶。"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",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:",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",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",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",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",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."},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",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:",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",sportssmsConsent:"Activează notificările prin SMS",sportsemailConsent:"Activează e-mailurile",sports3rdpartyConsent:"Activează notificările prin apel telefonic",sportspushConsent:"Activează notificările push",bingosmsConsent:"Activează notificările prin SMS",bingoemailConsent:"Activează e-mailurile",bingo3rdpartyConsent:"Activează notificările prin apel telefonic",bingopushConsent:"Activează notificările push",virtualsportssmsConsent:"Activează notificările prin SMS",virtualsportsemailConsent:"Activează e-mailurile",virtualsports3rdpartyConsent:"Activează notificările prin apel telefonic",virtualsportspushConsent:"Activează notificările push",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."},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",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ı:",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",sportssmsConsent:"SMS bildirimlerini etkinleştir",sportsemailConsent:"E-postaları etkinleştir",sports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",sportspushConsent:"Anlık bildirimleri etkinleştir",bingosmsConsent:"SMS bildirimlerini etkinleştir",bingoemailConsent:"E-postaları etkinleştir",bingo3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",bingopushConsent:"Anlık bildirimleri etkinleştir",virtualsportssmsConsent:"SMS bildirimlerini etkinleştir",virtualsportsemailConsent:"E-postaları etkinleştir",virtualsports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",virtualsportspushConsent:"Anlık bildirimleri 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."},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",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",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",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",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."},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",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:",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",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",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."},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",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",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",sportssmsConsent:"Omogući SMS obavijesti",sportsemailConsent:"Omogući e-poštu",sports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",sportspushConsent:"Omogući push obavijesti",bingosmsConsent:"Omogući SMS obavijesti",bingoemailConsent:"Omogući e-poštu",bingo3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",bingopushConsent:"Omogući push obavijesti",virtualsportssmsConsent:"Omogući SMS obavijesti",virtualsportsemailConsent:"Omogući e-poštu",virtualsports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportspushConsent:"Omogući push obavijesti",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."},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",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:",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",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",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."},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",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:",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",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",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."}};/*! *****************************************************************************
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 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 Br(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)}function Nn(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 Dn(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 Ln(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 Qe(e){return typeof e=="function"}function Ra(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 Cn=Ra(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 Rn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ji=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=Nn(a),f=u.next();!f.done;f=u.next()){var c=f.value;c.remove(this)}}catch(_){t={error:_}}finally{try{f&&!f.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else a.remove(this);var p=this.initialTeardown;if(Qe(p))try{p()}catch(_){o=_ instanceof Cn?_.errors:[_]}var b=this._finalizers;if(b){this._finalizers=null;try{for(var y=Nn(b),S=y.next();!S.done;S=y.next()){var g=S.value;try{zo(g)}catch(_){o=o!=null?o:[],_ instanceof Cn?o=Ln(Ln([],Dn(o)),Dn(_.errors)):o.push(_)}}}catch(_){i={error:_}}finally{try{S&&!S.done&&(n=y.return)&&n.call(y)}finally{if(i)throw i.error}}}if(o)throw new Cn(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)zo(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)&&Rn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Rn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ja=Ji.EMPTY;function Fa(e){return e instanceof Ji||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function zo(e){Qe(e)?e():e.unsubscribe()}var pu={Promise:void 0},hu={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Ln([e,t],Dn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function du(e){hu.setTimeout(function(){throw e})}function Go(){}function ji(e){e()}var Ua=function(e){Br(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,Fa(r)&&r.add(i)):i.destination=yu,i}return t.create=function(r,i,n){return new jn(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}(Ji),mu=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){Ni(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Ni(i)}else Ni(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ni(r)}},e}(),jn=function(e){Br(t,e);function t(r,i,n){var o=e.call(this)||this,a;return Qe(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 mu(a),o}return t}(Ua);function Ni(e){du(e)}function bu(e){throw e}var yu={closed:!0,next:Go,error:bu,complete:Go},vu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function gu(e){return e}function _u(e){return e.length===0?gu:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var $o=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=Su(t)?t:new jn(t,r,i);return ji(function(){var a=n,u=a.operator,f=a.source;o.add(u?u.call(o,f):f?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=Vo(r),new r(function(n,o){var a=new jn({next:function(u){try{t(u)}catch(f){o(f),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[vu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return _u(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Vo(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 Vo(e){var t;return(t=e!=null?e:pu.Promise)!==null&&t!==void 0?t:Promise}function Cu(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}function Su(e){return e&&e instanceof Ua||Cu(e)&&Fa(e)}var Eu=Ra(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),za=function(e){Br(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 Qo(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new Eu},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=Nn(i.currentObservers),u=a.next();!u.done;u=a.next()){var f=u.value;f.next(r)}}catch(c){n={error:c}}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?ja:(this.currentObservers=null,u.push(r),new Ji(function(){i.currentObservers=null,Rn(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 $o;return r.source=this,r},t.create=function(r,i){return new Qo(r,i)},t}($o),Qo=function(e){Br(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:ja},t}(za),Ga={now:function(){return(Ga.delegate||Date).now()},delegate:void 0},Pu=function(e){Br(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=Ga);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,f=i._windowTime;n||(o.push(r),!a&&o.push(u.now()+f)),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(),f=0;f<u.length&&!r.closed;f+=o?1:2)r.next(u[f]);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 f=n.now(),c=0,p=1;p<o.length&&o[p]<=f;p+=2)c=p;c&&o.splice(0,c+1)}},t}(za);const Wo=[],Xo={},wu=(e,t=0)=>{if(Wo.indexOf(e)==-1){const r=new Pu(t);Xo[e]=r,Wo.push(e)}return Xo[e]};window.emWidgets={topic:wu};const Au=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;function xu(e){Ya(e,"svelte-1v8yh7z",`*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;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.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}.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 .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 qo(e,t,r){const i=e.slice();return i[64]=t[r],i}function Bu(e,t,r){const i=e.slice();return i[67]=t[r],i[69]=r,i}function Ou(e,t,r){const i=e.slice();return i[67]=t[r],i[69]=r,i}function Hu(e){let t;return{c(){t=m("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){L(r,t,i)},p:Se,d(r){r&&N(t)}}}function Iu(e){let t;return{c(){t=m("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){L(r,t,i)},p:Se,d(r){r&&N(t)}}}function Zo(e){let t,r,i,n,o=e[18]("titleProfileInfo")+"",a,u,f,c,p,b=e[18]("personalDetails")+"",y,S,g,_,H,B=e[18]("userName")+"",R,F,I,U,O,T,d,M,W,Ge=e[18]("userPhone")+"",We,tt,Be,G,$e,Me,Xe,z,qe,Ze,Nt,rt,Je,Or,Ee,Ye,at=(e[0]=="true"?e[18]("profileSecurityQuestion2"):e[18]("profileSecurityQuestion"))+"",Dt,Hr,it,Ir,X,st,lt,Tr,ut,kr,Pe,Ve,ct=(e[0]=="true"?e[18]("profileSecurityAnswer2"):e[18]("profileSecurityAnswer"))+"",Lt,Mr,ft,Nr,q,pt,ht,Dr,v,w,$,we,ge=e[18]("userEmail")+"",V,Z,J,te,Ne,De,zn,dt,Lr,Rr=e[18]("dateOfBirth")+"",Yi,Gn,Oe,jr,Rt,Fr,$n,mt,Ur,zr=e[18]("firstName")+"",Ki,Vn,He,Gr,jt,$r,Qn,bt,Vr,Qr=e[18]("lastName")+"",en,Wn,Ie,Wr,Ft,Xr,Xn,yt,qr,Zr=e[18]("userTitle")+"",tn,qn,Te,Jr,Ut,Yr,Zn,vt,Kr,ei=e[18]("currency")+"",rn,Jn,ke,ti,zt,ri,Yn,Kn,ii,nn,ni=e[18]("locationDetails")+"",on,eo,Y,gt,oi,ai=e[18]("userCountry")+"",an,to,_e,si,Gt,li,ui,ro,Le,ci,fi=e[18]("userCity")+"",sn,io,re,pi,hi,no,di,oo,Re,mi,bi=e[18]("userAddress")+"",ln,ao,ie,yi,vi,so,gi,lo,je,_i,Ci=e[18]("userAddress2")+"",un,uo,ne,Si,Ei,co,Pi,fo,Fe,wi,Ai=e[18]("userPostalCode")+"",cn,po,oe,xi,Bi,ho,Oi,mo,bo,$t,_t,Hi=e[18]("userProfileSaveChanges")+"",fn,Ii,Ti,yo,ki,pn,vo,ae=e[6]&&Jo(e),Ct=Ui(e[3]),K=[];for(let ve=0;ve<Ct.length;ve+=1)K[ve]=Yo(qo(e,Ct,ve));let se=!e[15]&&Ko(e),le=!e[16]&&ea(e),ue=!e[13]&&ta(e),ce=!e[14]&&ra(e),fe=e[4].iban.value&&ia(e),pe=!e[9]&&na(e),he=!e[11]&&oa(e),de=!e[12]&&aa(e),me=!e[10]&&sa(e),be=e[1]==="true"&&la(e),ye=e[17]&&ua(e);return{c(){var ve,h,Ue,Vt,Qt,Wt,Xt,qt,Zt,Jt,Yt,Kt,er,tr,rr,ir,nr,or,ar,sr,lr,ur,cr,fr,pr,hr,dr,mr,br,yr,vr,gr,_r,Cr;t=m("form"),r=m("div"),ae&&ae.c(),i=C(),n=m("h2"),a=E(o),f=C(),c=m("div"),p=m("h3"),y=E(b),S=C(),g=m("section"),_=m("div"),H=m("label"),R=E(B),F=C(),I=m("input"),d=C(),M=m("div"),W=m("label"),We=E(Ge),tt=C(),Be=m("div"),G=m("select");for(let St=0;St<K.length;St+=1)K[St].c();Xe=C(),z=m("input"),Nt=C(),se&&se.c(),rt=C(),le&&le.c(),Or=C(),Ee=m("div"),Ye=m("label"),Dt=E(at),Hr=E(":"),it=m("span"),it.textContent="*",Ir=C(),X=m("input"),Tr=C(),ue&&ue.c(),kr=C(),Pe=m("div"),Ve=m("label"),Lt=E(ct),Mr=E(":"),ft=m("span"),ft.textContent="*",Nr=C(),q=m("input"),Dr=C(),ce&&ce.c(),w=C(),$=m("div"),we=m("label"),V=E(ge),Z=C(),J=m("input"),zn=C(),dt=m("div"),Lr=m("label"),Yi=E(Rr),Gn=C(),Oe=m("input"),$n=C(),mt=m("div"),Ur=m("label"),Ki=E(zr),Vn=C(),He=m("input"),Qn=C(),bt=m("div"),Vr=m("label"),en=E(Qr),Wn=C(),Ie=m("input"),Xn=C(),yt=m("div"),qr=m("label"),tn=E(Zr),qn=C(),Te=m("input"),Zn=C(),vt=m("div"),Kr=m("label"),rn=E(ei),Jn=C(),ke=m("input"),Yn=C(),fe&&fe.c(),Kn=C(),ii=m("div"),nn=m("h3"),on=E(ni),eo=C(),Y=m("section"),gt=m("div"),oi=m("label"),an=E(ai),to=C(),_e=m("input"),ro=C(),Le=m("div"),ci=m("label"),sn=E(fi),io=C(),re=m("input"),no=C(),pe&&pe.c(),oo=C(),Re=m("div"),mi=m("label"),ln=E(bi),ao=C(),ie=m("input"),so=C(),he&&he.c(),lo=C(),je=m("div"),_i=m("label"),un=E(Ci),uo=C(),ne=m("input"),co=C(),de&&de.c(),fo=C(),Fe=m("div"),wi=m("label"),cn=E(Ai),po=C(),oe=m("input"),ho=C(),me&&me.c(),mo=C(),be&&be.c(),bo=C(),$t=m("section"),_t=m("button"),fn=E(Hi),yo=C(),ye&&ye.c(),l(n,"class",u="MyAccountCategoryTitle "+(e[6]?"MyAccountCategoryTitleNone":"")),l(c,"class","PlayerNotificationsHeader"),l(I,"type","text"),l(I,"class",U=`${(ve=e[4].username)!=null&&ve.readOnly?"FieldDisabled":""}`),I.value=O=(Ue=(h=e[4].username)==null?void 0:h.value)!=null?Ue:"",I.readOnly=T=(Vt=e[4].username)==null?void 0:Vt.readOnly,l(_,"class","PlayerInfoBox"),l(G,"class",$e=`${(Qt=e[4].mobile)!=null&&Qt.readOnly?"FieldDisabled":""}`),G.disabled=Me=(Wt=e[4].mobile)==null?void 0:Wt.readOnly,e[4].mobile.prefix===void 0&&Fi(()=>e[34].call(G)),l(z,"type","text"),l(z,"class",qe=`${(Xt=e[4].mobile)!=null&&Xt.readOnly?"FieldDisabled":""}`),l(z,"placeholder",e[19].mobile.number),z.readOnly=Ze=(qt=e[4].mobile)==null?void 0:qt.readOnly,l(Be,"class","PlayerPhoneNumber"),l(M,"class",Je="PlayerInfoBox "+(e[15]?"":"InvalidField")+" "+(e[16]?"":"InvalidPrefix")),l(it,"class","FormRequired"),l(Ye,"for","SecurityQuestion"),l(X,"id","SecurityQuestion"),l(X,"type","text"),l(X,"class",st=`${(Zt=e[4].securityQuestion)!=null&&Zt.readOnly?"FieldDisabled":""}`),l(X,"placeholder",e[19].securityQuestion),X.readOnly=lt=(Jt=e[4].securityQuestion)==null?void 0:Jt.readOnly,l(Ee,"class",ut="PlayerInfoBox "+(e[13]?"":"InvalidField")),l(ft,"class","FormRequired"),l(Ve,"for","SecurityAnswer"),l(q,"id","SecurityAnswer"),l(q,"type","text"),l(q,"class",pt=`${(Yt=e[4].securityAnswer)!=null&&Yt.readOnly?"FieldDisabled":""}`),l(q,"placeholder",e[19].securityAnswer),q.readOnly=ht=(Kt=e[4].securityAnswer)==null?void 0:Kt.readOnly,l(Pe,"class",v="PlayerInfoBox "+(e[14]?"":"InvalidField")),l(we,"for","UserEmail"),l(J,"id","UserEmail"),l(J,"type","email"),l(J,"class",te=`${(er=e[4].email)!=null&&er.readOnly?"FieldDisabled":""}`),J.value=Ne=e[4].email.value,J.readOnly=De=(tr=e[4].email)==null?void 0:tr.readOnly,l($,"class","PlayerInfoBox"),l(Lr,"for","DateOfBirth"),l(Oe,"id","DateOfBirth"),l(Oe,"type","text"),l(Oe,"class",jr=`${(rr=e[4].birth)!=null&&rr.readOnly?"FieldDisabled":""}`),Oe.value=Rt=e[4].birth.value,Oe.readOnly=Fr=(ir=e[4].birth)==null?void 0:ir.readOnly,l(dt,"class","PlayerInfoBox"),l(Ur,"for","FirstName"),l(He,"id","FirstName"),l(He,"type","text"),l(He,"class",Gr=`${(nr=e[4].firstname)!=null&&nr.readOnly?"FieldDisabled":""}`),He.value=jt=e[4].firstname.value,He.readOnly=$r=(or=e[4].firstname)==null?void 0:or.readOnly,l(mt,"class","PlayerInfoBox"),l(Vr,"for","LastName"),l(Ie,"id","LastName"),l(Ie,"type","text"),l(Ie,"class",Wr=`${(ar=e[4].lastname)!=null&&ar.readOnly?"FieldDisabled":""}`),Ie.value=Ft=e[4].lastname.value,Ie.readOnly=Xr=(sr=e[4].lastname)==null?void 0:sr.readOnly,l(bt,"class","PlayerInfoBox"),l(qr,"for","UserTitle"),l(Te,"id","UserTitle"),l(Te,"type","text"),l(Te,"class",Jr=`${(lr=e[4].title)!=null&&lr.readOnly?"FieldDisabled":""}`),Te.value=Ut=e[4].title.value,Te.readOnly=Yr=(ur=e[4].title)==null?void 0:ur.readOnly,l(yt,"class","PlayerInfoBox"),l(Kr,"for","Currrency"),l(ke,"id","Currency"),l(ke,"type","text"),l(ke,"class",ti=`${(cr=e[4].currency)!=null&&cr.readOnly?"FieldDisabled":""}`),ke.value=zt=e[4].currency.value,ke.readOnly=ri=(fr=e[4].currency)==null?void 0:fr.readOnly,l(vt,"class","PlayerInfoBox"),l(g,"class","PlayerDetailsContent"),l(ii,"class","PlayerLocationHeader"),l(oi,"for","UserCountry"),l(_e,"id","UserCountry"),l(_e,"type","text"),l(_e,"class",si=`PlayerCountry ${(pr=e[4].country)!=null&&pr.readOnly?"FieldDisabled":""}`),_e.value=Gt=e[4].country.countryName,l(_e,"placeholder",li=e[4].country.countryCode),_e.readOnly=ui=(hr=e[4].country)==null?void 0:hr.readOnly,l(gt,"class","PlayerInfoBox"),l(ci,"for","UserCity"),l(re,"id","UserCity"),l(re,"type","text"),l(re,"class",pi=`${(dr=e[4].city)!=null&&dr.readOnly?"FieldDisabled":""}`),l(re,"placeholder",e[19].city),re.readOnly=hi=(mr=e[4].city)==null?void 0:mr.readOnly,l(Le,"class",di="PlayerInfoBox "+(e[9]?"":"InvalidField")),l(mi,"for","UserAddress"),l(ie,"id","UserAddress"),l(ie,"type","text"),l(ie,"class",yi=`${(br=e[4].address1)!=null&&br.readOnly?"FieldDisabled":""}`),l(ie,"placeholder",e[19].address1),ie.readOnly=vi=(yr=e[4].address1)==null?void 0:yr.readOnly,l(Re,"class",gi="PlayerInfoBox "+(e[11]?"":"InvalidField")),l(_i,"for","UserAddress"),l(ne,"id","UserAddress2"),l(ne,"type","text"),l(ne,"class",Si=`${(vr=e[4].address2)!=null&&vr.readOnly?"FieldDisabled":""}`),l(ne,"placeholder",e[19].address2),ne.readOnly=Ei=(gr=e[4].address2)==null?void 0:gr.readOnly,l(je,"class",Pi="PlayerInfoBox "+(e[12]?"":"InvalidField")),l(wi,"for","UserPostalCode"),l(oe,"id","UserPostalCode"),l(oe,"type","text"),l(oe,"class",xi=`${(_r=e[4].postalCode)!=null&&_r.readOnly?"FieldDisabled":""}`),l(oe,"placeholder",e[19].postalCode),oe.readOnly=Bi=(Cr=e[4].postalCode)==null?void 0:Cr.readOnly,l(Fe,"class",Oi="PlayerInfoBox "+(e[10]?"":"InvalidField")),l(Y,"class","PlayerLocationContent"),l(_t,"class",Ii="PlayerDetailsSaveButton "+(e[7]&&e[8]?"":"PlayerButtonDisabled")),l($t,"class",Ti="PlayerDetailsButtonsArea "+(e[6]?"PlayerDetailsButtonsAreaMobile":"")),l(r,"class","PlayerFadeInWarapper"),l(t,"class",ki="PlayerInfoWrapper "+(e[6]?"PlayerInfoWrapperMobile":""))},m(ve,h){L(ve,t,h),s(t,r),ae&&ae.m(r,null),s(r,i),s(r,n),s(n,a),s(r,f),s(r,c),s(c,p),s(p,y),s(r,S),s(r,g),s(g,_),s(_,H),s(H,R),s(_,F),s(_,I),s(g,d),s(g,M),s(M,W),s(W,We),s(M,tt),s(M,Be),s(Be,G);for(let Ue=0;Ue<K.length;Ue+=1)K[Ue]&&K[Ue].m(G,null);wo(G,e[4].mobile.prefix,!0),s(Be,Xe),s(Be,z),Q(z,e[4].mobile.number),s(M,Nt),se&&se.m(M,null),s(M,rt),le&&le.m(M,null),s(g,Or),s(g,Ee),s(Ee,Ye),s(Ye,Dt),s(Ye,Hr),s(Ye,it),s(Ee,Ir),s(Ee,X),Q(X,e[4].securityQuestion.value),s(Ee,Tr),ue&&ue.m(Ee,null),s(g,kr),s(g,Pe),s(Pe,Ve),s(Ve,Lt),s(Ve,Mr),s(Ve,ft),s(Pe,Nr),s(Pe,q),Q(q,e[4].securityAnswer.value),s(Pe,Dr),ce&&ce.m(Pe,null),s(g,w),s(g,$),s($,we),s(we,V),s($,Z),s($,J),s(g,zn),s(g,dt),s(dt,Lr),s(Lr,Yi),s(dt,Gn),s(dt,Oe),s(g,$n),s(g,mt),s(mt,Ur),s(Ur,Ki),s(mt,Vn),s(mt,He),s(g,Qn),s(g,bt),s(bt,Vr),s(Vr,en),s(bt,Wn),s(bt,Ie),s(g,Xn),s(g,yt),s(yt,qr),s(qr,tn),s(yt,qn),s(yt,Te),s(g,Zn),s(g,vt),s(vt,Kr),s(Kr,rn),s(vt,Jn),s(vt,ke),s(g,Yn),fe&&fe.m(g,null),s(r,Kn),s(r,ii),s(ii,nn),s(nn,on),s(r,eo),s(r,Y),s(Y,gt),s(gt,oi),s(oi,an),s(gt,to),s(gt,_e),s(Y,ro),s(Y,Le),s(Le,ci),s(ci,sn),s(Le,io),s(Le,re),Q(re,e[4].city.value),s(Le,no),pe&&pe.m(Le,null),s(Y,oo),s(Y,Re),s(Re,mi),s(mi,ln),s(Re,ao),s(Re,ie),Q(ie,e[4].address1.value),s(Re,so),he&&he.m(Re,null),s(Y,lo),s(Y,je),s(je,_i),s(_i,un),s(je,uo),s(je,ne),Q(ne,e[4].address2.value),s(je,co),de&&de.m(je,null),s(Y,fo),s(Y,Fe),s(Fe,wi),s(wi,cn),s(Fe,po),s(Fe,oe),Q(oe,e[4].postalCode.value),s(Fe,ho),me&&me.m(Fe,null),s(Y,mo),be&&be.m(Y,null),s(r,bo),s(r,$t),s($t,_t),s(_t,fn),s(r,yo),ye&&ye.m(r,null),pn||(vo=[j(G,"change",e[34]),j(G,"change",e[20]("mobilePrefix")),j(z,"input",e[35]),j(z,"keyup",e[20]("mobileNumber")),j(z,"input",function(){Vi(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),j(X,"input",e[36]),j(X,"keyup",e[20]("securityQuestion")),j(q,"input",e[37]),j(q,"keyup",e[20]("securityAnswer")),j(re,"input",e[38]),j(re,"keyup",e[20]("city")),j(ie,"input",e[39]),j(ie,"keyup",e[20]("address")),j(ne,"input",e[40]),j(ne,"keyup",e[20]("address")),j(oe,"input",e[41]),j(oe,"keyup",e[20]("postalCode")),j(_t,"click",e[21])],pn=!0)},p(ve,h){var Ue,Vt,Qt,Wt,Xt,qt,Zt,Jt,Yt,Kt,er,tr,rr,ir,nr,or,ar,sr,lr,ur,cr,fr,pr,hr,dr,mr,br,yr,vr,gr,_r,Cr,St,go;if(e=ve,e[6]?ae?ae.p(e,h):(ae=Jo(e),ae.c(),ae.m(r,i)):ae&&(ae.d(1),ae=null),h[0]&262144&&o!==(o=e[18]("titleProfileInfo")+"")&&x(a,o),h[0]&64&&u!==(u="MyAccountCategoryTitle "+(e[6]?"MyAccountCategoryTitleNone":""))&&l(n,"class",u),h[0]&262144&&b!==(b=e[18]("personalDetails")+"")&&x(y,b),h[0]&262144&&B!==(B=e[18]("userName")+"")&&x(R,B),h[0]&24&&U!==(U=`${(Ue=e[4].username)!=null&&Ue.readOnly?"FieldDisabled":""}`)&&l(I,"class",U),h[0]&24&&O!==(O=(Qt=(Vt=e[4].username)==null?void 0:Vt.value)!=null?Qt:"")&&I.value!==O&&(I.value=O),h[0]&24&&T!==(T=(Wt=e[4].username)==null?void 0:Wt.readOnly)&&(I.readOnly=T),h[0]&262144&&Ge!==(Ge=e[18]("userPhone")+"")&&x(We,Ge),h[0]&24){Ct=Ui(e[3]);let Ae;for(Ae=0;Ae<Ct.length;Ae+=1){const _o=qo(e,Ct,Ae);K[Ae]?K[Ae].p(_o,h):(K[Ae]=Yo(_o),K[Ae].c(),K[Ae].m(G,null))}for(;Ae<K.length;Ae+=1)K[Ae].d(1);K.length=Ct.length}h[0]&24&&$e!==($e=`${(Xt=e[4].mobile)!=null&&Xt.readOnly?"FieldDisabled":""}`)&&l(G,"class",$e),h[0]&24&&Me!==(Me=(qt=e[4].mobile)==null?void 0:qt.readOnly)&&(G.disabled=Me),h[0]&24&&wo(G,e[4].mobile.prefix),h[0]&24&&qe!==(qe=`${(Zt=e[4].mobile)!=null&&Zt.readOnly?"FieldDisabled":""}`)&&l(z,"class",qe),h[0]&24&&Ze!==(Ze=(Jt=e[4].mobile)==null?void 0:Jt.readOnly)&&(z.readOnly=Ze),h[0]&24&&z.value!==e[4].mobile.number&&Q(z,e[4].mobile.number),e[15]?se&&(se.d(1),se=null):se?se.p(e,h):(se=Ko(e),se.c(),se.m(M,rt)),e[16]?le&&(le.d(1),le=null):le?le.p(e,h):(le=ea(e),le.c(),le.m(M,null)),h[0]&98304&&Je!==(Je="PlayerInfoBox "+(e[15]?"":"InvalidField")+" "+(e[16]?"":"InvalidPrefix"))&&l(M,"class",Je),h[0]&262145&&at!==(at=(e[0]=="true"?e[18]("profileSecurityQuestion2"):e[18]("profileSecurityQuestion"))+"")&&x(Dt,at),h[0]&24&&st!==(st=`${(Yt=e[4].securityQuestion)!=null&&Yt.readOnly?"FieldDisabled":""}`)&&l(X,"class",st),h[0]&24&&lt!==(lt=(Kt=e[4].securityQuestion)==null?void 0:Kt.readOnly)&&(X.readOnly=lt),h[0]&24&&X.value!==e[4].securityQuestion.value&&Q(X,e[4].securityQuestion.value),e[13]?ue&&(ue.d(1),ue=null):ue?ue.p(e,h):(ue=ta(e),ue.c(),ue.m(Ee,null)),h[0]&8192&&ut!==(ut="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&l(Ee,"class",ut),h[0]&262145&&ct!==(ct=(e[0]=="true"?e[18]("profileSecurityAnswer2"):e[18]("profileSecurityAnswer"))+"")&&x(Lt,ct),h[0]&24&&pt!==(pt=`${(er=e[4].securityAnswer)!=null&&er.readOnly?"FieldDisabled":""}`)&&l(q,"class",pt),h[0]&24&&ht!==(ht=(tr=e[4].securityAnswer)==null?void 0:tr.readOnly)&&(q.readOnly=ht),h[0]&24&&q.value!==e[4].securityAnswer.value&&Q(q,e[4].securityAnswer.value),e[14]?ce&&(ce.d(1),ce=null):ce?ce.p(e,h):(ce=ra(e),ce.c(),ce.m(Pe,null)),h[0]&16384&&v!==(v="PlayerInfoBox "+(e[14]?"":"InvalidField"))&&l(Pe,"class",v),h[0]&262144&&ge!==(ge=e[18]("userEmail")+"")&&x(V,ge),h[0]&24&&te!==(te=`${(rr=e[4].email)!=null&&rr.readOnly?"FieldDisabled":""}`)&&l(J,"class",te),h[0]&24&&Ne!==(Ne=e[4].email.value)&&J.value!==Ne&&(J.value=Ne),h[0]&24&&De!==(De=(ir=e[4].email)==null?void 0:ir.readOnly)&&(J.readOnly=De),h[0]&262144&&Rr!==(Rr=e[18]("dateOfBirth")+"")&&x(Yi,Rr),h[0]&24&&jr!==(jr=`${(nr=e[4].birth)!=null&&nr.readOnly?"FieldDisabled":""}`)&&l(Oe,"class",jr),h[0]&24&&Rt!==(Rt=e[4].birth.value)&&Oe.value!==Rt&&(Oe.value=Rt),h[0]&24&&Fr!==(Fr=(or=e[4].birth)==null?void 0:or.readOnly)&&(Oe.readOnly=Fr),h[0]&262144&&zr!==(zr=e[18]("firstName")+"")&&x(Ki,zr),h[0]&24&&Gr!==(Gr=`${(ar=e[4].firstname)!=null&&ar.readOnly?"FieldDisabled":""}`)&&l(He,"class",Gr),h[0]&24&&jt!==(jt=e[4].firstname.value)&&He.value!==jt&&(He.value=jt),h[0]&24&&$r!==($r=(sr=e[4].firstname)==null?void 0:sr.readOnly)&&(He.readOnly=$r),h[0]&262144&&Qr!==(Qr=e[18]("lastName")+"")&&x(en,Qr),h[0]&24&&Wr!==(Wr=`${(lr=e[4].lastname)!=null&&lr.readOnly?"FieldDisabled":""}`)&&l(Ie,"class",Wr),h[0]&24&&Ft!==(Ft=e[4].lastname.value)&&Ie.value!==Ft&&(Ie.value=Ft),h[0]&24&&Xr!==(Xr=(ur=e[4].lastname)==null?void 0:ur.readOnly)&&(Ie.readOnly=Xr),h[0]&262144&&Zr!==(Zr=e[18]("userTitle")+"")&&x(tn,Zr),h[0]&24&&Jr!==(Jr=`${(cr=e[4].title)!=null&&cr.readOnly?"FieldDisabled":""}`)&&l(Te,"class",Jr),h[0]&24&&Ut!==(Ut=e[4].title.value)&&Te.value!==Ut&&(Te.value=Ut),h[0]&24&&Yr!==(Yr=(fr=e[4].title)==null?void 0:fr.readOnly)&&(Te.readOnly=Yr),h[0]&262144&&ei!==(ei=e[18]("currency")+"")&&x(rn,ei),h[0]&24&&ti!==(ti=`${(pr=e[4].currency)!=null&&pr.readOnly?"FieldDisabled":""}`)&&l(ke,"class",ti),h[0]&24&&zt!==(zt=e[4].currency.value)&&ke.value!==zt&&(ke.value=zt),h[0]&24&&ri!==(ri=(hr=e[4].currency)==null?void 0:hr.readOnly)&&(ke.readOnly=ri),e[4].iban.value?fe?fe.p(e,h):(fe=ia(e),fe.c(),fe.m(g,null)):fe&&(fe.d(1),fe=null),h[0]&262144&&ni!==(ni=e[18]("locationDetails")+"")&&x(on,ni),h[0]&262144&&ai!==(ai=e[18]("userCountry")+"")&&x(an,ai),h[0]&24&&si!==(si=`PlayerCountry ${(dr=e[4].country)!=null&&dr.readOnly?"FieldDisabled":""}`)&&l(_e,"class",si),h[0]&24&&Gt!==(Gt=e[4].country.countryName)&&_e.value!==Gt&&(_e.value=Gt),h[0]&24&&li!==(li=e[4].country.countryCode)&&l(_e,"placeholder",li),h[0]&24&&ui!==(ui=(mr=e[4].country)==null?void 0:mr.readOnly)&&(_e.readOnly=ui),h[0]&262144&&fi!==(fi=e[18]("userCity")+"")&&x(sn,fi),h[0]&24&&pi!==(pi=`${(br=e[4].city)!=null&&br.readOnly?"FieldDisabled":""}`)&&l(re,"class",pi),h[0]&24&&hi!==(hi=(yr=e[4].city)==null?void 0:yr.readOnly)&&(re.readOnly=hi),h[0]&24&&re.value!==e[4].city.value&&Q(re,e[4].city.value),e[9]?pe&&(pe.d(1),pe=null):pe?pe.p(e,h):(pe=na(e),pe.c(),pe.m(Le,null)),h[0]&512&&di!==(di="PlayerInfoBox "+(e[9]?"":"InvalidField"))&&l(Le,"class",di),h[0]&262144&&bi!==(bi=e[18]("userAddress")+"")&&x(ln,bi),h[0]&24&&yi!==(yi=`${(vr=e[4].address1)!=null&&vr.readOnly?"FieldDisabled":""}`)&&l(ie,"class",yi),h[0]&24&&vi!==(vi=(gr=e[4].address1)==null?void 0:gr.readOnly)&&(ie.readOnly=vi),h[0]&24&&ie.value!==e[4].address1.value&&Q(ie,e[4].address1.value),e[11]?he&&(he.d(1),he=null):he?he.p(e,h):(he=oa(e),he.c(),he.m(Re,null)),h[0]&2048&&gi!==(gi="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&l(Re,"class",gi),h[0]&262144&&Ci!==(Ci=e[18]("userAddress2")+"")&&x(un,Ci),h[0]&24&&Si!==(Si=`${(_r=e[4].address2)!=null&&_r.readOnly?"FieldDisabled":""}`)&&l(ne,"class",Si),h[0]&24&&Ei!==(Ei=(Cr=e[4].address2)==null?void 0:Cr.readOnly)&&(ne.readOnly=Ei),h[0]&24&&ne.value!==e[4].address2.value&&Q(ne,e[4].address2.value),e[12]?de&&(de.d(1),de=null):de?de.p(e,h):(de=aa(e),de.c(),de.m(je,null)),h[0]&4096&&Pi!==(Pi="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&l(je,"class",Pi),h[0]&262144&&Ai!==(Ai=e[18]("userPostalCode")+"")&&x(cn,Ai),h[0]&24&&xi!==(xi=`${(St=e[4].postalCode)!=null&&St.readOnly?"FieldDisabled":""}`)&&l(oe,"class",xi),h[0]&24&&Bi!==(Bi=(go=e[4].postalCode)==null?void 0:go.readOnly)&&(oe.readOnly=Bi),h[0]&24&&oe.value!==e[4].postalCode.value&&Q(oe,e[4].postalCode.value),e[10]?me&&(me.d(1),me=null):me?me.p(e,h):(me=sa(e),me.c(),me.m(Fe,null)),h[0]&1024&&Oi!==(Oi="PlayerInfoBox "+(e[10]?"":"InvalidField"))&&l(Fe,"class",Oi),e[1]==="true"?be?be.p(e,h):(be=la(e),be.c(),be.m(Y,null)):be&&(be.d(1),be=null),h[0]&262144&&Hi!==(Hi=e[18]("userProfileSaveChanges")+"")&&x(fn,Hi),h[0]&384&&Ii!==(Ii="PlayerDetailsSaveButton "+(e[7]&&e[8]?"":"PlayerButtonDisabled"))&&l(_t,"class",Ii),h[0]&64&&Ti!==(Ti="PlayerDetailsButtonsArea "+(e[6]?"PlayerDetailsButtonsAreaMobile":""))&&l($t,"class",Ti),e[17]?ye?ye.p(e,h):(ye=ua(e),ye.c(),ye.m(r,null)):ye&&(ye.d(1),ye=null),h[0]&64&&ki!==(ki="PlayerInfoWrapper "+(e[6]?"PlayerInfoWrapperMobile":""))&&l(t,"class",ki)},d(ve){ve&&N(t),ae&&ae.d(),Sn(K,ve),se&&se.d(),le&&le.d(),ue&&ue.d(),ce&&ce.d(),fe&&fe.d(),pe&&pe.d(),he&&he.d(),de&&de.d(),me&&me.d(),be&&be.d(),ye&&ye.d(),pn=!1,nt(vo)}}}function Jo(e){let t,r,i,n,o,a,u,f,c,p,b=e[18]("titleProfileInfo")+"",y,S,g;return{c(){t=m("div"),r=Et("svg"),i=Et("defs"),n=Et("style"),o=E(`.aaa {
19
- fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
20
- }
21
- `),a=Et("g"),u=Et("g"),f=Et("path"),c=C(),p=m("h2"),y=E(b),l(f,"class","aaa"),l(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(f,"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(p,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(_,H){L(_,t,H),s(t,r),s(r,i),s(i,n),s(n,o),s(r,a),s(a,u),s(u,f),s(t,c),s(t,p),s(p,y),S||(g=[j(t,"click",e[22]),j(t,"keyup",null)],S=!0)},p(_,H){H[0]&262144&&b!==(b=_[18]("titleProfileInfo")+"")&&x(y,b)},d(_){_&&N(t),S=!1,nt(g)}}}function Tu(e){let t,r=e[64]+"",i,n;return{c(){t=m("option"),i=E(r),t.__value=n=e[64],Q(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&8&&r!==(r=o[64]+"")&&x(i,r),a[0]&8&&n!==(n=o[64])&&(t.__value=n,Q(t,t.__value))},d(o){o&&N(t)}}}function ku(e){let t,r=e[64]+"",i,n;return{c(){t=m("option"),i=E(r),t.selected=!0,t.__value=n=e[64],Q(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&8&&r!==(r=o[64]+"")&&x(i,r),a[0]&8&&n!==(n=o[64])&&(t.__value=n,Q(t,t.__value))},d(o){o&&N(t)}}}function Yo(e){let t;function r(o,a){return o[64]===o[4].mobile.prefix?ku:Tu}let i=r(e),n=i(e);return{c(){n.c(),t=ts()},m(o,a){n.m(o,a),L(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&&N(t),n.d(o)}}}function Ko(e){let t,r=e[18]("userPhoneError")+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262144&&r!==(r=n[18]("userPhoneError")+"")&&x(i,r)},d(n){n&&N(t)}}}function ea(e){let t,r=e[18]("userPrefixError")+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262144&&r!==(r=n[18]("userPrefixError")+"")&&x(i,r)},d(n){n&&N(t)}}}function ta(e){let t,r=(e[0]=="true"?e[18]("profileSecurityQuestionError2"):e[18]("profileSecurityQuestionError"))+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262145&&r!==(r=(n[0]=="true"?n[18]("profileSecurityQuestionError2"):n[18]("profileSecurityQuestionError"))+"")&&x(i,r)},d(n){n&&N(t)}}}function ra(e){let t,r=(e[0]=="true"?e[18]("profileSecurityAnswerError2"):e[18]("profileSecurityAnswerError"))+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262145&&r!==(r=(n[0]=="true"?n[18]("profileSecurityAnswerError2"):n[18]("profileSecurityAnswerError"))+"")&&x(i,r)},d(n){n&&N(t)}}}function ia(e){let t,r,i=e[18]("iban")+"",n,o,a,u,f,c;return{c(){var p,b;t=m("div"),r=m("label"),n=E(i),o=C(),a=m("input"),l(r,"for","Iban"),l(a,"id","Iban"),l(a,"type","text"),l(a,"class",u=`${(p=e[4].iban)!=null&&p.readOnly?"FieldDisabled":""}`),a.value=f=e[4].iban.value,a.readOnly=c=(b=e[4].iban)==null?void 0:b.readOnly,l(t,"class","PlayerInfoBox")},m(p,b){L(p,t,b),s(t,r),s(r,n),s(t,o),s(t,a)},p(p,b){var y,S;b[0]&262144&&i!==(i=p[18]("iban")+"")&&x(n,i),b[0]&24&&u!==(u=`${(y=p[4].iban)!=null&&y.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),b[0]&24&&f!==(f=p[4].iban.value)&&a.value!==f&&(a.value=f),b[0]&24&&c!==(c=(S=p[4].iban)==null?void 0:S.readOnly)&&(a.readOnly=c)},d(p){p&&N(t)}}}function na(e){let t,r=e[18]("userCityError")+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262144&&r!==(r=n[18]("userCityError")+"")&&x(i,r)},d(n){n&&N(t)}}}function oa(e){let t,r=e[18]("userAddressError")+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262144&&r!==(r=n[18]("userAddressError")+"")&&x(i,r)},d(n){n&&N(t)}}}function aa(e){let t,r=e[18]("userAddressError")+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262144&&r!==(r=n[18]("userAddressError")+"")&&x(i,r)},d(n){n&&N(t)}}}function sa(e){let t,r=e[18]("userPostalCodeError")+"",i;return{c(){t=m("p"),i=E(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262144&&r!==(r=n[18]("userPostalCodeError")+"")&&x(i,r)},d(n){n&&N(t)}}}function la(e){let t,r=e[18]("locationDetailsDescription")+"",i;return{c(){t=m("div"),i=E(r),l(t,"class","LocationDetailsDescription")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&262144&&r!==(r=n[18]("locationDetailsDescription")+"")&&x(i,r)},d(n){n&&N(t)}}}function ua(e){let t,r,i=e[18]("userProfileConfirmationMessage")+"",n;return{c(){t=m("section"),r=m("p"),n=E(i),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){L(o,t,a),s(t,r),s(r,n)},p(o,a){a[0]&262144&&i!==(i=o[18]("userProfileConfirmationMessage")+"")&&x(n,i)},d(o){o&&N(t)}}}function Mu(e){let t,r,i,n,o,a,u,f,c,p,b,y,S,g,_,H,B,R,F=Ui({length:10}),I=[];for(let d=0;d<F.length;d+=1)I[d]=Hu(Ou(e,F,d));let U=Ui({length:4}),O=[];for(let d=0;d<U.length;d+=1)O[d]=Iu(Bu(e,U,d));let T=!e[5]&&Zo(e);return{c(){t=m("div"),r=m("div"),i=m("div"),i.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',n=C(),o=m("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=C(),u=m("div");for(let d=0;d<I.length;d+=1)I[d].c();f=C(),c=m("div"),c.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',p=C(),b=m("div");for(let d=0;d<O.length;d+=1)O[d].c();y=C(),S=m("div"),S.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',g=C(),_=m("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',B=C(),R=m("div"),T&&T.c(),l(i,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(c,"class","skeletonSectionText"),l(b,"class","skeletonSectionContainer"),l(S,"class","skeletonSectionText"),l(_,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",H="skeletonContainer "+(e[5]?"":"Hidden"))},m(d,M){L(d,t,M),s(t,r),s(r,i),s(r,n),s(r,o),s(r,a),s(r,u);for(let W=0;W<I.length;W+=1)I[W]&&I[W].m(u,null);s(r,f),s(r,c),s(r,p),s(r,b);for(let W=0;W<O.length;W+=1)O[W]&&O[W].m(b,null);s(r,y),s(r,S),s(r,g),s(r,_),L(d,B,M),L(d,R,M),T&&T.m(R,null),e[42](R)},p(d,M){M[0]&32&&H!==(H="skeletonContainer "+(d[5]?"":"Hidden"))&&l(t,"class",H),d[5]?T&&(T.d(1),T=null):T?T.p(d,M):(T=Zo(d),T.c(),T.m(R,null))},i:Se,o:Se,d(d){d&&(N(t),N(B),N(R)),Sn(I,d),Sn(O,d),T&&T.d(),e[42](null)}}}function Nu(e,t,r){let i;Ja(e,cu,v=>r(18,i=v));let{userid:n}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{translationurl:f}=t,{custominputtextswitch:c="false"}=t,{showlocationdetailsdescription:p="false"}=t,{disabledfields:b="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,{clientstyling:y=""}=t,{clientstylingurl:S=""}=t,{mbsource:g}=t,_=[],H=[],B={},R=[],F,I=window.navigator.userAgent,U="",O;const T={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"},d={};let M=!0,W=!1,Ge=!1,We=!0,tt=!0,Be=!0,G=!0,$e=!0,Me=!0,Xe=!0,z=!0,qe=!0,Ze=!1;const Nt={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/},rt=v=>{try{return JSON.stringify(v)}catch(w){return null}},Je=v=>Ke(this,null,function*(){try{const w=new URL(`${a}${v}`),we={method:"GET",headers:new Headers({"X-SessionID":o})},ge=yield fetch(w.href,we);if(!ge.ok)throw new Error(`HTTP error! Status: ${ge.status}`);return yield ge.json()}catch(w){throw console.error("Fetch error:",w),w}});function Or(){return Ke(this,null,function*(){r(33,B=yield Je(`/v1/player/${n}/profile`))})}function Ee(){return Ke(this,null,function*(){r(32,H=(yield Je("/v1/player/countries")).countries)})}const Ye=()=>{Object.keys(B).forEach(v=>{var w,$,we,ge,V,Z;switch(r(4,d[v]={},d),v){case"birth":const J=((w=B[v])==null?void 0:w.day)||"",te=(($=B[v])==null?void 0:$.month)||"",Ne=((we=B[v])==null?void 0:we.year)||"";r(4,d[v].value=`${J}/${te}/${Ne}`,d);break;case"country":r(4,d[v].countryName=((ge=H.find(De=>De.Alpha2Code===B.country))==null?void 0:ge.Name)||"I.E. Ireland",d),r(4,d[v].countryCode=B.country||"",d);break;case"mobile":r(4,d[v].prefix=(V=B.mobile)==null?void 0:V.prefix,d),r(4,d[v].number=(Z=B.mobile)==null?void 0:Z.number,d);break;default:r(4,d[v].value=B[v],d)}r(4,d[v].readOnly=R.includes(v),d)}),F=rt(d),r(5,M=!1)},at=()=>{const v=new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);fetch(v.href).then(w=>w.json()).then(w=>r(3,_=w.phoneCodes)).catch(w=>console.log("Failed to fetch phone codes:",w))},Dt=()=>{r(8,We=!1),Me&&Xe&&tt&&G&&$e&&Be&&z&&qe&&r(8,We=!0)},Hr=()=>{r(7,Ge=rt(d)!==F)},it=v=>()=>{switch(v){case"mobilePrefix":r(16,qe=!!d.mobile.prefix);break;case"mobileNumber":r(15,z=!1),d.mobile.number&&d.mobile.number.length>=5&&d.mobile.number.length<=12&&r(15,z=!0);break;case"city":r(9,tt=!1),d.city.value&&d.city.value.length<=50&&r(9,tt=!0);break;case"postalCode":r(10,Be=!1),d.postalCode.value&&d.postalCode.value.length<=20&&r(10,Be=!0);break;case"address":r(11,G=!1),d.address1.value&&d.address1.value.length<=100&&r(11,G=!0);break;case"address2":r(12,$e=!1),d.address2.value&&d.address2.value.length<=100&&r(12,$e=!0);break;case"securityQuestion":if(r(13,Me=!1),d.securityQuestion.value)switch(c){case"true":Nt.document.test(d.securityQuestion.value)&&d.securityQuestion.value.length<=50&&r(13,Me=!0);break;case"false":d.securityQuestion.value&&d.securityQuestion.value.length<=120&&r(13,Me=!0);break}break;case"securityAnswer":if(r(14,Xe=!1),d.securityAnswer.value)switch(c){case"true":Nt.document.test(d.securityAnswer.value)&&d.securityAnswer.value.length<=50&&r(14,Xe=!0);break;case"false":d.securityAnswer.value&&d.securityAnswer.value.length<=120&&r(14,Xe=!0);break}break}Hr(),Dt()},Ir=()=>{r(17,Ze=!0),setTimeout(()=>{r(17,Ze=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("profileUpdateSuccess")}},window.location.href)},X=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:U}},window.location.href)},st=v=>Ke(this,null,function*(){v.preventDefault(),!(!Ge||!We)&&lt().then(w=>Ke(this,null,function*(){w?(r(33,B=yield Je(`/v1/player/${n}/profile`)),r(7,Ge=!1),Ir()):X()}))}),lt=()=>Ke(this,null,function*(){const v=new URL(`${a}/v1/player/${n}/profile`),w=new Headers;w.append("X-SessionID",o),w.append("Content-Type","application/json"),w.append("Accept","application/json");const $=Object.entries(d).reduce((V,[Z,J])=>{var Ne;const te=J;if(!te.readOnly)if(Z==="mobile"||Z==="phone")V[Z]={prefix:te.prefix,number:te.number};else if(Z==="country")V[Z]=te.countryCode;else if(Z==="birth"&&typeof te.value=="string"){const De=te.value.split("/");V[Z]={year:De[2],month:De[1],day:De[0]}}else V[Z]=(Ne=te.value)!=null?Ne:null;return V},{}),we=rt($);if(we===null)return!1;const ge={method:"POST",headers:w,body:we};try{const V=yield fetch(v.href,ge);if(V.status===200)return!0;const Z=yield V.json();return Tr(Z),!1}catch(V){return console.error(V),!1}}),Tr=v=>{var $;const w=($=v.thirdPartyResponse)==null?void 0:$.message;w&&w.includes("Mandatory input parameter is missing: mobilePrefix")?(U=i("userPrefixError"),it("mobilePrefix")()):U=i("userProfileUpdateError")},ut=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:W},window.location.href)},kr=()=>{fu(u)},Pe=()=>{fetch(f).then(w=>w.json()).then(w=>{Object.keys(w).forEach($=>{Fo($,w[$])})}).catch(w=>{console.log(w)})};Object.keys(Uo).forEach(v=>{Fo(v,Uo[v])});const Ve=v=>Array.isArray(v)?v.length>0:Object.keys(v).length>0;as(()=>(Au(I)&&r(6,W=!0),()=>{}));function ct(){d.mobile.prefix=is(this),r(4,d),r(3,_)}function Lt(){d.mobile.number=this.value,r(4,d),r(3,_)}function Mr(){d.securityQuestion.value=this.value,r(4,d),r(3,_)}function ft(){d.securityAnswer.value=this.value,r(4,d),r(3,_)}function Nr(){d.city.value=this.value,r(4,d),r(3,_)}function q(){d.address1.value=this.value,r(4,d),r(3,_)}function pt(){d.address2.value=this.value,r(4,d),r(3,_)}function ht(){d.postalCode.value=this.value,r(4,d),r(3,_)}function Dr(v){En[v?"unshift":"push"](()=>{O=v,r(2,O)})}return e.$$set=v=>{"userid"in v&&r(23,n=v.userid),"sessionid"in v&&r(24,o=v.sessionid),"endpoint"in v&&r(25,a=v.endpoint),"lang"in v&&r(26,u=v.lang),"translationurl"in v&&r(27,f=v.translationurl),"custominputtextswitch"in v&&r(0,c=v.custominputtextswitch),"showlocationdetailsdescription"in v&&r(1,p=v.showlocationdetailsdescription),"disabledfields"in v&&r(28,b=v.disabledfields),"clientstyling"in v&&r(29,y=v.clientstyling),"clientstylingurl"in v&&r(30,S=v.clientstylingurl),"mbsource"in v&&r(31,g=v.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&58720256&&a&&n&&o&&Or(),e.$$.dirty[0]&33554432&&a&&Ee()&&at(),e.$$.dirty[1]&6&&Ve(B)&&Ve(H)&&Ye(),e.$$.dirty[0]&67108864&&u&&kr(),e.$$.dirty[0]&268435456&&b&&(R=b.split(",")),e.$$.dirty[0]&536870916&&y&&O&&_s(O,y),e.$$.dirty[0]&1073741828&&S&&O&&Cs(O,S),e.$$.dirty[0]&4|e.$$.dirty[1]&1&&g&&O&&Ss(O,`${g}.Style`),e.$$.dirty[0]&134217728&&f&&Pe()},[c,p,O,_,d,M,W,Ge,We,tt,Be,G,$e,Me,Xe,z,qe,Ze,i,T,it,st,ut,n,o,a,u,f,b,y,S,g,H,B,ct,Lt,Mr,ft,Nr,q,pt,ht,Dr]}class $a extends vs{constructor(t){super(),bs(this,t,Nu,Mu,fa,{userid:23,sessionid:24,endpoint:25,lang:26,translationurl:27,custominputtextswitch:0,showlocationdetailsdescription:1,disabledfields:28,clientstyling:29,clientstylingurl:30,mbsource:31},xu,[-1,-1,-1])}get userid(){return this.$$.ctx[23]}set userid(t){this.$$set({userid:t}),Ce()}get sessionid(){return this.$$.ctx[24]}set sessionid(t){this.$$set({sessionid:t}),Ce()}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),Ce()}get lang(){return this.$$.ctx[26]}set lang(t){this.$$set({lang:t}),Ce()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),Ce()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Ce()}get showlocationdetailsdescription(){return this.$$.ctx[1]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Ce()}get disabledfields(){return this.$$.ctx[28]}set disabledfields(t){this.$$set({disabledfields:t}),Ce()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(t){this.$$set({clientstyling:t}),Ce()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Ce()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),Ce()}}ys($a,{userid:{},sessionid:{},endpoint:{},lang:{},translationurl:{},custominputtextswitch:{},showlocationdetailsdescription:{},disabledfields:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=$a;
@@ -1 +0,0 @@
1
- "use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BreIU6e5.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;