@everymatrix/player-profile-info 0.0.291 → 0.0.294

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";var t;(t=e)&&"object"==typeof t&&0 in t;function p(){}function f(e){return e()}function d(){return Object.create(null)}function Or(e){e.forEach(f)}function h(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function oe(e,...t){if(null==e)return p;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Lr(e,t){e.appendChild(t)}function Mr(e,t,r){e.insertBefore(t,r||null)}function kr(e){e.parentNode.removeChild(e)}function Fr(e){return document.createElement(e)}function Rr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ur(e){return document.createTextNode(e)}function Gr(){return Ur(" ")}function a(){return Ur("")}function jr(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function $r(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function zr(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Wr(e,t){e.value=null==t?"":t}function Vr(t,r){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===r)return i.selected=!0,0}}let ae;function y(e){ae=e}const m=[],se=[],i=[],n=[],b=Promise.resolve();let g=!1;function Hr(e){i.push(e)}let o=!1;const s=new Set;function v(){if(!o){o=!0;do{for(let e=0;e<m.length;e+=1){var t=m[e];y(t),function(e){{var t;null!==e.fragment&&(e.update(),Or(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Hr))}}(t.$$)}for(y(null),m.length=0;se.length;)se.pop()();for(let e=0;e<i.length;e+=1){const r=i[e];s.has(r)||(s.add(r),r())}}while(i.length=0,m.length);for(;n.length;)n.pop()();g=!1,o=!1,s.clear()}}const E=new Set;function l(i,e,t,r,n,o,a=[-1]){var s,l=ae;y(i);const u=i.$$={fragment:null,ctx:null,props:o,update:p,not_equal:n,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let c=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return u.ctx&&n(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c&&(r=e,-1===(e=i).$$.dirty[0]&&(m.push(e),g||(g=!0,b.then(v)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],u.update(),c=!0,Or(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){const i=(r=e.target,Array.from(r.childNodes));u.fragment&&u.fragment.l(i),i.forEach(kr)}else u.fragment&&u.fragment.c();e.intro&&(s=i.$$.fragment)&&s.i&&(E.delete(s),s.i(void 0)),function(t,e,r,i){const{fragment:n,on_mount:o,on_destroy:a,after_update:s}=t.$$;n&&n.m(e,r),i||Hr(()=>{var e=o.map(f).filter(h);a?a.push(...e):Or(e),t.$$.on_mount=[]}),s.forEach(Hr)}(i,e.target,e.anchor,e.customElement),v()}y(l)}let u;"function"==typeof HTMLElement&&(u=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(f).filter(h);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){Or(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(Or(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=p}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var c,P,w="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==w&&w,_="URLSearchParams"in w,A="Symbol"in w&&"iterator"in Symbol,T="FileReader"in w&&"Blob"in w&&function(){try{return new Blob,!0}catch(e){return!1}}(),x="FormData"in w,I="ArrayBuffer"in w;function S(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function N(e){return e="string"!=typeof e?String(e):e}function C(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return A&&(e[Symbol.iterator]=function(){return e}),e}function D(t){this.map={},t instanceof D?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function B(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function O(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function L(e){var t=new FileReader,r=O(t);return t.readAsArrayBuffer(e),r}function M(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function k(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:T&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:x&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:_&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():I&&T&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=M(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):I&&(ArrayBuffer.prototype.isPrototypeOf(e)||P(e))?this._bodyArrayBuffer=M(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):_&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},T&&(this.blob=function(){var e=B(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?B(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(L)}),this.text=function(){var e,t,r=B(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=O(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},x&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}I&&(c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],P=ArrayBuffer.isView||function(e){return e&&-1<c.indexOf(Object.prototype.toString.call(e))}),D.prototype.append=function(e,t){e=S(e),t=N(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},D.prototype.delete=function(e){delete this.map[S(e)]},D.prototype.get=function(e){return e=S(e),this.has(e)?this.map[e]:null},D.prototype.has=function(e){return this.map.hasOwnProperty(S(e))},D.prototype.set=function(e,t){this.map[S(e)]=N(t)},D.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},D.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),C(r)},D.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),C(t)},D.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),C(r)},A&&(D.prototype[Symbol.iterator]=D.prototype.entries);var F=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function R(e,t){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof R){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new D(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new D(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<F.indexOf(e)?e:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function U(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function G(e,t){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new D(t.headers),this.url=t.url||"",this._initBody(e)}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})},k.call(R.prototype),k.call(G.prototype),G.prototype.clone=function(){return new G(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new D(this.headers),url:this.url})},G.error=function(){var e=new G(null,{status:0,statusText:""});return e.type="error",e};var j=[301,302,303,307,308];G.redirect=function(e,t){if(-1===j.indexOf(t))throw new RangeError("Invalid status code");return new G(null,{status:t,headers:{location:e}})};var $=w.DOMException;try{new $}catch(e){($=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),$.prototype.constructor=$}function z(i,a){return new Promise(function(n,e){var t=new R(i,a);if(t.signal&&t.signal.aborted)return e(new $("Aborted","AbortError"));var o=new XMLHttpRequest;function r(){o.abort()}o.onload=function(){var e,r,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new D,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout(function(){n(new G(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new $("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&w.location.href?w.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(T?o.responseType="blob":I&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof D?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){o.setRequestHeader(e,N(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",r)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}z.polyfill=!0,w.fetch||(w.fetch=z,w.Headers=D,w.Request=R,w.Response=G),self.fetch.bind(self);var W=function(e,t){return(W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function V(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}W(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function H(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function X(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return a}function Q(e,t){for(var r=0,i=t.length,n=e.length;r<i;r++,n++)e[n]=t[r];return e}function q(e){return"function"==typeof e}function K(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Y=K(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Z(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var J=(te.prototype.unsubscribe=function(){var e,t,r,i,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=H(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(q(o))try{o()}catch(e){n=e instanceof Y?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=H(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{ie(c)}catch(e){n=null!=n?n:[],e instanceof Y?n=Q(Q([],X(n)),X(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(n)throw new Y(n)}},te.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ie(e);else{if(e instanceof te){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},te.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},te.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},te.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Z(t,e)},te.prototype.remove=function(e){var t=this._teardowns;t&&Z(t,e),e instanceof te&&e._removeParent(this)},te.EMPTY=((St=new te).closed=!0,St),te),ee=J.EMPTY;function te(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function re(e){return e instanceof J||e&&"closed"in e&&q(e.remove)&&q(e.add)&&q(e.unsubscribe)}function ie(e){q(e)?e():e.unsubscribe()}var ne=void 0,le=!1,ue=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Q([],X(e)))};function ce(){}function pe(e){e()}var fe,de,he=(V(be,de=J),be.create=function(e,t,r){return new ye(e,t,r)},be.prototype.next=function(e){this.isStopped||this._next(e)},be.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},be.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},be.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,de.prototype.unsubscribe.call(this),this.destination=null)},be.prototype._next=function(e){this.destination.next(e)},be.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},be.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},be),ye=(V(me,fe=he),me);function me(e,t,r){var i,n,o=fe.call(this)||this;return q(e)?n=e:e&&(n=e.next,t=e.error,r=e.complete,o&&le?(i=Object.create(e)).unsubscribe=function(){return o.unsubscribe()}:i=e,n=null==n?void 0:n.bind(i),t=null==t?void 0:t.bind(i),r=null==r?void 0:r.bind(i)),o.destination={next:n?ge(n):ce,error:ge(null!=t?t:ve),complete:r?ge(r):ce},o}function be(e){var t=de.call(this)||this;return t.isStopped=!1,e?re(t.destination=e)&&e.add(t):t.destination=Ee,t}function ge(i){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{i.apply(void 0,Q([],X(e)))}catch(e){t=e,ue(function(){throw t})}}}function ve(e){throw e}var Ee={closed:!0,next:ce,error:ve,complete:ce},Pe="function"==typeof Symbol&&Symbol.observable||"@@observable";function we(e){return e}var _e=(Ae.prototype.lift=function(e){var t=new Ae;return t.source=this,t.operator=e,t},Ae.prototype.subscribe=function(e,t,r){var i,n=this,o=(i=e)&&i instanceof he||i&&q(i.next)&&q(i.error)&&q(i.complete)&&re(i)?e:new ye(e,t,r);return pe(function(){var e=n.operator,t=n.source;o.add(e?e.call(o,t):t?n._subscribe(o):n._trySubscribe(o))}),o},Ae.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Ae.prototype.forEach=function(i,e){var n=this;return new(e=Te(e))(function(e,t){var r=n.subscribe(function(e){try{i(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},Ae.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Ae.prototype[Pe]=function(){return this},Ae.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?we:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Ae.prototype.toPromise=function(e){var i=this;return new(e=Te(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},Ae.create=function(e){return new Ae(e)},Ae);function Ae(e){e&&(this._subscribe=e)}function Te(e){return null!==(e=null!=e?e:ne)&&void 0!==e?e:Promise}var xe,Ie,Se,Ne=K(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ce=(V(ke,Se=_e),ke.prototype.lift=function(e){var t=new De(this,this);return t.operator=e,t},ke.prototype._throwIfClosed=function(){if(this.closed)throw new Ne},ke.prototype.next=function(o){var a=this;pe(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var r=a.observers.slice();try{for(var i=H(r),n=i.next();!n.done;n=i.next())n.value.next(o)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},ke.prototype.error=function(t){var r=this;pe(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},ke.prototype.complete=function(){var t=this;pe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},ke.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(ke.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),ke.prototype._trySubscribe=function(e){return this._throwIfClosed(),Se.prototype._trySubscribe.call(this,e)},ke.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},ke.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,i=this.observers;return t||r?ee:(i.push(e),new J(function(){return Z(i,e)}))},ke.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},ke.prototype.asObservable=function(){var e=new _e;return e.source=this,e},ke.create=function(e,t){return new De(e,t)},ke),De=(V(Me,Ie=Ce),Me.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},Me.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},Me.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},Me.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:ee},Me),Be={now:function(){return(Be.delegate||Date).now()},delegate:void 0},Oe=(V(Le,xe=Ce),Le.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,n=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;r||(i.push(e),n||i.push(o.now()+t)),this._trimBuffer(),xe.prototype.next.call(this,e)},Le.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},Le.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var o=t.now(),a=0,s=1;s<r.length&&r[s]<=o;s+=2)a=s;a&&r.splice(0,a+1)}},Le);function Le(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Be);var i=xe.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function Me(e,t){var r=Ie.call(this)||this;return r.destination=e,r.source=t,r}function ke(){var e=Se.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Fe=[],Re={};const Ue=[];function Ge(i,n=p){let o;const a=[];function s(e){if(r(i,e)&&(i=e,o)){const e=!Ue.length;for(let e=0;e<a.length;e+=1){const o=a[e];o[1](),Ue.push(o,i)}if(e){for(let e=0;e<Ue.length;e+=2)Ue[e][0](Ue[e+1]);Ue.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=p){const r=[e,t];return a.push(r),1===a.length&&(o=n(s)||p),e(i),()=>{var e=a.indexOf(r);-1!==e&&a.splice(e,1),0===a.length&&(o(),o=null)}}}}function je(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Ge(t,t=>{let r=!1;const i=[];let n=0,o=p;const a=()=>{var e;n||(o(),e=s(l?i[0]:i,t),c?t(e):o=h(e)?e:p)},e=u.map((e,t)=>oe(e,e=>{i[t]=e,n&=~(1<<t),r&&a()},()=>{n|=1<<t}));return r=!0,a(),function(){Or(e),o()}}).subscribe}}var $e=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===ze));var t},ze="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function We(e,t){return!1!==t.clone&&t.isMergeableObject(e)?qe(Array.isArray(e)?[]:{},e,t):e}function Ve(e,t,r){return e.concat(t).map(function(e){return We(e,r)})}function He(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Xe(e,t){try{return t in e}catch(e){return!1}}function Qe(i,n,o){var a={};return o.isMergeableObject(i)&&He(i).forEach(function(e){a[e]=We(i[e],o)}),He(n).forEach(function(t){var e,r;(!Xe(e=i,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(Xe(i,t)&&o.isMergeableObject(n[t])?a[t]=function(){if(!o.customMerge)return qe;var e=o.customMerge(t);return"function"==typeof e?e:qe}()(i[t],n[t],o):a[t]=We(n[t],o))}),a}function qe(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Ve,r.isMergeableObject=r.isMergeableObject||$e,r.cloneUnlessOtherwiseSpecified=We;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):Qe(e,t,r):We(t,r)}qe.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return qe(e,t,r)},{})};var Ke=qe,Ye=function(e,t){return(Ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ye(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Je,et,tt,rt=function(){return(rt=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function it(e,t){for(var r=0,i=t.length,n=e.length;r<i;r++,n++)e[n]=t[r];return e}function nt(e){return e.type===et.literal}function ot(e){return e.type===et.number}function at(e){return e.type===et.date}function st(e){return e.type===et.time}function lt(e){return e.type===et.select}function ut(e){return e.type===et.plural}function ct(e){return e.type===et.tag}function pt(e){return e&&"object"==typeof e&&e.type===tt.number}function ft(e){return e&&"object"==typeof e&&e.type===tt.dateTime}(Nt=Je=Je||{})[Nt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Nt[Nt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Nt[Nt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Nt[Nt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Nt[Nt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Nt[Nt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Nt[Nt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Nt[Nt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Nt[Nt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Nt[Nt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Nt[Nt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Nt[Nt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Nt[Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Nt[Nt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Nt[Nt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Nt[Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Nt[Nt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Nt[Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Nt[Nt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Nt[Nt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Nt[Nt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Nt[Nt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Nt[Nt.INVALID_TAG=23]="INVALID_TAG",Nt[Nt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Nt[Nt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Nt[Nt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Ct=et=et||{})[Ct.literal=0]="literal",Ct[Ct.argument=1]="argument",Ct[Ct.number=2]="number",Ct[Ct.date=3]="date",Ct[Ct.time=4]="time",Ct[Ct.select=5]="select",Ct[Ct.plural=6]="plural",Ct[Ct.pound=7]="pound",Ct[Ct.tag=8]="tag",(Dt=tt=tt||{})[Dt.number=0]="number",Dt[Dt.dateTime=1]="dateTime";var dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ht=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var yt,mt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,bt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,gt=/^(@+)?(\+|#+)?$/g,vt=/(\*)(0+)|(#+)(0+)|(0+)/g,Et=/^(0+)$/;function Pt(e){var i={};return e.replace(gt,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function wt(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 _t(e){return wt(e)||{}}function At(e){for(var a={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=rt(rt(rt({},a),{notation:"scientific"}),n.options.reduce(function(e,t){return rt(rt({},e),_t(t))},{}));continue;case"engineering":a=rt(rt(rt({},a),{notation:"engineering"}),n.options.reduce(function(e,t){return rt(rt({},e),_t(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(vt,function(e,t,r,i,n,o){if(t)a.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Et.test(n.stem))a.minimumIntegerDigits=n.stem.length;else if(bt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(bt,function(e,t,r,i,n,o){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:n&&o?(a.minimumFractionDigits=n.length,a.maximumFractionDigits=n.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),n.options.length&&(a=rt(rt({},a),Pt(n.options[0])))}else gt.test(n.stem)?a=rt(rt({},a),Pt(n.stem)):((i=wt(n.stem))&&(a=rt(rt({},a),i)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Et.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(a=rt(rt({},a),i)))}return a}var Tt=new RegExp("^"+dt.source+"*"),xt=new RegExp(dt.source+"*$");function It(e,t){return{start:e,end:t}}var St=!!String.prototype.startsWith,Pe=!!String.fromCodePoint,Ce=!!Object.fromEntries,Nt=!!String.prototype.codePointAt,Ct=!!String.prototype.trimStart,Dt=!!String.prototype.trimEnd,Bt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},dt=!0;try{dt="a"===(null===(yt=jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===yt?void 0:yt[0])}catch(e){dt=!1}var Ot,Lt,Mt=St?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},kt=Pe?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,o=0;o<n;){if(1114111<(r=e[o++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},Ft=Ce?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],o=n[0],n=n[1];t[o]=n}return t},Rt=Nt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var i,n=e.charCodeAt(t);return n<55296||56319<n||t+1===r||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536}},Ut=Ct?function(e){return e.trimStart()}:function(e){return e.replace(Tt,"")},Gt=Dt?function(e){return e.trimEnd()}:function(e){return e.replace(xt,"")};function jt(e,t){return new RegExp(e,t)}Lt=dt?(Ot=jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ot.lastIndex=t,null!==(e=Ot.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,i=[];;){var n=Rt(e,t);if(void 0===n||Vt(n)||(33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;i.push(n),t+=65536<=n?2:1}return kt.apply(void 0,i)};var $t=(zt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},zt.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,o=this.char();if(123===o){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(Je.UNMATCHED_CLOSING_TAG,It(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Wt(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;i.push(n.val)}else{if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}}else{o=this.clonePosition();this.bump(),i.push({type:et.pound,location:It(o,this.clonePosition())})}}}return{val:i,err:null}},zt.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:et.literal,value:"<"+i+"/>",location:It(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;e=n.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Wt(this.char()))return this.error(Je.INVALID_TAG,It(t,this.clonePosition()));n=this.clonePosition();return i!==this.parseTagName()?this.error(Je.UNMATCHED_CLOSING_TAG,It(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:et.tag,value:i,children:e,location:It(r,this.clonePosition())},err:null}:this.error(Je.INVALID_TAG,It(t,this.clonePosition())))}return this.error(Je.UNCLOSED_TAG,It(r,this.clonePosition()))}return this.error(Je.INVALID_TAG,It(r,this.clonePosition()))},zt.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},zt.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=It(r,this.clonePosition());return{val:{type:et.literal,value:i,location:r},err:null}},zt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Wt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},zt.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return kt.apply(void 0,t)},zt.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),kt(r))},zt.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Je.EMPTY_ARGUMENT,It(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Je.MALFORMED_ARGUMENT,It(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:et.argument,value:i,location:It(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(Je.MALFORMED_ARGUMENT,It(r,this.clonePosition()))}},zt.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Lt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:It(e,this.clonePosition())}},zt.prototype.parseArgumentOptions=function(e,t,r,i){var n,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Je.EXPECT_ARGUMENT_TYPE,It(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(p=Gt(f.val)).length)return this.error(Je.EXPECT_ARGUMENT_STYLE,It(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:It(u,this.clonePosition())}}if((d=this.tryParseArgumentClose(i)).err)return d;var c=It(i,this.clonePosition());if(l&&Mt(null==l?void 0:l.style,"::",0)){u=Ut(l.style.slice(2));if("number"===a)return(f=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?f:{val:{type:et.number,value:r,location:c,style:f.val},err:null};if(0===u.length)return this.error(Je.EXPECT_DATE_TIME_SKELETON,c);var p={type:tt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(ht,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}};return{val:{type:"date"===a?et.date:et.time,value:r,location:c,style:p},err:null}}return{val:{type:"number"===a?et.number:"date"===a?et.date:et.time,value:r,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Je.EXPECT_SELECT_ARGUMENT_OPTIONS,It(l,rt({},l)));this.bumpSpace();var f,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,It(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(Je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Je.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=f.val}c=this.tryParsePluralOrSelectOptions(e,a,t,c);if(c.err)return c;if((d=this.tryParseArgumentClose(i)).err)return d;var d=It(i,this.clonePosition());return"select"===a?{val:{type:et.select,value:r,options:Ft(c.val),location:d},err:null}:{val:{type:et.plural,value:r,options:Ft(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:d},err:null};default:return this.error(Je.INVALID_ARGUMENT_TYPE,It(o,s))}},zt.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,It(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},zt.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Je.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,It(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},zt.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(mt).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var o=n[0],n=n.slice(1),a=0,s=n;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:n})}return t}(e)}catch(e){return this.error(Je.INVALID_NUMBER_SKELETON,t)}return{val:{type:tt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?At(r):{}},err:null}},zt.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,o=[],a=new Set,s=i.value,l=i.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Je.EXPECT_PLURAL_ARGUMENT_SELECTOR,Je.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=It(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?Je.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Je.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(n=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Je.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Je.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,It(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;u=this.tryParseArgumentClose(p);if(u.err)return u;o.push([s,{value:c.val,location:It(p,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(p=this.parseIdentifierIfPossible()).value,l=p.location}return 0===o.length?this.error("select"===t?Je.EXPECT_SELECT_ARGUMENT_SELECTOR:Je.EXPECT_PLURAL_ARGUMENT_SELECTOR,It(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(Je.MISSING_OTHER_CLAUSE,It(this.clonePosition(),this.clonePosition())):{val:o,err:null}},zt.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;n=!0,o=10*o+(a-48),this.bump()}i=It(i,this.clonePosition());return n?Bt(o*=r)?{val:o,err:null}:this.error(t,i):this.error(e,i)},zt.prototype.offset=function(){return this.position.offset},zt.prototype.isEOF=function(){return this.offset()===this.message.length},zt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},zt.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Rt(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},zt.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},zt.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},zt.prototype.bumpIf=function(e){if(Mt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},zt.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},zt.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},zt.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vt(this.char());)this.bump()},zt.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},zt);function zt(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Wt(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Ht(e,t){t=rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new $t(e,t).parse();if(r.err){e=SyntaxError(Je[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,lt(e)||ut(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else ot(e)&&pt(e.style)||(at(e)||st(e))&&ft(e.style)?delete e.style.location:ct(e)&&r(e.children)})}(r.val),r.val}function Xt(e,t){var r=t&&t.cache?t.cache:er,i=t&&t.serializer?t.serializer:Yt;return(t&&t.strategy?t.strategy:function(e,t){return Kt(e,this,1===e.length?Qt:qt,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Qt(e,t,r,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function qt(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function Kt(e,t,r,i,n){return r.bind(t,e,i,n)}var Yt=function(){return JSON.stringify(arguments)};function Zt(){this.cache=Object.create(null)}Zt.prototype.has=function(e){return e in this.cache},Zt.prototype.get=function(e){return this.cache[e]},Zt.prototype.set=function(e,t){this.cache[e]=t};var Jt,er={create:function(){return new Zt}},tr={variadic:function(e,t){return Kt(e,this,qt,t.cache.create(),t.serializer)},monadic:function(e,t){return Kt(e,this,Qt,t.cache.create(),t.serializer)}};(dt=Jt=Jt||{}).MISSING_VALUE="MISSING_VALUE",dt.INVALID_VALUE="INVALID_VALUE",dt.MISSING_INTL_API="MISSING_INTL_API";var rr,ir,nr,or,ar,sr=(Ze(hr,ar=Error),hr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},hr),lr=(Ze(dr,or=sr),dr),ur=(Ze(fr,nr=sr),fr),cr=(Ze(pr,ir=sr),pr);function pr(e,t){return ir.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Jt.MISSING_VALUE,t)||this}function fr(e,t,r){return nr.call(this,'Value for "'+e+'" must be of type '+t,Jt.INVALID_VALUE,r)||this}function dr(e,t,r,i){return or.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',Jt.INVALID_VALUE,i)||this}function hr(e,t,r){e=ar.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function yr(e,t,r,i,n,o,a){if(1===e.length&&nt(e[0]))return[{type:rr.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(nt(c))s.push({type:rr.literal,value:c.value});else if(c.type===et.pound)"number"==typeof o&&s.push({type:rr.literal,value:r.getNumberFormat(t).format(o)});else{var p=c.value;if(!(n&&p in n))throw new cr(p,a);var f=n[p];if(c.type===et.argument)f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?rr.literal:rr.object,value:f});else if(at(c)){var d="string"==typeof c.style?i.date[c.style]:ft(c.style)?c.style.parsedOptions:void 0;s.push({type:rr.literal,value:r.getDateTimeFormat(t,d).format(f)})}else if(st(c))d="string"==typeof c.style?i.time[c.style]:ft(c.style)?c.style.parsedOptions:void 0,s.push({type:rr.literal,value:r.getDateTimeFormat(t,d).format(f)});else if(ot(c))(d="string"==typeof c.style?i.number[c.style]:pt(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(f*=d.scale||1),s.push({type:rr.literal,value:r.getNumberFormat(t,d).format(f)});else{if(ct(c)){var h=c.children,y=c.value,p=n[y];if("function"!=typeof p)throw new ur(y,"function",a);h=p(yr(h,t,r,i,n,o).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?rr.literal:rr.object,value:e}}))}if(lt(c)){if(!(m=c.options[f]||c.options.other))throw new lr(c.value,f,Object.keys(c.options),a);s.push.apply(s,yr(m.value,t,r,i,n))}else if(ut(c)){if(!(m=c.options["="+f])){if(!Intl.PluralRules)throw new sr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Jt.MISSING_INTL_API,a);var h=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0)),m=c.options[h]||c.options.other}if(!m)throw new lr(c.value,f,Object.keys(c.options),a);s.push.apply(s,yr(m.value,t,r,i,n,f-(c.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===rr.literal&&t.type===rr.literal?r.value+=t.value:e.push(t),e},[])}function mr(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(dt=rr=rr||{})[dt.literal=0]="literal",dt[dt.object=1]="object";var br=(Object.defineProperty(gr,"defaultLocale",{get:function(){return gr.memoizedDefaultLocale||(gr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),gr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),gr.memoizedDefaultLocale=null,gr.__parse=Ht,gr.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"}}},gr);function gr(e,t,r,i){var n,o,a=this;if(void 0===t&&(t=gr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===rr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return yr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!gr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=gr.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=gr.formats,(o=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=o[t])?rt(rt(rt({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=rt(rt({},r[t]),i[t]||{}),e},{})):r),e},rt({},n)):n),this.locales=t,this.formatters=i&&i.formatters||{getNumberFormat:Xt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,it([void 0],t)))},{cache:mr((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:tr.variadic}),getDateTimeFormat:Xt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,it([void 0],t)))},{cache:mr(i.dateTime),strategy:tr.variadic}),getPluralRules:Xt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,it([void 0],t)))},{cache:mr(i.pluralRules),strategy:tr.variadic})}}const vr={},Er=(t,r)=>{if(null!=r){if(r in vr&&t in vr[r])return vr[r][t];var i,n,o=Kr(r);for(let e=0;e<o.length;e++){var a=(i=o[e],n=t,_r(i)?function(e,t){if(t in e)return e[t];const r=t.split(".");let i=e;for(let e=0;e<r.length;e++)if("object"==typeof i){if(0<e){const t=r.slice(e,r.length).join(".");if(t in i){i=i[t];break}}i=i[r[e]]}else i=void 0;return i}(function(e){return Pr[e]||null}(i),n):null);if(a)return i=t,n=r,(a=a)&&(n in vr||(vr[n]={}),i in vr[n]||(vr[n][i]=a),a)}}};let Pr;const wr=Ge({});function _r(e){return e in Pr}function Ar(t,...r){delete vr[t],wr.update(e=>(e[t]=Ke.all([e[t]||{},...r]),e))}je([wr],([e])=>Object.keys(e)),wr.subscribe(e=>Pr=e);const Tr={};function xr(e){return Tr[e]}function Ir(e){return Kr(e).some(e=>{return null===(e=xr(e))||void 0===e?void 0:e.size})}const Sr={};function Nr(e){if(!Ir(e))return e in Sr?Sr[e]:void 0;const t=Kr(e).map(e=>{var t=xr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Sr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Tr[e].delete(t),0===Tr[e].size&&delete Tr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Ar(t,...e))}(e))).then(()=>Ir(e)?Nr(e):void delete Sr[e]),Sr[e]}function Cr(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}const Dr={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Br=Ge(!1);let Xr;const Qr=Ge(null);function qr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Kr(e,t=Dr.fallbackLocale){e=qr(e);return t?[...new Set([...e,...qr(t)])]:e}Qr.subscribe(e=>{Xr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Yr=Qr.set;Qr.set=t=>{if(function(e){if(null!=e){var t=Kr(e);for(let e=0;e<t.length;e++){var r=t[e];if(_r(r))return r}}}(t)&&Ir(t)){var{loadingDelay:r}=Dr;let e;return"undefined"!=typeof window&&null!=Xr&&r?e=window.setTimeout(()=>Br.set(!0),r):Br.set(!0),Nr(t).then(()=>{Yr(t)}).finally(()=>{clearTimeout(e),Br.set(!1)})}return Yr(t)},Qr.update=e=>Yr(e(Xr));const Zr=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},Jr=(e,t)=>{var{formats:r}=Dr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ei=Zr(e=>{var{locale:t,format:r}=e,e=Cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Jr("number",r)),new Intl.NumberFormat(t,e)}),ti=Zr(e=>{var{locale:t,format:r}=e,e=Cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Jr("date",r):0===Object.keys(e).length&&(e=Jr("date","short")),new Intl.DateTimeFormat(t,e)}),ri=Zr(e=>{var{locale:t,format:r}=e,e=Cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Jr("time",r):0===Object.keys(e).length&&(e=Jr("time","short")),new Intl.DateTimeFormat(t,e)}),ii=Zr((e,t=Xr)=>new br(e,t,Dr.formats,{ignoreTag:Dr.ignoreTag})),ni=je([Qr,wr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:i=Xr,default:n}=t;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=Er(e,i);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else Dr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Kr(i).join('", "')}".${Ir(Xr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=n||e;if(!r)return o;let a=o;try{a=ii(o,i).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});je([Qr],()=>(e,t)=>((e={})=>{var{locale:t=Xr}=e,e=Cr(e,["locale"]);return ri(Object.assign({locale:t},e))})(t).format(e)),je([Qr],()=>(e,t)=>((e={})=>{var{locale:t=Xr}=e,e=Cr(e,["locale"]);return ti(Object.assign({locale:t},e))})(t).format(e)),je([Qr],()=>(e,t)=>((e={})=>{var{locale:t=Xr}=e,e=Cr(e,["locale"]);return ei(Object.assign({locale:t},e))})(t).format(e)),je([Qr,wr],()=>(e,t=Xr)=>Er(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Fe.indexOf(e)&&(t=new Oe(t),Re[e]=t,Fe.push(e)),Re[e]}};const oi={en:{playerProfile:{title:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 20 characters maximum.",userEmail:"Email:",securityQuestion:"Security Question:",securityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",firstName:"First Name:",securityAnswer:"Security Answer:",securityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userAppSettings:"Biometrics",userSMSNotification:"Enable SMS notifications",userBiometrics:"Enable biometrics",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!"}},fr:{playerProfile:{title:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 20 caractères maximum.",userEmail:"Email:",securityQuestion:"Questions de sécurité:",securityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",firstName:"Prénom:",securityAnswer:"Reponses de sécurité:",securityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userAppSettings:"Biométrie",userSMSNotification:"Activer les notifications par sms",userBiometrics:"Activer la biométrie",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!"}},ro:{playerProfile:{title:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 20 de caractere.",userEmail:"E-mail:",securityQuestion:"Întrebare securitate:",securityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",firstName:"Prenume:",securityAnswer:"Răspuns securitate:",securityAnswerError:"Raspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userCity:"Oraș:",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!"}},tr:{playerProfile:{title:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",userEmail:"E-posta:",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",firstName:"İlk adı:",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",lastName:"Soyadı:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",userTitle:"Başlık:",locationDetails:"Konum Ayrıntıları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",userPostalCode:"Posta kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!"}},es:{playerProfile:{title:"Información del perfil",personalDetails:"Detalles personales",userName:"Nombre de usuario:",userPhone:"Móvil:",userPhoneError:"El móvil debe tener al menos 5 caracteres y un máximo de 20 caracteres.",userEmail:"E-mail:",securityQuestion:"Pregunta de seguridad:",securityQuestionError:"La pregunta de seguridad debe tener al menos 1 carácter y un máximo de 120 caracteres.",firstName:"Primer nombre:",securityAnswer:"Respuesta de seguridad:",securityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter y un máximo de 120 caracteres.",lastName:"Ultimo nombre:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter de largo y 50 caracteres como máximo.",userAddress:"Código Postal",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Postal Code:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userAppSettings:"Biometrics",userSMSNotification:"Habilitar notificaciones SMS",userBiometrics:"Habilitar datos biométricos.",userEmailNotification:"Habilitar notificaciones por e-mail",userProfileSaveChanges:"Guardar ediciones",userProfileConfirmationMessage:"Se han guardado los cambios!"}},pt:{playerProfile:{title:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 20 caracteres.",userEmail:"E-mail:",securityQuestion:"Pergunta de segurança:",securityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",firstName:"Primeiro nome:",securityAnswer:"Resposta de segurança:",securityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userAppSettings:"Biometrics",userSMSNotification:"Ativar notificações por SMS",userBiometrics:"Ativar biometria.",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!"}}};function ai(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t){var i=window.cstmNativeBridge.eventListeners[r];return window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],i&&i.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var si=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},li=function(e,...t){try{return ai(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},ui=function(e,t){try{return ai(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ci(e,t,r){const i=e.slice();return i[93]=t[r],i}function pi(r){let n,i,o,a,s,l,u,c,p,f,d,h,y,m,b,g,v,E,P,w,_,A,T,x,e,I,S,N,C,D,B,O,L,M,k,F,R,U,G,j,$,z,W,V,H,X,Q,q,K,Y,Z,J,ee,te,re,ie,ne,oe,ae,se,le,ue,ce,pe,fe,de,he,ye,me,be,ge,ve,Ee,Pe,we,_e,Ae,Te,xe,Ie,Se,Ne,Ce,De,Be,Oe,Le,Me,ke,Fe,Re,Ue,Ge,je,$e,ze,We,Ve,He,Xe,Qe,qe,Ke,Ye,Ze,Je,et,tt,rt,it,nt,ot,at,st,lt,ut,ct,pt,ft,dt,ht,yt,mt,bt,gt,vt,Et,Pt,wt,_t,At,Tt,xt,It,St,Nt,Ct,Dt,Bt,Ot,Lt,Mt,kt,Ft,Rt,Ut,Gt,jt,$t,zt,Wt,Vt,Ht,Xt,Qt,qt,Kt,Yt,Zt,Jt,er,tr=r[34]("playerProfile.title")+"",rr=r[34]("playerProfile.personalDetails")+"",ir=r[34]("playerProfile.userName")+"",nr=r[34]("playerProfile.userPhone")+"",or=r[34]("playerProfile.securityQuestion")+"",ar=r[34]("playerProfile.securityAnswer")+"",sr=r[34]("playerProfile.userEmail")+"",lr=r[34]("playerProfile.dateOfBirth")+"",ur=r[34]("playerProfile.firstName")+"",cr=r[34]("playerProfile.lastName")+"",pr=r[34]("playerProfile.userTitle")+"",fr=r[34]("playerProfile.currency")+"",dr=r[34]("playerProfile.locationDetails")+"",hr=r[34]("playerProfile.userCountry")+"",yr=r[34]("playerProfile.userCity")+"",mr=r[34]("playerProfile.userAddress")+"",br=r[34]("playerProfile.userPostalCode")+"",gr=r[34]("playerProfile.userNotifications")+"",vr=r[34]("playerProfile.userSMSNotification")+"",Er=r[34]("playerProfile.userEmailNotification")+"",Pr=r[34]("playerProfile.userProfileSaveChanges")+"",wr=r[35]&&function(r){let i,n,o,a,s,l,u,c,p,f,d,h,y,m=r[34]("playerProfile.title")+"";return{c(){i=Fr("div"),n=Rr("svg"),o=Rr("defs"),a=Rr("style"),s=Ur(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=Rr("g"),u=Rr("g"),c=Rr("path"),p=Gr(),f=Fr("h2"),d=Ur(m),$r(c,"class","aaa"),$r(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),$r(c,"transform","translate(15 15) rotate(180)"),$r(u,"transform","translate(20 158)"),$r(l,"transform","translate(-20 -158)"),$r(n,"xmlns","http://www.w3.org/2000/svg"),$r(n,"width","15"),$r(n,"height","15"),$r(n,"viewBox","0 0 15 15"),$r(f,"class","MyAccountCategoryTitleMobile"),$r(f,"part","MyAccountCategoryTitleMobile"),$r(i,"class","MenuReturnButton"),$r(i,"part","MenuReturnButton")},m(e,t){Mr(e,i,t),Lr(i,n),Lr(n,o),Lr(o,a),Lr(a,s),Lr(n,l),Lr(l,u),Lr(u,c),Lr(i,p),Lr(i,f),Lr(f,d),h||(y=jr(i,"click",r[53]),h=!0)},p(e,t){8&t[1]&&m!==(m=e[34]("playerProfile.title")+"")&&zr(d,m)},d(e){e&&kr(i),h=!1,y()}}}(r),_r=r[15],Ar=[];for(let e=0;e<_r.length;e+=1)Ar[e]=yi(ci(r,_r,e));let Tr=r[22]&&mi(r),xr=r[20]&&bi(r),Ir=r[21]&&gi(r),Sr=r[17]&&vi(r),Nr=r[19]&&Ei(r),Cr=r[18]&&Pi(r),Dr=r[24]&&wi(r),Br=r[23]&&_i(r);return{c(){n=Fr("form"),wr&&wr.c(),i=Gr(),o=Fr("h2"),a=Ur(tr),s=Gr(),l=Fr("div"),u=Fr("h3"),c=Ur(rr),p=Gr(),f=Fr("section"),d=Fr("div"),h=Fr("label"),y=Ur(ir),m=Gr(),b=Fr("input"),g=Gr(),v=Fr("div"),E=Fr("label"),P=Ur(nr),w=Gr(),_=Fr("div"),A=Fr("select");for(let e=0;e<Ar.length;e+=1)Ar[e].c();T=Gr(),x=Fr("input"),I=Gr(),Tr&&Tr.c(),C=Gr(),D=Fr("div"),B=Fr("label"),O=Ur(or),L=Gr(),M=Fr("input"),F=Gr(),xr&&xr.c(),G=Gr(),j=Fr("div"),$=Fr("label"),z=Ur(ar),W=Gr(),V=Fr("input"),X=Gr(),Ir&&Ir.c(),K=Gr(),Y=Fr("div"),Z=Fr("label"),J=Ur(sr),ee=Gr(),te=Fr("input"),re=Gr(),ie=Fr("div"),ne=Fr("label"),oe=Ur(lr),ae=Gr(),se=Fr("input"),le=Gr(),ue=Fr("div"),ce=Fr("label"),pe=Ur(ur),fe=Gr(),de=Fr("input"),he=Gr(),ye=Fr("div"),me=Fr("label"),be=Ur(cr),ge=Gr(),ve=Fr("input"),Ee=Gr(),Pe=Fr("div"),we=Fr("label"),_e=Ur(pr),Ae=Gr(),Te=Fr("input"),xe=Gr(),Ie=Fr("div"),Se=Fr("label"),Ne=Ur(fr),Ce=Gr(),De=Fr("input"),Be=Gr(),Oe=Fr("div"),Le=Fr("h3"),Me=Ur(dr),ke=Gr(),Fe=Fr("section"),Re=Fr("div"),Ue=Fr("label"),Ge=Ur(hr),je=Gr(),$e=Fr("input"),We=Gr(),Ve=Fr("div"),He=Fr("label"),Xe=Ur(yr),Qe=Gr(),qe=Fr("input"),Ze=Gr(),Sr&&Sr.c(),tt=Gr(),rt=Fr("div"),it=Fr("label"),nt=Ur(mr),ot=Gr(),at=Fr("input"),lt=Gr(),Nr&&Nr.c(),pt=Gr(),ft=Fr("div"),dt=Fr("label"),ht=Ur(br),yt=Gr(),mt=Fr("input"),vt=Gr(),Cr&&Cr.c(),wt=Gr(),_t=Fr("div"),At=Fr("h3"),Tt=Ur(gr),xt=Gr(),It=Fr("section"),St=Fr("div"),Nt=Fr("label"),Ct=Fr("input"),Dt=Gr(),Bt=Fr("span"),Ot=Gr(),Lt=Fr("span"),Mt=Ur(vr),kt=Gr(),Ft=Fr("div"),Rt=Fr("label"),Ut=Fr("input"),Gt=Gr(),jt=Fr("span"),$t=Gr(),zt=Fr("span"),Wt=Ur(Er),Vt=Gr(),Dr&&Dr.c(),Ht=Gr(),Xt=Fr("section"),Qt=Fr("div"),qt=Ur(Pr),Zt=Gr(),Br&&Br.c(),$r(o,"class","MyAccountCategoryTitle "+(r[35]?"MyAccountCategoryTitleNone":"")),$r(o,"part","MyAccountCategoryTitle "+(r[35]?"MyAccountCategoryTitleNone":"")),$r(l,"class","PlayerNotificationsHeader"),$r(l,"part","PlayerNotificationsHeader"),$r(b,"type","text"),$r(b,"class","FieldDisabled"),$r(b,"part","FieldDisabled"),b.value=r[33],b.readOnly=!0,$r(d,"class","PlayerInfoBox"),$r(d,"part","PlayerInfoBox"),void 0===r[11]&&Hr(()=>r[54].call(A)),$r(x,"type","text"),$r(x,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),$r(x,"placeholder",e=r[2]?r[28].number:""),$r(_,"class","PlayerPhoneNumber"),$r(_,"part","PlayerPhoneNumber"),$r(v,"class",S="PlayerInfoBox "+(r[22]?"InvalidField":"")),$r(v,"part",N="PlayerInfoBox "+(r[22]?"InvalidField":"")),$r(M,"type","text"),$r(M,"placeholder",k=r[2]?r[41]:""),$r(D,"class",R="PlayerInfoBox "+(r[20]?"InvalidField":"")),$r(D,"part",U="PlayerInfoBox "+(r[20]?"InvalidField":"")),$r(V,"type","text"),$r(V,"placeholder",H=r[2]?r[40]:""),$r(j,"class",Q="PlayerInfoBox "+(r[21]?"InvalidField":"")),$r(j,"part",q="PlayerInfoBox "+(r[21]?"InvalidField":"")),$r(te,"type","email"),$r(te,"class","FieldDisabled"),$r(te,"part","FieldDisabled"),te.value=r[29],te.readOnly=!0,$r(Y,"class","PlayerInfoBox"),$r(Y,"part","PlayerInfoBox"),$r(se,"type","text"),$r(se,"class","FieldDisabled"),$r(se,"part","FieldDisabled"),se.value=r[26],se.readOnly=!0,$r(ie,"class","PlayerInfoBox"),$r(ie,"part","PlayerInfoBox"),$r(de,"type","text"),$r(de,"class","FieldDisabled"),$r(de,"part","FieldDisabled"),de.value=r[30],de.readOnly=!0,$r(ue,"class","PlayerInfoBox"),$r(ue,"part","PlayerInfoBox"),$r(ve,"type","text"),$r(ve,"class","FieldDisabled"),$r(ve,"part","FieldDisabled"),ve.value=r[32],ve.readOnly=!0,$r(ye,"class","PlayerInfoBox"),$r(ye,"part","PlayerInfoBox"),$r(Te,"type","text"),$r(Te,"class","FieldDisabled"),$r(Te,"part","FieldDisabled"),Te.value=r[31],Te.readOnly=!0,$r(Pe,"class","PlayerInfoBox"),$r(Pe,"part","PlayerInfoBox"),$r(De,"type","text"),$r(De,"class","FieldDisabled"),$r(De,"part","FieldDisabled"),De.value=r[27],De.readOnly=!0,$r(Ie,"class","PlayerInfoBox"),$r(Ie,"part","PlayerInfoBox"),$r(f,"class","PlayerDetailsContent"),$r(f,"part","PlayerDetailsContent"),$r(Oe,"class","PlayerLocationHeader"),$r(Oe,"part","PlayerLocationHeader"),$r($e,"type","text"),$r($e,"class","PlayerCountry FieldDisabled"),$r($e,"part","PlayerCountry FieldDisabled"),$r($e,"placeholder",r[0]),$e.value=ze=r[14].Name,$e.readOnly=!0,$r(Re,"class","PlayerInfoBox"),$r(Re,"part","PlayerInfoBox"),$r(qe,"type","text"),$r(qe,"placeholder",Ke=r[2]?r[38]:""),qe.value=Ye=r[2]?"":r[25].city,$r(Ve,"class",Je="PlayerInfoBox "+(r[17]?"InvalidField":"")),$r(Ve,"part",et="PlayerInfoBox "+(r[17]?"InvalidField":"")),$r(at,"placeholder",r[37]),$r(at,"type","text"),at.value=st=r[2]?"":r[25].address,$r(rt,"class",ut="PlayerInfoBox "+(r[19]?"InvalidField":"")),$r(rt,"part",ct="PlayerInfoBox "+(r[19]?"InvalidField":"")),$r(mt,"type","text"),$r(mt,"placeholder",bt=r[2]?r[39]:""),mt.value=gt=r[2]?"":r[25].postalCode,$r(ft,"class",Et="PlayerInfoBox "+(r[18]?"InvalidField":"")),$r(ft,"part",Pt="PlayerInfoBox "+(r[18]?"InvalidField":"")),$r(Fe,"class","PlayerLocationContent"),$r(Fe,"part","PlayerLocationContent"),$r(_t,"class","PlayerNotificationsHeader"),$r(_t,"part","PlayerNotificationsHeader"),$r(Ct,"type","checkbox"),$r(Ct,"id","SMSNotification"),$r(Ct,"name","Enable SMS notifications"),$r(Bt,"class","Checkmark"),$r(Bt,"part","Checkmark"),$r(Nt,"for","SMSNotification"),$r(St,"class","PlayerNotificationBox"),$r(St,"part","PlayerNotificationBox"),$r(Ut,"type","checkbox"),$r(Ut,"id","EmailNotification"),$r(Ut,"name","Enable Emails"),$r(jt,"class","Checkmark"),$r(jt,"part","Checkmark"),$r(Rt,"for","EmailNotification"),$r(Ft,"class","PlayerNotificationBox"),$r(Ft,"part","PlayerNotificationBox"),$r(It,"class","PlayerNotificationsCheckboxArea"),$r(It,"part","PlayerNotificationsCheckboxArea"),$r(Qt,"class",Kt="PlayerDetailsSaveButton "+(r[13]&&r[16]?"":"PlayerButtonDisabled")),$r(Qt,"part",Yt="PlayerDetailsSaveButton "+(r[13]&&r[16]?"":"PlayerButtonDisabled")),$r(Xt,"class","PlayerDetailsButtonsArea "+(r[35]?"PlayerDetailsButtonsAreaMobile":"")),$r(Xt,"part","PlayerDetailsButtonsArea "+(r[35]?"PlayerDetailsButtonsAreaMobile":"")),$r(n,"class","PlayerInfoWrapper "+(r[35]?"PlayerInfoWrapperMobile":"")+" "+(r[36].matches&&r[35]?"PlayerInfoWrapperTablet":"")),$r(n,"part","PlayerInfoWrapper "+(r[35]?"PlayerInfoWrapperMobile":"")+" "+(r[36].matches&&r[35]?"PlayerInfoWrapperTablet":""))},m(e,t){Mr(e,n,t),wr&&wr.m(n,null),Lr(n,i),Lr(n,o),Lr(o,a),Lr(n,s),Lr(n,l),Lr(l,u),Lr(u,c),Lr(n,p),Lr(n,f),Lr(f,d),Lr(d,h),Lr(h,y),Lr(d,m),Lr(d,b),Lr(f,g),Lr(f,v),Lr(v,E),Lr(E,P),Lr(v,w),Lr(v,_),Lr(_,A);for(let e=0;e<Ar.length;e+=1)Ar[e].m(A,null);Vr(A,r[11]),Lr(_,T),Lr(_,x),Wr(x,r[12]),Lr(v,I),Tr&&Tr.m(v,null),Lr(f,C),Lr(f,D),Lr(D,B),Lr(B,O),Lr(D,L),Lr(D,M),Wr(M,r[9]),Lr(D,F),xr&&xr.m(D,null),Lr(f,G),Lr(f,j),Lr(j,$),Lr($,z),Lr(j,W),Lr(j,V),Wr(V,r[10]),Lr(j,X),Ir&&Ir.m(j,null),Lr(f,K),Lr(f,Y),Lr(Y,Z),Lr(Z,J),Lr(Y,ee),Lr(Y,te),Lr(f,re),Lr(f,ie),Lr(ie,ne),Lr(ne,oe),Lr(ie,ae),Lr(ie,se),Lr(f,le),Lr(f,ue),Lr(ue,ce),Lr(ce,pe),Lr(ue,fe),Lr(ue,de),Lr(f,he),Lr(f,ye),Lr(ye,me),Lr(me,be),Lr(ye,ge),Lr(ye,ve),Lr(f,Ee),Lr(f,Pe),Lr(Pe,we),Lr(we,_e),Lr(Pe,Ae),Lr(Pe,Te),Lr(f,xe),Lr(f,Ie),Lr(Ie,Se),Lr(Se,Ne),Lr(Ie,Ce),Lr(Ie,De),Lr(n,Be),Lr(n,Oe),Lr(Oe,Le),Lr(Le,Me),Lr(n,ke),Lr(n,Fe),Lr(Fe,Re),Lr(Re,Ue),Lr(Ue,Ge),Lr(Re,je),Lr(Re,$e),Lr(Fe,We),Lr(Fe,Ve),Lr(Ve,He),Lr(He,Xe),Lr(Ve,Qe),Lr(Ve,qe),r[62](qe),Lr(Ve,Ze),Sr&&Sr.m(Ve,null),Lr(Fe,tt),Lr(Fe,rt),Lr(rt,it),Lr(it,nt),Lr(rt,ot),Lr(rt,at),r[64](at),Lr(rt,lt),Nr&&Nr.m(rt,null),Lr(Fe,pt),Lr(Fe,ft),Lr(ft,dt),Lr(dt,ht),Lr(ft,yt),Lr(ft,mt),r[66](mt),Lr(ft,vt),Cr&&Cr.m(ft,null),Lr(n,wt),Lr(n,_t),Lr(_t,At),Lr(At,Tt),Lr(n,xt),Lr(n,It),Lr(It,St),Lr(St,Nt),Lr(Nt,Ct),Ct.checked=r[6],Lr(Nt,Dt),Lr(Nt,Bt),Lr(Nt,Ot),Lr(Nt,Lt),Lr(Lt,Mt),Lr(It,kt),Lr(It,Ft),Lr(Ft,Rt),Lr(Rt,Ut),Ut.checked=r[7],Lr(Rt,Gt),Lr(Rt,jt),Lr(Rt,$t),Lr(Rt,zt),Lr(zt,Wt),Lr(n,Vt),Dr&&Dr.m(n,null),Lr(n,Ht),Lr(n,Xt),Lr(Xt,Qt),Lr(Qt,qt),Lr(n,Zt),Br&&Br.m(n,null),Jt||(er=[jr(A,"change",r[54]),jr(A,"change",r[55]),jr(x,"input",r[56]),jr(x,"keyup",r[42]),jr(x,"keyup",r[57]),jr(M,"input",r[58]),jr(M,"keyup",r[59]),jr(M,"blur",r[43]),jr(V,"input",r[60]),jr(V,"keyup",r[61]),jr(V,"blur",r[44]),jr(qe,"blur",r[45]),jr(qe,"keyup",r[63]),jr(at,"blur",r[47]),jr(at,"keyup",r[65]),jr(mt,"blur",r[46]),jr(mt,"keyup",r[67]),jr(Ct,"change",r[68]),jr(Ct,"change",r[50]),jr(Ut,"change",r[69]),jr(Ut,"change",r[50]),jr(Qt,"click",r[71])],Jt=!0)},p(t,r){if(t[35]&&wr.p(t,r),8&r[1]&&tr!==(tr=t[34]("playerProfile.title")+"")&&zr(a,tr),8&r[1]&&rr!==(rr=t[34]("playerProfile.personalDetails")+"")&&zr(c,rr),8&r[1]&&ir!==(ir=t[34]("playerProfile.userName")+"")&&zr(y,ir),4&r[1]&&b.value!==t[33]&&(b.value=t[33]),8&r[1]&&nr!==(nr=t[34]("playerProfile.userPhone")+"")&&zr(P,nr),33587200&r[0]){let e;for(_r=t[15],e=0;e<_r.length;e+=1){var i=ci(t,_r,e);Ar[e]?Ar[e].p(i,r):(Ar[e]=yi(i),Ar[e].c(),Ar[e].m(A,null))}for(;e<Ar.length;e+=1)Ar[e].d(1);Ar.length=_r.length}34816&r[0]&&Vr(A,t[11]),268435460&r[0]&&e!==(e=t[2]?t[28].number:"")&&$r(x,"placeholder",e),4096&r[0]&&x.value!==t[12]&&Wr(x,t[12]),t[22]?Tr?Tr.p(t,r):(Tr=mi(t),Tr.c(),Tr.m(v,null)):Tr&&(Tr.d(1),Tr=null),4194304&r[0]&&S!==(S="PlayerInfoBox "+(t[22]?"InvalidField":""))&&$r(v,"class",S),4194304&r[0]&&N!==(N="PlayerInfoBox "+(t[22]?"InvalidField":""))&&$r(v,"part",N),8&r[1]&&or!==(or=t[34]("playerProfile.securityQuestion")+"")&&zr(O,or),4&r[0]&&k!==(k=t[2]?t[41]:"")&&$r(M,"placeholder",k),512&r[0]&&M.value!==t[9]&&Wr(M,t[9]),t[20]?xr?xr.p(t,r):(xr=bi(t),xr.c(),xr.m(D,null)):xr&&(xr.d(1),xr=null),1048576&r[0]&&R!==(R="PlayerInfoBox "+(t[20]?"InvalidField":""))&&$r(D,"class",R),1048576&r[0]&&U!==(U="PlayerInfoBox "+(t[20]?"InvalidField":""))&&$r(D,"part",U),8&r[1]&&ar!==(ar=t[34]("playerProfile.securityAnswer")+"")&&zr(z,ar),4&r[0]&&H!==(H=t[2]?t[40]:"")&&$r(V,"placeholder",H),1024&r[0]&&V.value!==t[10]&&Wr(V,t[10]),t[21]?Ir?Ir.p(t,r):(Ir=gi(t),Ir.c(),Ir.m(j,null)):Ir&&(Ir.d(1),Ir=null),2097152&r[0]&&Q!==(Q="PlayerInfoBox "+(t[21]?"InvalidField":""))&&$r(j,"class",Q),2097152&r[0]&&q!==(q="PlayerInfoBox "+(t[21]?"InvalidField":""))&&$r(j,"part",q),8&r[1]&&sr!==(sr=t[34]("playerProfile.userEmail")+"")&&zr(J,sr),536870912&r[0]&&te.value!==t[29]&&(te.value=t[29]),8&r[1]&&lr!==(lr=t[34]("playerProfile.dateOfBirth")+"")&&zr(oe,lr),67108864&r[0]&&se.value!==t[26]&&(se.value=t[26]),8&r[1]&&ur!==(ur=t[34]("playerProfile.firstName")+"")&&zr(pe,ur),1073741824&r[0]&&de.value!==t[30]&&(de.value=t[30]),8&r[1]&&cr!==(cr=t[34]("playerProfile.lastName")+"")&&zr(be,cr),2&r[1]&&ve.value!==t[32]&&(ve.value=t[32]),8&r[1]&&pr!==(pr=t[34]("playerProfile.userTitle")+"")&&zr(_e,pr),1&r[1]&&Te.value!==t[31]&&(Te.value=t[31]),8&r[1]&&fr!==(fr=t[34]("playerProfile.currency")+"")&&zr(Ne,fr),134217728&r[0]&&De.value!==t[27]&&(De.value=t[27]),8&r[1]&&dr!==(dr=t[34]("playerProfile.locationDetails")+"")&&zr(Me,dr),8&r[1]&&hr!==(hr=t[34]("playerProfile.userCountry")+"")&&zr(Ge,hr),1&r[0]&&$r($e,"placeholder",t[0]),16384&r[0]&&ze!==(ze=t[14].Name)&&$e.value!==ze&&($e.value=ze),8&r[1]&&yr!==(yr=t[34]("playerProfile.userCity")+"")&&zr(Xe,yr),4&r[0]&&Ke!==(Ke=t[2]?t[38]:"")&&$r(qe,"placeholder",Ke),33554436&r[0]&&Ye!==(Ye=t[2]?"":t[25].city)&&qe.value!==Ye&&(qe.value=Ye),t[17]?Sr?Sr.p(t,r):(Sr=vi(t),Sr.c(),Sr.m(Ve,null)):Sr&&(Sr.d(1),Sr=null),131072&r[0]&&Je!==(Je="PlayerInfoBox "+(t[17]?"InvalidField":""))&&$r(Ve,"class",Je),131072&r[0]&&et!==(et="PlayerInfoBox "+(t[17]?"InvalidField":""))&&$r(Ve,"part",et),8&r[1]&&mr!==(mr=t[34]("playerProfile.userAddress")+"")&&zr(nt,mr),33554436&r[0]&&st!==(st=t[2]?"":t[25].address)&&at.value!==st&&(at.value=st),t[19]?Nr?Nr.p(t,r):(Nr=Ei(t),Nr.c(),Nr.m(rt,null)):Nr&&(Nr.d(1),Nr=null),524288&r[0]&&ut!==(ut="PlayerInfoBox "+(t[19]?"InvalidField":""))&&$r(rt,"class",ut),524288&r[0]&&ct!==(ct="PlayerInfoBox "+(t[19]?"InvalidField":""))&&$r(rt,"part",ct),8&r[1]&&br!==(br=t[34]("playerProfile.userPostalCode")+"")&&zr(ht,br),4&r[0]&&bt!==(bt=t[2]?t[39]:"")&&$r(mt,"placeholder",bt),33554436&r[0]&&gt!==(gt=t[2]?"":t[25].postalCode)&&mt.value!==gt&&(mt.value=gt),t[18]?Cr?Cr.p(t,r):(Cr=Pi(t),Cr.c(),Cr.m(ft,null)):Cr&&(Cr.d(1),Cr=null),262144&r[0]&&Et!==(Et="PlayerInfoBox "+(t[18]?"InvalidField":""))&&$r(ft,"class",Et),262144&r[0]&&Pt!==(Pt="PlayerInfoBox "+(t[18]?"InvalidField":""))&&$r(ft,"part",Pt),8&r[1]&&gr!==(gr=t[34]("playerProfile.userNotifications")+"")&&zr(Tt,gr),64&r[0]&&(Ct.checked=t[6]),8&r[1]&&vr!==(vr=t[34]("playerProfile.userSMSNotification")+"")&&zr(Mt,vr),128&r[0]&&(Ut.checked=t[7]),8&r[1]&&Er!==(Er=t[34]("playerProfile.userEmailNotification")+"")&&zr(Wt,Er),t[24]?Dr?Dr.p(t,r):(Dr=wi(t),Dr.c(),Dr.m(n,Ht)):Dr&&(Dr.d(1),Dr=null),8&r[1]&&Pr!==(Pr=t[34]("playerProfile.userProfileSaveChanges")+"")&&zr(qt,Pr),73728&r[0]&&Kt!==(Kt="PlayerDetailsSaveButton "+(t[13]&&t[16]?"":"PlayerButtonDisabled"))&&$r(Qt,"class",Kt),73728&r[0]&&Yt!==(Yt="PlayerDetailsSaveButton "+(t[13]&&t[16]?"":"PlayerButtonDisabled"))&&$r(Qt,"part",Yt),t[23]?Br?Br.p(t,r):(Br=_i(t),Br.c(),Br.m(n,null)):Br&&(Br.d(1),Br=null)},d(e){e&&kr(n),wr&&wr.d(),function(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}(Ar,e),Tr&&Tr.d(),xr&&xr.d(),Ir&&Ir.d(),r[62](null),Sr&&Sr.d(),r[64](null),Nr&&Nr.d(),r[66](null),Cr&&Cr.d(),Dr&&Dr.d(),Br&&Br.d(),Jt=!1,Or(er)}}}function fi(e){let r;return{c(){r=Fr("div"),$r(r,"class","ModalLoader"),$r(r,"part","ModalLoader")},m(e,t){Mr(e,r,t)},p:p,d(e){e&&kr(r)}}}function di(e){let r,i,n,o=e[93].Prefix+"";return{c(){r=Fr("option"),i=Ur(o),r.__value=n=e[93].Prefix,r.value=r.__value},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){32768&t[0]&&o!==(o=e[93].Prefix+"")&&zr(i,o),32768&t[0]&&n!==(n=e[93].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&kr(r)}}}function hi(e){let r,i,n,o=e[93].Prefix+"";return{c(){r=Fr("option"),i=Ur(o),r.selected=!0,r.__value=n=e[93].Prefix,r.value=r.__value},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){32768&t[0]&&o!==(o=e[93].Prefix+"")&&zr(i,o),32768&t[0]&&n!==(n=e[93].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&&kr(r)}}}function yi(e){let r;function i(e){return e[93].Prefix===e[25].mobiePrefix?hi:di}let n=i(e),o=n(e);return{c(){o.c(),r=a()},m(e,t){o.m(e,t),Mr(e,r,t)},p(e,t){n===(n=i(e))&&o?o.p(e,t):(o.d(1),o=n(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o.d(e),e&&kr(r)}}}function mi(e){let r,i,n=e[34]("playerProfile.userPhoneError")+"";return{c(){r=Fr("p"),i=Ur(n),$r(r,"class","InvalidInput"),$r(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){8&t[1]&&n!==(n=e[34]("playerProfile.userPhoneError")+"")&&zr(i,n)},d(e){e&&kr(r)}}}function bi(e){let r,i,n=e[34]("playerProfile.securityQuestionError")+"";return{c(){r=Fr("p"),i=Ur(n),$r(r,"class","InvalidInput"),$r(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){8&t[1]&&n!==(n=e[34]("playerProfile.securityQuestionError")+"")&&zr(i,n)},d(e){e&&kr(r)}}}function gi(e){let r,i,n=e[34]("playerProfile.securityAnswerError")+"";return{c(){r=Fr("p"),i=Ur(n),$r(r,"class","InvalidInput"),$r(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){8&t[1]&&n!==(n=e[34]("playerProfile.securityAnswerError")+"")&&zr(i,n)},d(e){e&&kr(r)}}}function vi(e){let r,i,n=e[34]("playerProfile.userCityError")+"";return{c(){r=Fr("p"),i=Ur(n),$r(r,"class","InvalidInput"),$r(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){8&t[1]&&n!==(n=e[34]("playerProfile.userCityError")+"")&&zr(i,n)},d(e){e&&kr(r)}}}function Ei(e){let r,i,n=e[34]("playerProfile.userAddressError")+"";return{c(){r=Fr("p"),i=Ur(n),$r(r,"class","InvalidInput"),$r(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){8&t[1]&&n!==(n=e[34]("playerProfile.userAddressError")+"")&&zr(i,n)},d(e){e&&kr(r)}}}function Pi(e){let r,i,n=e[34]("playerProfile.userPostalCodeError")+"";return{c(){r=Fr("p"),i=Ur(n),$r(r,"class","InvalidInput"),$r(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Lr(r,i)},p(e,t){8&t[1]&&n!==(n=e[34]("playerProfile.userPostalCodeError")+"")&&zr(i,n)},d(e){e&&kr(r)}}}function wi(r){let i,n,o,a,s,l,u,c,p,f,d,h,y,m,b,g=r[34]("playerProfile.userAppSettings")+"",v=r[34]("playerProfile.userBiometrics")+"";return{c(){i=Fr("div"),n=Fr("h3"),o=Ur(g),a=Gr(),s=Fr("section"),l=Fr("div"),u=Fr("label"),c=Fr("input"),p=Gr(),f=Fr("span"),d=Gr(),h=Fr("span"),y=Ur(v),$r(i,"class","PlayerNotificationsHeader"),$r(i,"part","PlayerNotificationsHeader"),$r(c,"type","checkbox"),$r(c,"id","BiometricsEnabled"),$r(c,"name","Biometric Enabled"),$r(f,"class","Checkmark"),$r(f,"part","Checkmark"),$r(u,"for","Biometrics"),$r(l,"class","PlayerNotificationBox"),$r(l,"part","PlayerNotificationBox"),$r(s,"class","PlayerNotificationsCheckboxArea"),$r(s,"part","PlayerNotificationsCheckboxArea")},m(e,t){Mr(e,i,t),Lr(i,n),Lr(n,o),Mr(e,a,t),Mr(e,s,t),Lr(s,l),Lr(l,u),Lr(u,c),c.checked=r[8],Lr(u,p),Lr(u,f),Lr(u,d),Lr(u,h),Lr(h,y),m||(b=[jr(c,"change",r[70]),jr(c,"change",r[50])],m=!0)},p(e,t){8&t[1]&&g!==(g=e[34]("playerProfile.userAppSettings")+"")&&zr(o,g),256&t[0]&&(c.checked=e[8]),8&t[1]&&v!==(v=e[34]("playerProfile.userBiometrics")+"")&&zr(y,v)},d(e){e&&kr(i),e&&kr(a),e&&kr(s),m=!1,Or(b)}}}function _i(e){let r,i,n,o=e[34]("playerProfile.userProfileConfirmationMessage")+"";return{c(){r=Fr("section"),i=Fr("p"),n=Ur(o),$r(i,"class","PlayerDetailsConfirmSaveText"),$r(i,"part","PlayerDetailsConfirmSaveText"),$r(r,"class","PlayerDetailsConfirmSave"),$r(r,"part","PlayerDetailsConfirmSave")},m(e,t){Mr(e,r,t),Lr(r,i),Lr(i,n)},p(e,t){8&t[1]&&o!==(o=e[34]("playerProfile.userProfileConfirmationMessage")+"")&&zr(n,o)},d(e){e&&kr(r)}}}function Ai(e){let r;function i(e){return e[1]?fi:pi}let n=i(e),o=n(e);return{c(){o.c(),r=a(),this.c=p},m(e,t){o.m(e,t),Mr(e,r,t)},p(e,t){n===(n=i(e))&&o?o.p(e,t):(o.d(1),o=n(e),o&&(o.c(),o.m(r.parentNode,r)))},i:p,o:p,d(e){o.d(e),e&&kr(r)}}}function Ti(t,e,r){let i;var n=ni;t.$$.on_destroy.push(oe(n,e=>r(34,i=e)));let o,a,s,l,{endpoint:u=""}=e,{lang:c="en"}=e,{countrycode:p="IR"}=e,f=!0,d=window.navigator.userAgent,h="PC"!=((n=d).toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),y=!0,m=!1,b=!1,g=!1,v="",E="",P="",w="",_=!1,A={Name:"I.e Ireland"},T=[],x=[],I=!1,S="",N="",C="",D=!1,B=!1,O=!1,L=!1;Object.keys(oi).forEach(e=>{Ar(e,oi[e])});e=window.matchMedia("(min-width: 768px)");let M={address1:"",address2:"",city:"",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},k={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},F={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"i.e.: Ireland",currency:"EUR",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},{address1:R,birth:U,city:G,currency:j,mobile:$,email:z,firstname:W,userTitles:V,language:H,lastname:X,postalCode:Q,securityAnswer:q,securityQuestion:K,username:Y}=F;const Z=e=>{if(e.data)switch(e.data.type){case"ProfileDetailsData":r(2,y=!1),F=e.data.profileDetails,r(33,Y=F.username),r(28,$=F.mobile),r(29,z=F.email),r(30,W=F.firstname),r(32,X=F.lastname),H=F.language,r(26,U=F.birth.day+"/"+F.birth.month+"/"+F.birth.year),r(27,j=F.currency),r(31,V=F.title),r(6,m=F.consents.acceptSMSOffers),r(7,b=F.consents.acceptNewsEmail),r(9,v=F.securityQuestion),r(10,E=F.securityAnswer),r(11,P=F.mobile.prefix),r(12,w=F.mobile.number),r(25,k={address:F.address1,city:F.city,acceptNewsEmail:F.consents.acceptNewsEmail,acceptSMSOffers:F.consents.acceptSMSOffers,mobilePrefix:$.prefix,mobileNumber:$.number,postalCode:F.postalCode,securityAnswer:F.securityAnswer,securityQuestion:F.securityQuestion});break;case"ConfirmProfileInfoSave":L&&(ui("BIOMETRICS_ENABLED",e=>{e!==g&&r(8,g=e)}),li(g?"ENABLE_BIOMETRICS":"DISABLE_BIOMETRICS")),r(13,_=!1),J()}},J=()=>{r(23,O=!0),setTimeout(()=>{r(23,O=!1)},3e3)},ee=()=>{r(16,I=!(D||B||S||C||N||l))},te=()=>{1==_&&1==I&&window.postMessage({type:"UpdatePlayerInfo",provisionalArray:M},window.location.href)},re=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:h},window.location.href)},ie=()=>{M={acceptNewsEmail:b,acceptSMSOffers:m,address:a.value,city:s.value,mobileNumber:w,mobilePrefix:P,postalCode:o.value,securityAnswer:E,securityQuestion:v},ne(M,k),ee()},ne=(e,t)=>{JSON.stringify(e)===JSON.stringify(t)?r(13,_=!1):r(13,_=!0)};return n=()=>(window.addEventListener("message",Z,!1),r(24,L=!!si(d)),L&&(ui("BIOMETRICS_ENABLED",e=>{r(8,g=!!e)}),li("BIOMETRICS_ENABLED")),()=>{window.removeEventListener("message",Z)}),function(){if(!ae)throw new Error("Function called outside component initialization");return ae}().$$.on_mount.push(n),t.$$set=e=>{"endpoint"in e&&r(51,u=e.endpoint),"lang"in e&&r(52,c=e.lang),"countrycode"in e&&r(0,p=e.countrycode)},t.$$.update=()=>{var e;2097152&t.$$.dirty[1]&&c&&(e=c,Qr.set(e)),1&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&u&&p&&fetch(`${u}/player/countries`).then(e=>e.json()).then(e=>{x=e.countries,r(14,A=x.find(e=>e.Alpha2Code===p)||{Name:"I.E. Ireland"}),r(1,f=!1)}),1048576&t.$$.dirty[1]&&u&&fetch(`${u}/player/phonecodes`).then(e=>e.json()).then(e=>{r(15,T=e.phoneCodes)})},[p,f,y,o,a,s,m,b,g,v,E,P,w,_,A,T,I,S,N,C,D,B,l,O,L,k,U,j,$,z,W,V,X,Y,i,h,e,R,G,Q,q,K,()=>{r(22,l=!(w&&5<=w.length&&w.length<=30)),ee()},()=>{r(20,D=!(v&&v.length<=120)),ee()},()=>{r(21,B=!(E&&E.length<=120)),ee()},()=>{r(17,S=!(s.value&&s.value.length<=50)),ee()},()=>{r(18,N=!(o.value&&o.value.length<=20)),ee()},()=>{r(19,C=!(a.value&&a.value.length<=100)),ee()},te,re,ie,u,c,()=>re(),function(){P=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),r(11,P),r(15,T)},()=>ie(),function(){w=this.value,r(12,w)},()=>ie(),function(){v=this.value,r(9,v)},()=>ie(),function(){E=this.value,r(10,E)},()=>ie(),function(e){se[e?"unshift":"push"](()=>{s=e,r(5,s)})},()=>ie(),function(e){se[e?"unshift":"push"](()=>{a=e,r(4,a)})},()=>ie(),function(e){se[e?"unshift":"push"](()=>{o=e,r(3,o)})},()=>ie(),function(){m=this.checked,r(6,m)},function(){b=this.checked,r(7,b)},function(){g=this.checked,r(8,g)},()=>te()]}class xi extends u{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emfe-w-color-contrast, #07072A);background:var(--emfe-w-color-gray-50, #F9F8F8);padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:var(--emfe-w-color-primary, #D0046C);text-transform:capitalize;font-weight:400}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emfe-w-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerInfoBox.InvalidField input{border:1px solid var(--emfe-w-color-error, #FD2839);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-error, #FD2839)}.PlayerInfoBox .InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:var(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emfe-w-color-primary, #D0046C)}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--emfe-w-color-contrast, #07072A);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emfe-w-color-primary-600, #99034F)}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emfe-w-color-gray-50, #F9F8F8);max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:var(--emfe-w-color-primary, #D0046C);font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emfe-w-color-contrast, #07072A);font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:12px;height:40px;color:var(--emfe-w-color-white, #FFFFFF)}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerInfoWrapperTablet .PlayerInfoBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:var(--emfe-w-color-white, #FFFFFF)}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>",l(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Ti,Ai,r,{endpoint:51,lang:52,countrycode:0},[-1,-1,-1,-1]),e&&(e.target&&Mr(e.target,this,e.anchor),e.props&&(this.$set(e.props),v()))}static get observedAttributes(){return["endpoint","lang","countrycode"]}get endpoint(){return this.$$.ctx[51]}set endpoint(e){this.$set({endpoint:e}),v()}get lang(){return this.$$.ctx[52]}set lang(e){this.$set({lang:e}),v()}get countrycode(){return this.$$.ctx[0]}set countrycode(e){this.$set({countrycode:e}),v()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",xi),xi});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(T){"use strict";(i=T)&&"object"==typeof i&&0 in i;function m(){}function _(e){return e()}function I(){return Object.create(null)}function Or(e){e.forEach(_)}function x(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function ie(e,...t){if(null==e)return m;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Dr(e,t){e.appendChild(t)}function Mr(e,t,r){e.insertBefore(t,r||null)}function Lr(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function Rr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Fr(e){return document.createTextNode(e)}function kr(){return Fr(" ")}function N(){return Fr("")}function Ur(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function Gr(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function jr(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function $r(e,t){e.value=null==t?"":t}function zr(t,r){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===r)return i.selected=!0}t.selectedIndex=-1}let oe;function C(e){oe=e}const H=[],ne=[],O=[],D=[],M=Promise.resolve();let L=!1;function Wr(e){O.push(e)}const R=new Set;let F=0;function b(){const e=oe;do{for(;F<H.length;){const e=H[F];F++,C(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),Or(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Wr))}for(C(null),H.length=0,F=0;ne.length;)ne.pop()();for(let e=0;e<O.length;e+=1){const i=O[e];R.has(i)||(R.add(i),i())}}while(O.length=0,H.length);for(;D.length;)D.pop()();L=!1,R.clear(),C(e)}const k=new Set;function U(i,e,t,r,o,n,a,s=[-1]){var l=oe;C(i);const u=i.$$={fragment:null,ctx:null,props:n,update:m,not_equal:o,bound:I(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:I(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return u.ctx&&o(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c&&(r=e,-1===(e=i).$$.dirty[0]&&(H.push(e),L||(L=!0,M.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],u.update(),c=!0,Or(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){n=e.target;const i=Array.from(n.childNodes);u.fragment&&u.fragment.l(i),i.forEach(Lr)}else u.fragment&&u.fragment.c();e.intro&&(s=i.$$.fragment)&&s.i&&(k.delete(s),s.i(void 0));{var h=i;a=e.target;t=e.anchor;r=e.customElement;const{fragment:p,on_mount:f,on_destroy:d,after_update:y}=h.$$;p&&p.m(a,t),r||Wr(()=>{var e=f.map(_).filter(x);d?d.push(...e):Or(e),h.$$.on_mount=[]}),y.forEach(Wr)}b()}C(l)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(_).filter(x);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){Or(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(Or(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=m}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var j,$,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,z="URLSearchParams"in s,W="Symbol"in s&&"iterator"in Symbol,V="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),X="FormData"in s,K="ArrayBuffer"in s;function Q(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Y(e){return e="string"!=typeof e?String(e):e}function Z(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return W&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function q(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function J(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function ee(e){var t=new FileReader,r=J(t);return t.readAsArrayBuffer(e),r}function te(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:V&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:X&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():K&&V&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):K&&(ArrayBuffer.prototype.isPrototypeOf(e)||$(e))?this._bodyArrayBuffer=te(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},V&&(this.blob=function(){var e=q(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?q(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ee)}),this.text=function(){var e,t,r=q(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=J(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},X&&(this.formData=function(){return this.text().then(se)}),this.json=function(){return this.text().then(JSON.parse)},this}K&&(j=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$=ArrayBuffer.isView||function(e){return e&&-1<j.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Q(e),t=Y(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[Q(e)]},l.prototype.get=function(e){return e=Q(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Q(e))},l.prototype.set=function(e,t){this.map[Q(e)]=Y(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Z(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Z(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Z(r)},W&&(l.prototype[Symbol.iterator]=l.prototype.entries);var ae=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<ae.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function se(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},re.call(u.prototype),re.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var le=[301,302,303,307,308],h=(c.redirect=function(e,t){if(-1===le.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},s.DOMException);try{new h}catch(T){(h=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),h.prototype.constructor=h}function ue(i,a){return new Promise(function(o,e){var t=new u(i,a);if(t.signal&&t.signal.aborted)return e(new h("Aborted","AbortError"));var n=new XMLHttpRequest;function r(){n.abort()}n.onload=function(){var e,r,t={status:n.status,statusText:n.statusText,headers:(e=n.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},i=(t.url="responseURL"in n?n.responseURL:t.headers.get("X-Request-URL"),"response"in n?n.response:n.responseText);setTimeout(function(){o(new c(i,t))},0)},n.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.onabort=function(){setTimeout(function(){e(new h("Aborted","AbortError"))},0)},n.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?n.withCredentials=!0:"omit"===t.credentials&&(n.withCredentials=!1),"responseType"in n&&(V?n.responseType="blob":K&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(n.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?t.headers.forEach(function(e,t){n.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){n.setRequestHeader(e,Y(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),n.onreadystatechange=function(){4===n.readyState&&t.signal.removeEventListener("abort",r)}),n.send(void 0===t._bodyInit?null:t._bodyInit)})}ue.polyfill=!0,s.fetch||(s.fetch=ue,s.Headers=l,s.Request=u,s.Response=c),self.fetch.bind(self);var ce=function(e,t){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function he(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ce(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function pe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function fe(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,n=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=n.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function de(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||((i=i||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function p(e){return"function"==typeof e}function ye(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var me=ye(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function be(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,i,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=pe(n),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(p(n))try{n()}catch(e){o=e instanceof me?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=pe(n),u=l.next();!u.done;u=l.next()){var c=u.value;try{Pe(c)}catch(e){o=null!=o?o:[],e instanceof me?o=de(de([],fe(o)),fe(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(o)throw new me(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Pe(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&be(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&be(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((i=new r).closed=!0,i);var ge=r,ve=ge.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ee(e){return e instanceof ge||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function Pe(e){p(e)?e():e.unsubscribe()}var Be=void 0,we=!1,Ae=!1,Te={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o=Te.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,de([e,t],fe(r))):setTimeout.apply(void 0,de([e,t],fe(r)))},clearTimeout:function(e){var t=Te.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function _e(){}var Ie=null;function xe(e){if(we){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var t=Ie,r=t.errorThrown,t=t.error;if(Ie=null,r)throw t}}else e()}he(e,Se=ge),e.create=function(e,t,r){return new Me(e,t,r)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Se.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Se,Ne=e,Ce=Function.prototype.bind;function e(e){var t=Se.call(this)||this;return t.isStopped=!1,e?Ee(t.destination=e)&&e.add(t):t.destination=ke,t}function He(e,t){return Ce.call(e,t)}Re.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Fe(e)}},Re.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Fe(e)}else Fe(e)},Re.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Fe(e)}};var Oe,De=Re,Me=(he(Le,Oe=Ne),Le);function Le(e,t,r){var i=Oe.call(this)||this,r=p(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&Ae?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&He(e.next,t),error:e.error&&He(e.error,t),complete:e.complete&&He(e.complete,t)}):e;return i.destination=new De(r),i}function Re(e){this.partialObserver=e}function Fe(e){var t=e;Te.setTimeout(function(){throw t})}var ke={closed:!0,next:_e,error:function(e){throw e},complete:_e},i="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}o.prototype.lift=function(e){var t=new o;return t.source=this,t.operator=e,t},o.prototype.subscribe=function(e,t,r){var i,o=this,n=(i=e)&&i instanceof Ne||i&&p(i.next)&&p(i.error)&&p(i.complete)&&Ee(i)?e:new Me(e,t,r);return xe(function(){var e=o.operator,t=o.source;n.add(e?e.call(n,t):t?o._subscribe(n):o._trySubscribe(n))}),n},o.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},o.prototype.forEach=function(i,e){var o=this;return new(e=je(e))(function(e,t){var r=new Me({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});o.subscribe(r)})},o.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},o.prototype[i]=function(){return this},o.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ue:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},o.prototype.toPromise=function(e){var i=this;return new(e=je(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},o.create=function(e){return new o(e)};var Ge=o;function o(e){e&&(this._subscribe=e)}function je(e){return null!=(e=null!=e?e:Be)?e:Promise}var $e,ze,We,Ve=ye(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(he(a,We=Ge),a.prototype.lift=function(e){var t=new Xe(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new Ve},a.prototype.next=function(o){var n=this;xe(function(){var t,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var r=pe(n.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(o)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;xe(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;xe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),We.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,o=this.observers;return r||i?ve:(this.currentObservers=null,o.push(e),new ge(function(){t.currentObservers=null,be(o,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},a.prototype.asObservable=function(){var e=new Ge;return e.source=this,e},a.create=function(e,t){return new Xe(e,t)},a),Xe=(he(n,ze=i),n.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},n.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},n.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},n.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ve},n),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},Qe=(he(Ye,$e=i),Ye.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,o=t._infiniteTimeWindow,n=t._timestampProvider,t=t._windowTime;r||(i.push(e),o||i.push(n.now()+t)),this._trimBuffer(),$e.prototype.next.call(this,e)},Ye.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),o=0;o<i.length&&!e.closed;o+=r?1:2)e.next(i[o]);return this._checkFinalizedStatuses(e),t},Ye.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var n=t.now(),a=0,s=1;s<r.length&&r[s]<=n;s+=2)a=s;a&&r.splice(0,a+1)}},Ye);function Ye(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Ke);var i=$e.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function n(e,t){var r=ze.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=We.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ze=[],qe={};const f=[];function Je(i,o=m){let n;const a=new Set;function s(e){if(S(i,e)&&(i=e,n)){const e=!f.length;for(const e of a)e[1](),f.push(e,i);if(e){for(let e=0;e<f.length;e+=2)f[e][0](f[e+1]);f.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=m){const r=[e,t];return a.add(r),1===a.size&&(n=o(s)||m),e(i),()=>{a.delete(r),0===a.size&&(n(),n=null)}}}}function et(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Je(t,t=>{let r=!1;const i=[];let o=0,n=m;const a=()=>{var e;o||(n(),e=s(l?i[0]:i,t),c?t(e):n=x(e)?e:m)},e=u.map((e,t)=>ie(e,e=>{i[t]=e,o&=~(1<<t),r&&a()},()=>{o|=1<<t}));return r=!0,a(),function(){Or(e),n()}}).subscribe}}function tt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===rt));var t}var rt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function it(e,t){return!1!==t.clone&&t.isMergeableObject(e)?lt(Array.isArray(e)?[]:{},e,t):e}function ot(e,t,r){return e.concat(t).map(function(e){return it(e,r)})}function nt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function at(e,t){try{return t in e}catch(e){return!1}}function st(i,o,n){var a={};return n.isMergeableObject(i)&&nt(i).forEach(function(e){a[e]=it(i[e],n)}),nt(o).forEach(function(t){var e,r;(!at(e=i,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(at(i,t)&&n.isMergeableObject(o[t])?a[t]=function(e){if(!e.customMerge)return lt;e=e.customMerge(t);return"function"==typeof e?e:lt}(n)(i[t],o[t],n):a[t]=it(o[t],n))}),a}function lt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||ot,r.isMergeableObject=r.isMergeableObject||tt,r.cloneUnlessOtherwiseSpecified=it;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):st(e,t,r):it(t,r)}lt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return lt(e,t,r)},{});throw new Error("first argument should be an array")};var ut=lt,ct=function(e,t){return(ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ht(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ct(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var y,g,pt,v=function(){return(v=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ft(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||((i=i||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function dt(e){return e.type===g.literal}function yt(e){return e.type===g.number}function mt(e){return e.type===g.date}function bt(e){return e.type===g.time}function gt(e){return e.type===g.select}function vt(e){return e.type===g.plural}function Et(e){return e.type===g.tag}function Pt(e){return e&&"object"==typeof e&&e.type===pt.number}function Bt(e){return e&&"object"==typeof e&&e.type===pt.dateTime}(i=y=y||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=g=g||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=pt=pt||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Tt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_t=/^(@+)?(\+|#+)?[rs]?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,xt=/^(0+)$/;function St(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(_t,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function Nt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ct(e){return Nt(e)||{}}function Ht(e){for(var a={},t=0,r=e;t<r.length;t++){var i,o=r[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=v(v(v({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return v(v({},e),Ct(t))},{}));continue;case"engineering":a=v(v(v({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return v(v({},e),Ct(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(It,function(e,t,r,i,o,n){if(t)a.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(xt.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Tt.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Tt,function(e,t,r,i,o,n){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:o&&n?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+n.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var n=o.options[0];"w"===n?a=v(v({},a),{trailingZeroDisplay:"stripIfInteger"}):n&&(a=v(v({},a),St(n)))}else _t.test(o.stem)?a=v(v({},a),St(o.stem)):((n=Nt(o.stem))&&(a=v(v({},a),n)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!xt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=v(v({},a),i)))}return a}var Ot={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Dt=new RegExp("^".concat(i.source,"*")),Mt=new RegExp("".concat(i.source,"*$"));function E(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,Lt=!!String.fromCodePoint,Rt=!!Object.fromEntries,Ft=!!String.prototype.codePointAt,kt=!!String.prototype.trimStart,Ut=!!String.prototype.trimEnd,Gt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},jt=!0;try{jt="a"===(null==(ur=Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ur[0])}catch(T){jt=!1}var $t,zt,Wt=i?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Vt=Lt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",o=e.length,n=0;n<o;){if(1114111<(r=e[n++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},Xt=Rt?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var o=i[r],n=o[0],o=o[1];t[n]=o}return t},Kt=Ft?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},Qt=kt?function(e){return e.trimStart()}:function(e){return e.replace(Dt,"")},Yt=Ut?function(e){return e.trimEnd()}:function(e){return e.replace(Mt,"")};function Zt(e,t){return new RegExp(e,t)}zt=jt?($t=Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return $t.lastIndex=t,null!=(t=$t.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var o=Kt(e,t);if(void 0===o||er(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;i.push(o),t+=65536<=o?2:1}return Vt.apply(void 0,i)};d.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},d.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var o,n=this.char();if(123===n){if((o=this.parseArgument(e,r)).err)return o;i.push(o.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(y.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Jt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{n=this.clonePosition();this.bump(),i.push({type:g.pound,location:E(n,this.clonePosition())})}}}return{val:i,err:null}},d.prototype.parseTag=function(e,t){var r=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:g.literal,value:"<".concat(i,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jt(this.char()))return this.error(y.INVALID_TAG,E(e,this.clonePosition()));var o=this.clonePosition();return i!==this.parseTagName()?this.error(y.UNMATCHED_CLOSING_TAG,E(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:i,children:t,location:E(r,this.clonePosition())},err:null}:this.error(y.INVALID_TAG,E(e,this.clonePosition())))}return this.error(y.UNCLOSED_TAG,E(r,this.clonePosition()))}return this.error(y.INVALID_TAG,E(r,this.clonePosition()))},d.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},d.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(t);if(o)i+=o;else{o=this.tryParseUnquoted(e,t);if(o)i+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}r=E(r,this.clonePosition());return{val:{type:g.literal,value:i,location:r},err:null}},d.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},d.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Vt.apply(void 0,t)},d.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Vt(r))},d.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(y.EMPTY_ARGUMENT,E(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(y.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:i,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(y.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},d.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=zt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},d.prototype.parseArgumentOptions=function(e,t,r,i){var o,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(y.EXPECT_ARGUMENT_TYPE,E(n,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(f=Yt(d.val)).length)return this.error(y.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:E(u,this.clonePosition())}}if((u=this.tryParseArgumentClose(i)).err)return u;var c=E(i,this.clonePosition());if(l&&Wt(null==l?void 0:l.style,"::",0)){var h=Qt(l.style.slice(2));if("number"===a)return(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:g.number,value:r,location:c,style:d.val},err:null};if(0===h.length)return this.error(y.EXPECT_DATE_TIME_SKELETON,c);var p=h,f=(this.locale&&(p=function(e,t){for(var r="",i=0;i<e.length;i++){var o=e.charAt(i);if("j"===o){for(var n=0;i+1<e.length&&e.charAt(i+1)===o;)n++,i++;var a=1+(1&n),s=n<2?1:3+(n>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Ot[t||""]||Ot[r||""]||Ot["".concat(r,"-001")]||Ot["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===o?"H":o}return r}(h,this.locale)),{type:pt.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},p.replace(wt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o):{}});return{val:{type:"date"===a?g.date:g.time,value:r,location:c,style:f},err:null}}return{val:{type:"number"===a?g.number:"date"===a?g.date:g.time,value:r,location:c,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,E(p,v({},p)));this.bumpSpace();var d,f=this.parseIdentifierIfPossible(),c=0;if("select"!==a&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),f=this.parseIdentifierIfPossible(),c=d.val}l=this.tryParsePluralOrSelectOptions(e,a,t,f);if(l.err)return l;if((u=this.tryParseArgumentClose(i)).err)return u;h=E(i,this.clonePosition());return"select"===a?{val:{type:g.select,value:r,options:Xt(l.val),location:h},err:null}:{val:{type:g.plural,value:r,options:Xt(l.val),offset:c,pluralType:"plural"===a?"cardinal":"ordinal",location:h},err:null};default:return this.error(y.INVALID_ARGUMENT_TYPE,E(n,s))}},d.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},d.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},d.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(At).filter(function(e){return 0<e.length});r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var n=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:n,options:o})}return t}(e)}catch(e){return this.error(y.INVALID_NUMBER_SKELETON,t)}return{val:{type:pt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ht(r):{}},err:null}},d.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var o=!1,n=[],a=new Set,s=i.value,l=i.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR,y.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=E(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?y.DUPLICATE_SELECT_ARGUMENT_SELECTOR:y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;n.push([s,{value:u.val,location:E(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===n.length?this.error("select"===t?y.EXPECT_SELECT_ARGUMENT_SELECTOR:y.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(y.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:n,err:null}},d.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,n=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,n=10*n+(a-48),this.bump()}i=E(i,this.clonePosition());return o?Gt(n*=r)?{val:n,err:null}:this.error(t,i):this.error(e,i)},d.prototype.offset=function(){return this.position.offset},d.prototype.isEOF=function(){return this.offset()===this.message.length},d.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},d.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Kt(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},d.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},d.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},d.prototype.bumpIf=function(e){if(Wt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},d.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},d.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},d.prototype.bumpSpace=function(){for(;!this.isEOF()&&er(this.char());)this.bump()},d.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var qt=d;function d(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Jt(e){return 97<=e&&e<=122||65<=e&&e<=90}function er(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function tr(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new qt(e,t).parse();if(e.err)throw(r=SyntaxError(y[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,gt(e)||vt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else yt(e)&&Pt(e.style)||(mt(e)||bt(e))&&Bt(e.style)?delete e.style.location:Et(e)&&r(e.children)})}(e.val),e.val}function rr(e,t){var r=t&&t.cache?t.cache:cr,i=t&&t.serializer?t.serializer:ar;return(t&&t.strategy?t.strategy:function(e,t){return nr(e,this,1===e.length?ir:or,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function ir(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),o=t.get(r);return void 0===o&&(o=e.call(this,i),t.set(r,o)),o}function or(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function nr(e,t,r,i,o){return r.bind(t,e,i,o)}var ar=function(){return JSON.stringify(arguments)};function sr(){this.cache=Object.create(null)}sr.prototype.get=function(e){return this.cache[e]},sr.prototype.set=function(e,t){this.cache[e]=t};var lr,ur,cr={create:function(){return new sr}},hr={variadic:function(e,t){return nr(e,this,or,t.cache.create(),t.serializer)},monadic:function(e,t){return nr(e,this,ir,t.cache.create(),t.serializer)}};(ur=lr=lr||{}).MISSING_VALUE="MISSING_VALUE",ur.INVALID_VALUE="INVALID_VALUE",ur.MISSING_INTL_API="MISSING_INTL_API";ht(wr,yr=Error),wr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var P,pr,fr,dr,yr,mr=wr,br=(ht(Br,dr=mr),Br),gr=(ht(Pr,fr=mr),Pr),vr=(ht(Er,pr=mr),Er);function Er(e,t){return pr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),lr.MISSING_VALUE,t)||this}function Pr(e,t,r){return fr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),lr.INVALID_VALUE,r)||this}function Br(e,t,r,i){return dr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),lr.INVALID_VALUE,i)||this}function wr(e,t,r){e=yr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Ar(e,t,r,i,o,n,a){if(1===e.length&&dt(e[0]))return[{type:P.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(dt(c))s.push({type:P.literal,value:c.value});else if(c.type===g.pound)"number"==typeof n&&s.push({type:P.literal,value:r.getNumberFormat(t).format(n)});else{var h=c.value;if(!(o&&h in o))throw new vr(h,a);h=o[h];if(c.type===g.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?P.literal:P.object,value:h});else if(mt(c)){var p="string"==typeof c.style?i.date[c.style]:Bt(c.style)?c.style.parsedOptions:void 0;s.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(bt(c))p="string"==typeof c.style?i.time[c.style]:Bt(c.style)?c.style.parsedOptions:i.time.medium,s.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(yt(c))(p="string"==typeof c.style?i.number[c.style]:Pt(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:P.literal,value:r.getNumberFormat(t,p).format(h)});else{if(Et(c)){var f=c.children,d=c.value,y=o[d];if("function"!=typeof y)throw new gr(d,"function",a);d=y(Ar(f,t,r,i,o,n).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?P.literal:P.object,value:e}}))}if(gt(c)){if(!(m=c.options[h]||c.options.other))throw new br(c.value,h,Object.keys(c.options),a);s.push.apply(s,Ar(m.value,t,r,i,o))}else if(vt(c)){if(!(m=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new mr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',lr.MISSING_INTL_API,a);var y=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),m=c.options[y]||c.options.other}if(!m)throw new br(c.value,h,Object.keys(c.options),a);s.push.apply(s,Ar(m.value,t,r,i,o,h-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===P.literal&&t.type===P.literal?r.value+=t.value:e.push(t),e},[])}function Tr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(i=P=P||{})[i.literal=0]="literal",i[i.object=1]="object",Object.defineProperty(B,"defaultLocale",{get:function(){return B.memoizedDefaultLocale||(B.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),B.memoizedDefaultLocale},enumerable:!1,configurable:!0}),B.memoizedDefaultLocale=null,B.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},B.__parse=tr,B.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var _r=B;function B(e,t,r,i){var o,n,a=this;if(void 0===t&&(t=B.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===P.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Ar(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=B.resolveLocale(t),"string"==typeof e){if(this.message=e,!B.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=B.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=B.formats,(n=r)?Object.keys(o).reduce(function(e,t){var r,i;return e[t]=(r=o[t],(i=n[t])?v(v(v({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=v(v({},r[t]),i[t]||{}),e},{})):r),e},v({},o)):o),this.formatters=i&&i.formatters||{getNumberFormat:rr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ft([void 0],t,!1)))},{cache:Tr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:hr.variadic}),getDateTimeFormat:rr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ft([void 0],t,!1)))},{cache:Tr(t.dateTime),strategy:hr.variadic}),getPluralRules:rr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ft([void 0],t,!1)))},{cache:Tr(t.pluralRules),strategy:hr.variadic})}}const w={},Ir=(e,t,r)=>r&&(t in w||(w[t]={}),e in w[t]||(w[t][e]=r),r),xr=(t,r)=>{if(null!=r){if(r in w&&t in w[r])return w[r][t];var i=ii(r);for(let e=0;e<i.length;e++){var o=function(e,r){if(!Cr(e))return null;e=function(e){return Sr[e]||null}(e);{var i=r;if(null==i)return;if(i in e)return e[i];const o=i.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const i=o.slice(e,o.length).join(".");if(i in t){t=t[i];break}}t=t[o[e]]}else t=void 0;return t}}(i[e],t);if(o)return Ir(t,r,o)}}};let Sr;const Nr=Je({});function Cr(e){return e in Sr}function Hr(t,...r){delete w[t],Nr.update(e=>(e[t]=ut.all([e[t]||{},...r]),e))}et([Nr],([e])=>Object.keys(e)),Nr.subscribe(e=>Sr=e);const Vr={};function Xr(e){return Vr[e]}function Kr(e){return null!=e&&ii(e).some(e=>{return null==(e=Xr(e))?void 0:e.size})}const Qr={};function Yr(e){if(!Kr(e))return e in Qr?Qr[e]:Promise.resolve();const t=ii(e).map(e=>{var t=Xr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Qr[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const r=Promise.all(e.map(e=>{var t=i,r=e;return Vr[t].delete(r),0===Vr[t].size&&delete Vr[t],e().then(e=>e.default||e)}));return r.then(e=>Hr(i,...e))}})).then(()=>{if(Kr(e))return Yr(e);delete Qr[e]}),Qr[e]}function Zr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r}const qr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Jr=Je(!1);let ei;const ti=Je(null);function ri(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function ii(e,t=qr.fallbackLocale){e=ri(e);return t?[...new Set([...e,...ri(t)])]:e}function A(){return null!=ei?ei:void 0}ti.subscribe(e=>{ei=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const oi=Object.assign(Object.assign({},ti),{set:t=>{if(t&&function(e){if(null!=e){var t=ii(e);for(let e=0;e<t.length;e++){var r=t[e];if(Cr(r))return r}}}(t)&&Kr(t)){var r=qr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=A()&&r?e=window.setTimeout(()=>Jr.set(!0),r):Jr.set(!0),Yr(t).then(()=>{ti.set(t)}).finally(()=>{clearTimeout(e),Jr.set(!1)})}return ti.set(t)}}),ni=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},ai=(e,t)=>{var r=qr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},si=ni(e=>{var{locale:t,format:r}=e,e=Zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=ai("number",r)),new Intl.NumberFormat(t,e)}),li=ni(e=>{var{locale:t,format:r}=e,e=Zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=ai("date",r):0===Object.keys(e).length&&(e=ai("date","short")),new Intl.DateTimeFormat(t,e)}),ui=ni(e=>{var{locale:t,format:r}=e,e=Zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=ai("time",r):0===Object.keys(e).length&&(e=ai("time","short")),new Intl.DateTimeFormat(t,e)}),ci=ni((e,t=A())=>new _r(e,t,qr.formats,{ignoreTag:qr.ignoreTag})),hi=et([oi,Nr],()=>(e,t={})=>{var r,i;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:n,locale:a=A(),default:s}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=xr(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=qr).handleMissingMessage)?void 0:r.call(i,{locale:a,id:e,defaultValue:s}))?r:s)?i:e;if(!n)return l;let u=l;try{u=ci(l,a).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u}),pi=(et([oi],()=>(e,t)=>((e={})=>{var{locale:t=A()}=e,e=Zr(e,["locale"]);return ui(Object.assign({locale:t},e))})(t).format(e)),et([oi],()=>(e,t)=>((e={})=>{var{locale:t=A()}=e,e=Zr(e,["locale"]);return li(Object.assign({locale:t},e))})(t).format(e)),et([oi],()=>(e,t)=>((e={})=>{var{locale:t=A()}=e,e=Zr(e,["locale"]);return si(Object.assign({locale:t},e))})(t).format(e)),et([oi,Nr],()=>(e,t=A())=>xr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ze.indexOf(e)&&(t=new Qe(t),qe[e]=t,Ze.push(e)),qe[e]}},{en:{playerProfile:{title:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 20 characters maximum.",userEmail:"Email:",securityQuestion:"Security Question:",securityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",firstName:"First Name:",securityAnswer:"Security Answer:",securityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userAppSettings:"Biometrics",userSMSNotification:"Enable SMS notifications",userBiometrics:"Enable biometrics",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!"}},fr:{playerProfile:{title:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 20 caractères maximum.",userEmail:"Email:",securityQuestion:"Questions de sécurité:",securityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",firstName:"Prénom:",securityAnswer:"Reponses de sécurité:",securityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userAppSettings:"Biométrie",userSMSNotification:"Activer les notifications par sms",userBiometrics:"Activer la biométrie",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!"}},ro:{playerProfile:{title:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 20 de caractere.",userEmail:"E-mail:",securityQuestion:"Întrebare securitate:",securityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",firstName:"Prenume:",securityAnswer:"Răspuns securitate:",securityAnswerError:"Raspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userCity:"Oraș:",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!"}},tr:{playerProfile:{title:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",userEmail:"E-posta:",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",firstName:"İlk adı:",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",lastName:"Soyadı:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",userTitle:"Başlık:",locationDetails:"Konum Ayrıntıları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",userPostalCode:"Posta kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!"}},es:{playerProfile:{title:"Información del perfil",personalDetails:"Detalles personales",userName:"Nombre de usuario:",userPhone:"Móvil:",userPhoneError:"El móvil debe tener al menos 5 caracteres y un máximo de 20 caracteres.",userEmail:"E-mail:",securityQuestion:"Pregunta de seguridad:",securityQuestionError:"La pregunta de seguridad debe tener al menos 1 carácter y un máximo de 120 caracteres.",firstName:"Primer nombre:",securityAnswer:"Respuesta de seguridad:",securityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter y un máximo de 120 caracteres.",lastName:"Ultimo nombre:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter de largo y 50 caracteres como máximo.",userAddress:"Código Postal",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Postal Code:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userAppSettings:"Biometrics",userSMSNotification:"Habilitar notificaciones SMS",userBiometrics:"Habilitar datos biométricos.",userEmailNotification:"Habilitar notificaciones por e-mail",userProfileSaveChanges:"Guardar ediciones",userProfileConfirmationMessage:"Se han guardado los cambios!"}},pt:{playerProfile:{title:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 20 caracteres.",userEmail:"E-mail:",securityQuestion:"Pergunta de segurança:",securityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",firstName:"Primeiro nome:",securityAnswer:"Resposta de segurança:",securityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userAppSettings:"Biometrics",userSMSNotification:"Ativar notificações por SMS",userBiometrics:"Ativar biometria.",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!"}}});function fi(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return r=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],r&&r.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,r=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof r?(t=Array.prototype.slice.call(arguments,1),r.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var di=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},yi=function(e,...t){try{return fi(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},mi=function(e,t){try{return fi(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function bi(e,t,r){const i=e.slice();return i[93]=t[r],i}function gi(i){let o,F,k,U,G,j,$,z,W,r,V,X,K,Q,n,Y,a,Z,q,J,ee,s,te,l,e,re,ie,oe,ne,u,ae,se,le,c,ue,ce,he,pe,fe,h,de,ye,me,p,be,ge,ve,Ee,Pe,Be,we,Ae,Te,f,_e,Ie,xe,Se,Ne,d,Ce,He,Oe,De,Me,y,Le,Re,Fe,ke,Ue,m,Ge,je,$e,ze,We,b,Ve,Xe,Ke,Qe,Ye,g,Ze,qe,Je,et,tt,v,rt,it,ot,nt,E,at,st,P,lt,ut,ct,B,ht,pt,ft,dt,yt,mt,w,bt,gt,vt,A,Et,Pt,Bt,wt,At,T,Tt,_t,It,_,xt,St,Nt,Ct,Ht,Ot,Dt,Mt,Lt,Rt,Ft,kt,Ut,I,Gt,jt,$t,zt,Wt,Vt,Xt,Kt,x,Qt,Yt,Zt,qt,Jt,er,tr,rr,ir,or,nr,ar,sr,lr,ur,cr=i[34]("playerProfile.title")+"",hr=i[34]("playerProfile.personalDetails")+"",pr=i[34]("playerProfile.userName")+"",fr=i[34]("playerProfile.userPhone")+"",dr=i[34]("playerProfile.securityQuestion")+"",yr=i[34]("playerProfile.securityAnswer")+"",mr=i[34]("playerProfile.userEmail")+"",br=i[34]("playerProfile.dateOfBirth")+"",gr=i[34]("playerProfile.firstName")+"",vr=i[34]("playerProfile.lastName")+"",Er=i[34]("playerProfile.userTitle")+"",Pr=i[34]("playerProfile.currency")+"",Br=i[34]("playerProfile.locationDetails")+"",wr=i[34]("playerProfile.userCountry")+"",Ar=i[34]("playerProfile.userCity")+"",Tr=i[34]("playerProfile.userAddress")+"",_r=i[34]("playerProfile.userPostalCode")+"",Ir=i[34]("playerProfile.userNotifications")+"",xr=i[34]("playerProfile.userSMSNotification")+"",Sr=i[34]("playerProfile.userEmailNotification")+"",Nr=i[34]("playerProfile.userProfileSaveChanges")+"",Cr=i[35]&&function(r){let i,o,n,a,s,l,u,c,h,p,f,d,y,m=r[34]("playerProfile.title")+"";return{c(){i=t("div"),o=Rr("svg"),n=Rr("defs"),a=Rr("style"),s=Fr(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=Rr("g"),u=Rr("g"),c=Rr("path"),h=kr(),p=t("h2"),f=Fr(m),Gr(c,"class","aaa"),Gr(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),Gr(c,"transform","translate(15 15) rotate(180)"),Gr(u,"transform","translate(20 158)"),Gr(l,"transform","translate(-20 -158)"),Gr(o,"xmlns","http://www.w3.org/2000/svg"),Gr(o,"width","15"),Gr(o,"height","15"),Gr(o,"viewBox","0 0 15 15"),Gr(p,"class","MyAccountCategoryTitleMobile"),Gr(p,"part","MyAccountCategoryTitleMobile"),Gr(i,"class","MenuReturnButton"),Gr(i,"part","MenuReturnButton")},m(e,t){Mr(e,i,t),Dr(i,o),Dr(o,n),Dr(n,a),Dr(a,s),Dr(o,l),Dr(l,u),Dr(u,c),Dr(i,h),Dr(i,p),Dr(p,f),d||(y=Ur(i,"click",r[53]),d=!0)},p(e,t){8&t[1]&&m!==(m=e[34]("playerProfile.title")+"")&&jr(f,m)},d(e){e&&Lr(i),d=!1,y()}}}(i),Hr=i[15],S=[];for(let e=0;e<Hr.length;e+=1)S[e]=Bi(bi(i,Hr,e));let N=i[22]&&wi(i),C=i[20]&&Ai(i),H=i[21]&&Ti(i),O=i[17]&&_i(i),D=i[19]&&Ii(i),M=i[18]&&xi(i),L=i[24]&&Si(i),R=i[23]&&Ni(i);return{c(){o=t("form"),Cr&&Cr.c(),F=kr(),k=t("h2"),U=Fr(cr),G=kr(),j=t("div"),$=t("h3"),z=Fr(hr),W=kr(),r=t("section"),V=t("div"),X=t("label"),K=Fr(pr),Q=kr(),n=t("input"),Y=kr(),a=t("div"),Z=t("label"),q=Fr(fr),J=kr(),ee=t("div"),s=t("select");for(let e=0;e<S.length;e+=1)S[e].c();te=kr(),l=t("input"),re=kr(),N&&N.c(),ne=kr(),u=t("div"),ae=t("label"),se=Fr(dr),le=kr(),c=t("input"),ce=kr(),C&&C.c(),fe=kr(),h=t("div"),de=t("label"),ye=Fr(yr),me=kr(),p=t("input"),ge=kr(),H&&H.c(),Pe=kr(),Be=t("div"),we=t("label"),Ae=Fr(mr),Te=kr(),f=t("input"),_e=kr(),Ie=t("div"),xe=t("label"),Se=Fr(br),Ne=kr(),d=t("input"),Ce=kr(),He=t("div"),Oe=t("label"),De=Fr(gr),Me=kr(),y=t("input"),Le=kr(),Re=t("div"),Fe=t("label"),ke=Fr(vr),Ue=kr(),m=t("input"),Ge=kr(),je=t("div"),$e=t("label"),ze=Fr(Er),We=kr(),b=t("input"),Ve=kr(),Xe=t("div"),Ke=t("label"),Qe=Fr(Pr),Ye=kr(),g=t("input"),Ze=kr(),qe=t("div"),Je=t("h3"),et=Fr(Br),tt=kr(),v=t("section"),rt=t("div"),it=t("label"),ot=Fr(wr),nt=kr(),E=t("input"),st=kr(),P=t("div"),lt=t("label"),ut=Fr(Ar),ct=kr(),B=t("input"),ft=kr(),O&&O.c(),mt=kr(),w=t("div"),bt=t("label"),gt=Fr(Tr),vt=kr(),A=t("input"),Pt=kr(),D&&D.c(),At=kr(),T=t("div"),Tt=t("label"),_t=Fr(_r),It=kr(),_=t("input"),Nt=kr(),M&&M.c(),Ot=kr(),Dt=t("div"),Mt=t("h3"),Lt=Fr(Ir),Rt=kr(),Ft=t("section"),kt=t("div"),Ut=t("label"),I=t("input"),Gt=kr(),jt=t("span"),$t=kr(),zt=t("span"),Wt=Fr(xr),Vt=kr(),Xt=t("div"),Kt=t("label"),x=t("input"),Qt=kr(),Yt=t("span"),Zt=kr(),qt=t("span"),Jt=Fr(Sr),er=kr(),L&&L.c(),tr=kr(),rr=t("section"),ir=t("div"),or=Fr(Nr),sr=kr(),R&&R.c(),Gr(k,"class","MyAccountCategoryTitle "+(i[35]?"MyAccountCategoryTitleNone":"")),Gr(k,"part","MyAccountCategoryTitle "+(i[35]?"MyAccountCategoryTitleNone":"")),Gr(j,"class","PlayerNotificationsHeader"),Gr(j,"part","PlayerNotificationsHeader"),Gr(n,"type","text"),Gr(n,"class","FieldDisabled"),Gr(n,"part","FieldDisabled"),n.value=i[33],n.readOnly=!0,Gr(V,"class","PlayerInfoBox"),Gr(V,"part","PlayerInfoBox"),void 0===i[11]&&Wr(()=>i[54].call(s)),Gr(l,"type","text"),Gr(l,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),Gr(l,"placeholder",e=i[2]?i[28].number:""),Gr(ee,"class","PlayerPhoneNumber"),Gr(ee,"part","PlayerPhoneNumber"),Gr(a,"class",ie="PlayerInfoBox "+(i[22]?"InvalidField":"")),Gr(a,"part",oe="PlayerInfoBox "+(i[22]?"InvalidField":"")),Gr(c,"type","text"),Gr(c,"placeholder",ue=i[2]?i[41]:""),Gr(u,"class",he="PlayerInfoBox "+(i[20]?"InvalidField":"")),Gr(u,"part",pe="PlayerInfoBox "+(i[20]?"InvalidField":"")),Gr(p,"type","text"),Gr(p,"placeholder",be=i[2]?i[40]:""),Gr(h,"class",ve="PlayerInfoBox "+(i[21]?"InvalidField":"")),Gr(h,"part",Ee="PlayerInfoBox "+(i[21]?"InvalidField":"")),Gr(f,"type","email"),Gr(f,"class","FieldDisabled"),Gr(f,"part","FieldDisabled"),f.value=i[29],f.readOnly=!0,Gr(Be,"class","PlayerInfoBox"),Gr(Be,"part","PlayerInfoBox"),Gr(d,"type","text"),Gr(d,"class","FieldDisabled"),Gr(d,"part","FieldDisabled"),d.value=i[26],d.readOnly=!0,Gr(Ie,"class","PlayerInfoBox"),Gr(Ie,"part","PlayerInfoBox"),Gr(y,"type","text"),Gr(y,"class","FieldDisabled"),Gr(y,"part","FieldDisabled"),y.value=i[30],y.readOnly=!0,Gr(He,"class","PlayerInfoBox"),Gr(He,"part","PlayerInfoBox"),Gr(m,"type","text"),Gr(m,"class","FieldDisabled"),Gr(m,"part","FieldDisabled"),m.value=i[32],m.readOnly=!0,Gr(Re,"class","PlayerInfoBox"),Gr(Re,"part","PlayerInfoBox"),Gr(b,"type","text"),Gr(b,"class","FieldDisabled"),Gr(b,"part","FieldDisabled"),b.value=i[31],b.readOnly=!0,Gr(je,"class","PlayerInfoBox"),Gr(je,"part","PlayerInfoBox"),Gr(g,"type","text"),Gr(g,"class","FieldDisabled"),Gr(g,"part","FieldDisabled"),g.value=i[27],g.readOnly=!0,Gr(Xe,"class","PlayerInfoBox"),Gr(Xe,"part","PlayerInfoBox"),Gr(r,"class","PlayerDetailsContent"),Gr(r,"part","PlayerDetailsContent"),Gr(qe,"class","PlayerLocationHeader"),Gr(qe,"part","PlayerLocationHeader"),Gr(E,"type","text"),Gr(E,"class","PlayerCountry FieldDisabled"),Gr(E,"part","PlayerCountry FieldDisabled"),Gr(E,"placeholder",i[0]),E.value=at=i[14].Name,E.readOnly=!0,Gr(rt,"class","PlayerInfoBox"),Gr(rt,"part","PlayerInfoBox"),Gr(B,"type","text"),Gr(B,"placeholder",ht=i[2]?i[38]:""),B.value=pt=i[2]?"":i[25].city,Gr(P,"class",dt="PlayerInfoBox "+(i[17]?"InvalidField":"")),Gr(P,"part",yt="PlayerInfoBox "+(i[17]?"InvalidField":"")),Gr(A,"placeholder",i[37]),Gr(A,"type","text"),A.value=Et=i[2]?"":i[25].address,Gr(w,"class",Bt="PlayerInfoBox "+(i[19]?"InvalidField":"")),Gr(w,"part",wt="PlayerInfoBox "+(i[19]?"InvalidField":"")),Gr(_,"type","text"),Gr(_,"placeholder",xt=i[2]?i[39]:""),_.value=St=i[2]?"":i[25].postalCode,Gr(T,"class",Ct="PlayerInfoBox "+(i[18]?"InvalidField":"")),Gr(T,"part",Ht="PlayerInfoBox "+(i[18]?"InvalidField":"")),Gr(v,"class","PlayerLocationContent"),Gr(v,"part","PlayerLocationContent"),Gr(Dt,"class","PlayerNotificationsHeader"),Gr(Dt,"part","PlayerNotificationsHeader"),Gr(I,"type","checkbox"),Gr(I,"id","SMSNotification"),Gr(I,"name","Enable SMS notifications"),Gr(jt,"class","Checkmark"),Gr(jt,"part","Checkmark"),Gr(Ut,"for","SMSNotification"),Gr(kt,"class","PlayerNotificationBox"),Gr(kt,"part","PlayerNotificationBox"),Gr(x,"type","checkbox"),Gr(x,"id","EmailNotification"),Gr(x,"name","Enable Emails"),Gr(Yt,"class","Checkmark"),Gr(Yt,"part","Checkmark"),Gr(Kt,"for","EmailNotification"),Gr(Xt,"class","PlayerNotificationBox"),Gr(Xt,"part","PlayerNotificationBox"),Gr(Ft,"class","PlayerNotificationsCheckboxArea"),Gr(Ft,"part","PlayerNotificationsCheckboxArea"),Gr(ir,"class",nr="PlayerDetailsSaveButton "+(i[13]&&i[16]?"":"PlayerButtonDisabled")),Gr(ir,"part",ar="PlayerDetailsSaveButton "+(i[13]&&i[16]?"":"PlayerButtonDisabled")),Gr(rr,"class","PlayerDetailsButtonsArea "+(i[35]?"PlayerDetailsButtonsAreaMobile":"")),Gr(rr,"part","PlayerDetailsButtonsArea "+(i[35]?"PlayerDetailsButtonsAreaMobile":"")),Gr(o,"class","PlayerInfoWrapper "+(i[35]?"PlayerInfoWrapperMobile":"")+" "+(i[36].matches&&i[35]?"PlayerInfoWrapperTablet":"")),Gr(o,"part","PlayerInfoWrapper "+(i[35]?"PlayerInfoWrapperMobile":"")+" "+(i[36].matches&&i[35]?"PlayerInfoWrapperTablet":""))},m(e,t){Mr(e,o,t),Cr&&Cr.m(o,null),Dr(o,F),Dr(o,k),Dr(k,U),Dr(o,G),Dr(o,j),Dr(j,$),Dr($,z),Dr(o,W),Dr(o,r),Dr(r,V),Dr(V,X),Dr(X,K),Dr(V,Q),Dr(V,n),Dr(r,Y),Dr(r,a),Dr(a,Z),Dr(Z,q),Dr(a,J),Dr(a,ee),Dr(ee,s);for(let e=0;e<S.length;e+=1)S[e].m(s,null);zr(s,i[11]),Dr(ee,te),Dr(ee,l),$r(l,i[12]),Dr(a,re),N&&N.m(a,null),Dr(r,ne),Dr(r,u),Dr(u,ae),Dr(ae,se),Dr(u,le),Dr(u,c),$r(c,i[9]),Dr(u,ce),C&&C.m(u,null),Dr(r,fe),Dr(r,h),Dr(h,de),Dr(de,ye),Dr(h,me),Dr(h,p),$r(p,i[10]),Dr(h,ge),H&&H.m(h,null),Dr(r,Pe),Dr(r,Be),Dr(Be,we),Dr(we,Ae),Dr(Be,Te),Dr(Be,f),Dr(r,_e),Dr(r,Ie),Dr(Ie,xe),Dr(xe,Se),Dr(Ie,Ne),Dr(Ie,d),Dr(r,Ce),Dr(r,He),Dr(He,Oe),Dr(Oe,De),Dr(He,Me),Dr(He,y),Dr(r,Le),Dr(r,Re),Dr(Re,Fe),Dr(Fe,ke),Dr(Re,Ue),Dr(Re,m),Dr(r,Ge),Dr(r,je),Dr(je,$e),Dr($e,ze),Dr(je,We),Dr(je,b),Dr(r,Ve),Dr(r,Xe),Dr(Xe,Ke),Dr(Ke,Qe),Dr(Xe,Ye),Dr(Xe,g),Dr(o,Ze),Dr(o,qe),Dr(qe,Je),Dr(Je,et),Dr(o,tt),Dr(o,v),Dr(v,rt),Dr(rt,it),Dr(it,ot),Dr(rt,nt),Dr(rt,E),Dr(v,st),Dr(v,P),Dr(P,lt),Dr(lt,ut),Dr(P,ct),Dr(P,B),i[62](B),Dr(P,ft),O&&O.m(P,null),Dr(v,mt),Dr(v,w),Dr(w,bt),Dr(bt,gt),Dr(w,vt),Dr(w,A),i[64](A),Dr(w,Pt),D&&D.m(w,null),Dr(v,At),Dr(v,T),Dr(T,Tt),Dr(Tt,_t),Dr(T,It),Dr(T,_),i[66](_),Dr(T,Nt),M&&M.m(T,null),Dr(o,Ot),Dr(o,Dt),Dr(Dt,Mt),Dr(Mt,Lt),Dr(o,Rt),Dr(o,Ft),Dr(Ft,kt),Dr(kt,Ut),Dr(Ut,I),I.checked=i[6],Dr(Ut,Gt),Dr(Ut,jt),Dr(Ut,$t),Dr(Ut,zt),Dr(zt,Wt),Dr(Ft,Vt),Dr(Ft,Xt),Dr(Xt,Kt),Dr(Kt,x),x.checked=i[7],Dr(Kt,Qt),Dr(Kt,Yt),Dr(Kt,Zt),Dr(Kt,qt),Dr(qt,Jt),Dr(o,er),L&&L.m(o,null),Dr(o,tr),Dr(o,rr),Dr(rr,ir),Dr(ir,or),Dr(o,sr),R&&R.m(o,null),lr||(ur=[Ur(s,"change",i[54]),Ur(s,"change",i[55]),Ur(l,"input",i[56]),Ur(l,"keyup",i[42]),Ur(l,"keyup",i[57]),Ur(c,"input",i[58]),Ur(c,"keyup",i[59]),Ur(c,"blur",i[43]),Ur(p,"input",i[60]),Ur(p,"keyup",i[61]),Ur(p,"blur",i[44]),Ur(B,"blur",i[45]),Ur(B,"keyup",i[63]),Ur(A,"blur",i[47]),Ur(A,"keyup",i[65]),Ur(_,"blur",i[46]),Ur(_,"keyup",i[67]),Ur(I,"change",i[68]),Ur(I,"change",i[50]),Ur(x,"change",i[69]),Ur(x,"change",i[50]),Ur(ir,"click",i[71])],lr=!0)},p(t,r){if(t[35]&&Cr.p(t,r),8&r[1]&&cr!==(cr=t[34]("playerProfile.title")+"")&&jr(U,cr),8&r[1]&&hr!==(hr=t[34]("playerProfile.personalDetails")+"")&&jr(z,hr),8&r[1]&&pr!==(pr=t[34]("playerProfile.userName")+"")&&jr(K,pr),4&r[1]&&n.value!==t[33]&&(n.value=t[33]),8&r[1]&&fr!==(fr=t[34]("playerProfile.userPhone")+"")&&jr(q,fr),33587200&r[0]){let e;for(Hr=t[15],e=0;e<Hr.length;e+=1){var i=bi(t,Hr,e);S[e]?S[e].p(i,r):(S[e]=Bi(i),S[e].c(),S[e].m(s,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=Hr.length}34816&r[0]&&zr(s,t[11]),268435460&r[0]&&e!==(e=t[2]?t[28].number:"")&&Gr(l,"placeholder",e),4096&r[0]&&l.value!==t[12]&&$r(l,t[12]),t[22]?N?N.p(t,r):((N=wi(t)).c(),N.m(a,null)):N&&(N.d(1),N=null),4194304&r[0]&&ie!==(ie="PlayerInfoBox "+(t[22]?"InvalidField":""))&&Gr(a,"class",ie),4194304&r[0]&&oe!==(oe="PlayerInfoBox "+(t[22]?"InvalidField":""))&&Gr(a,"part",oe),8&r[1]&&dr!==(dr=t[34]("playerProfile.securityQuestion")+"")&&jr(se,dr),4&r[0]&&ue!==(ue=t[2]?t[41]:"")&&Gr(c,"placeholder",ue),512&r[0]&&c.value!==t[9]&&$r(c,t[9]),t[20]?C?C.p(t,r):((C=Ai(t)).c(),C.m(u,null)):C&&(C.d(1),C=null),1048576&r[0]&&he!==(he="PlayerInfoBox "+(t[20]?"InvalidField":""))&&Gr(u,"class",he),1048576&r[0]&&pe!==(pe="PlayerInfoBox "+(t[20]?"InvalidField":""))&&Gr(u,"part",pe),8&r[1]&&yr!==(yr=t[34]("playerProfile.securityAnswer")+"")&&jr(ye,yr),4&r[0]&&be!==(be=t[2]?t[40]:"")&&Gr(p,"placeholder",be),1024&r[0]&&p.value!==t[10]&&$r(p,t[10]),t[21]?H?H.p(t,r):((H=Ti(t)).c(),H.m(h,null)):H&&(H.d(1),H=null),2097152&r[0]&&ve!==(ve="PlayerInfoBox "+(t[21]?"InvalidField":""))&&Gr(h,"class",ve),2097152&r[0]&&Ee!==(Ee="PlayerInfoBox "+(t[21]?"InvalidField":""))&&Gr(h,"part",Ee),8&r[1]&&mr!==(mr=t[34]("playerProfile.userEmail")+"")&&jr(Ae,mr),536870912&r[0]&&f.value!==t[29]&&(f.value=t[29]),8&r[1]&&br!==(br=t[34]("playerProfile.dateOfBirth")+"")&&jr(Se,br),67108864&r[0]&&d.value!==t[26]&&(d.value=t[26]),8&r[1]&&gr!==(gr=t[34]("playerProfile.firstName")+"")&&jr(De,gr),1073741824&r[0]&&y.value!==t[30]&&(y.value=t[30]),8&r[1]&&vr!==(vr=t[34]("playerProfile.lastName")+"")&&jr(ke,vr),2&r[1]&&m.value!==t[32]&&(m.value=t[32]),8&r[1]&&Er!==(Er=t[34]("playerProfile.userTitle")+"")&&jr(ze,Er),1&r[1]&&b.value!==t[31]&&(b.value=t[31]),8&r[1]&&Pr!==(Pr=t[34]("playerProfile.currency")+"")&&jr(Qe,Pr),134217728&r[0]&&g.value!==t[27]&&(g.value=t[27]),8&r[1]&&Br!==(Br=t[34]("playerProfile.locationDetails")+"")&&jr(et,Br),8&r[1]&&wr!==(wr=t[34]("playerProfile.userCountry")+"")&&jr(ot,wr),1&r[0]&&Gr(E,"placeholder",t[0]),16384&r[0]&&at!==(at=t[14].Name)&&E.value!==at&&(E.value=at),8&r[1]&&Ar!==(Ar=t[34]("playerProfile.userCity")+"")&&jr(ut,Ar),4&r[0]&&ht!==(ht=t[2]?t[38]:"")&&Gr(B,"placeholder",ht),33554436&r[0]&&pt!==(pt=t[2]?"":t[25].city)&&B.value!==pt&&(B.value=pt),t[17]?O?O.p(t,r):((O=_i(t)).c(),O.m(P,null)):O&&(O.d(1),O=null),131072&r[0]&&dt!==(dt="PlayerInfoBox "+(t[17]?"InvalidField":""))&&Gr(P,"class",dt),131072&r[0]&&yt!==(yt="PlayerInfoBox "+(t[17]?"InvalidField":""))&&Gr(P,"part",yt),8&r[1]&&Tr!==(Tr=t[34]("playerProfile.userAddress")+"")&&jr(gt,Tr),33554436&r[0]&&Et!==(Et=t[2]?"":t[25].address)&&A.value!==Et&&(A.value=Et),t[19]?D?D.p(t,r):((D=Ii(t)).c(),D.m(w,null)):D&&(D.d(1),D=null),524288&r[0]&&Bt!==(Bt="PlayerInfoBox "+(t[19]?"InvalidField":""))&&Gr(w,"class",Bt),524288&r[0]&&wt!==(wt="PlayerInfoBox "+(t[19]?"InvalidField":""))&&Gr(w,"part",wt),8&r[1]&&_r!==(_r=t[34]("playerProfile.userPostalCode")+"")&&jr(_t,_r),4&r[0]&&xt!==(xt=t[2]?t[39]:"")&&Gr(_,"placeholder",xt),33554436&r[0]&&St!==(St=t[2]?"":t[25].postalCode)&&_.value!==St&&(_.value=St),t[18]?M?M.p(t,r):((M=xi(t)).c(),M.m(T,null)):M&&(M.d(1),M=null),262144&r[0]&&Ct!==(Ct="PlayerInfoBox "+(t[18]?"InvalidField":""))&&Gr(T,"class",Ct),262144&r[0]&&Ht!==(Ht="PlayerInfoBox "+(t[18]?"InvalidField":""))&&Gr(T,"part",Ht),8&r[1]&&Ir!==(Ir=t[34]("playerProfile.userNotifications")+"")&&jr(Lt,Ir),64&r[0]&&(I.checked=t[6]),8&r[1]&&xr!==(xr=t[34]("playerProfile.userSMSNotification")+"")&&jr(Wt,xr),128&r[0]&&(x.checked=t[7]),8&r[1]&&Sr!==(Sr=t[34]("playerProfile.userEmailNotification")+"")&&jr(Jt,Sr),t[24]?L?L.p(t,r):((L=Si(t)).c(),L.m(o,tr)):L&&(L.d(1),L=null),8&r[1]&&Nr!==(Nr=t[34]("playerProfile.userProfileSaveChanges")+"")&&jr(or,Nr),73728&r[0]&&nr!==(nr="PlayerDetailsSaveButton "+(t[13]&&t[16]?"":"PlayerButtonDisabled"))&&Gr(ir,"class",nr),73728&r[0]&&ar!==(ar="PlayerDetailsSaveButton "+(t[13]&&t[16]?"":"PlayerButtonDisabled"))&&Gr(ir,"part",ar),t[23]?R?R.p(t,r):((R=Ni(t)).c(),R.m(o,null)):R&&(R.d(1),R=null)},d(e){e&&Lr(o),Cr&&Cr.d();var t=S,r=e;for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r);N&&N.d(),C&&C.d(),H&&H.d(),i[62](null),O&&O.d(),i[64](null),D&&D.d(),i[66](null),M&&M.d(),L&&L.d(),R&&R.d(),lr=!1,Or(ur)}}}function vi(e){let r;return{c(){Gr(r=t("div"),"class","ModalLoader"),Gr(r,"part","ModalLoader")},m(e,t){Mr(e,r,t)},p:m,d(e){e&&Lr(r)}}}function Ei(e){let r,i,o,n=e[93].Prefix+"";return{c(){r=t("option"),i=Fr(n),r.__value=o=e[93].Prefix,r.value=r.__value},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){32768&t[0]&&n!==(n=e[93].Prefix+"")&&jr(i,n),32768&t[0]&&o!==(o=e[93].Prefix)&&(r.__value=o,r.value=r.__value)},d(e){e&&Lr(r)}}}function Pi(e){let r,i,o,n=e[93].Prefix+"";return{c(){r=t("option"),i=Fr(n),r.selected=!0,r.__value=o=e[93].Prefix,r.value=r.__value},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){32768&t[0]&&n!==(n=e[93].Prefix+"")&&jr(i,n),32768&t[0]&&o!==(o=e[93].Prefix)&&(r.__value=o,r.value=r.__value)},d(e){e&&Lr(r)}}}function Bi(e){let r;function i(e){return e[93].Prefix===e[25].mobiePrefix?Pi:Ei}let o=i(e),n=o(e);return{c(){n.c(),r=N()},m(e,t){n.m(e,t),Mr(e,r,t)},p(e,t){o===(o=i(e))&&n?n.p(e,t):(n.d(1),(n=o(e))&&(n.c(),n.m(r.parentNode,r)))},d(e){n.d(e),e&&Lr(r)}}}function wi(e){let r,i,o=e[34]("playerProfile.userPhoneError")+"";return{c(){r=t("p"),i=Fr(o),Gr(r,"class","InvalidInput"),Gr(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){8&t[1]&&o!==(o=e[34]("playerProfile.userPhoneError")+"")&&jr(i,o)},d(e){e&&Lr(r)}}}function Ai(e){let r,i,o=e[34]("playerProfile.securityQuestionError")+"";return{c(){r=t("p"),i=Fr(o),Gr(r,"class","InvalidInput"),Gr(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){8&t[1]&&o!==(o=e[34]("playerProfile.securityQuestionError")+"")&&jr(i,o)},d(e){e&&Lr(r)}}}function Ti(e){let r,i,o=e[34]("playerProfile.securityAnswerError")+"";return{c(){r=t("p"),i=Fr(o),Gr(r,"class","InvalidInput"),Gr(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){8&t[1]&&o!==(o=e[34]("playerProfile.securityAnswerError")+"")&&jr(i,o)},d(e){e&&Lr(r)}}}function _i(e){let r,i,o=e[34]("playerProfile.userCityError")+"";return{c(){r=t("p"),i=Fr(o),Gr(r,"class","InvalidInput"),Gr(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){8&t[1]&&o!==(o=e[34]("playerProfile.userCityError")+"")&&jr(i,o)},d(e){e&&Lr(r)}}}function Ii(e){let r,i,o=e[34]("playerProfile.userAddressError")+"";return{c(){r=t("p"),i=Fr(o),Gr(r,"class","InvalidInput"),Gr(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){8&t[1]&&o!==(o=e[34]("playerProfile.userAddressError")+"")&&jr(i,o)},d(e){e&&Lr(r)}}}function xi(e){let r,i,o=e[34]("playerProfile.userPostalCodeError")+"";return{c(){r=t("p"),i=Fr(o),Gr(r,"class","InvalidInput"),Gr(r,"part","InvalidInput")},m(e,t){Mr(e,r,t),Dr(r,i)},p(e,t){8&t[1]&&o!==(o=e[34]("playerProfile.userPostalCodeError")+"")&&jr(i,o)},d(e){e&&Lr(r)}}}function Si(r){let i,o,n,a,s,l,u,c,h,p,f,d,y,m,b,g=r[34]("playerProfile.userAppSettings")+"",v=r[34]("playerProfile.userBiometrics")+"";return{c(){i=t("div"),o=t("h3"),n=Fr(g),a=kr(),s=t("section"),l=t("div"),u=t("label"),c=t("input"),h=kr(),p=t("span"),f=kr(),d=t("span"),y=Fr(v),Gr(i,"class","PlayerNotificationsHeader"),Gr(i,"part","PlayerNotificationsHeader"),Gr(c,"type","checkbox"),Gr(c,"id","BiometricsEnabled"),Gr(c,"name","Biometric Enabled"),Gr(p,"class","Checkmark"),Gr(p,"part","Checkmark"),Gr(u,"for","Biometrics"),Gr(l,"class","PlayerNotificationBox"),Gr(l,"part","PlayerNotificationBox"),Gr(s,"class","PlayerNotificationsCheckboxArea"),Gr(s,"part","PlayerNotificationsCheckboxArea")},m(e,t){Mr(e,i,t),Dr(i,o),Dr(o,n),Mr(e,a,t),Mr(e,s,t),Dr(s,l),Dr(l,u),Dr(u,c),c.checked=r[8],Dr(u,h),Dr(u,p),Dr(u,f),Dr(u,d),Dr(d,y),m||(b=[Ur(c,"change",r[70]),Ur(c,"change",r[50])],m=!0)},p(e,t){8&t[1]&&g!==(g=e[34]("playerProfile.userAppSettings")+"")&&jr(n,g),256&t[0]&&(c.checked=e[8]),8&t[1]&&v!==(v=e[34]("playerProfile.userBiometrics")+"")&&jr(y,v)},d(e){e&&Lr(i),e&&Lr(a),e&&Lr(s),m=!1,Or(b)}}}function Ni(e){let r,i,o,n=e[34]("playerProfile.userProfileConfirmationMessage")+"";return{c(){r=t("section"),i=t("p"),o=Fr(n),Gr(i,"class","PlayerDetailsConfirmSaveText"),Gr(i,"part","PlayerDetailsConfirmSaveText"),Gr(r,"class","PlayerDetailsConfirmSave"),Gr(r,"part","PlayerDetailsConfirmSave")},m(e,t){Mr(e,r,t),Dr(r,i),Dr(i,o)},p(e,t){8&t[1]&&n!==(n=e[34]("playerProfile.userProfileConfirmationMessage")+"")&&jr(o,n)},d(e){e&&Lr(r)}}}function Ci(e){let r;function i(e){return e[1]?vi:gi}let o=i(e),n=o(e);return{c(){n.c(),r=N(),this.c=m},m(e,t){n.m(e,t),Mr(e,r,t)},p(e,t){o===(o=i(e))&&n?n.p(e,t):(n.d(1),(n=o(e))&&(n.c(),n.m(r.parentNode,r)))},i:m,o:m,d(e){n.d(e),e&&Lr(r)}}}function Hi(t,e,r){let i;var o=hi;t.$$.on_destroy.push(ie(o,e=>r(34,i=e)));let n,a,s,l,{endpoint:u=""}=e,{lang:c="en"}=e,{countrycode:h="IR"}=e,p=!0,L=window.navigator.userAgent,R="PC"!=((o=L).toLowerCase().match(/android/i)?"Android":o.toLowerCase().match(/iphone/i)?"iPhone":o.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),F=!0,f=!1,d=!1,y=!1,m="",b="",g="",v="",E=!1,k={Name:"I.e Ireland"},P=[],U=[],B=!1,w="",A="",T="",_=!1,I=!1,x=!1,S=!1;Object.keys(pi).forEach(e=>{Hr(e,pi[e])});e=window.matchMedia("(min-width: 768px)");let N={address1:"",address2:"",city:"",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},C={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},H={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"i.e.: Ireland",currency:"EUR",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},{address1:G,birth:j,city:$,currency:z,mobile:O,email:W,firstname:V,userTitles:X,language:K,lastname:Q,postalCode:Y,securityAnswer:Z,securityQuestion:q,username:J}=H;const ee=e=>{if(e.data)switch(e.data.type){case"ProfileDetailsData":r(2,F=!1),H=e.data.profileDetails,r(33,J=H.username),r(28,O=H.mobile),r(29,W=H.email),r(30,V=H.firstname),r(32,Q=H.lastname),K=H.language,r(26,j=H.birth.day+"/"+H.birth.month+"/"+H.birth.year),r(27,z=H.currency),r(31,X=H.title),r(6,f=H.consents.acceptSMSOffers),r(7,d=H.consents.acceptNewsEmail),r(9,m=H.securityQuestion),r(10,b=H.securityAnswer),r(11,g=H.mobile.prefix),r(12,v=H.mobile.number),r(25,C={address:H.address1,city:H.city,acceptNewsEmail:H.consents.acceptNewsEmail,acceptSMSOffers:H.consents.acceptSMSOffers,mobilePrefix:O.prefix,mobileNumber:O.number,postalCode:H.postalCode,securityAnswer:H.securityAnswer,securityQuestion:H.securityQuestion});break;case"ConfirmProfileInfoSave":S&&(mi("BIOMETRICS_ENABLED",e=>{e!==y&&r(8,y=e)}),yi(y?"ENABLE_BIOMETRICS":"DISABLE_BIOMETRICS")),r(13,E=!1),r(23,x=!0),setTimeout(()=>{r(23,x=!1)},3e3)}},D=()=>{r(16,B=!(_||I||w||T||A||l))},te=()=>{1==E&&1==B&&window.postMessage({type:"UpdatePlayerInfo",provisionalArray:N},window.location.href)},re=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)},M=()=>{var e,t;N={acceptNewsEmail:d,acceptSMSOffers:f,address:a.value,city:s.value,mobileNumber:v,mobilePrefix:g,postalCode:n.value,securityAnswer:b,securityQuestion:m},e=N,t=C,JSON.stringify(e)===JSON.stringify(t)?r(13,E=!1):r(13,E=!0),D()};return o=()=>(window.addEventListener("message",ee,!1),r(24,S=!!di(L)),S&&(mi("BIOMETRICS_ENABLED",e=>{r(8,y=!!e)}),yi("BIOMETRICS_ENABLED")),()=>{window.removeEventListener("message",ee)}),function(){if(oe)return oe;throw new Error("Function called outside component initialization")}().$$.on_mount.push(o),t.$$set=e=>{"endpoint"in e&&r(51,u=e.endpoint),"lang"in e&&r(52,c=e.lang),"countrycode"in e&&r(0,h=e.countrycode)},t.$$.update=()=>{var e;2097152&t.$$.dirty[1]&&c&&(e=c,oi.set(e)),1&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&u&&h&&fetch(u+"/player/countries").then(e=>e.json()).then(e=>{U=e.countries,r(14,k=U.find(e=>e.Alpha2Code===h)||{Name:"I.E. Ireland"}),r(1,p=!1)}),1048576&t.$$.dirty[1]&&u&&fetch(u+"/player/phonecodes").then(e=>e.json()).then(e=>{r(15,P=e.phoneCodes)})},[h,p,F,n,a,s,f,d,y,m,b,g,v,E,k,P,B,w,A,T,_,I,l,x,S,C,j,z,O,W,V,X,Q,J,i,R,e,G,$,Y,Z,q,()=>{r(22,l=!(v&&5<=v.length&&v.length<=30)),D()},()=>{r(20,_=!(m&&m.length<=120)),D()},()=>{r(21,I=!(b&&b.length<=120)),D()},()=>{r(17,w=!(s.value&&s.value.length<=50)),D()},()=>{r(18,A=!(n.value&&n.value.length<=20)),D()},()=>{r(19,T=!(a.value&&a.value.length<=100)),D()},te,re,M,u,c,()=>re(),function(){g=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),r(11,g),r(15,P)},()=>M(),function(){v=this.value,r(12,v)},()=>M(),function(){m=this.value,r(9,m)},()=>M(),function(){b=this.value,r(10,b)},()=>M(),function(e){ne[e?"unshift":"push"](()=>{s=e,r(5,s)})},()=>M(),function(e){ne[e?"unshift":"push"](()=>{a=e,r(4,a)})},()=>M(),function(e){ne[e?"unshift":"push"](()=>{n=e,r(3,n)})},()=>M(),function(){f=this.checked,r(6,f)},function(){d=this.checked,r(7,d)},function(){y=this.checked,r(8,y)},()=>te()]}class Oi extends G{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emfe-w-color-contrast, #07072A);background:var(--emfe-w-color-gray-50, #F9F8F8);padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:var(--emfe-w-color-primary, #D0046C);text-transform:capitalize;font-weight:400}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emfe-w-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerInfoBox.InvalidField input{border:1px solid var(--emfe-w-color-error, #FD2839);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-error, #FD2839)}.PlayerInfoBox .InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:var(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emfe-w-color-primary, #D0046C)}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--emfe-w-color-contrast, #07072A);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emfe-w-color-primary-600, #99034F)}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emfe-w-color-gray-50, #F9F8F8);max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:var(--emfe-w-color-primary, #D0046C);font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emfe-w-color-contrast, #07072A);font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:12px;height:40px;color:var(--emfe-w-color-white, #FFFFFF)}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerInfoWrapperTablet .PlayerInfoBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:var(--emfe-w-color-white, #FFFFFF)}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emfe-w-color-gray-300, #58586B)}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>",U(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Hi,Ci,S,{endpoint:51,lang:52,countrycode:0},null,[-1,-1,-1,-1]),e&&(e.target&&Mr(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["endpoint","lang","countrycode"]}get endpoint(){return this.$$.ctx[51]}set endpoint(e){this.$$set({endpoint:e}),b()}get lang(){return this.$$.ctx[52]}set lang(e){this.$$set({lang:e}),b()}get countrycode(){return this.$$.ctx[0]}set countrycode(e){this.$$set({countrycode:e}),b()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",Oi),Oi});
2
2
  //# sourceMappingURL=player-profile-info.js.map