@everymatrix/player-profile-info 1.66.0 → 1.66.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
15
  PERFORMANCE OF THIS SOFTWARE.
16
16
  ***************************************************************************** */var Fi=function(e,t){return Fi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Fi(e,t)};function Vr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Fi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Gi(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(u){a={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function $i(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function nt(e){return typeof e=="function"}function Za(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Oi=Za(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
17
17
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
18
- `):"",this.name="UnsubscriptionError",this.errors=r}});function Qi(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var si=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=Gi(a),d=u.next();!d.done;d=u.next()){var c=d.value;c.remove(this)}}catch(S){t={error:S}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(nt(f))try{f()}catch(S){o=S instanceof Oi?S.errors:[S]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var b=Gi(m),_=b.next();!_.done;_=b.next()){var C=_.value;try{Qo(C)}catch(S){o=o!=null?o:[],S instanceof Oi?o=$i($i([],zi(o)),zi(S.errors)):o.push(S)}}}catch(S){n={error:S}}finally{try{_&&!_.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}}if(o)throw new Oi(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Qo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Qi(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Qi(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ja=si.EMPTY;function Ya(e){return e instanceof si||e&&"closed"in e&&nt(e.remove)&&nt(e.add)&&nt(e.unsubscribe)}function Qo(e){nt(e)?e():e.unsubscribe()}var Su={Promise:void 0},Pu={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,$i([e,t],zi(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function wu(e){Pu.setTimeout(function(){throw e})}function Vo(){}function Jn(e){e()}var Ka=function(e){Vr(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Ya(r)&&r.add(n)):n.destination=ku,n}return t.create=function(r,n,i){return new Vi(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(si),Au=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Wn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Wn(n)}else Wn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Wn(r)}},e}(),Vi=function(e){Vr(t,e);function t(r,n,i){var o=e.call(this)||this,a;return nt(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new Au(a),o}return t}(Ka);function Wn(e){wu(e)}function xu(e){throw e}var ku={closed:!0,next:Vo,error:xu,complete:Vo},Bu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ou(e){return e}function Iu(e){return e.length===0?Ou:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Wo=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=Tu(t)?t:new Vi(t,r,n);return Jn(function(){var a=i,u=a.operator,d=a.source;o.add(u?u.call(o,d):d?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Xo(r),new r(function(i,o){var a=new Vi({next:function(u){try{t(u)}catch(d){o(d),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Bu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Iu(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Xo(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Xo(e){var t;return(t=e!=null?e:Su.Promise)!==null&&t!==void 0?t:Promise}function Hu(e){return e&&nt(e.next)&&nt(e.error)&&nt(e.complete)}function Tu(e){return e&&e instanceof Ka||Hu(e)&&Ya(e)}var Mu=Za(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),es=function(e){Vr(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new qo(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Mu},t.prototype.next=function(r){var n=this;Jn(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=Gi(n.currentObservers),u=a.next();!u.done;u=a.next()){var d=u.value;d.next(r)}}catch(c){i={error:c}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Jn(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Jn(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,a=i.isStopped,u=i.observers;return o||a?Ja:(this.currentObservers=null,u.push(r),new si(function(){n.currentObservers=null,Qi(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new Wo;return r.source=this,r},t.create=function(r,n){return new qo(r,n)},t}(Wo),qo=function(e){Vr(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Ja},t}(es),ts={now:function(){return(ts.delegate||Date).now()},delegate:void 0},Nu=function(e){Vr(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=ts);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,a=n._infiniteTimeWindow,u=n._timestampProvider,d=n._windowTime;i||(o.push(r),!a&&o.push(u.now()+d)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,a=i._buffer,u=a.slice(),d=0;d<u.length&&!r.closed;d+=o?1:2)r.next(u[d]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,u=(a?1:2)*n;if(n<1/0&&u<o.length&&o.splice(0,o.length-u),!a){for(var d=i.now(),c=0,f=1;f<o.length&&o[f]<=d;f+=2)c=f;c&&o.splice(0,c+1)}},t}(es);const Zo=[],Jo={},Du=(e,t=0)=>{if(Zo.indexOf(e)==-1){const r=new Nu(t);Jo[e]=r,Zo.push(e)}return Jo[e]};window.emWidgets={topic:Du};const Lu=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function Ru(e){cs(e,"svelte-1vp20x9",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px}.PlayerInfoWrapper .PlayerFadeInWarapper{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw--color-gray-300, #58586b);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:10px;line-height:16px;background:var(--emw--color-white, #ffffff);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px)}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox.InvalidField input,.PlayerInfoBox.InvalidPrefix select{border:1px solid var(--emw--color-error, var(--emw--color-red, #fd2839));background:var(--emw--color-pale, #fbecf4);color:var(--emw--color-error, var(--emw--color-red, #fd2839))}.PlayerInfoBox .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #ffffff);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield;appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.LocationDetailsDescription{grid-column:span 2}.PlayerNotificationBox{margin-top:5px;margin-bottom:5px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw--color-gray-100, #e6e6e6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw--color-white, #ffffff);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerNotificationBox.Parent span{font-weight:var(--emw--font-weight-bold, 700)}.PlayerNotificationBox.Child{margin-left:20px}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, black 20%), var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0e5924);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{display:flex;gap:50px;padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw--color-gray-50, #f9f8f8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw--button-typography, var(--emw--color-white, #ffffff))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:var(--emw--color-gray-300, #58586b)}.PlayerDetailsConfirmSave{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}.skeletonContainer{max-width:unset;container-type:inline-size}.skeletonContainer .skeletonWrapper{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonContainer .skeletonWrapper .skeletonHeaderText{width:200px;margin:25px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{width:150px;margin:16px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{display:grid;grid-column-gap:50px;grid-row-gap:23px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:25px;margin-top:15px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer{display:flex;flex-direction:column}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skletonInputText{width:70px;margin:0px 0px 11px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skeletonInputField{border-radius:var(--emw--border-radius-medium, 10px);overflow:hidden}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:30px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputCircle{margin:5px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputText{width:150px}.skeletonContainer .skeletonWrapper .skeletonButton{width:400px;border-radius:var(--emw--button-border-radius, 10px);overflow:hidden;margin-top:10px}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{padding:20px 15px;width:auto;max-width:unset;border-radius:0px}.skeletonContainer .skeletonWrapper .skeletonHeaderText{margin:10px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{margin-top:31px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{grid-template-columns:1fr;margin-top:13px;grid-row-gap:18px}.skeletonContainer .skeletonWrapper .skeletonButton{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`)}function Yo(e,t,r){const n=e.slice();return n[81]=t[r],n[82]=t,n[83]=r,n}function Ko(e,t,r){const n=e.slice();return n[84]=t[r],n[85]=t,n[86]=r,n}function ea(e,t,r){const n=e.slice();return n[87]=t[r],n}function ju(e,t,r){const n=e.slice();return n[90]=t[r],n[92]=r,n}function Uu(e,t,r){const n=e.slice();return n[90]=t[r],n[92]=r,n}function Fu(e,t,r){const n=e.slice();return n[90]=t[r],n[92]=r,n}function Gu(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputText"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:Pe,d(r){r&&H(t)}}}function zu(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputField"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:Pe,d(r){r&&H(t)}}}function $u(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputCircle"><ui-skeleton structure="circle" size="20px" height="10px"></ui-skeleton></div> <div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:Pe,d(r){r&&H(t)}}}function ta(e){let t,r,n,i,o=e[19]("titleProfileInfo")+"",a,u,d,c,f,m=e[19]("personalDetails")+"",b,_,C,S,O,k=e[19]("userName")+"",D,w,M,Q,z,we,Ae,X,ee,$=e[19]("userPhone")+"",h,L,U,Z,Re,qe,it,W,Ze,Je,dt,Ye,je,ht,oe,Ue,pt=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"",Fe,Ge,yt,Wr,J,vt,gt,Xr,_t,qr,Ie,ot,Ke=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"",Ct,Yt,Et,Kt,Y,St,Pt,Zr,wt,Jr,at,et,At=e[19]("userEmail")+"",er,Yr,xe,xt,mt,kt,Kr,st,Bt,Ot=e[19]("dateOfBirth")+"",tr,g,v,I,R,K,V,N,tt,te=e[19]("firstName")+"",lt,ut,ke,en,rr,tn,qi,It,rn,nn=e[19]("lastName")+"",li,Zi,Ne,on,nr,an,Ji,Ht,sn,ln=e[19]("userTitle")+"",ui,Yi,De,un,ir,cn,Ki,Tt,fn,dn=e[19]("currency")+"",ci,eo,Le,hn,or,pn,to,ro,mn,fi,bn=e[19]("locationDetails")+"",di,no,re,Mt,yn,vn=e[19]("userCountry")+"",hi,io,Be,gn,ar,_n,Cn,oo,ze,En,Sn=e[19]("userCity")+"",pi,ao,ae,Pn,wn,so,An,lo,$e,xn,kn=e[19]("userAddress")+"",mi,uo,se,Bn,On,co,In,fo,Qe,Hn,Tn=e[19]("userAddress2")+"",bi,ho,le,Mn,Nn,po,Dn,mo,Ve,Ln,Rn=e[19]("userPostalCode")+"",yi,bo,ue,jn,Un,yo,Fn,vo,go,vi=Object.keys(e[5].consents).length>0,gi,sr,Nt,Gn=e[19]("userProfileSaveChanges")+"",_i,zn,$n,_o,Qn,Ci,Co,ce=e[7]&&ra(e),Dt=rt(e[4]),ne=[];for(let Se=0;Se<Dt.length;Se+=1)ne[Se]=na(ea(e,Dt,Se));let fe=!e[16]&&ia(e),de=!e[17]&&oa(e),he=!e[14]&&aa(e),pe=!e[15]&&sa(e),me=e[5].iban.value&&la(e),be=!e[10]&&ua(e),ye=!e[12]&&ca(e),ve=!e[13]&&fa(e),ge=!e[11]&&da(e),_e=e[1]==="true"&&ha(e),Ce=vi&&pa(e),Ee=e[18]&&ga(e);return{c(){var Se,y,We,lr,ur,cr,fr,dr,hr,pr,mr,br,yr,vr,gr,_r,Cr,Er,Sr,Pr,wr,Ar,xr,kr,Br,Or,Ir,Hr,Tr,Mr,Nr,Dr,Lr,Rr;t=p("form"),r=p("div"),ce&&ce.c(),n=E(),i=p("h2"),a=P(o),d=E(),c=p("div"),f=p("h3"),b=P(m),_=E(),C=p("section"),S=p("div"),O=p("label"),D=P(k),w=E(),M=p("input"),Ae=E(),X=p("div"),ee=p("label"),h=P($),L=E(),U=p("div"),Z=p("select");for(let Lt=0;Lt<ne.length;Lt+=1)ne[Lt].c();it=E(),W=p("input"),dt=E(),fe&&fe.c(),Ye=E(),de&&de.c(),ht=E(),oe=p("div"),Ue=p("label"),Fe=P(pt),Ge=P(":"),yt=p("span"),yt.textContent="*",Wr=E(),J=p("input"),Xr=E(),he&&he.c(),qr=E(),Ie=p("div"),ot=p("label"),Ct=P(Ke),Yt=P(":"),Et=p("span"),Et.textContent="*",Kt=E(),Y=p("input"),Zr=E(),pe&&pe.c(),Jr=E(),at=p("div"),et=p("label"),er=P(At),Yr=E(),xe=p("input"),Kr=E(),st=p("div"),Bt=p("label"),tr=P(Ot),g=E(),v=p("input"),V=E(),N=p("div"),tt=p("label"),lt=P(te),ut=E(),ke=p("input"),qi=E(),It=p("div"),rn=p("label"),li=P(nn),Zi=E(),Ne=p("input"),Ji=E(),Ht=p("div"),sn=p("label"),ui=P(ln),Yi=E(),De=p("input"),Ki=E(),Tt=p("div"),fn=p("label"),ci=P(dn),eo=E(),Le=p("input"),to=E(),me&&me.c(),ro=E(),mn=p("div"),fi=p("h3"),di=P(bn),no=E(),re=p("section"),Mt=p("div"),yn=p("label"),hi=P(vn),io=E(),Be=p("input"),oo=E(),ze=p("div"),En=p("label"),pi=P(Sn),ao=E(),ae=p("input"),so=E(),be&&be.c(),lo=E(),$e=p("div"),xn=p("label"),mi=P(kn),uo=E(),se=p("input"),co=E(),ye&&ye.c(),fo=E(),Qe=p("div"),Hn=p("label"),bi=P(Tn),ho=E(),le=p("input"),po=E(),ve&&ve.c(),mo=E(),Ve=p("div"),Ln=p("label"),yi=P(Rn),bo=E(),ue=p("input"),yo=E(),ge&&ge.c(),vo=E(),_e&&_e.c(),go=E(),Ce&&Ce.c(),gi=E(),sr=p("section"),Nt=p("button"),_i=P(Gn),_o=E(),Ee&&Ee.c(),l(i,"class",u="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":"")),l(c,"class","PlayerNotificationsHeader"),l(M,"type","text"),l(M,"class",Q=`${(Se=e[5].username)!=null&&Se.readOnly?"FieldDisabled":""}`),M.value=z=(We=(y=e[5].username)==null?void 0:y.value)!=null?We:"",M.readOnly=we=(lr=e[5].username)==null?void 0:lr.readOnly,l(S,"class","PlayerInfoBox"),l(Z,"class",Re=`${(ur=e[5].mobile)!=null&&ur.readOnly?"FieldDisabled":""}`),Z.disabled=qe=(cr=e[5].mobile)==null?void 0:cr.readOnly,e[5].mobile.prefix===void 0&&Yn(()=>e[39].call(Z)),l(W,"type","text"),l(W,"class",Ze=`${(fr=e[5].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`),l(W,"placeholder",e[20].mobile.number),W.readOnly=Je=(dr=e[5].mobile)==null?void 0:dr.readOnly,l(U,"class","PlayerPhoneNumber"),l(X,"class",je="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix")),l(yt,"class","FormRequired"),l(Ue,"for","SecurityQuestion"),l(J,"id","SecurityQuestion"),l(J,"type","text"),l(J,"class",vt=`${(hr=e[5].securityQuestion)!=null&&hr.readOnly?"FieldDisabled":""}`),l(J,"placeholder",e[20].securityQuestion),J.readOnly=gt=(pr=e[5].securityQuestion)==null?void 0:pr.readOnly,l(oe,"class",_t="PlayerInfoBox "+(e[14]?"":"InvalidField")),l(Et,"class","FormRequired"),l(ot,"for","SecurityAnswer"),l(Y,"id","SecurityAnswer"),l(Y,"type","text"),l(Y,"class",St=`${(mr=e[5].securityAnswer)!=null&&mr.readOnly?"FieldDisabled":""}`),l(Y,"placeholder",e[20].securityAnswer),Y.readOnly=Pt=(br=e[5].securityAnswer)==null?void 0:br.readOnly,l(Ie,"class",wt="PlayerInfoBox "+(e[15]?"":"InvalidField")),l(et,"for","UserEmail"),l(xe,"id","UserEmail"),l(xe,"type","email"),l(xe,"class",xt=`${(yr=e[5].email)!=null&&yr.readOnly?"FieldDisabled":""}`),xe.value=mt=e[5].email.value,xe.readOnly=kt=(vr=e[5].email)==null?void 0:vr.readOnly,l(at,"class","PlayerInfoBox"),l(Bt,"for","DateOfBirth"),l(v,"id","DateOfBirth"),l(v,"type","text"),l(v,"class",I=`${(gr=e[5].birth)!=null&&gr.readOnly?"FieldDisabled":""}`),v.value=R=e[5].birth.value,v.readOnly=K=(_r=e[5].birth)==null?void 0:_r.readOnly,l(st,"class","PlayerInfoBox"),l(tt,"for","FirstName"),l(ke,"id","FirstName"),l(ke,"type","text"),l(ke,"class",en=`${(Cr=e[5].firstname)!=null&&Cr.readOnly?"FieldDisabled":""}`),ke.value=rr=e[5].firstname.value,ke.readOnly=tn=(Er=e[5].firstname)==null?void 0:Er.readOnly,l(N,"class","PlayerInfoBox"),l(rn,"for","LastName"),l(Ne,"id","LastName"),l(Ne,"type","text"),l(Ne,"class",on=`${(Sr=e[5].lastname)!=null&&Sr.readOnly?"FieldDisabled":""}`),Ne.value=nr=e[5].lastname.value,Ne.readOnly=an=(Pr=e[5].lastname)==null?void 0:Pr.readOnly,l(It,"class","PlayerInfoBox"),l(sn,"for","UserTitle"),l(De,"id","UserTitle"),l(De,"type","text"),l(De,"class",un=`${(wr=e[5].title)!=null&&wr.readOnly?"FieldDisabled":""}`),De.value=ir=e[5].title.value,De.readOnly=cn=(Ar=e[5].title)==null?void 0:Ar.readOnly,l(Ht,"class","PlayerInfoBox"),l(fn,"for","Currrency"),l(Le,"id","Currency"),l(Le,"type","text"),l(Le,"class",hn=`${(xr=e[5].currency)!=null&&xr.readOnly?"FieldDisabled":""}`),Le.value=or=e[5].currency.value,Le.readOnly=pn=(kr=e[5].currency)==null?void 0:kr.readOnly,l(Tt,"class","PlayerInfoBox"),l(C,"class","PlayerDetailsContent"),l(mn,"class","PlayerLocationHeader"),l(yn,"for","UserCountry"),l(Be,"id","UserCountry"),l(Be,"type","text"),l(Be,"class",gn=`PlayerCountry ${(Br=e[5].country)!=null&&Br.readOnly?"FieldDisabled":""}`),Be.value=ar=e[5].country.countryName,l(Be,"placeholder",_n=e[5].country.countryCode),Be.readOnly=Cn=(Or=e[5].country)==null?void 0:Or.readOnly,l(Mt,"class","PlayerInfoBox"),l(En,"for","UserCity"),l(ae,"id","UserCity"),l(ae,"type","text"),l(ae,"class",Pn=`${(Ir=e[5].city)!=null&&Ir.readOnly?"FieldDisabled":""}`),l(ae,"placeholder",e[20].city),ae.readOnly=wn=(Hr=e[5].city)==null?void 0:Hr.readOnly,l(ze,"class",An="PlayerInfoBox "+(e[10]?"":"InvalidField")),l(xn,"for","UserAddress"),l(se,"id","UserAddress"),l(se,"type","text"),l(se,"class",Bn=`${(Tr=e[5].address1)!=null&&Tr.readOnly?"FieldDisabled":""}`),l(se,"placeholder",e[20].address1),se.readOnly=On=(Mr=e[5].address1)==null?void 0:Mr.readOnly,l($e,"class",In="PlayerInfoBox "+(e[12]?"":"InvalidField")),l(Hn,"for","UserAddress"),l(le,"id","UserAddress2"),l(le,"type","text"),l(le,"class",Mn=`${(Nr=e[5].address2)!=null&&Nr.readOnly?"FieldDisabled":""}`),l(le,"placeholder",e[20].address2),le.readOnly=Nn=(Dr=e[5].address2)==null?void 0:Dr.readOnly,l(Qe,"class",Dn="PlayerInfoBox "+(e[13]?"":"InvalidField")),l(Ln,"for","UserPostalCode"),l(ue,"id","UserPostalCode"),l(ue,"type","text"),l(ue,"class",jn=`${(Lr=e[5].postalCode)!=null&&Lr.readOnly?"FieldDisabled":""}`),l(ue,"placeholder",e[20].postalCode),ue.readOnly=Un=(Rr=e[5].postalCode)==null?void 0:Rr.readOnly,l(Ve,"class",Fn="PlayerInfoBox "+(e[11]?"":"InvalidField")),l(re,"class","PlayerLocationContent"),l(Nt,"class",zn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled")),l(sr,"class",$n="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":"")),l(r,"class","PlayerFadeInWarapper"),l(t,"class",Qn="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))},m(Se,y){T(Se,t,y),s(t,r),ce&&ce.m(r,null),s(r,n),s(r,i),s(i,a),s(r,d),s(r,c),s(c,f),s(f,b),s(r,_),s(r,C),s(C,S),s(S,O),s(O,D),s(S,w),s(S,M),s(C,Ae),s(C,X),s(X,ee),s(ee,h),s(X,L),s(X,U),s(U,Z);for(let We=0;We<ne.length;We+=1)ne[We]&&ne[We].m(Z,null);ko(Z,e[5].mobile.prefix,!0),s(U,it),s(U,W),q(W,e[5].mobile.number),s(X,dt),fe&&fe.m(X,null),s(X,Ye),de&&de.m(X,null),s(C,ht),s(C,oe),s(oe,Ue),s(Ue,Fe),s(Ue,Ge),s(Ue,yt),s(oe,Wr),s(oe,J),q(J,e[5].securityQuestion.value),s(oe,Xr),he&&he.m(oe,null),s(C,qr),s(C,Ie),s(Ie,ot),s(ot,Ct),s(ot,Yt),s(ot,Et),s(Ie,Kt),s(Ie,Y),q(Y,e[5].securityAnswer.value),s(Ie,Zr),pe&&pe.m(Ie,null),s(C,Jr),s(C,at),s(at,et),s(et,er),s(at,Yr),s(at,xe),s(C,Kr),s(C,st),s(st,Bt),s(Bt,tr),s(st,g),s(st,v),s(C,V),s(C,N),s(N,tt),s(tt,lt),s(N,ut),s(N,ke),s(C,qi),s(C,It),s(It,rn),s(rn,li),s(It,Zi),s(It,Ne),s(C,Ji),s(C,Ht),s(Ht,sn),s(sn,ui),s(Ht,Yi),s(Ht,De),s(C,Ki),s(C,Tt),s(Tt,fn),s(fn,ci),s(Tt,eo),s(Tt,Le),s(C,to),me&&me.m(C,null),s(r,ro),s(r,mn),s(mn,fi),s(fi,di),s(r,no),s(r,re),s(re,Mt),s(Mt,yn),s(yn,hi),s(Mt,io),s(Mt,Be),s(re,oo),s(re,ze),s(ze,En),s(En,pi),s(ze,ao),s(ze,ae),q(ae,e[5].city.value),s(ze,so),be&&be.m(ze,null),s(re,lo),s(re,$e),s($e,xn),s(xn,mi),s($e,uo),s($e,se),q(se,e[5].address1.value),s($e,co),ye&&ye.m($e,null),s(re,fo),s(re,Qe),s(Qe,Hn),s(Hn,bi),s(Qe,ho),s(Qe,le),q(le,e[5].address2.value),s(Qe,po),ve&&ve.m(Qe,null),s(re,mo),s(re,Ve),s(Ve,Ln),s(Ln,yi),s(Ve,bo),s(Ve,ue),q(ue,e[5].postalCode.value),s(Ve,yo),ge&&ge.m(Ve,null),s(re,vo),_e&&_e.m(re,null),s(r,go),Ce&&Ce.m(r,null),s(r,gi),s(r,sr),s(sr,Nt),s(Nt,_i),s(r,_o),Ee&&Ee.m(r,null),Ci||(Co=[F(Z,"change",e[39]),F(Z,"change",e[21]("mobilePrefix")),F(W,"input",e[40]),F(W,"keyup",e[21]("mobileNumber")),F(W,"input",function(){Xt(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),F(J,"input",e[41]),F(J,"keyup",e[21]("securityQuestion")),F(Y,"input",e[42]),F(Y,"keyup",e[21]("securityAnswer")),F(ae,"input",e[43]),F(ae,"keyup",e[21]("city")),F(se,"input",e[44]),F(se,"keyup",e[21]("address")),F(le,"input",e[45]),F(le,"keyup",e[21]("address")),F(ue,"input",e[46]),F(ue,"keyup",e[21]("postalCode")),F(Nt,"click",e[22])],Ci=!0)},p(Se,y){var We,lr,ur,cr,fr,dr,hr,pr,mr,br,yr,vr,gr,_r,Cr,Er,Sr,Pr,wr,Ar,xr,kr,Br,Or,Ir,Hr,Tr,Mr,Nr,Dr,Lr,Rr,Lt,Eo;if(e=Se,e[7]?ce?ce.p(e,y):(ce=ra(e),ce.c(),ce.m(r,n)):ce&&(ce.d(1),ce=null),y[0]&524288&&o!==(o=e[19]("titleProfileInfo")+"")&&A(a,o),y[0]&128&&u!==(u="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":""))&&l(i,"class",u),y[0]&524288&&m!==(m=e[19]("personalDetails")+"")&&A(b,m),y[0]&524288&&k!==(k=e[19]("userName")+"")&&A(D,k),y[0]&48&&Q!==(Q=`${(We=e[5].username)!=null&&We.readOnly?"FieldDisabled":""}`)&&l(M,"class",Q),y[0]&48&&z!==(z=(ur=(lr=e[5].username)==null?void 0:lr.value)!=null?ur:"")&&M.value!==z&&(M.value=z),y[0]&48&&we!==(we=(cr=e[5].username)==null?void 0:cr.readOnly)&&(M.readOnly=we),y[0]&524288&&$!==($=e[19]("userPhone")+"")&&A(h,$),y[0]&48){Dt=rt(e[4]);let He;for(He=0;He<Dt.length;He+=1){const So=ea(e,Dt,He);ne[He]?ne[He].p(So,y):(ne[He]=na(So),ne[He].c(),ne[He].m(Z,null))}for(;He<ne.length;He+=1)ne[He].d(1);ne.length=Dt.length}y[0]&48&&Re!==(Re=`${(fr=e[5].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`)&&l(Z,"class",Re),y[0]&48&&qe!==(qe=(dr=e[5].mobile)==null?void 0:dr.readOnly)&&(Z.disabled=qe),y[0]&48&&ko(Z,e[5].mobile.prefix),y[0]&48&&Ze!==(Ze=`${(hr=e[5].mobile)!=null&&hr.readOnly?"FieldDisabled":""}`)&&l(W,"class",Ze),y[0]&48&&Je!==(Je=(pr=e[5].mobile)==null?void 0:pr.readOnly)&&(W.readOnly=Je),y[0]&48&&W.value!==e[5].mobile.number&&q(W,e[5].mobile.number),e[16]?fe&&(fe.d(1),fe=null):fe?fe.p(e,y):(fe=ia(e),fe.c(),fe.m(X,Ye)),e[17]?de&&(de.d(1),de=null):de?de.p(e,y):(de=oa(e),de.c(),de.m(X,null)),y[0]&196608&&je!==(je="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix"))&&l(X,"class",je),y[0]&524289&&pt!==(pt=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"")&&A(Fe,pt),y[0]&48&&vt!==(vt=`${(mr=e[5].securityQuestion)!=null&&mr.readOnly?"FieldDisabled":""}`)&&l(J,"class",vt),y[0]&48&&gt!==(gt=(br=e[5].securityQuestion)==null?void 0:br.readOnly)&&(J.readOnly=gt),y[0]&48&&J.value!==e[5].securityQuestion.value&&q(J,e[5].securityQuestion.value),e[14]?he&&(he.d(1),he=null):he?he.p(e,y):(he=aa(e),he.c(),he.m(oe,null)),y[0]&16384&&_t!==(_t="PlayerInfoBox "+(e[14]?"":"InvalidField"))&&l(oe,"class",_t),y[0]&524289&&Ke!==(Ke=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"")&&A(Ct,Ke),y[0]&48&&St!==(St=`${(yr=e[5].securityAnswer)!=null&&yr.readOnly?"FieldDisabled":""}`)&&l(Y,"class",St),y[0]&48&&Pt!==(Pt=(vr=e[5].securityAnswer)==null?void 0:vr.readOnly)&&(Y.readOnly=Pt),y[0]&48&&Y.value!==e[5].securityAnswer.value&&q(Y,e[5].securityAnswer.value),e[15]?pe&&(pe.d(1),pe=null):pe?pe.p(e,y):(pe=sa(e),pe.c(),pe.m(Ie,null)),y[0]&32768&&wt!==(wt="PlayerInfoBox "+(e[15]?"":"InvalidField"))&&l(Ie,"class",wt),y[0]&524288&&At!==(At=e[19]("userEmail")+"")&&A(er,At),y[0]&48&&xt!==(xt=`${(gr=e[5].email)!=null&&gr.readOnly?"FieldDisabled":""}`)&&l(xe,"class",xt),y[0]&48&&mt!==(mt=e[5].email.value)&&xe.value!==mt&&(xe.value=mt),y[0]&48&&kt!==(kt=(_r=e[5].email)==null?void 0:_r.readOnly)&&(xe.readOnly=kt),y[0]&524288&&Ot!==(Ot=e[19]("dateOfBirth")+"")&&A(tr,Ot),y[0]&48&&I!==(I=`${(Cr=e[5].birth)!=null&&Cr.readOnly?"FieldDisabled":""}`)&&l(v,"class",I),y[0]&48&&R!==(R=e[5].birth.value)&&v.value!==R&&(v.value=R),y[0]&48&&K!==(K=(Er=e[5].birth)==null?void 0:Er.readOnly)&&(v.readOnly=K),y[0]&524288&&te!==(te=e[19]("firstName")+"")&&A(lt,te),y[0]&48&&en!==(en=`${(Sr=e[5].firstname)!=null&&Sr.readOnly?"FieldDisabled":""}`)&&l(ke,"class",en),y[0]&48&&rr!==(rr=e[5].firstname.value)&&ke.value!==rr&&(ke.value=rr),y[0]&48&&tn!==(tn=(Pr=e[5].firstname)==null?void 0:Pr.readOnly)&&(ke.readOnly=tn),y[0]&524288&&nn!==(nn=e[19]("lastName")+"")&&A(li,nn),y[0]&48&&on!==(on=`${(wr=e[5].lastname)!=null&&wr.readOnly?"FieldDisabled":""}`)&&l(Ne,"class",on),y[0]&48&&nr!==(nr=e[5].lastname.value)&&Ne.value!==nr&&(Ne.value=nr),y[0]&48&&an!==(an=(Ar=e[5].lastname)==null?void 0:Ar.readOnly)&&(Ne.readOnly=an),y[0]&524288&&ln!==(ln=e[19]("userTitle")+"")&&A(ui,ln),y[0]&48&&un!==(un=`${(xr=e[5].title)!=null&&xr.readOnly?"FieldDisabled":""}`)&&l(De,"class",un),y[0]&48&&ir!==(ir=e[5].title.value)&&De.value!==ir&&(De.value=ir),y[0]&48&&cn!==(cn=(kr=e[5].title)==null?void 0:kr.readOnly)&&(De.readOnly=cn),y[0]&524288&&dn!==(dn=e[19]("currency")+"")&&A(ci,dn),y[0]&48&&hn!==(hn=`${(Br=e[5].currency)!=null&&Br.readOnly?"FieldDisabled":""}`)&&l(Le,"class",hn),y[0]&48&&or!==(or=e[5].currency.value)&&Le.value!==or&&(Le.value=or),y[0]&48&&pn!==(pn=(Or=e[5].currency)==null?void 0:Or.readOnly)&&(Le.readOnly=pn),e[5].iban.value?me?me.p(e,y):(me=la(e),me.c(),me.m(C,null)):me&&(me.d(1),me=null),y[0]&524288&&bn!==(bn=e[19]("locationDetails")+"")&&A(di,bn),y[0]&524288&&vn!==(vn=e[19]("userCountry")+"")&&A(hi,vn),y[0]&48&&gn!==(gn=`PlayerCountry ${(Ir=e[5].country)!=null&&Ir.readOnly?"FieldDisabled":""}`)&&l(Be,"class",gn),y[0]&48&&ar!==(ar=e[5].country.countryName)&&Be.value!==ar&&(Be.value=ar),y[0]&48&&_n!==(_n=e[5].country.countryCode)&&l(Be,"placeholder",_n),y[0]&48&&Cn!==(Cn=(Hr=e[5].country)==null?void 0:Hr.readOnly)&&(Be.readOnly=Cn),y[0]&524288&&Sn!==(Sn=e[19]("userCity")+"")&&A(pi,Sn),y[0]&48&&Pn!==(Pn=`${(Tr=e[5].city)!=null&&Tr.readOnly?"FieldDisabled":""}`)&&l(ae,"class",Pn),y[0]&48&&wn!==(wn=(Mr=e[5].city)==null?void 0:Mr.readOnly)&&(ae.readOnly=wn),y[0]&48&&ae.value!==e[5].city.value&&q(ae,e[5].city.value),e[10]?be&&(be.d(1),be=null):be?be.p(e,y):(be=ua(e),be.c(),be.m(ze,null)),y[0]&1024&&An!==(An="PlayerInfoBox "+(e[10]?"":"InvalidField"))&&l(ze,"class",An),y[0]&524288&&kn!==(kn=e[19]("userAddress")+"")&&A(mi,kn),y[0]&48&&Bn!==(Bn=`${(Nr=e[5].address1)!=null&&Nr.readOnly?"FieldDisabled":""}`)&&l(se,"class",Bn),y[0]&48&&On!==(On=(Dr=e[5].address1)==null?void 0:Dr.readOnly)&&(se.readOnly=On),y[0]&48&&se.value!==e[5].address1.value&&q(se,e[5].address1.value),e[12]?ye&&(ye.d(1),ye=null):ye?ye.p(e,y):(ye=ca(e),ye.c(),ye.m($e,null)),y[0]&4096&&In!==(In="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&l($e,"class",In),y[0]&524288&&Tn!==(Tn=e[19]("userAddress2")+"")&&A(bi,Tn),y[0]&48&&Mn!==(Mn=`${(Lr=e[5].address2)!=null&&Lr.readOnly?"FieldDisabled":""}`)&&l(le,"class",Mn),y[0]&48&&Nn!==(Nn=(Rr=e[5].address2)==null?void 0:Rr.readOnly)&&(le.readOnly=Nn),y[0]&48&&le.value!==e[5].address2.value&&q(le,e[5].address2.value),e[13]?ve&&(ve.d(1),ve=null):ve?ve.p(e,y):(ve=fa(e),ve.c(),ve.m(Qe,null)),y[0]&8192&&Dn!==(Dn="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&l(Qe,"class",Dn),y[0]&524288&&Rn!==(Rn=e[19]("userPostalCode")+"")&&A(yi,Rn),y[0]&48&&jn!==(jn=`${(Lt=e[5].postalCode)!=null&&Lt.readOnly?"FieldDisabled":""}`)&&l(ue,"class",jn),y[0]&48&&Un!==(Un=(Eo=e[5].postalCode)==null?void 0:Eo.readOnly)&&(ue.readOnly=Un),y[0]&48&&ue.value!==e[5].postalCode.value&&q(ue,e[5].postalCode.value),e[11]?ge&&(ge.d(1),ge=null):ge?ge.p(e,y):(ge=da(e),ge.c(),ge.m(Ve,null)),y[0]&2048&&Fn!==(Fn="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&l(Ve,"class",Fn),e[1]==="true"?_e?_e.p(e,y):(_e=ha(e),_e.c(),_e.m(re,null)):_e&&(_e.d(1),_e=null),y[0]&32&&(vi=Object.keys(e[5].consents).length>0),vi?Ce?Ce.p(e,y):(Ce=pa(e),Ce.c(),Ce.m(r,gi)):Ce&&(Ce.d(1),Ce=null),y[0]&524288&&Gn!==(Gn=e[19]("userProfileSaveChanges")+"")&&A(_i,Gn),y[0]&768&&zn!==(zn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled"))&&l(Nt,"class",zn),y[0]&128&&$n!==($n="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":""))&&l(sr,"class",$n),e[18]?Ee?Ee.p(e,y):(Ee=ga(e),Ee.c(),Ee.m(r,null)):Ee&&(Ee.d(1),Ee=null),y[0]&128&&Qn!==(Qn="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))&&l(t,"class",Qn)},d(Se){Se&&H(t),ce&&ce.d(),Gt(ne,Se),fe&&fe.d(),de&&de.d(),he&&he.d(),pe&&pe.d(),me&&me.d(),be&&be.d(),ye&&ye.d(),ve&&ve.d(),ge&&ge.d(),_e&&_e.d(),Ce&&Ce.d(),Ee&&Ee.d(),Ci=!1,ft(Co)}}}function ra(e){let t,r,n,i,o,a,u,d,c,f,m=e[19]("titleProfileInfo")+"",b,_,C;return{c(){t=p("div"),r=Rt("svg"),n=Rt("defs"),i=Rt("style"),o=P(`.aaa {
18
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function Qi(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var si=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=Gi(a),d=u.next();!d.done;d=u.next()){var c=d.value;c.remove(this)}}catch(S){t={error:S}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(nt(f))try{f()}catch(S){o=S instanceof Oi?S.errors:[S]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var b=Gi(m),_=b.next();!_.done;_=b.next()){var C=_.value;try{Qo(C)}catch(S){o=o!=null?o:[],S instanceof Oi?o=$i($i([],zi(o)),zi(S.errors)):o.push(S)}}}catch(S){n={error:S}}finally{try{_&&!_.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}}if(o)throw new Oi(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Qo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Qi(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Qi(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ja=si.EMPTY;function Ya(e){return e instanceof si||e&&"closed"in e&&nt(e.remove)&&nt(e.add)&&nt(e.unsubscribe)}function Qo(e){nt(e)?e():e.unsubscribe()}var Su={Promise:void 0},Pu={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,$i([e,t],zi(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function wu(e){Pu.setTimeout(function(){throw e})}function Vo(){}function Jn(e){e()}var Ka=function(e){Vr(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Ya(r)&&r.add(n)):n.destination=ku,n}return t.create=function(r,n,i){return new Vi(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(si),Au=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Wn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Wn(n)}else Wn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Wn(r)}},e}(),Vi=function(e){Vr(t,e);function t(r,n,i){var o=e.call(this)||this,a;return nt(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new Au(a),o}return t}(Ka);function Wn(e){wu(e)}function xu(e){throw e}var ku={closed:!0,next:Vo,error:xu,complete:Vo},Bu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ou(e){return e}function Iu(e){return e.length===0?Ou:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Wo=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=Tu(t)?t:new Vi(t,r,n);return Jn(function(){var a=i,u=a.operator,d=a.source;o.add(u?u.call(o,d):d?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Xo(r),new r(function(i,o){var a=new Vi({next:function(u){try{t(u)}catch(d){o(d),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Bu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Iu(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Xo(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Xo(e){var t;return(t=e!=null?e:Su.Promise)!==null&&t!==void 0?t:Promise}function Hu(e){return e&&nt(e.next)&&nt(e.error)&&nt(e.complete)}function Tu(e){return e&&e instanceof Ka||Hu(e)&&Ya(e)}var Mu=Za(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),es=function(e){Vr(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new qo(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Mu},t.prototype.next=function(r){var n=this;Jn(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=Gi(n.currentObservers),u=a.next();!u.done;u=a.next()){var d=u.value;d.next(r)}}catch(c){i={error:c}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Jn(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Jn(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,a=i.isStopped,u=i.observers;return o||a?Ja:(this.currentObservers=null,u.push(r),new si(function(){n.currentObservers=null,Qi(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new Wo;return r.source=this,r},t.create=function(r,n){return new qo(r,n)},t}(Wo),qo=function(e){Vr(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Ja},t}(es),ts={now:function(){return(ts.delegate||Date).now()},delegate:void 0},Nu=function(e){Vr(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=ts);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,a=n._infiniteTimeWindow,u=n._timestampProvider,d=n._windowTime;i||(o.push(r),!a&&o.push(u.now()+d)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,a=i._buffer,u=a.slice(),d=0;d<u.length&&!r.closed;d+=o?1:2)r.next(u[d]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,u=(a?1:2)*n;if(n<1/0&&u<o.length&&o.splice(0,o.length-u),!a){for(var d=i.now(),c=0,f=1;f<o.length&&o[f]<=d;f+=2)c=f;c&&o.splice(0,c+1)}},t}(es);const Zo=[],Jo={},Du=(e,t=0)=>{if(Zo.indexOf(e)==-1){const r=new Nu(t);Jo[e]=r,Zo.push(e)}return Jo[e]};window.emWidgets={topic:Du};const Lu=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function Ru(e){cs(e,"svelte-1vp20x9",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px}.PlayerInfoWrapper .PlayerFadeInWarapper{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw--color-gray-300, #58586b);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:10px;line-height:16px;background:var(--emw--color-white, #ffffff);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px)}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox.InvalidField input,.PlayerInfoBox.InvalidPrefix select{border:1px solid var(--emw--color-error, var(--emw--color-red, #fd2839));background:var(--emw--color-pale, #fbecf4);color:var(--emw--color-error, var(--emw--color-red, #fd2839))}.PlayerInfoBox .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #ffffff);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield;appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.LocationDetailsDescription{grid-column:span 2}.PlayerNotificationBox{margin-top:5px;margin-bottom:5px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw--color-gray-100, #e6e6e6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw--color-white, #ffffff);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerNotificationBox.Parent span{font-weight:var(--emw--font-weight-bold, 700)}.PlayerNotificationBox.Child{margin-left:20px}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, black 20%), var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0e5924);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{display:flex;gap:50px;padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw--color-gray-50, #f9f8f8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw--button-typography, var(--emw--color-white, #ffffff))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:var(--emw--color-gray-300, #58586b)}.PlayerDetailsConfirmSave{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}.skeletonContainer{max-width:unset;container-type:inline-size}.skeletonContainer .skeletonWrapper{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonContainer .skeletonWrapper .skeletonHeaderText{width:200px;margin:25px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{width:150px;margin:16px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{display:grid;grid-column-gap:50px;grid-row-gap:23px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:25px;margin-top:15px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer{display:flex;flex-direction:column}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skletonInputText{width:70px;margin:0px 0px 11px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skeletonInputField{border-radius:var(--emw--border-radius-medium, 10px);overflow:hidden}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:30px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputCircle{margin:5px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputText{width:150px}.skeletonContainer .skeletonWrapper .skeletonButton{width:400px;border-radius:var(--emw--button-border-radius, 10px);overflow:hidden;margin-top:10px}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{padding:20px 15px;width:auto;max-width:unset;border-radius:0px}.skeletonContainer .skeletonWrapper .skeletonHeaderText{margin:10px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{margin-top:31px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{grid-template-columns:1fr;margin-top:13px;grid-row-gap:18px}.skeletonContainer .skeletonWrapper .skeletonButton{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`)}function Yo(e,t,r){const n=e.slice();return n[81]=t[r],n[82]=t,n[83]=r,n}function Ko(e,t,r){const n=e.slice();return n[84]=t[r],n[85]=t,n[86]=r,n}function ea(e,t,r){const n=e.slice();return n[87]=t[r],n}function ju(e,t,r){const n=e.slice();return n[90]=t[r],n[92]=r,n}function Uu(e,t,r){const n=e.slice();return n[90]=t[r],n[92]=r,n}function Fu(e,t,r){const n=e.slice();return n[90]=t[r],n[92]=r,n}function Gu(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputText"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:Pe,d(r){r&&H(t)}}}function zu(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputField"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:Pe,d(r){r&&H(t)}}}function $u(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputCircle"><ui-skeleton structure="circle" size="20px" height="10px"></ui-skeleton></div> <div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:Pe,d(r){r&&H(t)}}}function ta(e){let t,r,n,i,o=e[19]("titleProfileInfo")+"",a,u,d,c,f,m=e[19]("personalDetails")+"",b,_,C,S,O,k=e[19]("userName")+"",D,w,M,Q,z,we,Ae,X,ee,$=e[19]("userPhone")+"",h,L,U,Z,Ne,qe,it,W,Ze,Je,dt,Ye,je,ht,oe,Ue,pt=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"",Fe,Ge,yt,Wr,J,vt,gt,Xr,_t,qr,Ie,ot,Ke=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"",Ct,Yt,Et,Kt,Y,St,Pt,Zr,wt,Jr,at,et,At=e[19]("userEmail")+"",er,Yr,xe,xt,mt,kt,Kr,st,Bt,Ot=e[19]("dateOfBirth")+"",tr,g,v,I,R,K,V,N,tt,te=e[19]("firstName")+"",lt,ut,ke,en,rr,tn,qi,It,rn,nn=e[19]("lastName")+"",li,Zi,De,on,nr,an,Ji,Ht,sn,ln=e[19]("userTitle")+"",ui,Yi,Le,un,ir,cn,Ki,Tt,fn,dn=e[19]("currency")+"",ci,eo,Re,hn,or,pn,to,ro,mn,fi,bn=e[19]("locationDetails")+"",di,no,re,Mt,yn,vn=e[19]("userCountry")+"",hi,io,Be,gn,ar,_n,Cn,oo,ze,En,Sn=e[19]("userCity")+"",pi,ao,ae,Pn,wn,so,An,lo,$e,xn,kn=e[19]("userAddress")+"",mi,uo,se,Bn,On,co,In,fo,Qe,Hn,Tn=e[19]("userAddress2")+"",bi,ho,le,Mn,Nn,po,Dn,mo,Ve,Ln,Rn=e[19]("userPostalCode")+"",yi,bo,ue,jn,Un,yo,Fn,vo,go,vi=Object.keys(e[5].consents).length>0,gi,sr,Nt,Gn=e[19]("userProfileSaveChanges")+"",_i,zn,$n,_o,Qn,Ci,Co,ce=e[7]&&ra(e),Dt=rt(e[4]),ne=[];for(let Se=0;Se<Dt.length;Se+=1)ne[Se]=na(ea(e,Dt,Se));let fe=!e[16]&&ia(e),de=!e[17]&&oa(e),he=!e[14]&&aa(e),pe=!e[15]&&sa(e),me=e[5].iban.value&&la(e),be=!e[10]&&ua(e),ye=!e[12]&&ca(e),ve=!e[13]&&fa(e),ge=!e[11]&&da(e),_e=e[1]==="true"&&ha(e),Ce=vi&&pa(e),Ee=e[18]&&ga(e);return{c(){var Se,y,We,lr,ur,cr,fr,dr,hr,pr,mr,br,yr,vr,gr,_r,Cr,Er,Sr,Pr,wr,Ar,xr,kr,Br,Or,Ir,Hr,Tr,Mr,Nr,Dr,Lr,Rr;t=p("form"),r=p("div"),ce&&ce.c(),n=E(),i=p("h2"),a=P(o),d=E(),c=p("div"),f=p("h3"),b=P(m),_=E(),C=p("section"),S=p("div"),O=p("label"),D=P(k),w=E(),M=p("input"),Ae=E(),X=p("div"),ee=p("label"),h=P($),L=E(),U=p("div"),Z=p("select");for(let Lt=0;Lt<ne.length;Lt+=1)ne[Lt].c();it=E(),W=p("input"),dt=E(),fe&&fe.c(),Ye=E(),de&&de.c(),ht=E(),oe=p("div"),Ue=p("label"),Fe=P(pt),Ge=P(":"),yt=p("span"),yt.textContent="*",Wr=E(),J=p("input"),Xr=E(),he&&he.c(),qr=E(),Ie=p("div"),ot=p("label"),Ct=P(Ke),Yt=P(":"),Et=p("span"),Et.textContent="*",Kt=E(),Y=p("input"),Zr=E(),pe&&pe.c(),Jr=E(),at=p("div"),et=p("label"),er=P(At),Yr=E(),xe=p("input"),Kr=E(),st=p("div"),Bt=p("label"),tr=P(Ot),g=E(),v=p("input"),V=E(),N=p("div"),tt=p("label"),lt=P(te),ut=E(),ke=p("input"),qi=E(),It=p("div"),rn=p("label"),li=P(nn),Zi=E(),De=p("input"),Ji=E(),Ht=p("div"),sn=p("label"),ui=P(ln),Yi=E(),Le=p("input"),Ki=E(),Tt=p("div"),fn=p("label"),ci=P(dn),eo=E(),Re=p("input"),to=E(),me&&me.c(),ro=E(),mn=p("div"),fi=p("h3"),di=P(bn),no=E(),re=p("section"),Mt=p("div"),yn=p("label"),hi=P(vn),io=E(),Be=p("input"),oo=E(),ze=p("div"),En=p("label"),pi=P(Sn),ao=E(),ae=p("input"),so=E(),be&&be.c(),lo=E(),$e=p("div"),xn=p("label"),mi=P(kn),uo=E(),se=p("input"),co=E(),ye&&ye.c(),fo=E(),Qe=p("div"),Hn=p("label"),bi=P(Tn),ho=E(),le=p("input"),po=E(),ve&&ve.c(),mo=E(),Ve=p("div"),Ln=p("label"),yi=P(Rn),bo=E(),ue=p("input"),yo=E(),ge&&ge.c(),vo=E(),_e&&_e.c(),go=E(),Ce&&Ce.c(),gi=E(),sr=p("section"),Nt=p("button"),_i=P(Gn),_o=E(),Ee&&Ee.c(),l(i,"class",u="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":"")),l(c,"class","PlayerNotificationsHeader"),l(M,"type","text"),l(M,"class",Q=`${(Se=e[5].username)!=null&&Se.readOnly?"FieldDisabled":""}`),M.value=z=(We=(y=e[5].username)==null?void 0:y.value)!=null?We:"",M.readOnly=we=(lr=e[5].username)==null?void 0:lr.readOnly,l(S,"class","PlayerInfoBox"),l(Z,"class",Ne=`${(ur=e[5].mobile)!=null&&ur.readOnly?"FieldDisabled":""}`),Z.disabled=qe=(cr=e[5].mobile)==null?void 0:cr.readOnly,e[5].mobile.prefix===void 0&&Yn(()=>e[39].call(Z)),l(W,"type","text"),l(W,"class",Ze=`${(fr=e[5].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`),l(W,"placeholder",e[20].mobile.number),W.readOnly=Je=(dr=e[5].mobile)==null?void 0:dr.readOnly,l(U,"class","PlayerPhoneNumber"),l(X,"class",je="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix")),l(yt,"class","FormRequired"),l(Ue,"for","SecurityQuestion"),l(J,"id","SecurityQuestion"),l(J,"type","text"),l(J,"class",vt=`${(hr=e[5].securityQuestion)!=null&&hr.readOnly?"FieldDisabled":""}`),l(J,"placeholder",e[20].securityQuestion),J.readOnly=gt=(pr=e[5].securityQuestion)==null?void 0:pr.readOnly,l(oe,"class",_t="PlayerInfoBox "+(e[14]?"":"InvalidField")),l(Et,"class","FormRequired"),l(ot,"for","SecurityAnswer"),l(Y,"id","SecurityAnswer"),l(Y,"type","text"),l(Y,"class",St=`${(mr=e[5].securityAnswer)!=null&&mr.readOnly?"FieldDisabled":""}`),l(Y,"placeholder",e[20].securityAnswer),Y.readOnly=Pt=(br=e[5].securityAnswer)==null?void 0:br.readOnly,l(Ie,"class",wt="PlayerInfoBox "+(e[15]?"":"InvalidField")),l(et,"for","UserEmail"),l(xe,"id","UserEmail"),l(xe,"type","email"),l(xe,"class",xt=`${(yr=e[5].email)!=null&&yr.readOnly?"FieldDisabled":""}`),xe.value=mt=e[5].email.value,xe.readOnly=kt=(vr=e[5].email)==null?void 0:vr.readOnly,l(at,"class","PlayerInfoBox"),l(Bt,"for","DateOfBirth"),l(v,"id","DateOfBirth"),l(v,"type","text"),l(v,"class",I=`${(gr=e[5].birth)!=null&&gr.readOnly?"FieldDisabled":""}`),v.value=R=e[5].birth.value,v.readOnly=K=(_r=e[5].birth)==null?void 0:_r.readOnly,l(st,"class","PlayerInfoBox"),l(tt,"for","FirstName"),l(ke,"id","FirstName"),l(ke,"type","text"),l(ke,"class",en=`${(Cr=e[5].firstname)!=null&&Cr.readOnly?"FieldDisabled":""}`),ke.value=rr=e[5].firstname.value,ke.readOnly=tn=(Er=e[5].firstname)==null?void 0:Er.readOnly,l(N,"class","PlayerInfoBox"),l(rn,"for","LastName"),l(De,"id","LastName"),l(De,"type","text"),l(De,"class",on=`${(Sr=e[5].lastname)!=null&&Sr.readOnly?"FieldDisabled":""}`),De.value=nr=e[5].lastname.value,De.readOnly=an=(Pr=e[5].lastname)==null?void 0:Pr.readOnly,l(It,"class","PlayerInfoBox"),l(sn,"for","UserTitle"),l(Le,"id","UserTitle"),l(Le,"type","text"),l(Le,"class",un=`${(wr=e[5].title)!=null&&wr.readOnly?"FieldDisabled":""}`),Le.value=ir=e[5].title.value,Le.readOnly=cn=(Ar=e[5].title)==null?void 0:Ar.readOnly,l(Ht,"class","PlayerInfoBox"),l(fn,"for","Currrency"),l(Re,"id","Currency"),l(Re,"type","text"),l(Re,"class",hn=`${(xr=e[5].currency)!=null&&xr.readOnly?"FieldDisabled":""}`),Re.value=or=e[5].currency.value,Re.readOnly=pn=(kr=e[5].currency)==null?void 0:kr.readOnly,l(Tt,"class","PlayerInfoBox"),l(C,"class","PlayerDetailsContent"),l(mn,"class","PlayerLocationHeader"),l(yn,"for","UserCountry"),l(Be,"id","UserCountry"),l(Be,"type","text"),l(Be,"class",gn=`PlayerCountry ${(Br=e[5].country)!=null&&Br.readOnly?"FieldDisabled":""}`),Be.value=ar=e[5].country.countryName,l(Be,"placeholder",_n=e[5].country.countryCode),Be.readOnly=Cn=(Or=e[5].country)==null?void 0:Or.readOnly,l(Mt,"class","PlayerInfoBox"),l(En,"for","UserCity"),l(ae,"id","UserCity"),l(ae,"type","text"),l(ae,"class",Pn=`${(Ir=e[5].city)!=null&&Ir.readOnly?"FieldDisabled":""}`),l(ae,"placeholder",e[20].city),ae.readOnly=wn=(Hr=e[5].city)==null?void 0:Hr.readOnly,l(ze,"class",An="PlayerInfoBox "+(e[10]?"":"InvalidField")),l(xn,"for","UserAddress"),l(se,"id","UserAddress"),l(se,"type","text"),l(se,"class",Bn=`${(Tr=e[5].address1)!=null&&Tr.readOnly?"FieldDisabled":""}`),l(se,"placeholder",e[20].address1),se.readOnly=On=(Mr=e[5].address1)==null?void 0:Mr.readOnly,l($e,"class",In="PlayerInfoBox "+(e[12]?"":"InvalidField")),l(Hn,"for","UserAddress"),l(le,"id","UserAddress2"),l(le,"type","text"),l(le,"class",Mn=`${(Nr=e[5].address2)!=null&&Nr.readOnly?"FieldDisabled":""}`),l(le,"placeholder",e[20].address2),le.readOnly=Nn=(Dr=e[5].address2)==null?void 0:Dr.readOnly,l(Qe,"class",Dn="PlayerInfoBox "+(e[13]?"":"InvalidField")),l(Ln,"for","UserPostalCode"),l(ue,"id","UserPostalCode"),l(ue,"type","text"),l(ue,"class",jn=`${(Lr=e[5].postalCode)!=null&&Lr.readOnly?"FieldDisabled":""}`),l(ue,"placeholder",e[20].postalCode),ue.readOnly=Un=(Rr=e[5].postalCode)==null?void 0:Rr.readOnly,l(Ve,"class",Fn="PlayerInfoBox "+(e[11]?"":"InvalidField")),l(re,"class","PlayerLocationContent"),l(Nt,"class",zn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled")),l(sr,"class",$n="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":"")),l(r,"class","PlayerFadeInWarapper"),l(t,"class",Qn="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))},m(Se,y){T(Se,t,y),s(t,r),ce&&ce.m(r,null),s(r,n),s(r,i),s(i,a),s(r,d),s(r,c),s(c,f),s(f,b),s(r,_),s(r,C),s(C,S),s(S,O),s(O,D),s(S,w),s(S,M),s(C,Ae),s(C,X),s(X,ee),s(ee,h),s(X,L),s(X,U),s(U,Z);for(let We=0;We<ne.length;We+=1)ne[We]&&ne[We].m(Z,null);ko(Z,e[5].mobile.prefix,!0),s(U,it),s(U,W),q(W,e[5].mobile.number),s(X,dt),fe&&fe.m(X,null),s(X,Ye),de&&de.m(X,null),s(C,ht),s(C,oe),s(oe,Ue),s(Ue,Fe),s(Ue,Ge),s(Ue,yt),s(oe,Wr),s(oe,J),q(J,e[5].securityQuestion.value),s(oe,Xr),he&&he.m(oe,null),s(C,qr),s(C,Ie),s(Ie,ot),s(ot,Ct),s(ot,Yt),s(ot,Et),s(Ie,Kt),s(Ie,Y),q(Y,e[5].securityAnswer.value),s(Ie,Zr),pe&&pe.m(Ie,null),s(C,Jr),s(C,at),s(at,et),s(et,er),s(at,Yr),s(at,xe),s(C,Kr),s(C,st),s(st,Bt),s(Bt,tr),s(st,g),s(st,v),s(C,V),s(C,N),s(N,tt),s(tt,lt),s(N,ut),s(N,ke),s(C,qi),s(C,It),s(It,rn),s(rn,li),s(It,Zi),s(It,De),s(C,Ji),s(C,Ht),s(Ht,sn),s(sn,ui),s(Ht,Yi),s(Ht,Le),s(C,Ki),s(C,Tt),s(Tt,fn),s(fn,ci),s(Tt,eo),s(Tt,Re),s(C,to),me&&me.m(C,null),s(r,ro),s(r,mn),s(mn,fi),s(fi,di),s(r,no),s(r,re),s(re,Mt),s(Mt,yn),s(yn,hi),s(Mt,io),s(Mt,Be),s(re,oo),s(re,ze),s(ze,En),s(En,pi),s(ze,ao),s(ze,ae),q(ae,e[5].city.value),s(ze,so),be&&be.m(ze,null),s(re,lo),s(re,$e),s($e,xn),s(xn,mi),s($e,uo),s($e,se),q(se,e[5].address1.value),s($e,co),ye&&ye.m($e,null),s(re,fo),s(re,Qe),s(Qe,Hn),s(Hn,bi),s(Qe,ho),s(Qe,le),q(le,e[5].address2.value),s(Qe,po),ve&&ve.m(Qe,null),s(re,mo),s(re,Ve),s(Ve,Ln),s(Ln,yi),s(Ve,bo),s(Ve,ue),q(ue,e[5].postalCode.value),s(Ve,yo),ge&&ge.m(Ve,null),s(re,vo),_e&&_e.m(re,null),s(r,go),Ce&&Ce.m(r,null),s(r,gi),s(r,sr),s(sr,Nt),s(Nt,_i),s(r,_o),Ee&&Ee.m(r,null),Ci||(Co=[F(Z,"change",e[39]),F(Z,"change",e[21]("mobilePrefix")),F(W,"input",e[40]),F(W,"keyup",e[21]("mobileNumber")),F(W,"input",function(){Xt(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),F(J,"input",e[41]),F(J,"keyup",e[21]("securityQuestion")),F(Y,"input",e[42]),F(Y,"keyup",e[21]("securityAnswer")),F(ae,"input",e[43]),F(ae,"keyup",e[21]("city")),F(se,"input",e[44]),F(se,"keyup",e[21]("address")),F(le,"input",e[45]),F(le,"keyup",e[21]("address")),F(ue,"input",e[46]),F(ue,"keyup",e[21]("postalCode")),F(Nt,"click",e[22])],Ci=!0)},p(Se,y){var We,lr,ur,cr,fr,dr,hr,pr,mr,br,yr,vr,gr,_r,Cr,Er,Sr,Pr,wr,Ar,xr,kr,Br,Or,Ir,Hr,Tr,Mr,Nr,Dr,Lr,Rr,Lt,Eo;if(e=Se,e[7]?ce?ce.p(e,y):(ce=ra(e),ce.c(),ce.m(r,n)):ce&&(ce.d(1),ce=null),y[0]&524288&&o!==(o=e[19]("titleProfileInfo")+"")&&A(a,o),y[0]&128&&u!==(u="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":""))&&l(i,"class",u),y[0]&524288&&m!==(m=e[19]("personalDetails")+"")&&A(b,m),y[0]&524288&&k!==(k=e[19]("userName")+"")&&A(D,k),y[0]&48&&Q!==(Q=`${(We=e[5].username)!=null&&We.readOnly?"FieldDisabled":""}`)&&l(M,"class",Q),y[0]&48&&z!==(z=(ur=(lr=e[5].username)==null?void 0:lr.value)!=null?ur:"")&&M.value!==z&&(M.value=z),y[0]&48&&we!==(we=(cr=e[5].username)==null?void 0:cr.readOnly)&&(M.readOnly=we),y[0]&524288&&$!==($=e[19]("userPhone")+"")&&A(h,$),y[0]&48){Dt=rt(e[4]);let He;for(He=0;He<Dt.length;He+=1){const So=ea(e,Dt,He);ne[He]?ne[He].p(So,y):(ne[He]=na(So),ne[He].c(),ne[He].m(Z,null))}for(;He<ne.length;He+=1)ne[He].d(1);ne.length=Dt.length}y[0]&48&&Ne!==(Ne=`${(fr=e[5].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`)&&l(Z,"class",Ne),y[0]&48&&qe!==(qe=(dr=e[5].mobile)==null?void 0:dr.readOnly)&&(Z.disabled=qe),y[0]&48&&ko(Z,e[5].mobile.prefix),y[0]&48&&Ze!==(Ze=`${(hr=e[5].mobile)!=null&&hr.readOnly?"FieldDisabled":""}`)&&l(W,"class",Ze),y[0]&48&&Je!==(Je=(pr=e[5].mobile)==null?void 0:pr.readOnly)&&(W.readOnly=Je),y[0]&48&&W.value!==e[5].mobile.number&&q(W,e[5].mobile.number),e[16]?fe&&(fe.d(1),fe=null):fe?fe.p(e,y):(fe=ia(e),fe.c(),fe.m(X,Ye)),e[17]?de&&(de.d(1),de=null):de?de.p(e,y):(de=oa(e),de.c(),de.m(X,null)),y[0]&196608&&je!==(je="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix"))&&l(X,"class",je),y[0]&524289&&pt!==(pt=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"")&&A(Fe,pt),y[0]&48&&vt!==(vt=`${(mr=e[5].securityQuestion)!=null&&mr.readOnly?"FieldDisabled":""}`)&&l(J,"class",vt),y[0]&48&&gt!==(gt=(br=e[5].securityQuestion)==null?void 0:br.readOnly)&&(J.readOnly=gt),y[0]&48&&J.value!==e[5].securityQuestion.value&&q(J,e[5].securityQuestion.value),e[14]?he&&(he.d(1),he=null):he?he.p(e,y):(he=aa(e),he.c(),he.m(oe,null)),y[0]&16384&&_t!==(_t="PlayerInfoBox "+(e[14]?"":"InvalidField"))&&l(oe,"class",_t),y[0]&524289&&Ke!==(Ke=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"")&&A(Ct,Ke),y[0]&48&&St!==(St=`${(yr=e[5].securityAnswer)!=null&&yr.readOnly?"FieldDisabled":""}`)&&l(Y,"class",St),y[0]&48&&Pt!==(Pt=(vr=e[5].securityAnswer)==null?void 0:vr.readOnly)&&(Y.readOnly=Pt),y[0]&48&&Y.value!==e[5].securityAnswer.value&&q(Y,e[5].securityAnswer.value),e[15]?pe&&(pe.d(1),pe=null):pe?pe.p(e,y):(pe=sa(e),pe.c(),pe.m(Ie,null)),y[0]&32768&&wt!==(wt="PlayerInfoBox "+(e[15]?"":"InvalidField"))&&l(Ie,"class",wt),y[0]&524288&&At!==(At=e[19]("userEmail")+"")&&A(er,At),y[0]&48&&xt!==(xt=`${(gr=e[5].email)!=null&&gr.readOnly?"FieldDisabled":""}`)&&l(xe,"class",xt),y[0]&48&&mt!==(mt=e[5].email.value)&&xe.value!==mt&&(xe.value=mt),y[0]&48&&kt!==(kt=(_r=e[5].email)==null?void 0:_r.readOnly)&&(xe.readOnly=kt),y[0]&524288&&Ot!==(Ot=e[19]("dateOfBirth")+"")&&A(tr,Ot),y[0]&48&&I!==(I=`${(Cr=e[5].birth)!=null&&Cr.readOnly?"FieldDisabled":""}`)&&l(v,"class",I),y[0]&48&&R!==(R=e[5].birth.value)&&v.value!==R&&(v.value=R),y[0]&48&&K!==(K=(Er=e[5].birth)==null?void 0:Er.readOnly)&&(v.readOnly=K),y[0]&524288&&te!==(te=e[19]("firstName")+"")&&A(lt,te),y[0]&48&&en!==(en=`${(Sr=e[5].firstname)!=null&&Sr.readOnly?"FieldDisabled":""}`)&&l(ke,"class",en),y[0]&48&&rr!==(rr=e[5].firstname.value)&&ke.value!==rr&&(ke.value=rr),y[0]&48&&tn!==(tn=(Pr=e[5].firstname)==null?void 0:Pr.readOnly)&&(ke.readOnly=tn),y[0]&524288&&nn!==(nn=e[19]("lastName")+"")&&A(li,nn),y[0]&48&&on!==(on=`${(wr=e[5].lastname)!=null&&wr.readOnly?"FieldDisabled":""}`)&&l(De,"class",on),y[0]&48&&nr!==(nr=e[5].lastname.value)&&De.value!==nr&&(De.value=nr),y[0]&48&&an!==(an=(Ar=e[5].lastname)==null?void 0:Ar.readOnly)&&(De.readOnly=an),y[0]&524288&&ln!==(ln=e[19]("userTitle")+"")&&A(ui,ln),y[0]&48&&un!==(un=`${(xr=e[5].title)!=null&&xr.readOnly?"FieldDisabled":""}`)&&l(Le,"class",un),y[0]&48&&ir!==(ir=e[5].title.value)&&Le.value!==ir&&(Le.value=ir),y[0]&48&&cn!==(cn=(kr=e[5].title)==null?void 0:kr.readOnly)&&(Le.readOnly=cn),y[0]&524288&&dn!==(dn=e[19]("currency")+"")&&A(ci,dn),y[0]&48&&hn!==(hn=`${(Br=e[5].currency)!=null&&Br.readOnly?"FieldDisabled":""}`)&&l(Re,"class",hn),y[0]&48&&or!==(or=e[5].currency.value)&&Re.value!==or&&(Re.value=or),y[0]&48&&pn!==(pn=(Or=e[5].currency)==null?void 0:Or.readOnly)&&(Re.readOnly=pn),e[5].iban.value?me?me.p(e,y):(me=la(e),me.c(),me.m(C,null)):me&&(me.d(1),me=null),y[0]&524288&&bn!==(bn=e[19]("locationDetails")+"")&&A(di,bn),y[0]&524288&&vn!==(vn=e[19]("userCountry")+"")&&A(hi,vn),y[0]&48&&gn!==(gn=`PlayerCountry ${(Ir=e[5].country)!=null&&Ir.readOnly?"FieldDisabled":""}`)&&l(Be,"class",gn),y[0]&48&&ar!==(ar=e[5].country.countryName)&&Be.value!==ar&&(Be.value=ar),y[0]&48&&_n!==(_n=e[5].country.countryCode)&&l(Be,"placeholder",_n),y[0]&48&&Cn!==(Cn=(Hr=e[5].country)==null?void 0:Hr.readOnly)&&(Be.readOnly=Cn),y[0]&524288&&Sn!==(Sn=e[19]("userCity")+"")&&A(pi,Sn),y[0]&48&&Pn!==(Pn=`${(Tr=e[5].city)!=null&&Tr.readOnly?"FieldDisabled":""}`)&&l(ae,"class",Pn),y[0]&48&&wn!==(wn=(Mr=e[5].city)==null?void 0:Mr.readOnly)&&(ae.readOnly=wn),y[0]&48&&ae.value!==e[5].city.value&&q(ae,e[5].city.value),e[10]?be&&(be.d(1),be=null):be?be.p(e,y):(be=ua(e),be.c(),be.m(ze,null)),y[0]&1024&&An!==(An="PlayerInfoBox "+(e[10]?"":"InvalidField"))&&l(ze,"class",An),y[0]&524288&&kn!==(kn=e[19]("userAddress")+"")&&A(mi,kn),y[0]&48&&Bn!==(Bn=`${(Nr=e[5].address1)!=null&&Nr.readOnly?"FieldDisabled":""}`)&&l(se,"class",Bn),y[0]&48&&On!==(On=(Dr=e[5].address1)==null?void 0:Dr.readOnly)&&(se.readOnly=On),y[0]&48&&se.value!==e[5].address1.value&&q(se,e[5].address1.value),e[12]?ye&&(ye.d(1),ye=null):ye?ye.p(e,y):(ye=ca(e),ye.c(),ye.m($e,null)),y[0]&4096&&In!==(In="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&l($e,"class",In),y[0]&524288&&Tn!==(Tn=e[19]("userAddress2")+"")&&A(bi,Tn),y[0]&48&&Mn!==(Mn=`${(Lr=e[5].address2)!=null&&Lr.readOnly?"FieldDisabled":""}`)&&l(le,"class",Mn),y[0]&48&&Nn!==(Nn=(Rr=e[5].address2)==null?void 0:Rr.readOnly)&&(le.readOnly=Nn),y[0]&48&&le.value!==e[5].address2.value&&q(le,e[5].address2.value),e[13]?ve&&(ve.d(1),ve=null):ve?ve.p(e,y):(ve=fa(e),ve.c(),ve.m(Qe,null)),y[0]&8192&&Dn!==(Dn="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&l(Qe,"class",Dn),y[0]&524288&&Rn!==(Rn=e[19]("userPostalCode")+"")&&A(yi,Rn),y[0]&48&&jn!==(jn=`${(Lt=e[5].postalCode)!=null&&Lt.readOnly?"FieldDisabled":""}`)&&l(ue,"class",jn),y[0]&48&&Un!==(Un=(Eo=e[5].postalCode)==null?void 0:Eo.readOnly)&&(ue.readOnly=Un),y[0]&48&&ue.value!==e[5].postalCode.value&&q(ue,e[5].postalCode.value),e[11]?ge&&(ge.d(1),ge=null):ge?ge.p(e,y):(ge=da(e),ge.c(),ge.m(Ve,null)),y[0]&2048&&Fn!==(Fn="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&l(Ve,"class",Fn),e[1]==="true"?_e?_e.p(e,y):(_e=ha(e),_e.c(),_e.m(re,null)):_e&&(_e.d(1),_e=null),y[0]&32&&(vi=Object.keys(e[5].consents).length>0),vi?Ce?Ce.p(e,y):(Ce=pa(e),Ce.c(),Ce.m(r,gi)):Ce&&(Ce.d(1),Ce=null),y[0]&524288&&Gn!==(Gn=e[19]("userProfileSaveChanges")+"")&&A(_i,Gn),y[0]&768&&zn!==(zn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled"))&&l(Nt,"class",zn),y[0]&128&&$n!==($n="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":""))&&l(sr,"class",$n),e[18]?Ee?Ee.p(e,y):(Ee=ga(e),Ee.c(),Ee.m(r,null)):Ee&&(Ee.d(1),Ee=null),y[0]&128&&Qn!==(Qn="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))&&l(t,"class",Qn)},d(Se){Se&&H(t),ce&&ce.d(),Gt(ne,Se),fe&&fe.d(),de&&de.d(),he&&he.d(),pe&&pe.d(),me&&me.d(),be&&be.d(),ye&&ye.d(),ve&&ve.d(),ge&&ge.d(),_e&&_e.d(),Ce&&Ce.d(),Ee&&Ee.d(),Ci=!1,ft(Co)}}}function ra(e){let t,r,n,i,o,a,u,d,c,f,m=e[19]("titleProfileInfo")+"",b,_,C;return{c(){t=p("div"),r=Rt("svg"),n=Rt("defs"),i=Rt("style"),o=P(`.aaa {
19
19
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
20
20
  }
21
- `),a=Rt("g"),u=Rt("g"),d=Rt("path"),c=E(),f=p("h2"),b=P(m),l(d,"class","aaa"),l(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(d,"transform","translate(15 15) rotate(180)"),l(u,"transform","translate(20 158)"),l(a,"transform","translate(-20 -158)"),l(r,"xmlns","http://www.w3.org/2000/svg"),l(r,"width","15"),l(r,"height","15"),l(r,"viewBox","0 0 15 15"),l(f,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(S,O){T(S,t,O),s(t,r),s(r,n),s(n,i),s(i,o),s(r,a),s(a,u),s(u,d),s(t,c),s(t,f),s(f,b),_||(C=[F(t,"click",e[23]),F(t,"keyup",null)],_=!0)},p(S,O){O[0]&524288&&m!==(m=S[19]("titleProfileInfo")+"")&&A(b,m)},d(S){S&&H(t),_=!1,ft(C)}}}function Qu(e){let t,r=e[87].Prefix+"",n,i;return{c(){t=p("option"),n=P(r),t.__value=i=e[87].Prefix,q(t,t.__value)},m(o,a){T(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[87].Prefix+"")&&A(n,r),a[0]&16&&i!==(i=o[87].Prefix)&&(t.__value=i,q(t,t.__value))},d(o){o&&H(t)}}}function Vu(e){let t,r=e[87].Prefix+"",n,i;return{c(){t=p("option"),n=P(r),t.selected=!0,t.__value=i=e[87].Prefix,q(t,t.__value)},m(o,a){T(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[87].Prefix+"")&&A(n,r),a[0]&16&&i!==(i=o[87].Prefix)&&(t.__value=i,q(t,t.__value))},d(o){o&&H(t)}}}function na(e){let t;function r(o,a){return o[87].Prefix===o[5].mobile.prefix?Vu:Qu}let n=r(e),i=n(e);return{c(){i.c(),t=Pa()},m(o,a){i.m(o,a),T(o,t,a)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&H(t),i.d(o)}}}function ia(e){let t,r=e[19]("userPhoneError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPhoneError")+"")&&A(n,r)},d(i){i&&H(t)}}}function oa(e){let t,r=e[19]("userPrefixError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPrefixError")+"")&&A(n,r)},d(i){i&&H(t)}}}function aa(e){let t,r=(e[0]=="true"?e[19]("profileSecurityQuestionError2"):e[19]("profileSecurityQuestionError"))+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityQuestionError2"):i[19]("profileSecurityQuestionError"))+"")&&A(n,r)},d(i){i&&H(t)}}}function sa(e){let t,r=(e[0]=="true"?e[19]("profileSecurityAnswerError2"):e[19]("profileSecurityAnswerError"))+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityAnswerError2"):i[19]("profileSecurityAnswerError"))+"")&&A(n,r)},d(i){i&&H(t)}}}function la(e){let t,r,n=e[19]("iban")+"",i,o,a,u,d,c;return{c(){var f,m;t=p("div"),r=p("label"),i=P(n),o=E(),a=p("input"),l(r,"for","Iban"),l(a,"id","Iban"),l(a,"type","text"),l(a,"class",u=`${(f=e[5].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=d=e[5].iban.value,a.readOnly=c=(m=e[5].iban)==null?void 0:m.readOnly,l(t,"class","PlayerInfoBox")},m(f,m){T(f,t,m),s(t,r),s(r,i),s(t,o),s(t,a)},p(f,m){var b,_;m[0]&524288&&n!==(n=f[19]("iban")+"")&&A(i,n),m[0]&48&&u!==(u=`${(b=f[5].iban)!=null&&b.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),m[0]&48&&d!==(d=f[5].iban.value)&&a.value!==d&&(a.value=d),m[0]&48&&c!==(c=(_=f[5].iban)==null?void 0:_.readOnly)&&(a.readOnly=c)},d(f){f&&H(t)}}}function ua(e){let t,r=e[19]("userCityError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userCityError")+"")&&A(n,r)},d(i){i&&H(t)}}}function ca(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&A(n,r)},d(i){i&&H(t)}}}function fa(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&A(n,r)},d(i){i&&H(t)}}}function da(e){let t,r=e[19]("userPostalCodeError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPostalCodeError")+"")&&A(n,r)},d(i){i&&H(t)}}}function ha(e){let t,r=e[19]("locationDetailsDescription")+"",n;return{c(){t=p("div"),n=P(r),l(t,"class","LocationDetailsDescription")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("locationDetailsDescription")+"")&&A(n,r)},d(i){i&&H(t)}}}function pa(e){var c;let t,r,n=e[19]("userNotifications")+"",i,o,a,u=rt(Object.keys((c=e[5].consents)!=null?c:{})),d=[];for(let f=0;f<u.length;f+=1)d[f]=va(Yo(e,u,f));return{c(){t=p("div"),r=p("h3"),i=P(n),o=E(),a=p("section");for(let f=0;f<d.length;f+=1)d[f].c();l(t,"class","PlayerNotificationsHeader"),l(a,"class","PlayerNotificationsCheckboxArea")},m(f,m){T(f,t,m),s(t,r),s(r,i),T(f,o,m),T(f,a,m);for(let b=0;b<d.length;b+=1)d[b]&&d[b].m(a,null)},p(f,m){var b;if(m[0]&524288&&n!==(n=f[19]("userNotifications")+"")&&A(i,n),m[0]&50856032){u=rt(Object.keys((b=f[5].consents)!=null?b:{}));let _;for(_=0;_<u.length;_+=1){const C=Yo(f,u,_);d[_]?d[_].p(C,m):(d[_]=va(C),d[_].c(),d[_].m(a,null))}for(;_<d.length;_+=1)d[_].d(1);d.length=u.length}},d(f){f&&(H(t),H(o),H(a)),Gt(d,f)}}}function ma(e){var d;let t,r=Object.keys((d=e[5].consents)!=null?d:{}).length>1,n,i,o=r&&ba(e),a=rt(e[5].consents[e[81]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=ya(Ko(e,a,c));return{c(){t=p("div"),o&&o.c(),n=E();for(let c=0;c<u.length;c+=1)u[c].c();i=E(),l(t,"class","ConsentGroup")},m(c,f){T(c,t,f),o&&o.m(t,null),s(t,n);for(let m=0;m<u.length;m+=1)u[m]&&u[m].m(t,null);s(t,i)},p(c,f){var m;if(f[0]&32&&(r=Object.keys((m=c[5].consents)!=null?m:{}).length>1),r?o?o.p(c,f):(o=ba(c),o.c(),o.m(t,n)):o&&(o.d(1),o=null),f[0]&34078816){a=rt(c[5].consents[c[81]]);let b;for(b=0;b<a.length;b+=1){const _=Ko(c,a,b);u[b]?u[b].p(_,f):(u[b]=ya(_),u[b].c(),u[b].m(t,i))}for(;b<u.length;b+=1)u[b].d(1);u.length=a.length}},d(c){c&&H(t),o&&o.d(),Gt(u,c)}}}function ba(e){let t,r,n,i,o=e[81],a,u,d,c,f=e[19](`consentCategoryHeader${e[81]}`)+"",m,b,_;const C=()=>e[47](n,o),S=()=>e[47](null,o);return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),u=p("span"),d=E(),c=p("span"),m=P(f),n.checked=i=e[5].consents[e[81]].every(_a),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(O,k){T(O,t,k),s(t,r),s(r,n),C(),s(r,a),s(r,u),s(r,d),s(r,c),s(c,m),b||(_=F(n,"change",function(){Xt(e[24](e[81]))&&e[24](e[81]).apply(this,arguments)}),b=!0)},p(O,k){e=O,k[0]&48&&i!==(i=e[5].consents[e[81]].every(_a))&&(n.checked=i),o!==e[81]&&(S(),o=e[81],C()),k[0]&524320&&f!==(f=e[19](`consentCategoryHeader${e[81]}`)+"")&&A(m,f)},d(O){O&&H(t),S(),b=!1,_()}}}function ya(e){let t,r,n,i=e[81],o=e[84],a,u,d,c,f=e[19](`${e[84].tagCode}Consent`)+"",m,b,_,C;const S=()=>e[48](n,i,o),O=()=>e[48](null,i,o);function k(){e[49].call(n,e[85],e[86])}return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),u=p("span"),d=E(),c=p("span"),m=P(f),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",b="PlayerNotificationBox "+(Object.keys(e[5].consents).length>1?"Child":""))},m(D,w){T(D,t,w),s(t,r),s(r,n),S(),n.checked=e[84].status,s(r,a),s(r,u),s(r,d),s(r,c),s(c,m),_||(C=[F(n,"change",k),F(n,"change",function(){Xt(e[25](e[81]))&&e[25](e[81]).apply(this,arguments)})],_=!0)},p(D,w){e=D,(i!==e[81]||o!==e[84])&&(O(),i=e[81],o=e[84],S()),w[0]&48&&(n.checked=e[84].status),w[0]&524320&&f!==(f=e[19](`${e[84].tagCode}Consent`)+"")&&A(m,f),w[0]&48&&b!==(b="PlayerNotificationBox "+(Object.keys(e[5].consents).length>1?"Child":""))&&l(t,"class",b)},d(D){D&&H(t),O(),_=!1,ft(C)}}}function va(e){var n;let t,r=((n=e[5].consents[e[81]])==null?void 0:n.length)>0&&ma(e);return{c(){r&&r.c(),t=Pa()},m(i,o){r&&r.m(i,o),T(i,t,o)},p(i,o){var a;((a=i[5].consents[i[81]])==null?void 0:a.length)>0?r?r.p(i,o):(r=ma(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(i){i&&H(t),r&&r.d(i)}}}function ga(e){let t,r,n=e[19]("userProfileConfirmationMessage")+"",i;return{c(){t=p("section"),r=p("p"),i=P(n),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){T(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&524288&&n!==(n=o[19]("userProfileConfirmationMessage")+"")&&A(i,n)},d(o){o&&H(t)}}}function Wu(e){let t,r,n,i,o,a,u,d,c,f,m,b,_,C,S,O,k,D,w,M,Q=rt({length:10}),z=[];for(let h=0;h<Q.length;h+=1)z[h]=Gu(Fu(e,Q,h));let we=rt({length:4}),Ae=[];for(let h=0;h<we.length;h+=1)Ae[h]=zu(Uu(e,we,h));let X=rt({length:4}),ee=[];for(let h=0;h<X.length;h+=1)ee[h]=$u(ju(e,X,h));let $=!e[3]&&ta(e);return{c(){t=p("div"),r=p("div"),n=p("div"),n.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',i=E(),o=p("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=E(),u=p("div");for(let h=0;h<z.length;h+=1)z[h].c();d=E(),c=p("div"),c.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=E(),m=p("div");for(let h=0;h<Ae.length;h+=1)Ae[h].c();b=E(),_=p("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',C=E(),S=p("div");for(let h=0;h<ee.length;h+=1)ee[h].c();O=E(),k=p("div"),k.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',w=E(),M=p("div"),$&&$.c(),l(n,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(c,"class","skeletonSectionText"),l(m,"class","skeletonSectionContainer"),l(_,"class","skeletonSectionText"),l(S,"class","skeletonConsentsContainer"),l(k,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",D="skeletonContainer "+(e[3]?"":"Hidden"))},m(h,L){T(h,t,L),s(t,r),s(r,n),s(r,i),s(r,o),s(r,a),s(r,u);for(let U=0;U<z.length;U+=1)z[U]&&z[U].m(u,null);s(r,d),s(r,c),s(r,f),s(r,m);for(let U=0;U<Ae.length;U+=1)Ae[U]&&Ae[U].m(m,null);s(r,b),s(r,_),s(r,C),s(r,S);for(let U=0;U<ee.length;U+=1)ee[U]&&ee[U].m(S,null);s(r,O),s(r,k),T(h,w,L),T(h,M,L),$&&$.m(M,null),e[50](M)},p(h,L){L[0]&8&&D!==(D="skeletonContainer "+(h[3]?"":"Hidden"))&&l(t,"class",D),h[3]?$&&($.d(1),$=null):$?$.p(h,L):($=ta(h),$.c(),$.m(M,null))},i:Pe,o:Pe,d(h){h&&(H(t),H(w),H(M)),Gt(z,h),Gt(Ae,h),Gt(ee,h),$&&$.d(),e[50](null)}}}const _a=e=>e.status;function Xu(e,t,r){let n;us(e,vu,g=>r(19,n=g));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:d}=t,{clientstylingurl:c}=t,{mbsource:f}=t,{translationurl:m}=t,{custominputtextswitch:b="false"}=t,{showlocationdetailsdescription:_="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,S,O=!0,k=[],D=[],w={},M=[],Q=[],z=[],we,Ae,X=window.navigator.userAgent,ee="";const $={address1:"i.e.: Glanmire Rd.",address2:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},h={},L={},U=["Marketing","Casino","Sports","Bingo"];let Z=!1,Re=!1,qe=!1,it=!0,W=!0,Ze=!0,Je=!0,dt=!0,Ye=!0,je=!0,ht=!0,oe=!0,Ue=!1;const pt={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};window.matchMedia("(min-width: 768px)");const Fe=g=>{try{return JSON.stringify(g)}catch(v){return null}},Ge=g=>Me(this,null,function*(){try{const v=new URL(g,a),R={method:"GET",headers:new Headers({"X-SessionID":o})},K=yield fetch(v.href,R);if(!K.ok)throw new Error(`HTTP error! Status: ${K.status}`);return yield K.json()}catch(v){throw console.error("Fetch error:",v),v}});function yt(){return Me(this,null,function*(){r(36,w=yield Ge(`/v1/player/${i}/profile`))})}function Wr(){return Me(this,null,function*(){r(37,M=(yield Ge(`/v1/player/${i}/consent`)).items)})}function J(){return Me(this,null,function*(){r(38,Q=(yield Ge("/v1/player/consentRequirements")).items)})}function vt(){return Me(this,null,function*(){r(35,D=(yield Ge("/v1/player/countries")).countries)})}const gt=()=>{Object.keys(w).forEach(v=>{var I,R,K,V,N,tt;switch(r(5,h[v]={},h),v){case"birth":const te=((I=w[v])==null?void 0:I.day)||"",lt=((R=w[v])==null?void 0:R.month)||"",ut=((K=w[v])==null?void 0:K.year)||"";r(5,h[v].value=`${te}/${lt}/${ut}`,h);break;case"country":r(5,h[v].countryName=((V=D.find(ke=>ke.Alpha2Code===w.country))==null?void 0:V.Name)||"I.E. Ireland",h),r(5,h[v].countryCode=w.country||"",h);break;case"mobile":r(5,h[v].prefix=(N=w.mobile)==null?void 0:N.prefix,h),r(5,h[v].number=(tt=w.mobile)==null?void 0:tt.number,h);break;default:r(5,h[v].value=w[v],h)}r(5,h[v].readOnly=z.includes(v),h)}),r(5,h.consents={},h),Q.forEach(v=>{if(U.includes(v.category)&&!v.mustAccept){const I=M.find(R=>R.tagCode===v.tagCode);r(5,h.consents[v.category]=h.consents[v.category]||[],h),I?h.consents[v.category].push({tagCode:I.tagCode,status:I.status==="Accepted"}):h.consents[v.category].push({tagCode:v.tagCode,status:!1})}});const g=h.consents;for(const[v,I]of Object.entries(g))L[v]||(r(6,L[v]={},L),r(6,L[v].parent=null,L),I.forEach(R=>r(6,L[v][R.tagCode]=null,L)));Ae=Fe(h),we=Fe(h.consents),r(3,O=!1)},Xr=g=>g.split(","),_t=()=>{fetch(`${a}/v1/player/phonecodes`).then(g=>g.json()).then(g=>{r(4,k=g.phoneCodes)})},qr=()=>{r(9,it=!1),Ye&&je&&W&&Je&&dt&&Ze&&ht&&oe&&r(9,it=!0)},Ie=()=>{r(8,Re=Fe(h)!==Ae)},ot=()=>{qe=Fe(h.consents)!==we},Ke=g=>()=>{switch(g){case"mobilePrefix":r(17,oe=!!h.mobile.prefix);break;case"mobileNumber":r(16,ht=!1),h.mobile.number&&h.mobile.number.length>=5&&h.mobile.number.length<=12&&r(16,ht=!0);break;case"city":r(10,W=!1),h.city.value&&h.city.value.length<=50&&r(10,W=!0);break;case"postalCode":r(11,Ze=!1),h.postalCode.value&&h.postalCode.value.length<=20&&r(11,Ze=!0);break;case"address":r(12,Je=!1),h.address1.value&&h.address1.value.length<=100&&r(12,Je=!0);break;case"address2":r(13,dt=!1),h.address2.value&&h.address2.value.length<=100&&r(13,dt=!0);break;case"securityQuestion":if(r(14,Ye=!1),h.securityQuestion.value)switch(b){case"true":pt.document.test(h.securityQuestion.value)&&h.securityQuestion.value.length<=50&&r(14,Ye=!0);break;case"false":h.securityQuestion.value&&h.securityQuestion.value.length<=120&&r(14,Ye=!0);break}break;case"securityAnswer":if(r(15,je=!1),h.securityAnswer.value)switch(b){case"true":pt.document.test(h.securityAnswer.value)&&h.securityAnswer.value.length<=50&&r(15,je=!0);break;case"false":h.securityAnswer.value&&h.securityAnswer.value.length<=120&&r(15,je=!0);break}break;case"consents":ot();break}Ie(),qr()},Ct=()=>{r(18,Ue=!0),setTimeout(()=>{r(18,Ue=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},Yt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:ee}},window.location.href)},Et=g=>Me(this,null,function*(){if(g.preventDefault(),Re&&!qe&&it){Kt().then(v=>Me(this,null,function*(){v?(r(36,w=yield Ge(`/v1/player/${i}/profile`)),Ct()):Yt()}));return}if(Re&&qe&&it){Promise.all([Kt(),St()]).then(v=>Me(this,null,function*(){v[0]&&v[1]?(r(37,M=(yield Ge(`/v1/player/${i}/consent`)).items),r(36,w=yield Ge(`/v1/player/${i}/profile`)),r(8,Re=!1),qe=!1,Ct()):Yt()}));return}}),Kt=()=>Me(this,null,function*(){const g=new URL(`/v1/player/${i}/profile`,a),v=new Headers;v.append("X-SessionID",o),v.append("Content-Type","application/json"),v.append("Accept","application/json");const I=Object.entries(h).reduce((V,[N,tt])=>{var lt;const te=tt;if(!te.readOnly)if(N==="mobile"||N==="phone")V[N]={prefix:te.prefix,number:te.number};else if(N==="consents")V[N]=te;else if(N==="country")V[N]=te.countryCode;else if(N==="birth"&&typeof te.value=="string"){const ut=te.value.split("/");V[N]={year:ut[2],month:ut[1],day:ut[0]}}else V[N]=(lt=te.value)!=null?lt:null;return V},{}),R=Fe(I);if(R===null)return!1;const K={method:"POST",headers:v,body:R};try{const V=yield fetch(g.href,K);if(V.status===200)return!0;const N=yield V.json();return Y(N),!1}catch(V){return console.error(V),!1}}),Y=g=>{var I;const v=(I=g.thirdPartyResponse)==null?void 0:I.message;v&&v.includes("Mandatory input parameter is missing: mobilePrefix")?(ee=n("userPrefixError"),Ke("mobilePrefix")()):ee=n("userProfileUpdateError")},St=()=>Me(this,null,function*(){const g=[],v=h.consents;for(let N of Object.values(v).flat())g.push({tagCode:N.tagCode,status:N.status?"Accepted":"Denied"});const I=new URL(`/v1/player/${i}/consent`,a),R=new Headers;R.append("X-SessionID",o),R.append("Content-Type","application/json"),R.append("Accept","application/json");const K=Fe({items:g});if(K===null)return!1;const V={method:"POST",headers:R,body:K};return yield fetch(I.href,V).then(N=>N.status==200,N=>(console.error(N),!1))}),Pt=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:Z},window.location.href)},Zr=()=>{gu(u)},wt=()=>{fetch(m).then(v=>v.json()).then(v=>{Object.keys(v).forEach(I=>{zo(I,v[I])})}).catch(v=>{console.log(v)})};Object.keys($o).forEach(g=>{zo(g,$o[g])});const Jr=g=>v=>{h.consents[g].forEach(I=>{I.status=v.target.checked,Object.values(L[g]).forEach(R=>{R&&(R.checked=I.status)})}),Ke("consents")()},at=g=>v=>{L[g].parent&&r(6,L[g].parent.checked=h.consents[g].every(I=>I.status),L),Ke("consents")()},et=g=>Array.isArray(g)?g.length>0:Object.keys(g).length>0;ys(()=>(Lu(X)&&r(7,Z=!0),()=>{}));function At(){h.mobile.prefix=ps(this),r(5,h),r(4,k)}function er(){h.mobile.number=this.value,r(5,h),r(4,k)}function Yr(){h.securityQuestion.value=this.value,r(5,h),r(4,k)}function xe(){h.securityAnswer.value=this.value,r(5,h),r(4,k)}function xt(){h.city.value=this.value,r(5,h),r(4,k)}function mt(){h.address1.value=this.value,r(5,h),r(4,k)}function kt(){h.address2.value=this.value,r(5,h),r(4,k)}function Kr(){h.postalCode.value=this.value,r(5,h),r(4,k)}function st(g,v){Fr[g?"unshift":"push"](()=>{L[v].parent=g,r(6,L)})}function Bt(g,v,I){Fr[g?"unshift":"push"](()=>{L[v][I.tagCode]=g,r(6,L)})}function Ot(g,v){g[v].status=this.checked,r(5,h),r(4,k)}function tr(g){Fr[g?"unshift":"push"](()=>{S=g,r(2,S)})}return e.$$set=g=>{"userid"in g&&r(26,i=g.userid),"sessionid"in g&&r(27,o=g.sessionid),"endpoint"in g&&r(28,a=g.endpoint),"lang"in g&&r(29,u=g.lang),"clientstyling"in g&&r(30,d=g.clientstyling),"clientstylingurl"in g&&r(31,c=g.clientstylingurl),"mbsource"in g&&r(32,f=g.mbsource),"translationurl"in g&&r(33,m=g.translationurl),"custominputtextswitch"in g&&r(0,b=g.custominputtextswitch),"showlocationdetailsdescription"in g&&r(1,_=g.showlocationdetailsdescription),"disabledfields"in g&&r(34,C=g.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&469762048&&a&&i&&o&&yt()&&Wr()&&J(),e.$$.dirty[0]&268435456&&a&&vt()&&_t(),e.$$.dirty[1]&240&&et(w)&&et(M)&&et(Q)&&et(D)&&gt(),e.$$.dirty[0]&536870912&&u&&Zr(),e.$$.dirty[1]&8&&C&&(z=Xr(C)),e.$$.dirty[0]&1073741828&&d&&S&&_u(S,d),e.$$.dirty[0]&4|e.$$.dirty[1]&1&&c&&S&&Cu(S,c),e.$$.dirty[0]&4|e.$$.dirty[1]&2&&f&&S&&Eu(S,`${f}.Style`),e.$$.dirty[1]&4&&m&&wt()},[b,_,S,O,k,h,L,Z,Re,it,W,Ze,Je,dt,Ye,je,ht,oe,Ue,n,$,Ke,Et,Pt,Jr,at,i,o,a,u,d,c,f,m,C,D,w,M,Q,At,er,Yr,xe,xt,mt,kt,Kr,st,Bt,Ot,tr]}class rs extends Bs{constructor(t){super(),xs(this,t,Xu,Wu,Ea,{userid:26,sessionid:27,endpoint:28,lang:29,clientstyling:30,clientstylingurl:31,mbsource:32,translationurl:33,custominputtextswitch:0,showlocationdetailsdescription:1,disabledfields:34},Ru,[-1,-1,-1,-1])}get userid(){return this.$$.ctx[26]}set userid(t){this.$$set({userid:t}),Oe()}get sessionid(){return this.$$.ctx[27]}set sessionid(t){this.$$set({sessionid:t}),Oe()}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),Oe()}get lang(){return this.$$.ctx[29]}set lang(t){this.$$set({lang:t}),Oe()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(t){this.$$set({clientstyling:t}),Oe()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Oe()}get mbsource(){return this.$$.ctx[32]}set mbsource(t){this.$$set({mbsource:t}),Oe()}get translationurl(){return this.$$.ctx[33]}set translationurl(t){this.$$set({translationurl:t}),Oe()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Oe()}get showlocationdetailsdescription(){return this.$$.ctx[1]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Oe()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(t){this.$$set({disabledfields:t}),Oe()}}ks(rs,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=rs;
21
+ `),a=Rt("g"),u=Rt("g"),d=Rt("path"),c=E(),f=p("h2"),b=P(m),l(d,"class","aaa"),l(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(d,"transform","translate(15 15) rotate(180)"),l(u,"transform","translate(20 158)"),l(a,"transform","translate(-20 -158)"),l(r,"xmlns","http://www.w3.org/2000/svg"),l(r,"width","15"),l(r,"height","15"),l(r,"viewBox","0 0 15 15"),l(f,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(S,O){T(S,t,O),s(t,r),s(r,n),s(n,i),s(i,o),s(r,a),s(a,u),s(u,d),s(t,c),s(t,f),s(f,b),_||(C=[F(t,"click",e[23]),F(t,"keyup",null)],_=!0)},p(S,O){O[0]&524288&&m!==(m=S[19]("titleProfileInfo")+"")&&A(b,m)},d(S){S&&H(t),_=!1,ft(C)}}}function Qu(e){let t,r=e[87].Prefix+"",n,i;return{c(){t=p("option"),n=P(r),t.__value=i=e[87].Prefix,q(t,t.__value)},m(o,a){T(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[87].Prefix+"")&&A(n,r),a[0]&16&&i!==(i=o[87].Prefix)&&(t.__value=i,q(t,t.__value))},d(o){o&&H(t)}}}function Vu(e){let t,r=e[87].Prefix+"",n,i;return{c(){t=p("option"),n=P(r),t.selected=!0,t.__value=i=e[87].Prefix,q(t,t.__value)},m(o,a){T(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[87].Prefix+"")&&A(n,r),a[0]&16&&i!==(i=o[87].Prefix)&&(t.__value=i,q(t,t.__value))},d(o){o&&H(t)}}}function na(e){let t;function r(o,a){return o[87].Prefix===o[5].mobile.prefix?Vu:Qu}let n=r(e),i=n(e);return{c(){i.c(),t=Pa()},m(o,a){i.m(o,a),T(o,t,a)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&H(t),i.d(o)}}}function ia(e){let t,r=e[19]("userPhoneError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPhoneError")+"")&&A(n,r)},d(i){i&&H(t)}}}function oa(e){let t,r=e[19]("userPrefixError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPrefixError")+"")&&A(n,r)},d(i){i&&H(t)}}}function aa(e){let t,r=(e[0]=="true"?e[19]("profileSecurityQuestionError2"):e[19]("profileSecurityQuestionError"))+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityQuestionError2"):i[19]("profileSecurityQuestionError"))+"")&&A(n,r)},d(i){i&&H(t)}}}function sa(e){let t,r=(e[0]=="true"?e[19]("profileSecurityAnswerError2"):e[19]("profileSecurityAnswerError"))+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityAnswerError2"):i[19]("profileSecurityAnswerError"))+"")&&A(n,r)},d(i){i&&H(t)}}}function la(e){let t,r,n=e[19]("iban")+"",i,o,a,u,d,c;return{c(){var f,m;t=p("div"),r=p("label"),i=P(n),o=E(),a=p("input"),l(r,"for","Iban"),l(a,"id","Iban"),l(a,"type","text"),l(a,"class",u=`${(f=e[5].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=d=e[5].iban.value,a.readOnly=c=(m=e[5].iban)==null?void 0:m.readOnly,l(t,"class","PlayerInfoBox")},m(f,m){T(f,t,m),s(t,r),s(r,i),s(t,o),s(t,a)},p(f,m){var b,_;m[0]&524288&&n!==(n=f[19]("iban")+"")&&A(i,n),m[0]&48&&u!==(u=`${(b=f[5].iban)!=null&&b.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),m[0]&48&&d!==(d=f[5].iban.value)&&a.value!==d&&(a.value=d),m[0]&48&&c!==(c=(_=f[5].iban)==null?void 0:_.readOnly)&&(a.readOnly=c)},d(f){f&&H(t)}}}function ua(e){let t,r=e[19]("userCityError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userCityError")+"")&&A(n,r)},d(i){i&&H(t)}}}function ca(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&A(n,r)},d(i){i&&H(t)}}}function fa(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&A(n,r)},d(i){i&&H(t)}}}function da(e){let t,r=e[19]("userPostalCodeError")+"",n;return{c(){t=p("p"),n=P(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPostalCodeError")+"")&&A(n,r)},d(i){i&&H(t)}}}function ha(e){let t,r=e[19]("locationDetailsDescription")+"",n;return{c(){t=p("div"),n=P(r),l(t,"class","LocationDetailsDescription")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("locationDetailsDescription")+"")&&A(n,r)},d(i){i&&H(t)}}}function pa(e){var c;let t,r,n=e[19]("userNotifications")+"",i,o,a,u=rt(Object.keys((c=e[5].consents)!=null?c:{})),d=[];for(let f=0;f<u.length;f+=1)d[f]=va(Yo(e,u,f));return{c(){t=p("div"),r=p("h3"),i=P(n),o=E(),a=p("section");for(let f=0;f<d.length;f+=1)d[f].c();l(t,"class","PlayerNotificationsHeader"),l(a,"class","PlayerNotificationsCheckboxArea")},m(f,m){T(f,t,m),s(t,r),s(r,i),T(f,o,m),T(f,a,m);for(let b=0;b<d.length;b+=1)d[b]&&d[b].m(a,null)},p(f,m){var b;if(m[0]&524288&&n!==(n=f[19]("userNotifications")+"")&&A(i,n),m[0]&50856032){u=rt(Object.keys((b=f[5].consents)!=null?b:{}));let _;for(_=0;_<u.length;_+=1){const C=Yo(f,u,_);d[_]?d[_].p(C,m):(d[_]=va(C),d[_].c(),d[_].m(a,null))}for(;_<d.length;_+=1)d[_].d(1);d.length=u.length}},d(f){f&&(H(t),H(o),H(a)),Gt(d,f)}}}function ma(e){var d;let t,r=Object.keys((d=e[5].consents)!=null?d:{}).length>1,n,i,o=r&&ba(e),a=rt(e[5].consents[e[81]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=ya(Ko(e,a,c));return{c(){t=p("div"),o&&o.c(),n=E();for(let c=0;c<u.length;c+=1)u[c].c();i=E(),l(t,"class","ConsentGroup")},m(c,f){T(c,t,f),o&&o.m(t,null),s(t,n);for(let m=0;m<u.length;m+=1)u[m]&&u[m].m(t,null);s(t,i)},p(c,f){var m;if(f[0]&32&&(r=Object.keys((m=c[5].consents)!=null?m:{}).length>1),r?o?o.p(c,f):(o=ba(c),o.c(),o.m(t,n)):o&&(o.d(1),o=null),f[0]&34078816){a=rt(c[5].consents[c[81]]);let b;for(b=0;b<a.length;b+=1){const _=Ko(c,a,b);u[b]?u[b].p(_,f):(u[b]=ya(_),u[b].c(),u[b].m(t,i))}for(;b<u.length;b+=1)u[b].d(1);u.length=a.length}},d(c){c&&H(t),o&&o.d(),Gt(u,c)}}}function ba(e){let t,r,n,i,o=e[81],a,u,d,c,f=e[19](`consentCategoryHeader${e[81]}`)+"",m,b,_;const C=()=>e[47](n,o),S=()=>e[47](null,o);return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),u=p("span"),d=E(),c=p("span"),m=P(f),n.checked=i=e[5].consents[e[81]].every(_a),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(O,k){T(O,t,k),s(t,r),s(r,n),C(),s(r,a),s(r,u),s(r,d),s(r,c),s(c,m),b||(_=F(n,"change",function(){Xt(e[24](e[81]))&&e[24](e[81]).apply(this,arguments)}),b=!0)},p(O,k){e=O,k[0]&48&&i!==(i=e[5].consents[e[81]].every(_a))&&(n.checked=i),o!==e[81]&&(S(),o=e[81],C()),k[0]&524320&&f!==(f=e[19](`consentCategoryHeader${e[81]}`)+"")&&A(m,f)},d(O){O&&H(t),S(),b=!1,_()}}}function ya(e){let t,r,n,i=e[81],o=e[84],a,u,d,c,f=e[19](`${e[84].tagCode}Consent`)+"",m,b,_,C;const S=()=>e[48](n,i,o),O=()=>e[48](null,i,o);function k(){e[49].call(n,e[85],e[86])}return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),u=p("span"),d=E(),c=p("span"),m=P(f),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",b="PlayerNotificationBox "+(Object.keys(e[5].consents).length>1?"Child":""))},m(D,w){T(D,t,w),s(t,r),s(r,n),S(),n.checked=e[84].status,s(r,a),s(r,u),s(r,d),s(r,c),s(c,m),_||(C=[F(n,"change",k),F(n,"change",function(){Xt(e[25](e[81]))&&e[25](e[81]).apply(this,arguments)})],_=!0)},p(D,w){e=D,(i!==e[81]||o!==e[84])&&(O(),i=e[81],o=e[84],S()),w[0]&48&&(n.checked=e[84].status),w[0]&524320&&f!==(f=e[19](`${e[84].tagCode}Consent`)+"")&&A(m,f),w[0]&48&&b!==(b="PlayerNotificationBox "+(Object.keys(e[5].consents).length>1?"Child":""))&&l(t,"class",b)},d(D){D&&H(t),O(),_=!1,ft(C)}}}function va(e){var n;let t,r=((n=e[5].consents[e[81]])==null?void 0:n.length)>0&&ma(e);return{c(){r&&r.c(),t=Pa()},m(i,o){r&&r.m(i,o),T(i,t,o)},p(i,o){var a;((a=i[5].consents[i[81]])==null?void 0:a.length)>0?r?r.p(i,o):(r=ma(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(i){i&&H(t),r&&r.d(i)}}}function ga(e){let t,r,n=e[19]("userProfileConfirmationMessage")+"",i;return{c(){t=p("section"),r=p("p"),i=P(n),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){T(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&524288&&n!==(n=o[19]("userProfileConfirmationMessage")+"")&&A(i,n)},d(o){o&&H(t)}}}function Wu(e){let t,r,n,i,o,a,u,d,c,f,m,b,_,C,S,O,k,D,w,M,Q=rt({length:10}),z=[];for(let h=0;h<Q.length;h+=1)z[h]=Gu(Fu(e,Q,h));let we=rt({length:4}),Ae=[];for(let h=0;h<we.length;h+=1)Ae[h]=zu(Uu(e,we,h));let X=rt({length:4}),ee=[];for(let h=0;h<X.length;h+=1)ee[h]=$u(ju(e,X,h));let $=!e[3]&&ta(e);return{c(){t=p("div"),r=p("div"),n=p("div"),n.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',i=E(),o=p("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=E(),u=p("div");for(let h=0;h<z.length;h+=1)z[h].c();d=E(),c=p("div"),c.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=E(),m=p("div");for(let h=0;h<Ae.length;h+=1)Ae[h].c();b=E(),_=p("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',C=E(),S=p("div");for(let h=0;h<ee.length;h+=1)ee[h].c();O=E(),k=p("div"),k.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',w=E(),M=p("div"),$&&$.c(),l(n,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(c,"class","skeletonSectionText"),l(m,"class","skeletonSectionContainer"),l(_,"class","skeletonSectionText"),l(S,"class","skeletonConsentsContainer"),l(k,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",D="skeletonContainer "+(e[3]?"":"Hidden"))},m(h,L){T(h,t,L),s(t,r),s(r,n),s(r,i),s(r,o),s(r,a),s(r,u);for(let U=0;U<z.length;U+=1)z[U]&&z[U].m(u,null);s(r,d),s(r,c),s(r,f),s(r,m);for(let U=0;U<Ae.length;U+=1)Ae[U]&&Ae[U].m(m,null);s(r,b),s(r,_),s(r,C),s(r,S);for(let U=0;U<ee.length;U+=1)ee[U]&&ee[U].m(S,null);s(r,O),s(r,k),T(h,w,L),T(h,M,L),$&&$.m(M,null),e[50](M)},p(h,L){L[0]&8&&D!==(D="skeletonContainer "+(h[3]?"":"Hidden"))&&l(t,"class",D),h[3]?$&&($.d(1),$=null):$?$.p(h,L):($=ta(h),$.c(),$.m(M,null))},i:Pe,o:Pe,d(h){h&&(H(t),H(w),H(M)),Gt(z,h),Gt(Ae,h),Gt(ee,h),$&&$.d(),e[50](null)}}}const _a=e=>e.status;function Xu(e,t,r){let n;us(e,vu,g=>r(19,n=g));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:d}=t,{clientstylingurl:c}=t,{mbsource:f}=t,{translationurl:m}=t,{custominputtextswitch:b="false"}=t,{showlocationdetailsdescription:_="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,S,O=!0,k=[],D=[],w={},M=[],Q=[],z=[],we,Ae,X=window.navigator.userAgent,ee="";const $={address1:"i.e.: Glanmire Rd.",address2:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},h={},L={},U=["Marketing","Casino","Sports","Bingo"];let Z=!1,Ne=!1,qe=!1,it=!0,W=!0,Ze=!0,Je=!0,dt=!0,Ye=!0,je=!0,ht=!0,oe=!0,Ue=!1;const pt={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};window.matchMedia("(min-width: 768px)");const Fe=g=>{try{return JSON.stringify(g)}catch(v){return null}},Ge=g=>Me(this,null,function*(){try{const v=new URL(g,a),R={method:"GET",headers:new Headers({"X-SessionID":o})},K=yield fetch(v.href,R);if(!K.ok)throw new Error(`HTTP error! Status: ${K.status}`);return yield K.json()}catch(v){throw console.error("Fetch error:",v),v}});function yt(){return Me(this,null,function*(){r(36,w=yield Ge(`/v1/player/${i}/profile`))})}function Wr(){return Me(this,null,function*(){r(37,M=(yield Ge(`/v1/player/${i}/consent`)).items)})}function J(){return Me(this,null,function*(){r(38,Q=(yield Ge("/v1/player/consentRequirements")).items)})}function vt(){return Me(this,null,function*(){r(35,D=(yield Ge("/v1/player/countries")).countries)})}const gt=()=>{Object.keys(w).forEach(v=>{var I,R,K,V,N,tt;switch(r(5,h[v]={},h),v){case"birth":const te=((I=w[v])==null?void 0:I.day)||"",lt=((R=w[v])==null?void 0:R.month)||"",ut=((K=w[v])==null?void 0:K.year)||"";r(5,h[v].value=`${te}/${lt}/${ut}`,h);break;case"country":r(5,h[v].countryName=((V=D.find(ke=>ke.Alpha2Code===w.country))==null?void 0:V.Name)||"I.E. Ireland",h),r(5,h[v].countryCode=w.country||"",h);break;case"mobile":r(5,h[v].prefix=(N=w.mobile)==null?void 0:N.prefix,h),r(5,h[v].number=(tt=w.mobile)==null?void 0:tt.number,h);break;default:r(5,h[v].value=w[v],h)}r(5,h[v].readOnly=z.includes(v),h)}),r(5,h.consents={},h),Q.forEach(v=>{if(U.includes(v.category)&&!v.mustAccept){const I=M.find(R=>R.tagCode===v.tagCode);r(5,h.consents[v.category]=h.consents[v.category]||[],h),I?h.consents[v.category].push({tagCode:I.tagCode,status:I.status==="Accepted"}):h.consents[v.category].push({tagCode:v.tagCode,status:!1})}});const g=h.consents;for(const[v,I]of Object.entries(g))L[v]||(r(6,L[v]={},L),r(6,L[v].parent=null,L),I.forEach(R=>r(6,L[v][R.tagCode]=null,L)));Ae=Fe(h),we=Fe(h.consents),r(3,O=!1)},Xr=g=>g.split(","),_t=()=>{fetch(`${a}/v1/player/phonecodes`).then(g=>g.json()).then(g=>{r(4,k=g.phoneCodes)})},qr=()=>{r(9,it=!1),Ye&&je&&W&&Je&&dt&&Ze&&ht&&oe&&r(9,it=!0)},Ie=()=>{r(8,Ne=Fe(h)!==Ae)},ot=()=>{qe=Fe(h.consents)!==we},Ke=g=>()=>{switch(g){case"mobilePrefix":r(17,oe=!!h.mobile.prefix);break;case"mobileNumber":r(16,ht=!1),h.mobile.number&&h.mobile.number.length>=5&&h.mobile.number.length<=12&&r(16,ht=!0);break;case"city":r(10,W=!1),h.city.value&&h.city.value.length<=50&&r(10,W=!0);break;case"postalCode":r(11,Ze=!1),h.postalCode.value&&h.postalCode.value.length<=20&&r(11,Ze=!0);break;case"address":r(12,Je=!1),h.address1.value&&h.address1.value.length<=100&&r(12,Je=!0);break;case"address2":r(13,dt=!1),h.address2.value&&h.address2.value.length<=100&&r(13,dt=!0);break;case"securityQuestion":if(r(14,Ye=!1),h.securityQuestion.value)switch(b){case"true":pt.document.test(h.securityQuestion.value)&&h.securityQuestion.value.length<=50&&r(14,Ye=!0);break;case"false":h.securityQuestion.value&&h.securityQuestion.value.length<=120&&r(14,Ye=!0);break}break;case"securityAnswer":if(r(15,je=!1),h.securityAnswer.value)switch(b){case"true":pt.document.test(h.securityAnswer.value)&&h.securityAnswer.value.length<=50&&r(15,je=!0);break;case"false":h.securityAnswer.value&&h.securityAnswer.value.length<=120&&r(15,je=!0);break}break;case"consents":ot();break}Ie(),qr()},Ct=()=>{r(18,Ue=!0),setTimeout(()=>{r(18,Ue=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},Yt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:ee}},window.location.href)},Et=g=>Me(this,null,function*(){if(g.preventDefault(),Ne&&!qe&&it){Kt().then(v=>Me(this,null,function*(){v?(r(36,w=yield Ge(`/v1/player/${i}/profile`)),r(8,Ne=!1),Ct()):Yt()}));return}if(Ne&&qe&&it){Promise.all([Kt(),St()]).then(v=>Me(this,null,function*(){v[0]&&v[1]?(r(37,M=(yield Ge(`/v1/player/${i}/consent`)).items),r(36,w=yield Ge(`/v1/player/${i}/profile`)),r(8,Ne=!1),qe=!1,Ct()):Yt()}));return}}),Kt=()=>Me(this,null,function*(){const g=new URL(`/v1/player/${i}/profile`,a),v=new Headers;v.append("X-SessionID",o),v.append("Content-Type","application/json"),v.append("Accept","application/json");const I=Object.entries(h).reduce((V,[N,tt])=>{var lt;const te=tt;if(!te.readOnly)if(N==="mobile"||N==="phone")V[N]={prefix:te.prefix,number:te.number};else if(N==="consents")V[N]=te;else if(N==="country")V[N]=te.countryCode;else if(N==="birth"&&typeof te.value=="string"){const ut=te.value.split("/");V[N]={year:ut[2],month:ut[1],day:ut[0]}}else V[N]=(lt=te.value)!=null?lt:null;return V},{}),R=Fe(I);if(R===null)return!1;const K={method:"POST",headers:v,body:R};try{const V=yield fetch(g.href,K);if(V.status===200)return!0;const N=yield V.json();return Y(N),!1}catch(V){return console.error(V),!1}}),Y=g=>{var I;const v=(I=g.thirdPartyResponse)==null?void 0:I.message;v&&v.includes("Mandatory input parameter is missing: mobilePrefix")?(ee=n("userPrefixError"),Ke("mobilePrefix")()):ee=n("userProfileUpdateError")},St=()=>Me(this,null,function*(){const g=[],v=h.consents;for(let N of Object.values(v).flat())g.push({tagCode:N.tagCode,status:N.status?"Accepted":"Denied"});const I=new URL(`/v1/player/${i}/consent`,a),R=new Headers;R.append("X-SessionID",o),R.append("Content-Type","application/json"),R.append("Accept","application/json");const K=Fe({items:g});if(K===null)return!1;const V={method:"POST",headers:R,body:K};return yield fetch(I.href,V).then(N=>N.status==200,N=>(console.error(N),!1))}),Pt=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:Z},window.location.href)},Zr=()=>{gu(u)},wt=()=>{fetch(m).then(v=>v.json()).then(v=>{Object.keys(v).forEach(I=>{zo(I,v[I])})}).catch(v=>{console.log(v)})};Object.keys($o).forEach(g=>{zo(g,$o[g])});const Jr=g=>v=>{h.consents[g].forEach(I=>{I.status=v.target.checked,Object.values(L[g]).forEach(R=>{R&&(R.checked=I.status)})}),Ke("consents")()},at=g=>v=>{L[g].parent&&r(6,L[g].parent.checked=h.consents[g].every(I=>I.status),L),Ke("consents")()},et=g=>Array.isArray(g)?g.length>0:Object.keys(g).length>0;ys(()=>(Lu(X)&&r(7,Z=!0),()=>{}));function At(){h.mobile.prefix=ps(this),r(5,h),r(4,k)}function er(){h.mobile.number=this.value,r(5,h),r(4,k)}function Yr(){h.securityQuestion.value=this.value,r(5,h),r(4,k)}function xe(){h.securityAnswer.value=this.value,r(5,h),r(4,k)}function xt(){h.city.value=this.value,r(5,h),r(4,k)}function mt(){h.address1.value=this.value,r(5,h),r(4,k)}function kt(){h.address2.value=this.value,r(5,h),r(4,k)}function Kr(){h.postalCode.value=this.value,r(5,h),r(4,k)}function st(g,v){Fr[g?"unshift":"push"](()=>{L[v].parent=g,r(6,L)})}function Bt(g,v,I){Fr[g?"unshift":"push"](()=>{L[v][I.tagCode]=g,r(6,L)})}function Ot(g,v){g[v].status=this.checked,r(5,h),r(4,k)}function tr(g){Fr[g?"unshift":"push"](()=>{S=g,r(2,S)})}return e.$$set=g=>{"userid"in g&&r(26,i=g.userid),"sessionid"in g&&r(27,o=g.sessionid),"endpoint"in g&&r(28,a=g.endpoint),"lang"in g&&r(29,u=g.lang),"clientstyling"in g&&r(30,d=g.clientstyling),"clientstylingurl"in g&&r(31,c=g.clientstylingurl),"mbsource"in g&&r(32,f=g.mbsource),"translationurl"in g&&r(33,m=g.translationurl),"custominputtextswitch"in g&&r(0,b=g.custominputtextswitch),"showlocationdetailsdescription"in g&&r(1,_=g.showlocationdetailsdescription),"disabledfields"in g&&r(34,C=g.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&469762048&&a&&i&&o&&yt()&&Wr()&&J(),e.$$.dirty[0]&268435456&&a&&vt()&&_t(),e.$$.dirty[1]&240&&et(w)&&et(M)&&et(Q)&&et(D)&&gt(),e.$$.dirty[0]&536870912&&u&&Zr(),e.$$.dirty[1]&8&&C&&(z=Xr(C)),e.$$.dirty[0]&1073741828&&d&&S&&_u(S,d),e.$$.dirty[0]&4|e.$$.dirty[1]&1&&c&&S&&Cu(S,c),e.$$.dirty[0]&4|e.$$.dirty[1]&2&&f&&S&&Eu(S,`${f}.Style`),e.$$.dirty[1]&4&&m&&wt()},[b,_,S,O,k,h,L,Z,Ne,it,W,Ze,Je,dt,Ye,je,ht,oe,Ue,n,$,Ke,Et,Pt,Jr,at,i,o,a,u,d,c,f,m,C,D,w,M,Q,At,er,Yr,xe,xt,mt,kt,Kr,st,Bt,Ot,tr]}class rs extends Bs{constructor(t){super(),xs(this,t,Xu,Wu,Ea,{userid:26,sessionid:27,endpoint:28,lang:29,clientstyling:30,clientstylingurl:31,mbsource:32,translationurl:33,custominputtextswitch:0,showlocationdetailsdescription:1,disabledfields:34},Ru,[-1,-1,-1,-1])}get userid(){return this.$$.ctx[26]}set userid(t){this.$$set({userid:t}),Oe()}get sessionid(){return this.$$.ctx[27]}set sessionid(t){this.$$set({sessionid:t}),Oe()}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),Oe()}get lang(){return this.$$.ctx[29]}set lang(t){this.$$set({lang:t}),Oe()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(t){this.$$set({clientstyling:t}),Oe()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Oe()}get mbsource(){return this.$$.ctx[32]}set mbsource(t){this.$$set({mbsource:t}),Oe()}get translationurl(){return this.$$.ctx[33]}set translationurl(t){this.$$set({translationurl:t}),Oe()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Oe()}get showlocationdetailsdescription(){return this.$$.ctx[1]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Oe()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(t){this.$$set({disabledfields:t}),Oe()}}ks(rs,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=rs;
@@ -4946,7 +4946,7 @@ function mo(e) {
4946
4946
  ), N, w, T, Q, z, we, Ae, X, ee, $ = (
4947
4947
  /*$_*/
4948
4948
  e[19]("userPhone") + ""
4949
- ), h, D, U, Z, De, Ve, et, V, We, Xe, at, qe, Le, st, ae, Re, lt = (
4949
+ ), h, D, U, Z, He, Ve, et, V, We, Xe, at, qe, Le, st, ae, Re, lt = (
4950
4950
  /*custominputtextswitch*/
4951
4951
  (e[0] == "true" ? (
4952
4952
  /*$_*/
@@ -4973,16 +4973,16 @@ function mo(e) {
4973
4973
  ), Zt, v, g, M, R, te, W, L, At, ke = (
4974
4974
  /*$_*/
4975
4975
  e[19]("firstName") + ""
4976
- ), ct, di, He, vr, Jt, gr, hi, xt, _r, Cr = (
4976
+ ), ct, di, Te, vr, Jt, gr, hi, xt, _r, Cr = (
4977
4977
  /*$_*/
4978
4978
  e[19]("lastName") + ""
4979
- ), An, pi, Te, Er, Yt, Pr, mi, kt, Sr, wr = (
4979
+ ), An, pi, Me, Er, Yt, Pr, mi, kt, Sr, wr = (
4980
4980
  /*$_*/
4981
4981
  e[19]("userTitle") + ""
4982
- ), xn, yi, Me, Ar, Kt, xr, bi, Bt, kr, Br = (
4982
+ ), xn, yi, Ne, Ar, Kt, xr, bi, Bt, kr, Br = (
4983
4983
  /*$_*/
4984
4984
  e[19]("currency") + ""
4985
- ), kn, vi, Ne, Or, er, Ir, gi, _i, Hr, Bn, Tr = (
4985
+ ), kn, vi, De, Or, er, Ir, gi, _i, Hr, Bn, Tr = (
4986
4986
  /*$_*/
4987
4987
  e[19]("locationDetails") + ""
4988
4988
  ), On, Ci, re, Ot, Mr, Nr = (
@@ -5038,11 +5038,11 @@ function mo(e) {
5038
5038
  t = m("form"), r = m("div"), fe && fe.c(), n = C(), i = m("h2"), a = S(o), c = C(), f = m("div"), d = m("h3"), b = S(p), P = C(), _ = m("section"), E = m("div"), O = m("label"), N = S(k), w = C(), T = m("input"), Ae = C(), X = m("div"), ee = m("label"), h = S($), D = C(), U = m("div"), Z = m("select");
5039
5039
  for (let ie = 0; ie < ne.length; ie += 1)
5040
5040
  ne[ie].c();
5041
- et = C(), V = m("input"), at = C(), de && de.c(), qe = C(), he && he.c(), st = C(), ae = m("div"), Re = m("label"), je = S(lt), Ue = S(":"), dt = m("span"), dt.textContent = "*", fr = C(), Y = m("input"), dr = C(), pe && pe.c(), hr = C(), Ie = m("div"), tt = m("label"), yt = S(Ze), Wt = S(":"), bt = m("span"), bt.textContent = "*", Xt = C(), K = m("input"), pr = C(), me && me.c(), mr = C(), rt = m("div"), Je = m("label"), qt = S(Ct), yr = C(), xe = m("input"), br = C(), nt = m("div"), St = m("label"), Zt = S(wt), v = C(), g = m("input"), W = C(), L = m("div"), At = m("label"), ct = S(ke), di = C(), He = m("input"), hi = C(), xt = m("div"), _r = m("label"), An = S(Cr), pi = C(), Te = m("input"), mi = C(), kt = m("div"), Sr = m("label"), xn = S(wr), yi = C(), Me = m("input"), bi = C(), Bt = m("div"), kr = m("label"), kn = S(Br), vi = C(), Ne = m("input"), gi = C(), ye && ye.c(), _i = C(), Hr = m("div"), Bn = m("h3"), On = S(Tr), Ci = C(), re = m("section"), Ot = m("div"), Mr = m("label"), In = S(Nr), Ei = C(), Be = m("input"), Pi = C(), Fe = m("div"), jr = m("label"), Hn = S(Ur), Si = C(), se = m("input"), wi = C(), be && be.c(), Ai = C(), Ge = m("div"), $r = m("label"), Tn = S(Qr), xi = C(), le = m("input"), ki = C(), ve && ve.c(), Bi = C(), ze = m("div"), qr = m("label"), Mn = S(Zr), Oi = C(), ue = m("input"), Ii = C(), ge && ge.c(), Hi = C(), $e = m("div"), en = m("label"), Nn = S(tn), Ti = C(), ce = m("input"), Mi = C(), _e && _e.c(), Ni = C(), Ce && Ce.c(), Di = C(), Ee && Ee.c(), Ln = C(), rr = m("section"), It = m("button"), Rn = S(an), Li = C(), Pe && Pe.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
5041
+ et = C(), V = m("input"), at = C(), de && de.c(), qe = C(), he && he.c(), st = C(), ae = m("div"), Re = m("label"), je = S(lt), Ue = S(":"), dt = m("span"), dt.textContent = "*", fr = C(), Y = m("input"), dr = C(), pe && pe.c(), hr = C(), Ie = m("div"), tt = m("label"), yt = S(Ze), Wt = S(":"), bt = m("span"), bt.textContent = "*", Xt = C(), K = m("input"), pr = C(), me && me.c(), mr = C(), rt = m("div"), Je = m("label"), qt = S(Ct), yr = C(), xe = m("input"), br = C(), nt = m("div"), St = m("label"), Zt = S(wt), v = C(), g = m("input"), W = C(), L = m("div"), At = m("label"), ct = S(ke), di = C(), Te = m("input"), hi = C(), xt = m("div"), _r = m("label"), An = S(Cr), pi = C(), Me = m("input"), mi = C(), kt = m("div"), Sr = m("label"), xn = S(wr), yi = C(), Ne = m("input"), bi = C(), Bt = m("div"), kr = m("label"), kn = S(Br), vi = C(), De = m("input"), gi = C(), ye && ye.c(), _i = C(), Hr = m("div"), Bn = m("h3"), On = S(Tr), Ci = C(), re = m("section"), Ot = m("div"), Mr = m("label"), In = S(Nr), Ei = C(), Be = m("input"), Pi = C(), Fe = m("div"), jr = m("label"), Hn = S(Ur), Si = C(), se = m("input"), wi = C(), be && be.c(), Ai = C(), Ge = m("div"), $r = m("label"), Tn = S(Qr), xi = C(), le = m("input"), ki = C(), ve && ve.c(), Bi = C(), ze = m("div"), qr = m("label"), Mn = S(Zr), Oi = C(), ue = m("input"), Ii = C(), ge && ge.c(), Hi = C(), $e = m("div"), en = m("label"), Nn = S(tn), Ti = C(), ce = m("input"), Mi = C(), _e && _e.c(), Ni = C(), Ce && Ce.c(), Di = C(), Ee && Ee.c(), Ln = C(), rr = m("section"), It = m("button"), Rn = S(an), Li = C(), Pe && Pe.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
5042
5042
  (e[7] ? "MyAccountCategoryTitleNone" : "")), l(f, "class", "PlayerNotificationsHeader"), l(T, "type", "text"), l(T, "class", Q = `${/*profileValues*/
5043
5043
  e[5].username?.readOnly ? "FieldDisabled" : ""}`), T.value = z = /*profileValues*/
5044
5044
  e[5].username?.value ?? "", T.readOnly = we = /*profileValues*/
5045
- e[5].username?.readOnly, l(E, "class", "PlayerInfoBox"), l(Z, "class", De = `${/*profileValues*/
5045
+ e[5].username?.readOnly, l(E, "class", "PlayerInfoBox"), l(Z, "class", He = `${/*profileValues*/
5046
5046
  e[5].mobile?.readOnly ? "FieldDisabled" : ""}`), Z.disabled = Ve = /*profileValues*/
5047
5047
  e[5].mobile?.readOnly, /*profileValues*/
5048
5048
  e[5].mobile.prefix === void 0 && yn(() => (
@@ -5079,18 +5079,18 @@ function mo(e) {
5079
5079
  e[5].email?.readOnly, l(rt, "class", "PlayerInfoBox"), l(St, "for", "DateOfBirth"), l(g, "id", "DateOfBirth"), l(g, "type", "text"), l(g, "class", M = `${/*profileValues*/
5080
5080
  e[5].birth?.readOnly ? "FieldDisabled" : ""}`), g.value = R = /*profileValues*/
5081
5081
  e[5].birth.value, g.readOnly = te = /*profileValues*/
5082
- e[5].birth?.readOnly, l(nt, "class", "PlayerInfoBox"), l(At, "for", "FirstName"), l(He, "id", "FirstName"), l(He, "type", "text"), l(He, "class", vr = `${/*profileValues*/
5083
- e[5].firstname?.readOnly ? "FieldDisabled" : ""}`), He.value = Jt = /*profileValues*/
5084
- e[5].firstname.value, He.readOnly = gr = /*profileValues*/
5085
- e[5].firstname?.readOnly, l(L, "class", "PlayerInfoBox"), l(_r, "for", "LastName"), l(Te, "id", "LastName"), l(Te, "type", "text"), l(Te, "class", Er = `${/*profileValues*/
5086
- e[5].lastname?.readOnly ? "FieldDisabled" : ""}`), Te.value = Yt = /*profileValues*/
5087
- e[5].lastname.value, Te.readOnly = Pr = /*profileValues*/
5088
- e[5].lastname?.readOnly, l(xt, "class", "PlayerInfoBox"), l(Sr, "for", "UserTitle"), l(Me, "id", "UserTitle"), l(Me, "type", "text"), l(Me, "class", Ar = `${/*profileValues*/
5089
- e[5].title?.readOnly ? "FieldDisabled" : ""}`), Me.value = Kt = /*profileValues*/
5090
- e[5].title.value, Me.readOnly = xr = /*profileValues*/
5091
- e[5].title?.readOnly, l(kt, "class", "PlayerInfoBox"), l(kr, "for", "Currrency"), l(Ne, "id", "Currency"), l(Ne, "type", "text"), l(Ne, "class", Or = `${/*profileValues*/
5092
- e[5].currency?.readOnly ? "FieldDisabled" : ""}`), Ne.value = er = /*profileValues*/
5093
- e[5].currency.value, Ne.readOnly = Ir = /*profileValues*/
5082
+ e[5].birth?.readOnly, l(nt, "class", "PlayerInfoBox"), l(At, "for", "FirstName"), l(Te, "id", "FirstName"), l(Te, "type", "text"), l(Te, "class", vr = `${/*profileValues*/
5083
+ e[5].firstname?.readOnly ? "FieldDisabled" : ""}`), Te.value = Jt = /*profileValues*/
5084
+ e[5].firstname.value, Te.readOnly = gr = /*profileValues*/
5085
+ e[5].firstname?.readOnly, l(L, "class", "PlayerInfoBox"), l(_r, "for", "LastName"), l(Me, "id", "LastName"), l(Me, "type", "text"), l(Me, "class", Er = `${/*profileValues*/
5086
+ e[5].lastname?.readOnly ? "FieldDisabled" : ""}`), Me.value = Yt = /*profileValues*/
5087
+ e[5].lastname.value, Me.readOnly = Pr = /*profileValues*/
5088
+ e[5].lastname?.readOnly, l(xt, "class", "PlayerInfoBox"), l(Sr, "for", "UserTitle"), l(Ne, "id", "UserTitle"), l(Ne, "type", "text"), l(Ne, "class", Ar = `${/*profileValues*/
5089
+ e[5].title?.readOnly ? "FieldDisabled" : ""}`), Ne.value = Kt = /*profileValues*/
5090
+ e[5].title.value, Ne.readOnly = xr = /*profileValues*/
5091
+ e[5].title?.readOnly, l(kt, "class", "PlayerInfoBox"), l(kr, "for", "Currrency"), l(De, "id", "Currency"), l(De, "type", "text"), l(De, "class", Or = `${/*profileValues*/
5092
+ e[5].currency?.readOnly ? "FieldDisabled" : ""}`), De.value = er = /*profileValues*/
5093
+ e[5].currency.value, De.readOnly = Ir = /*profileValues*/
5094
5094
  e[5].currency?.readOnly, l(Bt, "class", "PlayerInfoBox"), l(_, "class", "PlayerDetailsContent"), l(Hr, "class", "PlayerLocationHeader"), l(Mr, "for", "UserCountry"), l(Be, "id", "UserCountry"), l(Be, "type", "text"), l(Be, "class", Dr = `PlayerCountry ${/*profileValues*/
5095
5095
  e[5].country?.readOnly ? "FieldDisabled" : ""}`), Be.value = tr = /*profileValues*/
5096
5096
  e[5].country.countryName, l(Be, "placeholder", Lr = /*profileValues*/
@@ -5154,7 +5154,7 @@ function mo(e) {
5154
5154
  K,
5155
5155
  /*profileValues*/
5156
5156
  e[5].securityAnswer.value
5157
- ), s(Ie, pr), me && me.m(Ie, null), s(_, mr), s(_, rt), s(rt, Je), s(Je, qt), s(rt, yr), s(rt, xe), s(_, br), s(_, nt), s(nt, St), s(St, Zt), s(nt, v), s(nt, g), s(_, W), s(_, L), s(L, At), s(At, ct), s(L, di), s(L, He), s(_, hi), s(_, xt), s(xt, _r), s(_r, An), s(xt, pi), s(xt, Te), s(_, mi), s(_, kt), s(kt, Sr), s(Sr, xn), s(kt, yi), s(kt, Me), s(_, bi), s(_, Bt), s(Bt, kr), s(kr, kn), s(Bt, vi), s(Bt, Ne), s(_, gi), ye && ye.m(_, null), s(r, _i), s(r, Hr), s(Hr, Bn), s(Bn, On), s(r, Ci), s(r, re), s(re, Ot), s(Ot, Mr), s(Mr, In), s(Ot, Ei), s(Ot, Be), s(re, Pi), s(re, Fe), s(Fe, jr), s(jr, Hn), s(Fe, Si), s(Fe, se), q(
5157
+ ), s(Ie, pr), me && me.m(Ie, null), s(_, mr), s(_, rt), s(rt, Je), s(Je, qt), s(rt, yr), s(rt, xe), s(_, br), s(_, nt), s(nt, St), s(St, Zt), s(nt, v), s(nt, g), s(_, W), s(_, L), s(L, At), s(At, ct), s(L, di), s(L, Te), s(_, hi), s(_, xt), s(xt, _r), s(_r, An), s(xt, pi), s(xt, Me), s(_, mi), s(_, kt), s(kt, Sr), s(Sr, xn), s(kt, yi), s(kt, Ne), s(_, bi), s(_, Bt), s(Bt, kr), s(kr, kn), s(Bt, vi), s(Bt, De), s(_, gi), ye && ye.m(_, null), s(r, _i), s(r, Hr), s(Hr, Bn), s(Bn, On), s(r, Ci), s(r, re), s(re, Ot), s(Ot, Mr), s(Mr, In), s(Ot, Ei), s(Ot, Be), s(re, Pi), s(re, Fe), s(Fe, jr), s(jr, Hn), s(Fe, Si), s(Fe, se), q(
5158
5158
  se,
5159
5159
  /*profileValues*/
5160
5160
  e[5].city.value
@@ -5318,8 +5318,8 @@ function mo(e) {
5318
5318
  ne.length = Ht.length;
5319
5319
  }
5320
5320
  y[0] & /*profileValues, prefixesArray*/
5321
- 48 && De !== (De = `${/*profileValues*/
5322
- e[5].mobile?.readOnly ? "FieldDisabled" : ""}`) && l(Z, "class", De), y[0] & /*profileValues, prefixesArray*/
5321
+ 48 && He !== (He = `${/*profileValues*/
5322
+ e[5].mobile?.readOnly ? "FieldDisabled" : ""}`) && l(Z, "class", He), y[0] & /*profileValues, prefixesArray*/
5323
5323
  48 && Ve !== (Ve = /*profileValues*/
5324
5324
  e[5].mobile?.readOnly) && (Z.disabled = Ve), y[0] & /*profileValues, prefixesArray*/
5325
5325
  48 && Fi(
@@ -5403,35 +5403,35 @@ function mo(e) {
5403
5403
  524288 && ke !== (ke = /*$_*/
5404
5404
  e[19]("firstName") + "") && A(ct, ke), y[0] & /*profileValues, prefixesArray*/
5405
5405
  48 && vr !== (vr = `${/*profileValues*/
5406
- e[5].firstname?.readOnly ? "FieldDisabled" : ""}`) && l(He, "class", vr), y[0] & /*profileValues, prefixesArray*/
5406
+ e[5].firstname?.readOnly ? "FieldDisabled" : ""}`) && l(Te, "class", vr), y[0] & /*profileValues, prefixesArray*/
5407
5407
  48 && Jt !== (Jt = /*profileValues*/
5408
- e[5].firstname.value) && He.value !== Jt && (He.value = Jt), y[0] & /*profileValues, prefixesArray*/
5408
+ e[5].firstname.value) && Te.value !== Jt && (Te.value = Jt), y[0] & /*profileValues, prefixesArray*/
5409
5409
  48 && gr !== (gr = /*profileValues*/
5410
- e[5].firstname?.readOnly) && (He.readOnly = gr), y[0] & /*$_*/
5410
+ e[5].firstname?.readOnly) && (Te.readOnly = gr), y[0] & /*$_*/
5411
5411
  524288 && Cr !== (Cr = /*$_*/
5412
5412
  e[19]("lastName") + "") && A(An, Cr), y[0] & /*profileValues, prefixesArray*/
5413
5413
  48 && Er !== (Er = `${/*profileValues*/
5414
- e[5].lastname?.readOnly ? "FieldDisabled" : ""}`) && l(Te, "class", Er), y[0] & /*profileValues, prefixesArray*/
5414
+ e[5].lastname?.readOnly ? "FieldDisabled" : ""}`) && l(Me, "class", Er), y[0] & /*profileValues, prefixesArray*/
5415
5415
  48 && Yt !== (Yt = /*profileValues*/
5416
- e[5].lastname.value) && Te.value !== Yt && (Te.value = Yt), y[0] & /*profileValues, prefixesArray*/
5416
+ e[5].lastname.value) && Me.value !== Yt && (Me.value = Yt), y[0] & /*profileValues, prefixesArray*/
5417
5417
  48 && Pr !== (Pr = /*profileValues*/
5418
- e[5].lastname?.readOnly) && (Te.readOnly = Pr), y[0] & /*$_*/
5418
+ e[5].lastname?.readOnly) && (Me.readOnly = Pr), y[0] & /*$_*/
5419
5419
  524288 && wr !== (wr = /*$_*/
5420
5420
  e[19]("userTitle") + "") && A(xn, wr), y[0] & /*profileValues, prefixesArray*/
5421
5421
  48 && Ar !== (Ar = `${/*profileValues*/
5422
- e[5].title?.readOnly ? "FieldDisabled" : ""}`) && l(Me, "class", Ar), y[0] & /*profileValues, prefixesArray*/
5422
+ e[5].title?.readOnly ? "FieldDisabled" : ""}`) && l(Ne, "class", Ar), y[0] & /*profileValues, prefixesArray*/
5423
5423
  48 && Kt !== (Kt = /*profileValues*/
5424
- e[5].title.value) && Me.value !== Kt && (Me.value = Kt), y[0] & /*profileValues, prefixesArray*/
5424
+ e[5].title.value) && Ne.value !== Kt && (Ne.value = Kt), y[0] & /*profileValues, prefixesArray*/
5425
5425
  48 && xr !== (xr = /*profileValues*/
5426
- e[5].title?.readOnly) && (Me.readOnly = xr), y[0] & /*$_*/
5426
+ e[5].title?.readOnly) && (Ne.readOnly = xr), y[0] & /*$_*/
5427
5427
  524288 && Br !== (Br = /*$_*/
5428
5428
  e[19]("currency") + "") && A(kn, Br), y[0] & /*profileValues, prefixesArray*/
5429
5429
  48 && Or !== (Or = `${/*profileValues*/
5430
- e[5].currency?.readOnly ? "FieldDisabled" : ""}`) && l(Ne, "class", Or), y[0] & /*profileValues, prefixesArray*/
5430
+ e[5].currency?.readOnly ? "FieldDisabled" : ""}`) && l(De, "class", Or), y[0] & /*profileValues, prefixesArray*/
5431
5431
  48 && er !== (er = /*profileValues*/
5432
- e[5].currency.value) && Ne.value !== er && (Ne.value = er), y[0] & /*profileValues, prefixesArray*/
5432
+ e[5].currency.value) && De.value !== er && (De.value = er), y[0] & /*profileValues, prefixesArray*/
5433
5433
  48 && Ir !== (Ir = /*profileValues*/
5434
- e[5].currency?.readOnly) && (Ne.readOnly = Ir), /*profileValues*/
5434
+ e[5].currency?.readOnly) && (De.readOnly = Ir), /*profileValues*/
5435
5435
  e[5].iban.value ? ye ? ye.p(e, y) : (ye = Eo(e), ye.c(), ye.m(_, null)) : ye && (ye.d(1), ye = null), y[0] & /*$_*/
5436
5436
  524288 && Tr !== (Tr = /*$_*/
5437
5437
  e[19]("locationDetails") + "") && A(On, Tr), y[0] & /*$_*/
@@ -6241,7 +6241,7 @@ function ru(e, t, r) {
6241
6241
  title: "",
6242
6242
  username: "Username"
6243
6243
  }, h = {}, D = {}, U = ["Marketing", "Casino", "Sports", "Bingo"];
6244
- let Z = !1, De = !1, Ve = !1, et = !0, V = !0, We = !0, Xe = !0, at = !0, qe = !0, Le = !0, st = !0, ae = !0, Re = !1;
6244
+ let Z = !1, He = !1, Ve = !1, et = !0, V = !0, We = !0, Xe = !0, at = !0, qe = !0, Le = !0, st = !0, ae = !0, Re = !1;
6245
6245
  const lt = {
6246
6246
  document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
6247
6247
  };
@@ -6311,7 +6311,7 @@ function ru(e, t, r) {
6311
6311
  }, hr = () => {
6312
6312
  r(9, et = !1), qe && Le && V && Xe && at && We && st && ae && r(9, et = !0);
6313
6313
  }, Ie = () => {
6314
- r(8, De = je(h) !== Ae);
6314
+ r(8, He = je(h) !== Ae);
6315
6315
  }, tt = () => {
6316
6316
  Ve = je(h.consents) !== we;
6317
6317
  }, Ze = (v) => () => {
@@ -6386,15 +6386,15 @@ function ru(e, t, r) {
6386
6386
  window.location.href
6387
6387
  );
6388
6388
  }, bt = async (v) => {
6389
- if (v.preventDefault(), De && !Ve && et) {
6389
+ if (v.preventDefault(), He && !Ve && et) {
6390
6390
  Xt().then(async (g) => {
6391
- g ? (r(36, w = await Ue(`/v1/player/${i}/profile`)), yt()) : Wt();
6391
+ g ? (r(36, w = await Ue(`/v1/player/${i}/profile`)), r(8, He = !1), yt()) : Wt();
6392
6392
  });
6393
6393
  return;
6394
6394
  }
6395
- if (De && Ve && et) {
6395
+ if (He && Ve && et) {
6396
6396
  Promise.all([Xt(), vt()]).then(async (g) => {
6397
- g[0] && g[1] ? (r(37, T = (await Ue(`/v1/player/${i}/consent`)).items), r(36, w = await Ue(`/v1/player/${i}/profile`)), r(8, De = !1), Ve = !1, yt()) : Wt();
6397
+ g[0] && g[1] ? (r(37, T = (await Ue(`/v1/player/${i}/consent`)).items), r(36, w = await Ue(`/v1/player/${i}/profile`)), r(8, He = !1), Ve = !1, yt()) : Wt();
6398
6398
  });
6399
6399
  return;
6400
6400
  }
@@ -6552,7 +6552,7 @@ function ru(e, t, r) {
6552
6552
  h,
6553
6553
  D,
6554
6554
  Z,
6555
- De,
6555
+ He,
6556
6556
  et,
6557
6557
  V,
6558
6558
  We,
@@ -4983,7 +4983,7 @@ function ta(e) {
4983
4983
  ), D, w, M, Q, z, we, Ae, X, ee, $ = (
4984
4984
  /*$_*/
4985
4985
  e[19]("userPhone") + ""
4986
- ), h, L, U, Z, Re, qe, it, W, Ze, Je, dt, Ye, je, ht, oe, Ue, pt = (
4986
+ ), h, L, U, Z, Ne, qe, it, W, Ze, Je, dt, Ye, je, ht, oe, Ue, pt = (
4987
4987
  /*custominputtextswitch*/
4988
4988
  (e[0] == "true" ? (
4989
4989
  /*$_*/
@@ -5013,13 +5013,13 @@ function ta(e) {
5013
5013
  ), lt, ut, ke, en, rr, tn, qi, It, rn, nn = (
5014
5014
  /*$_*/
5015
5015
  e[19]("lastName") + ""
5016
- ), li, Zi, Ne, on, nr, an, Ji, Ht, sn, ln = (
5016
+ ), li, Zi, De, on, nr, an, Ji, Ht, sn, ln = (
5017
5017
  /*$_*/
5018
5018
  e[19]("userTitle") + ""
5019
- ), ui, Yi, De, un, ir, cn, Ki, Tt, fn, dn = (
5019
+ ), ui, Yi, Le, un, ir, cn, Ki, Tt, fn, dn = (
5020
5020
  /*$_*/
5021
5021
  e[19]("currency") + ""
5022
- ), ci, eo, Le, hn, or, pn, to, ro, mn, fi, bn = (
5022
+ ), ci, eo, Re, hn, or, pn, to, ro, mn, fi, bn = (
5023
5023
  /*$_*/
5024
5024
  e[19]("locationDetails") + ""
5025
5025
  ), di, no, re, Mt, yn, vn = (
@@ -5076,11 +5076,11 @@ function ta(e) {
5076
5076
  t = p("form"), r = p("div"), ce && ce.c(), n = E(), i = p("h2"), a = P(o), d = E(), c = p("div"), f = p("h3"), b = P(m), _ = E(), C = p("section"), S = p("div"), O = p("label"), D = P(k), w = E(), M = p("input"), Ae = E(), X = p("div"), ee = p("label"), h = P($), L = E(), U = p("div"), Z = p("select");
5077
5077
  for (let Lt = 0; Lt < ne.length; Lt += 1)
5078
5078
  ne[Lt].c();
5079
- it = E(), W = p("input"), dt = E(), fe && fe.c(), Ye = E(), de && de.c(), ht = E(), oe = p("div"), Ue = p("label"), Fe = P(pt), Ge = P(":"), yt = p("span"), yt.textContent = "*", Wr = E(), J = p("input"), Xr = E(), he && he.c(), qr = E(), Ie = p("div"), ot = p("label"), Ct = P(Ke), Yt = P(":"), Et = p("span"), Et.textContent = "*", Kt = E(), Y = p("input"), Zr = E(), pe && pe.c(), Jr = E(), at = p("div"), et = p("label"), er = P(At), Yr = E(), xe = p("input"), Kr = E(), st = p("div"), Bt = p("label"), tr = P(Ot), g = E(), v = p("input"), V = E(), N = p("div"), tt = p("label"), lt = P(te), ut = E(), ke = p("input"), qi = E(), It = p("div"), rn = p("label"), li = P(nn), Zi = E(), Ne = p("input"), Ji = E(), Ht = p("div"), sn = p("label"), ui = P(ln), Yi = E(), De = p("input"), Ki = E(), Tt = p("div"), fn = p("label"), ci = P(dn), eo = E(), Le = p("input"), to = E(), me && me.c(), ro = E(), mn = p("div"), fi = p("h3"), di = P(bn), no = E(), re = p("section"), Mt = p("div"), yn = p("label"), hi = P(vn), io = E(), Be = p("input"), oo = E(), ze = p("div"), En = p("label"), pi = P(Sn), ao = E(), ae = p("input"), so = E(), be && be.c(), lo = E(), $e = p("div"), xn = p("label"), mi = P(kn), uo = E(), se = p("input"), co = E(), ye && ye.c(), fo = E(), Qe = p("div"), Hn = p("label"), bi = P(Tn), ho = E(), le = p("input"), po = E(), ve && ve.c(), mo = E(), Ve = p("div"), Ln = p("label"), yi = P(Rn), bo = E(), ue = p("input"), yo = E(), ge && ge.c(), vo = E(), _e && _e.c(), go = E(), Ce && Ce.c(), gi = E(), sr = p("section"), Nt = p("button"), _i = P(Gn), _o = E(), Ee && Ee.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
5079
+ it = E(), W = p("input"), dt = E(), fe && fe.c(), Ye = E(), de && de.c(), ht = E(), oe = p("div"), Ue = p("label"), Fe = P(pt), Ge = P(":"), yt = p("span"), yt.textContent = "*", Wr = E(), J = p("input"), Xr = E(), he && he.c(), qr = E(), Ie = p("div"), ot = p("label"), Ct = P(Ke), Yt = P(":"), Et = p("span"), Et.textContent = "*", Kt = E(), Y = p("input"), Zr = E(), pe && pe.c(), Jr = E(), at = p("div"), et = p("label"), er = P(At), Yr = E(), xe = p("input"), Kr = E(), st = p("div"), Bt = p("label"), tr = P(Ot), g = E(), v = p("input"), V = E(), N = p("div"), tt = p("label"), lt = P(te), ut = E(), ke = p("input"), qi = E(), It = p("div"), rn = p("label"), li = P(nn), Zi = E(), De = p("input"), Ji = E(), Ht = p("div"), sn = p("label"), ui = P(ln), Yi = E(), Le = p("input"), Ki = E(), Tt = p("div"), fn = p("label"), ci = P(dn), eo = E(), Re = p("input"), to = E(), me && me.c(), ro = E(), mn = p("div"), fi = p("h3"), di = P(bn), no = E(), re = p("section"), Mt = p("div"), yn = p("label"), hi = P(vn), io = E(), Be = p("input"), oo = E(), ze = p("div"), En = p("label"), pi = P(Sn), ao = E(), ae = p("input"), so = E(), be && be.c(), lo = E(), $e = p("div"), xn = p("label"), mi = P(kn), uo = E(), se = p("input"), co = E(), ye && ye.c(), fo = E(), Qe = p("div"), Hn = p("label"), bi = P(Tn), ho = E(), le = p("input"), po = E(), ve && ve.c(), mo = E(), Ve = p("div"), Ln = p("label"), yi = P(Rn), bo = E(), ue = p("input"), yo = E(), ge && ge.c(), vo = E(), _e && _e.c(), go = E(), Ce && Ce.c(), gi = E(), sr = p("section"), Nt = p("button"), _i = P(Gn), _o = E(), Ee && Ee.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
5080
5080
  (e[7] ? "MyAccountCategoryTitleNone" : "")), l(c, "class", "PlayerNotificationsHeader"), l(M, "type", "text"), l(M, "class", Q = `${/*profileValues*/
5081
5081
  (Se = e[5].username) != null && Se.readOnly ? "FieldDisabled" : ""}`), M.value = z = /*profileValues*/
5082
5082
  (We = (y = e[5].username) == null ? void 0 : y.value) != null ? We : "", M.readOnly = we = /*profileValues*/
5083
- (lr = e[5].username) == null ? void 0 : lr.readOnly, l(S, "class", "PlayerInfoBox"), l(Z, "class", Re = `${/*profileValues*/
5083
+ (lr = e[5].username) == null ? void 0 : lr.readOnly, l(S, "class", "PlayerInfoBox"), l(Z, "class", Ne = `${/*profileValues*/
5084
5084
  (ur = e[5].mobile) != null && ur.readOnly ? "FieldDisabled" : ""}`), Z.disabled = qe = /*profileValues*/
5085
5085
  (cr = e[5].mobile) == null ? void 0 : cr.readOnly, /*profileValues*/
5086
5086
  e[5].mobile.prefix === void 0 && Yn(() => (
@@ -5120,15 +5120,15 @@ function ta(e) {
5120
5120
  (_r = e[5].birth) == null ? void 0 : _r.readOnly, l(st, "class", "PlayerInfoBox"), l(tt, "for", "FirstName"), l(ke, "id", "FirstName"), l(ke, "type", "text"), l(ke, "class", en = `${/*profileValues*/
5121
5121
  (Cr = e[5].firstname) != null && Cr.readOnly ? "FieldDisabled" : ""}`), ke.value = rr = /*profileValues*/
5122
5122
  e[5].firstname.value, ke.readOnly = tn = /*profileValues*/
5123
- (Er = e[5].firstname) == null ? void 0 : Er.readOnly, l(N, "class", "PlayerInfoBox"), l(rn, "for", "LastName"), l(Ne, "id", "LastName"), l(Ne, "type", "text"), l(Ne, "class", on = `${/*profileValues*/
5124
- (Sr = e[5].lastname) != null && Sr.readOnly ? "FieldDisabled" : ""}`), Ne.value = nr = /*profileValues*/
5125
- e[5].lastname.value, Ne.readOnly = an = /*profileValues*/
5126
- (Pr = e[5].lastname) == null ? void 0 : Pr.readOnly, l(It, "class", "PlayerInfoBox"), l(sn, "for", "UserTitle"), l(De, "id", "UserTitle"), l(De, "type", "text"), l(De, "class", un = `${/*profileValues*/
5127
- (wr = e[5].title) != null && wr.readOnly ? "FieldDisabled" : ""}`), De.value = ir = /*profileValues*/
5128
- e[5].title.value, De.readOnly = cn = /*profileValues*/
5129
- (Ar = e[5].title) == null ? void 0 : Ar.readOnly, l(Ht, "class", "PlayerInfoBox"), l(fn, "for", "Currrency"), l(Le, "id", "Currency"), l(Le, "type", "text"), l(Le, "class", hn = `${/*profileValues*/
5130
- (xr = e[5].currency) != null && xr.readOnly ? "FieldDisabled" : ""}`), Le.value = or = /*profileValues*/
5131
- e[5].currency.value, Le.readOnly = pn = /*profileValues*/
5123
+ (Er = e[5].firstname) == null ? void 0 : Er.readOnly, l(N, "class", "PlayerInfoBox"), l(rn, "for", "LastName"), l(De, "id", "LastName"), l(De, "type", "text"), l(De, "class", on = `${/*profileValues*/
5124
+ (Sr = e[5].lastname) != null && Sr.readOnly ? "FieldDisabled" : ""}`), De.value = nr = /*profileValues*/
5125
+ e[5].lastname.value, De.readOnly = an = /*profileValues*/
5126
+ (Pr = e[5].lastname) == null ? void 0 : Pr.readOnly, l(It, "class", "PlayerInfoBox"), l(sn, "for", "UserTitle"), l(Le, "id", "UserTitle"), l(Le, "type", "text"), l(Le, "class", un = `${/*profileValues*/
5127
+ (wr = e[5].title) != null && wr.readOnly ? "FieldDisabled" : ""}`), Le.value = ir = /*profileValues*/
5128
+ e[5].title.value, Le.readOnly = cn = /*profileValues*/
5129
+ (Ar = e[5].title) == null ? void 0 : Ar.readOnly, l(Ht, "class", "PlayerInfoBox"), l(fn, "for", "Currrency"), l(Re, "id", "Currency"), l(Re, "type", "text"), l(Re, "class", hn = `${/*profileValues*/
5130
+ (xr = e[5].currency) != null && xr.readOnly ? "FieldDisabled" : ""}`), Re.value = or = /*profileValues*/
5131
+ e[5].currency.value, Re.readOnly = pn = /*profileValues*/
5132
5132
  (kr = e[5].currency) == null ? void 0 : kr.readOnly, l(Tt, "class", "PlayerInfoBox"), l(C, "class", "PlayerDetailsContent"), l(mn, "class", "PlayerLocationHeader"), l(yn, "for", "UserCountry"), l(Be, "id", "UserCountry"), l(Be, "type", "text"), l(Be, "class", gn = `PlayerCountry ${/*profileValues*/
5133
5133
  (Br = e[5].country) != null && Br.readOnly ? "FieldDisabled" : ""}`), Be.value = ar = /*profileValues*/
5134
5134
  e[5].country.countryName, l(Be, "placeholder", _n = /*profileValues*/
@@ -5192,7 +5192,7 @@ function ta(e) {
5192
5192
  Y,
5193
5193
  /*profileValues*/
5194
5194
  e[5].securityAnswer.value
5195
- ), s(Ie, Zr), pe && pe.m(Ie, null), s(C, Jr), s(C, at), s(at, et), s(et, er), s(at, Yr), s(at, xe), s(C, Kr), s(C, st), s(st, Bt), s(Bt, tr), s(st, g), s(st, v), s(C, V), s(C, N), s(N, tt), s(tt, lt), s(N, ut), s(N, ke), s(C, qi), s(C, It), s(It, rn), s(rn, li), s(It, Zi), s(It, Ne), s(C, Ji), s(C, Ht), s(Ht, sn), s(sn, ui), s(Ht, Yi), s(Ht, De), s(C, Ki), s(C, Tt), s(Tt, fn), s(fn, ci), s(Tt, eo), s(Tt, Le), s(C, to), me && me.m(C, null), s(r, ro), s(r, mn), s(mn, fi), s(fi, di), s(r, no), s(r, re), s(re, Mt), s(Mt, yn), s(yn, hi), s(Mt, io), s(Mt, Be), s(re, oo), s(re, ze), s(ze, En), s(En, pi), s(ze, ao), s(ze, ae), q(
5195
+ ), s(Ie, Zr), pe && pe.m(Ie, null), s(C, Jr), s(C, at), s(at, et), s(et, er), s(at, Yr), s(at, xe), s(C, Kr), s(C, st), s(st, Bt), s(Bt, tr), s(st, g), s(st, v), s(C, V), s(C, N), s(N, tt), s(tt, lt), s(N, ut), s(N, ke), s(C, qi), s(C, It), s(It, rn), s(rn, li), s(It, Zi), s(It, De), s(C, Ji), s(C, Ht), s(Ht, sn), s(sn, ui), s(Ht, Yi), s(Ht, Le), s(C, Ki), s(C, Tt), s(Tt, fn), s(fn, ci), s(Tt, eo), s(Tt, Re), s(C, to), me && me.m(C, null), s(r, ro), s(r, mn), s(mn, fi), s(fi, di), s(r, no), s(r, re), s(re, Mt), s(Mt, yn), s(yn, hi), s(Mt, io), s(Mt, Be), s(re, oo), s(re, ze), s(ze, En), s(En, pi), s(ze, ao), s(ze, ae), q(
5196
5196
  ae,
5197
5197
  /*profileValues*/
5198
5198
  e[5].city.value
@@ -5357,8 +5357,8 @@ function ta(e) {
5357
5357
  ne.length = Dt.length;
5358
5358
  }
5359
5359
  y[0] & /*profileValues, prefixesArray*/
5360
- 48 && Re !== (Re = `${/*profileValues*/
5361
- (fr = e[5].mobile) != null && fr.readOnly ? "FieldDisabled" : ""}`) && l(Z, "class", Re), y[0] & /*profileValues, prefixesArray*/
5360
+ 48 && Ne !== (Ne = `${/*profileValues*/
5361
+ (fr = e[5].mobile) != null && fr.readOnly ? "FieldDisabled" : ""}`) && l(Z, "class", Ne), y[0] & /*profileValues, prefixesArray*/
5362
5362
  48 && qe !== (qe = /*profileValues*/
5363
5363
  (dr = e[5].mobile) == null ? void 0 : dr.readOnly) && (Z.disabled = qe), y[0] & /*profileValues, prefixesArray*/
5364
5364
  48 && ko(
@@ -5450,27 +5450,27 @@ function ta(e) {
5450
5450
  524288 && nn !== (nn = /*$_*/
5451
5451
  e[19]("lastName") + "") && A(li, nn), y[0] & /*profileValues, prefixesArray*/
5452
5452
  48 && on !== (on = `${/*profileValues*/
5453
- (wr = e[5].lastname) != null && wr.readOnly ? "FieldDisabled" : ""}`) && l(Ne, "class", on), y[0] & /*profileValues, prefixesArray*/
5453
+ (wr = e[5].lastname) != null && wr.readOnly ? "FieldDisabled" : ""}`) && l(De, "class", on), y[0] & /*profileValues, prefixesArray*/
5454
5454
  48 && nr !== (nr = /*profileValues*/
5455
- e[5].lastname.value) && Ne.value !== nr && (Ne.value = nr), y[0] & /*profileValues, prefixesArray*/
5455
+ e[5].lastname.value) && De.value !== nr && (De.value = nr), y[0] & /*profileValues, prefixesArray*/
5456
5456
  48 && an !== (an = /*profileValues*/
5457
- (Ar = e[5].lastname) == null ? void 0 : Ar.readOnly) && (Ne.readOnly = an), y[0] & /*$_*/
5457
+ (Ar = e[5].lastname) == null ? void 0 : Ar.readOnly) && (De.readOnly = an), y[0] & /*$_*/
5458
5458
  524288 && ln !== (ln = /*$_*/
5459
5459
  e[19]("userTitle") + "") && A(ui, ln), y[0] & /*profileValues, prefixesArray*/
5460
5460
  48 && un !== (un = `${/*profileValues*/
5461
- (xr = e[5].title) != null && xr.readOnly ? "FieldDisabled" : ""}`) && l(De, "class", un), y[0] & /*profileValues, prefixesArray*/
5461
+ (xr = e[5].title) != null && xr.readOnly ? "FieldDisabled" : ""}`) && l(Le, "class", un), y[0] & /*profileValues, prefixesArray*/
5462
5462
  48 && ir !== (ir = /*profileValues*/
5463
- e[5].title.value) && De.value !== ir && (De.value = ir), y[0] & /*profileValues, prefixesArray*/
5463
+ e[5].title.value) && Le.value !== ir && (Le.value = ir), y[0] & /*profileValues, prefixesArray*/
5464
5464
  48 && cn !== (cn = /*profileValues*/
5465
- (kr = e[5].title) == null ? void 0 : kr.readOnly) && (De.readOnly = cn), y[0] & /*$_*/
5465
+ (kr = e[5].title) == null ? void 0 : kr.readOnly) && (Le.readOnly = cn), y[0] & /*$_*/
5466
5466
  524288 && dn !== (dn = /*$_*/
5467
5467
  e[19]("currency") + "") && A(ci, dn), y[0] & /*profileValues, prefixesArray*/
5468
5468
  48 && hn !== (hn = `${/*profileValues*/
5469
- (Br = e[5].currency) != null && Br.readOnly ? "FieldDisabled" : ""}`) && l(Le, "class", hn), y[0] & /*profileValues, prefixesArray*/
5469
+ (Br = e[5].currency) != null && Br.readOnly ? "FieldDisabled" : ""}`) && l(Re, "class", hn), y[0] & /*profileValues, prefixesArray*/
5470
5470
  48 && or !== (or = /*profileValues*/
5471
- e[5].currency.value) && Le.value !== or && (Le.value = or), y[0] & /*profileValues, prefixesArray*/
5471
+ e[5].currency.value) && Re.value !== or && (Re.value = or), y[0] & /*profileValues, prefixesArray*/
5472
5472
  48 && pn !== (pn = /*profileValues*/
5473
- (Or = e[5].currency) == null ? void 0 : Or.readOnly) && (Le.readOnly = pn), /*profileValues*/
5473
+ (Or = e[5].currency) == null ? void 0 : Or.readOnly) && (Re.readOnly = pn), /*profileValues*/
5474
5474
  e[5].iban.value ? me ? me.p(e, y) : (me = la(e), me.c(), me.m(C, null)) : me && (me.d(1), me = null), y[0] & /*$_*/
5475
5475
  524288 && bn !== (bn = /*$_*/
5476
5476
  e[19]("locationDetails") + "") && A(di, bn), y[0] & /*$_*/
@@ -6288,7 +6288,7 @@ function Wu(e, t, r) {
6288
6288
  title: "",
6289
6289
  username: "Username"
6290
6290
  }, h = {}, L = {}, U = ["Marketing", "Casino", "Sports", "Bingo"];
6291
- let Z = !1, Re = !1, qe = !1, it = !0, W = !0, Ze = !0, Je = !0, dt = !0, Ye = !0, je = !0, ht = !0, oe = !0, Ue = !1;
6291
+ let Z = !1, Ne = !1, qe = !1, it = !0, W = !0, Ze = !0, Je = !0, dt = !0, Ye = !0, je = !0, ht = !0, oe = !0, Ue = !1;
6292
6292
  const pt = {
6293
6293
  document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
6294
6294
  };
@@ -6367,7 +6367,7 @@ function Wu(e, t, r) {
6367
6367
  }, qr = () => {
6368
6368
  r(9, it = !1), Ye && je && W && Je && dt && Ze && ht && oe && r(9, it = !0);
6369
6369
  }, Ie = () => {
6370
- r(8, Re = Fe(h) !== Ae);
6370
+ r(8, Ne = Fe(h) !== Ae);
6371
6371
  }, ot = () => {
6372
6372
  qe = Fe(h.consents) !== we;
6373
6373
  }, Ke = (g) => () => {
@@ -6442,15 +6442,15 @@ function Wu(e, t, r) {
6442
6442
  window.location.href
6443
6443
  );
6444
6444
  }, Et = (g) => Me(this, null, function* () {
6445
- if (g.preventDefault(), Re && !qe && it) {
6445
+ if (g.preventDefault(), Ne && !qe && it) {
6446
6446
  Kt().then((v) => Me(this, null, function* () {
6447
- v ? (r(36, w = yield Ge(`/v1/player/${i}/profile`)), Ct()) : Yt();
6447
+ v ? (r(36, w = yield Ge(`/v1/player/${i}/profile`)), r(8, Ne = !1), Ct()) : Yt();
6448
6448
  }));
6449
6449
  return;
6450
6450
  }
6451
- if (Re && qe && it) {
6451
+ if (Ne && qe && it) {
6452
6452
  Promise.all([Kt(), St()]).then((v) => Me(this, null, function* () {
6453
- v[0] && v[1] ? (r(37, M = (yield Ge(`/v1/player/${i}/consent`)).items), r(36, w = yield Ge(`/v1/player/${i}/profile`)), r(8, Re = !1), qe = !1, Ct()) : Yt();
6453
+ v[0] && v[1] ? (r(37, M = (yield Ge(`/v1/player/${i}/consent`)).items), r(36, w = yield Ge(`/v1/player/${i}/profile`)), r(8, Ne = !1), qe = !1, Ct()) : Yt();
6454
6454
  }));
6455
6455
  return;
6456
6456
  }
@@ -6610,7 +6610,7 @@ function Wu(e, t, r) {
6610
6610
  h,
6611
6611
  L,
6612
6612
  Z,
6613
- Re,
6613
+ Ne,
6614
6614
  it,
6615
6615
  W,
6616
6616
  Ze,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfo-Bhb6LIn7.cjs")).then(({default:t})=>{!customElements.get("player-profile-info")&&customElements.define("player-profile-info",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfo-B4GExqh5.cjs")).then(({default:t})=>{!customElements.get("player-profile-info")&&customElements.define("player-profile-info",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-Dh-8PdLh.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-BfBvOlDL.js").then(({ default: t }) => {
14
14
  !customElements.get("player-profile-info") && customElements.define("player-profile-info", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerProfileInfo-CaLd1sed.js";
1
+ import { P as s } from "../components/PlayerProfileInfo-BYeNSdGi.js";
2
2
  function r(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-profile-info",
3
- "version": "1.66.0",
3
+ "version": "1.66.2",
4
4
  "type": "module",
5
5
  "main": "es2015/player-profile-info.cjs",
6
6
  "module": "esnext/player-profile-info.js",