@everymatrix/player-profile-info 1.86.21 → 1.86.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerProfileInfo-BMGPFsDb.js → PlayerProfileInfo-BTKeUlMN.js} +1 -1
- package/components/{PlayerProfileInfo-CP-ZXqUa.js → PlayerProfileInfo-CS4i8g7y.js} +1 -1
- package/components/{PlayerProfileInfo-BNRla_j6.cjs → PlayerProfileInfo-Co9n5Iqk.cjs} +1 -1
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
|
@@ -6579,7 +6579,7 @@ function Yl(e, t, r) {
|
|
|
6579
6579
|
const g = v === "mobilePrefix" || v === "mobileNumber";
|
|
6580
6580
|
if (g && h.mobile?.readOnly || h[v]?.readOnly)
|
|
6581
6581
|
return;
|
|
6582
|
-
const T = h[v].value, B = !g && typeof T == "string" ? T.trim() : T;
|
|
6582
|
+
const T = g ? h.mobile.value : h[v].value, B = !g && typeof T == "string" ? T.trim() : T;
|
|
6583
6583
|
switch (v) {
|
|
6584
6584
|
case "lastname":
|
|
6585
6585
|
case "firstname":
|
|
@@ -6635,7 +6635,7 @@ function ic(e, t, r) {
|
|
|
6635
6635
|
const g = y === "mobilePrefix" || y === "mobileNumber";
|
|
6636
6636
|
if (g && ((Y = h.mobile) != null && Y.readOnly) || (z = h[y]) != null && z.readOnly)
|
|
6637
6637
|
return;
|
|
6638
|
-
const H = h[y].value, B = !g && typeof H == "string" ? H.trim() : H;
|
|
6638
|
+
const H = g ? h.mobile.value : h[y].value, B = !g && typeof H == "string" ? H.trim() : H;
|
|
6639
6639
|
switch (y) {
|
|
6640
6640
|
case "lastname":
|
|
6641
6641
|
case "firstname":
|
|
@@ -18,4 +18,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
18
18
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function Fn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var tn=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=jn(a),c=u.next();!c.done;c=u.next()){var p=c.value;p.remove(this)}}catch(C){t={error:C}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(qe(f))try{f()}catch(C){o=C instanceof An?C.errors:[C]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var v=jn(m),_=v.next();!_.done;_=v.next()){var E=_.value;try{ra(E)}catch(C){o=o!=null?o:[],C instanceof An?o=Rn(Rn([],Un(o)),Un(C.errors)):o.push(C)}}}catch(C){i={error:C}}finally{try{_&&!_.done&&(n=v.return)&&n.call(v)}finally{if(i)throw i.error}}}if(o)throw new An(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ra(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)&&Fn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Fn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ss=tn.EMPTY;function ls(e){return e instanceof tn||e&&"closed"in e&&qe(e.remove)&&qe(e.add)&&qe(e.unsubscribe)}function ra(e){qe(e)?e():e.unsubscribe()}var Tu={Promise:void 0},Nu={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Rn([e,t],Un(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Mu(e){Nu.setTimeout(function(){throw e})}function ia(){}function $i(e){e()}var us=function(e){Fr(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,ls(r)&&r.add(i)):i.destination=ju,i}return t.create=function(r,i,n){return new zn(r,i,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(tn),Du=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(i){Fi(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Fi(i)}else Fi(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Fi(r)}},e}(),zn=function(e){Fr(t,e);function t(r,i,n){var o=e.call(this)||this,a;return qe(r)||!r?a={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0}:a=r,o.destination=new Du(a),o}return t}(us);function Fi(e){Mu(e)}function Lu(e){throw e}var ju={closed:!0,next:ia,error:Lu,complete:ia},Uu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ru(e){return e}function Fu(e){return e.length===0?Ru:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var na=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,i){var n=this,o=Gu(t)?t:new zn(t,r,i);return $i(function(){var a=n,u=a.operator,c=a.source;o.add(u?u.call(o,c):c?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var i=this;return r=oa(r),new r(function(n,o){var a=new zn({next:function(u){try{t(u)}catch(c){o(c),a.unsubscribe()}},error:o,complete:n});i.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Uu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Fu(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=oa(t),new t(function(i,n){var o;r.subscribe(function(a){return o=a},function(a){return n(a)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function oa(e){var t;return(t=e!=null?e:Tu.Promise)!==null&&t!==void 0?t:Promise}function zu(e){return e&&qe(e.next)&&qe(e.error)&&qe(e.complete)}function Gu(e){return e&&e instanceof us||zu(e)&&ls(e)}var Vu=as(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),cs=function(e){Fr(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var i=new aa(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new Vu},t.prototype.next=function(r){var i=this;$i(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=jn(i.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(r)}}catch(p){n={error:p}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;$i(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;$i(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var i=this,n=this,o=n.hasError,a=n.isStopped,u=n.observers;return o||a?ss:(this.currentObservers=null,u.push(r),new tn(function(){i.currentObservers=null,Fn(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,a=i.isStopped;n?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new na;return r.source=this,r},t.create=function(r,i){return new aa(r,i)},t}(na),aa=function(e){Fr(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:ss},t}(cs),fs={now:function(){return(fs.delegate||Date).now()},delegate:void 0},$u=function(e){Fr(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=fs);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,a=i._infiniteTimeWindow,u=i._timestampProvider,c=i._windowTime;n||(o.push(r),!a&&o.push(u.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,a=n._buffer,u=a.slice(),c=0;c<u.length&&!r.closed;c+=o?1:2)r.next(u[c]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,u=(a?1:2)*i;if(i<1/0&&u<o.length&&o.splice(0,o.length-u),!a){for(var c=n.now(),p=0,f=1;f<o.length&&o[f]<=c;f+=2)p=f;p&&o.splice(0,p+1)}},t}(cs);const sa=[],la={},Wu=(e,t=0)=>{if(sa.indexOf(e)==-1){const r=new $u(t);la[e]=r,sa.push(e)}return la[e]};window.emWidgets={topic:Wu};const Qu=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;function Xu(e){Cs(e,"svelte-1jx0ehu",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.WelcomeSection{display:grid;gap:0.5rem}.WelcomeSection .WelcomeSectionTitle{margin:0;font-size:1.25rem;line-height:1.2;font-weight:700}.WelcomeSection .WelcomeSectionDescription{margin:0;font-size:0.95rem;line-height:1.4;opacity:0.9}.WelcomeSection .WelcomeSectionProfileRow{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0.75rem;margin-top:0.25rem}.WelcomeSection .WelcomeSectionProfilePicture{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;color:#333}.WelcomeSection .WelcomeSectionProfilePicture .AvatarIcon{width:100%;height:100%}.WelcomeSection .WelcomeSectionFullName{font-weight:600;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px}.PlayerInfoWrapper .PlayerFadeInWarapper{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw--color-gray-300, #58586b);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:10px;line-height:16px;background:var(--emw--color-white, #ffffff);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px)}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input.FieldDisabled:focus,.PlayerInfoBox input.FieldDisabled:focus-within,.PlayerInfoBox input.FieldDisabled:focus-visible{border:1px solid var(--emw--color-gray-100, #353535);box-shadow:none}.PlayerInfoBox.InvalidField input,.PlayerInfoBox.InvalidPrefix select{border:1px solid var(--emw--color-error, var(--emw--color-red, #fd2839));background:var(--emw--color-pale, #fbecf4);color:var(--emw--color-error, var(--emw--color-red, #fd2839))}.PlayerInfoBox .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #ffffff);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield;appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.LocationDetailsDescription{grid-column:span 2}.PlayerNotificationBox{margin-top:5px;margin-bottom:5px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw--color-gray-100, #e6e6e6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw--color-white, #ffffff);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerNotificationBox.Parent span{font-weight:var(--emw--font-weight-bold, 700)}.PlayerNotificationBox.Child{margin-left:20px}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, black 20%), var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0e5924);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{display:flex;gap:50px;padding-bottom:30px}.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 ua(e,t,r){const i=e.slice();return i[78]=t[r],i[79]=t,i[80]=r,i}function ca(e,t,r){const i=e.slice();return i[81]=t[r],i[82]=t,i[83]=r,i}function fa(e,t,r){const i=e.slice();return i[84]=t[r],i}function qu(e,t,r){const i=e.slice();return i[87]=t[r],i[89]=r,i}function Zu(e,t,r){const i=e.slice();return i[87]=t[r],i[89]=r,i}function Yu(e,t,r){const i=e.slice();return i[87]=t[r],i[89]=r,i}function Ju(e){let t;return{c(){t=d("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputText"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,i){L(r,t,i)},p:we,d(r){r&&M(t)}}}function Ku(e){let t;return{c(){t=d("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputField"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,i){L(r,t,i)},p:we,d(r){r&&M(t)}}}function ec(e){let t;return{c(){t=d("div"),t.innerHTML='<div class="skletonInputCircle"><ui-skeleton structure="circle" size="20px" height="10px"></ui-skeleton></div> <div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,i){L(r,t,i)},p:we,d(r){r&&M(t)}}}function pa(e){var _o,Po,So,Eo,wo,Ao;let t,r,i,n,o,a=e[12]("titleProfileInfo")+"",u,c,p,f,m,v=e[12]("personalDetails")+"",_,E,C,w,k,N=e[12]("userName")+"",S,U,F,W,ae,te,Ve,se,D,h,R=e[12]("userPhone")+"",Q,zr,Re,Z,Me,$e,Ze,X,it,De,Fe,Wt,dt,Gr,Oe,Ye,mt=(e[0]=="true"?e[12]("profileSecurityQuestion2"):e[12]("profileSecurityQuestion"))+"",Qt,Vr,bt,$r,q,nt,ot,Wr,at,Xt,Be,Je,vt=(e[0]=="true"?e[12]("profileSecurityAnswer2"):e[12]("profileSecurityAnswer"))+"",qt,Qr,yt,st,K,gt,Ct,Xr,_t,qr,Ke,Pt,St=e[12]("userEmail")+"",Zt,Zr,Ae,Et,lt,wt,y,g,H,O=e[12]("dateOfBirth")+"",Y,z,B,He,ee,We,et,Le,Yr,Jr=e[12]("firstName")+"",rn,$n,ke,Kr,ei,Wn,Qn,Qe,ti,ri=e[12]("lastName")+"",nn,Xn,xe,ii,ni,qn,Zn,At,oi,ai=e[12]("userTitle")+"",on,Yn,je,si,Yt,li,Jn,kt,ui,ci=e[12]("currency")+"",an,Kn,Ue,fi,Jt,pi,eo,to,hi,sn,di=e[12]("locationDetails")+"",ln,ro,re,xt,mi,bi=e[12]("userCountry")+"",un,io,ie,vi,yi,gi,no,ut,Ci,_i=e[12]("userCity")+"",cn,oo,le,Pi,Si,ao,so,ct,Ei,wi=e[12]("userAddress")+"",fn,lo,ue,Ai,ki,uo,co,ft,xi,Oi=e[12]("userAddress2")+"",pn,fo,ce,Bi,Hi,po,ho,pt,Ii,Ti=e[12]("userPostalCode")+"",hn,mo,fe,Ni,Mi,bo,vo,yo,dn=Object.keys(e[5].consents).length>0,mn,Kt,Ot,Di=e[12]("userProfileSaveChanges")+"",bn,Li,ji,go,Ui,vn,Co,pe=e[1]==="true"&&ha(e),he=e[8]&&da(e),Bt=Xe(e[4]),ne=[];for(let J=0;J<Bt.length;J+=1)ne[J]=ma(fa(e,Bt,J));let de=!((_o=e[5].mobile)!=null&&_o.isNumberValid)&&ba(e),me=!((Po=e[5].mobile)!=null&&Po.isPrefixValid)&&va(e),be=!((So=e[5].securityQuestion)!=null&&So.isValid)&&ya(e),ve=!((Eo=e[5].securityAnswer)!=null&&Eo.isValid)&&ga(e),ye=!((wo=e[5].firstname)!=null&&wo.isValid)&&Ca(e),ge=!((Ao=e[5].lastname)!=null&&Ao.isValid)&&_a(e),Ce=e[5].iban.value&&Pa(e),_e=e[2]==="true"&&Sa(e),Pe=dn&&Ea(e),Se=e[11]&&Oa(e);return{c(){var J,b,ze,er,tr,rr,ir,nr,or,ar,sr,lr,ur,cr,fr,pr,hr,dr,mr,br,vr,yr,gr,Cr,_r,Pr,Sr,Er,wr,Ar,kr,xr,Or,Br,Hr,Ir,Tr;pe&&pe.c(),t=P(),r=d("form"),i=d("div"),he&&he.c(),n=P(),o=d("h2"),u=A(a),p=P(),f=d("div"),m=d("h3"),_=A(v),E=P(),C=d("section"),w=d("div"),k=d("label"),S=A(N),U=P(),F=d("input"),se=P(),D=d("div"),h=d("label"),Q=A(R),zr=P(),Re=d("div"),Z=d("select");for(let Ht=0;Ht<ne.length;Ht+=1)ne[Ht].c();Ze=P(),X=d("input"),Fe=P(),de&&de.c(),Wt=P(),me&&me.c(),Gr=P(),Oe=d("div"),Ye=d("label"),Qt=A(mt),Vr=A(":"),bt=d("span"),bt.textContent="*",$r=P(),q=d("input"),Wr=P(),be&&be.c(),Xt=P(),Be=d("div"),Je=d("label"),qt=A(vt),Qr=A(":"),yt=d("span"),yt.textContent="*",st=P(),K=d("input"),Xr=P(),ve&&ve.c(),qr=P(),Ke=d("div"),Pt=d("label"),Zt=A(St),Zr=P(),Ae=d("input"),y=P(),g=d("div"),H=d("label"),Y=A(O),z=P(),B=d("input"),et=P(),Le=d("div"),Yr=d("label"),rn=A(Jr),$n=P(),ke=d("input"),Wn=P(),ye&&ye.c(),Qn=P(),Qe=d("div"),ti=d("label"),nn=A(ri),Xn=P(),xe=d("input"),qn=P(),ge&&ge.c(),Zn=P(),At=d("div"),oi=d("label"),on=A(ai),Yn=P(),je=d("input"),Jn=P(),kt=d("div"),ui=d("label"),an=A(ci),Kn=P(),Ue=d("input"),eo=P(),Ce&&Ce.c(),to=P(),hi=d("div"),sn=d("h3"),ln=A(di),ro=P(),re=d("section"),xt=d("div"),mi=d("label"),un=A(bi),io=P(),ie=d("input"),no=P(),ut=d("div"),Ci=d("label"),cn=A(_i),oo=P(),le=d("input"),ao=P(),so=P(),ct=d("div"),Ei=d("label"),fn=A(wi),lo=P(),ue=d("input"),uo=P(),co=P(),ft=d("div"),xi=d("label"),pn=A(Oi),fo=P(),ce=d("input"),po=P(),ho=P(),pt=d("div"),Ii=d("label"),hn=A(Ti),mo=P(),fe=d("input"),bo=P(),vo=P(),_e&&_e.c(),yo=P(),Pe&&Pe.c(),mn=P(),Kt=d("section"),Ot=d("button"),bn=A(Di),go=P(),Se&&Se.c(),l(o,"class",c="MyAccountCategoryTitle "+(e[8]?"MyAccountCategoryTitleNone":"")),l(f,"class","PlayerNotificationsHeader"),l(k,"for","Username"),l(F,"id","Username"),l(F,"type","text"),l(F,"class",W=`${(J=e[5].username)!=null&&J.readOnly?"FieldDisabled":""}`),F.value=ae=e[5].username.value,F.readOnly=te=(b=e[5].username)==null?void 0:b.readOnly,l(w,"class",Ve="PlayerInfoBox "+(e[5].username.isValid?"":"InvalidField")),l(h,"for","UserMobile"),l(Z,"id","UserMobilePrefix"),l(Z,"class",Me=`${(ze=e[5].mobile)!=null&&ze.readOnly?"FieldDisabled":""} ${(er=e[5].mobile)!=null&&er.isPrefixValid?"":"InvalidPrefix"}`),Z.disabled=$e=(tr=e[5].mobile)==null?void 0:tr.readOnly,e[5].mobile.prefix===void 0&&Wi(()=>e[33].call(Z)),l(X,"id","UserMobile"),l(X,"type","text"),l(X,"class",it=`${(rr=e[5].mobile)!=null&&rr.readOnly?"FieldDisabled":""} ${(ir=e[5].mobile)!=null&&ir.isNumberValid?"":"InvalidNumber"}`),l(X,"placeholder",e[13].mobile.number),X.readOnly=De=(nr=e[5].mobile)==null?void 0:nr.readOnly,l(Re,"class","PlayerPhoneNumber"),l(Re,"id","UserMobile"),l(D,"class",dt="PlayerInfoBox "+((or=e[5].mobile)!=null&&or.isValid?"":"InvalidField")),l(bt,"class","FormRequired"),l(Ye,"for","SecurityQuestion"),l(q,"id","SecurityQuestion"),l(q,"type","text"),l(q,"class",nt=`${(ar=e[5].securityQuestion)!=null&&ar.readOnly?"FieldDisabled":""}`),l(q,"placeholder",e[13].securityQuestion),q.readOnly=ot=(sr=e[5].securityQuestion)==null?void 0:sr.readOnly,l(Oe,"class",at="PlayerInfoBox "+((lr=e[5].securityQuestion)!=null&&lr.isValid?"":"InvalidField")),l(yt,"class","FormRequired"),l(Je,"for","SecurityAnswer"),l(K,"id","SecurityAnswer"),l(K,"type","text"),l(K,"class",gt=`${(ur=e[5].securityAnswer)!=null&&ur.readOnly?"FieldDisabled":""}`),l(K,"placeholder",e[13].securityAnswer),K.readOnly=Ct=(cr=e[5].securityAnswer)==null?void 0:cr.readOnly,l(Be,"class",_t="PlayerInfoBox "+((fr=e[5].securityAnswer)!=null&&fr.isValid?"":"InvalidField")),l(Pt,"for","UserEmail"),l(Ae,"id","UserEmail"),l(Ae,"type","email"),l(Ae,"class",Et=`${(pr=e[5].email)!=null&&pr.readOnly?"FieldDisabled":""}`),Ae.value=lt=e[5].email.value,Ae.readOnly=wt=(hr=e[5].email)==null?void 0:hr.readOnly,l(Ke,"class","PlayerInfoBox"),l(H,"for","DateOfBirth"),l(B,"id","DateOfBirth"),l(B,"type","text"),l(B,"class",He=`${(dr=e[5].birth)!=null&&dr.readOnly?"FieldDisabled":""}`),B.value=ee=e[5].birth.value,B.readOnly=We=(mr=e[5].birth)==null?void 0:mr.readOnly,l(g,"class","PlayerInfoBox"),l(Yr,"for","FirstName"),l(ke,"id","FirstName"),l(ke,"type","text"),l(ke,"class",Kr=`${(br=e[5].firstname)!=null&&br.readOnly?"FieldDisabled":""}`),ke.readOnly=ei=(vr=e[5].firstname)==null?void 0:vr.readOnly,l(Le,"class","PlayerInfoBox"),l(ti,"for","LastName"),l(xe,"id","LastName"),l(xe,"type","text"),l(xe,"class",ii=`${(yr=e[5].lastname)!=null&&yr.readOnly?"FieldDisabled":""}`),xe.readOnly=ni=(gr=e[5].lastname)==null?void 0:gr.readOnly,l(Qe,"class","PlayerInfoBox"),l(oi,"for","UserTitle"),l(je,"id","UserTitle"),l(je,"type","text"),l(je,"class",si=`${(Cr=e[5].title)!=null&&Cr.readOnly?"FieldDisabled":""}`),je.value=Yt=e[5].title.value,je.readOnly=li=(_r=e[5].title)==null?void 0:_r.readOnly,l(At,"class","PlayerInfoBox"),l(ui,"for","Currrency"),l(Ue,"id","Currency"),l(Ue,"type","text"),l(Ue,"class",fi=`${(Pr=e[5].currency)!=null&&Pr.readOnly?"FieldDisabled":""}`),Ue.value=Jt=e[5].currency.value,Ue.readOnly=pi=(Sr=e[5].currency)==null?void 0:Sr.readOnly,l(kt,"class","PlayerInfoBox"),l(C,"class","PlayerDetailsContent"),l(hi,"class","PlayerLocationHeader"),l(mi,"for","UserCountry"),l(ie,"id","UserCountry"),l(ie,"type","text"),l(ie,"class",vi=`PlayerCountry ${(Er=e[5].country)!=null&&Er.readOnly?"FieldDisabled":""}`),l(ie,"placeholder",yi=e[5].country.countryCode),ie.readOnly=gi=(wr=e[5].country)==null?void 0:wr.readOnly,l(xt,"class","PlayerInfoBox"),l(Ci,"for","UserCity"),l(le,"id","UserCity"),l(le,"type","text"),l(le,"class",Pi=`${(Ar=e[5].city)!=null&&Ar.readOnly?"FieldDisabled":""}`),l(le,"placeholder",e[13].city),le.readOnly=Si=(kr=e[5].city)==null?void 0:kr.readOnly,l(ut,"class","PlayerInfoBox "),l(Ei,"for","UserAddress"),l(ue,"id","UserAddress"),l(ue,"type","text"),l(ue,"class",Ai=`${(xr=e[5].address1)!=null&&xr.readOnly?"FieldDisabled":""}`),l(ue,"placeholder",e[13].address1),ue.readOnly=ki=(Or=e[5].address1)==null?void 0:Or.readOnly,l(ct,"class","PlayerInfoBox "),l(xi,"for","UserAddress"),l(ce,"id","UserAddress2"),l(ce,"type","text"),l(ce,"class",Bi=`${(Br=e[5].address2)!=null&&Br.readOnly?"FieldDisabled":""}`),l(ce,"placeholder",e[13].address2),ce.readOnly=Hi=(Hr=e[5].address2)==null?void 0:Hr.readOnly,l(ft,"class","PlayerInfoBox "),l(Ii,"for","UserPostalCode"),l(fe,"id","UserPostalCode"),l(fe,"type","text"),l(fe,"class",Ni=`${(Ir=e[5].postalCode)!=null&&Ir.readOnly?"FieldDisabled":""}`),l(fe,"placeholder",e[13].postalCode),fe.readOnly=Mi=(Tr=e[5].postalCode)==null?void 0:Tr.readOnly,l(pt,"class","PlayerInfoBox "),l(re,"class","PlayerLocationContent"),l(Ot,"class",Li="PlayerDetailsSaveButton "+(e[9]&&e[10]?"":"PlayerButtonDisabled")),l(Kt,"class",ji="PlayerDetailsButtonsArea "+(e[8]?"PlayerDetailsButtonsAreaMobile":"")),l(i,"class","PlayerFadeInWarapper"),l(r,"class",Ui="PlayerInfoWrapper "+(e[8]?"PlayerInfoWrapperMobile":""))},m(J,b){pe&&pe.m(J,b),L(J,t,b),L(J,r,b),s(r,i),he&&he.m(i,null),s(i,n),s(i,o),s(o,u),s(i,p),s(i,f),s(f,m),s(m,_),s(i,E),s(i,C),s(C,w),s(w,k),s(k,S),s(w,U),s(w,F),s(C,se),s(C,D),s(D,h),s(h,Q),s(D,zr),s(D,Re),s(Re,Z);for(let ze=0;ze<ne.length;ze+=1)ne[ze]&&ne[ze].m(Z,null);Uo(Z,e[5].mobile.prefix,!0),s(Re,Ze),s(Re,X),G(X,e[5].mobile.number),s(D,Fe),de&&de.m(D,null),s(D,Wt),me&&me.m(D,null),s(C,Gr),s(C,Oe),s(Oe,Ye),s(Ye,Qt),s(Ye,Vr),s(Ye,bt),s(Oe,$r),s(Oe,q),G(q,e[5].securityQuestion.value),s(Oe,Wr),be&&be.m(Oe,null),s(C,Xt),s(C,Be),s(Be,Je),s(Je,qt),s(Je,Qr),s(Je,yt),s(Be,st),s(Be,K),G(K,e[5].securityAnswer.value),s(Be,Xr),ve&&ve.m(Be,null),s(C,qr),s(C,Ke),s(Ke,Pt),s(Pt,Zt),s(Ke,Zr),s(Ke,Ae),s(C,y),s(C,g),s(g,H),s(H,Y),s(g,z),s(g,B),s(C,et),s(C,Le),s(Le,Yr),s(Yr,rn),s(Le,$n),s(Le,ke),G(ke,e[5].firstname.value),s(Le,Wn),ye&&ye.m(Le,null),s(C,Qn),s(C,Qe),s(Qe,ti),s(ti,nn),s(Qe,Xn),s(Qe,xe),G(xe,e[5].lastname.value),s(Qe,qn),ge&&ge.m(Qe,null),s(C,Zn),s(C,At),s(At,oi),s(oi,on),s(At,Yn),s(At,je),s(C,Jn),s(C,kt),s(kt,ui),s(ui,an),s(kt,Kn),s(kt,Ue),s(C,eo),Ce&&Ce.m(C,null),s(i,to),s(i,hi),s(hi,sn),s(sn,ln),s(i,ro),s(i,re),s(re,xt),s(xt,mi),s(mi,un),s(xt,io),s(xt,ie),G(ie,e[5].country.countryName),s(re,no),s(re,ut),s(ut,Ci),s(Ci,cn),s(ut,oo),s(ut,le),G(le,e[5].city.value),s(ut,ao),s(re,so),s(re,ct),s(ct,Ei),s(Ei,fn),s(ct,lo),s(ct,ue),G(ue,e[5].address1.value),s(ct,uo),s(re,co),s(re,ft),s(ft,xi),s(xi,pn),s(ft,fo),s(ft,ce),G(ce,e[5].address2.value),s(ft,po),s(re,ho),s(re,pt),s(pt,Ii),s(Ii,hn),s(pt,mo),s(pt,fe),G(fe,e[5].postalCode.value),s(pt,bo),s(re,vo),_e&&_e.m(re,null),s(i,yo),Pe&&Pe.m(i,null),s(i,mn),s(i,Kt),s(Kt,Ot),s(Ot,bn),s(i,go),Se&&Se.m(i,null),vn||(Co=[j(Z,"change",e[33]),j(Z,"change",e[15]("mobilePrefix")),j(X,"input",e[34]),j(X,"keyup",e[15]("mobileNumber")),j(X,"input",function(){zt(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)}),j(q,"input",e[35]),j(q,"keyup",e[15]("securityQuestion")),j(K,"input",e[36]),j(K,"keyup",e[15]("securityAnswer")),j(ke,"input",e[37]),j(ke,"keyup",e[15]("firstname")),j(xe,"input",e[38]),j(xe,"keyup",e[15]("lastname")),j(ie,"input",e[39]),j(ie,"keyup",e[15]("country")),j(le,"input",e[40]),j(le,"keyup",e[15]("city")),j(ue,"input",e[41]),j(ue,"keyup",e[15]("address1")),j(ce,"input",e[42]),j(ce,"keyup",e[15]("address2")),j(fe,"input",e[43]),j(fe,"keyup",e[15]("postalCode")),j(Ot,"click",e[16])],vn=!0)},p(J,b){var ze,er,tr,rr,ir,nr,or,ar,sr,lr,ur,cr,fr,pr,hr,dr,mr,br,vr,yr,gr,Cr,_r,Pr,Sr,Er,wr,Ar,kr,xr,Or,Br,Hr,Ir,Tr,Ht,ko,xo,Oo,Bo,Ho,Io,To;if(e=J,e[1]==="true"?pe?pe.p(e,b):(pe=ha(e),pe.c(),pe.m(t.parentNode,t)):pe&&(pe.d(1),pe=null),e[8]?he?he.p(e,b):(he=da(e),he.c(),he.m(i,n)):he&&(he.d(1),he=null),b[0]&4096&&a!==(a=e[12]("titleProfileInfo")+"")&&x(u,a),b[0]&256&&c!==(c="MyAccountCategoryTitle "+(e[8]?"MyAccountCategoryTitleNone":""))&&l(o,"class",c),b[0]&4096&&v!==(v=e[12]("personalDetails")+"")&&x(_,v),b[0]&4096&&N!==(N=e[12]("userName")+"")&&x(S,N),b[0]&48&&W!==(W=`${(ze=e[5].username)!=null&&ze.readOnly?"FieldDisabled":""}`)&&l(F,"class",W),b[0]&48&&ae!==(ae=e[5].username.value)&&F.value!==ae&&(F.value=ae),b[0]&48&&te!==(te=(er=e[5].username)==null?void 0:er.readOnly)&&(F.readOnly=te),b[0]&48&&Ve!==(Ve="PlayerInfoBox "+(e[5].username.isValid?"":"InvalidField"))&&l(w,"class",Ve),b[0]&4096&&R!==(R=e[12]("userPhone")+"")&&x(Q,R),b[0]&48){Bt=Xe(e[4]);let Ie;for(Ie=0;Ie<Bt.length;Ie+=1){const No=fa(e,Bt,Ie);ne[Ie]?ne[Ie].p(No,b):(ne[Ie]=ma(No),ne[Ie].c(),ne[Ie].m(Z,null))}for(;Ie<ne.length;Ie+=1)ne[Ie].d(1);ne.length=Bt.length}b[0]&48&&Me!==(Me=`${(tr=e[5].mobile)!=null&&tr.readOnly?"FieldDisabled":""} ${(rr=e[5].mobile)!=null&&rr.isPrefixValid?"":"InvalidPrefix"}`)&&l(Z,"class",Me),b[0]&48&&$e!==($e=(ir=e[5].mobile)==null?void 0:ir.readOnly)&&(Z.disabled=$e),b[0]&48&&Uo(Z,e[5].mobile.prefix),b[0]&48&&it!==(it=`${(nr=e[5].mobile)!=null&&nr.readOnly?"FieldDisabled":""} ${(or=e[5].mobile)!=null&&or.isNumberValid?"":"InvalidNumber"}`)&&l(X,"class",it),b[0]&48&&De!==(De=(ar=e[5].mobile)==null?void 0:ar.readOnly)&&(X.readOnly=De),b[0]&48&&X.value!==e[5].mobile.number&&G(X,e[5].mobile.number),(sr=e[5].mobile)!=null&&sr.isNumberValid?de&&(de.d(1),de=null):de?de.p(e,b):(de=ba(e),de.c(),de.m(D,Wt)),(lr=e[5].mobile)!=null&&lr.isPrefixValid?me&&(me.d(1),me=null):me?me.p(e,b):(me=va(e),me.c(),me.m(D,null)),b[0]&48&&dt!==(dt="PlayerInfoBox "+((ur=e[5].mobile)!=null&&ur.isValid?"":"InvalidField"))&&l(D,"class",dt),b[0]&4097&&mt!==(mt=(e[0]=="true"?e[12]("profileSecurityQuestion2"):e[12]("profileSecurityQuestion"))+"")&&x(Qt,mt),b[0]&48&&nt!==(nt=`${(cr=e[5].securityQuestion)!=null&&cr.readOnly?"FieldDisabled":""}`)&&l(q,"class",nt),b[0]&48&&ot!==(ot=(fr=e[5].securityQuestion)==null?void 0:fr.readOnly)&&(q.readOnly=ot),b[0]&48&&q.value!==e[5].securityQuestion.value&&G(q,e[5].securityQuestion.value),(pr=e[5].securityQuestion)!=null&&pr.isValid?be&&(be.d(1),be=null):be?be.p(e,b):(be=ya(e),be.c(),be.m(Oe,null)),b[0]&48&&at!==(at="PlayerInfoBox "+((hr=e[5].securityQuestion)!=null&&hr.isValid?"":"InvalidField"))&&l(Oe,"class",at),b[0]&4097&&vt!==(vt=(e[0]=="true"?e[12]("profileSecurityAnswer2"):e[12]("profileSecurityAnswer"))+"")&&x(qt,vt),b[0]&48&>!==(gt=`${(dr=e[5].securityAnswer)!=null&&dr.readOnly?"FieldDisabled":""}`)&&l(K,"class",gt),b[0]&48&&Ct!==(Ct=(mr=e[5].securityAnswer)==null?void 0:mr.readOnly)&&(K.readOnly=Ct),b[0]&48&&K.value!==e[5].securityAnswer.value&&G(K,e[5].securityAnswer.value),(br=e[5].securityAnswer)!=null&&br.isValid?ve&&(ve.d(1),ve=null):ve?ve.p(e,b):(ve=ga(e),ve.c(),ve.m(Be,null)),b[0]&48&&_t!==(_t="PlayerInfoBox "+((vr=e[5].securityAnswer)!=null&&vr.isValid?"":"InvalidField"))&&l(Be,"class",_t),b[0]&4096&&St!==(St=e[12]("userEmail")+"")&&x(Zt,St),b[0]&48&&Et!==(Et=`${(yr=e[5].email)!=null&&yr.readOnly?"FieldDisabled":""}`)&&l(Ae,"class",Et),b[0]&48&<!==(lt=e[5].email.value)&&Ae.value!==lt&&(Ae.value=lt),b[0]&48&&wt!==(wt=(gr=e[5].email)==null?void 0:gr.readOnly)&&(Ae.readOnly=wt),b[0]&4096&&O!==(O=e[12]("dateOfBirth")+"")&&x(Y,O),b[0]&48&&He!==(He=`${(Cr=e[5].birth)!=null&&Cr.readOnly?"FieldDisabled":""}`)&&l(B,"class",He),b[0]&48&&ee!==(ee=e[5].birth.value)&&B.value!==ee&&(B.value=ee),b[0]&48&&We!==(We=(_r=e[5].birth)==null?void 0:_r.readOnly)&&(B.readOnly=We),b[0]&4096&&Jr!==(Jr=e[12]("firstName")+"")&&x(rn,Jr),b[0]&48&&Kr!==(Kr=`${(Pr=e[5].firstname)!=null&&Pr.readOnly?"FieldDisabled":""}`)&&l(ke,"class",Kr),b[0]&48&&ei!==(ei=(Sr=e[5].firstname)==null?void 0:Sr.readOnly)&&(ke.readOnly=ei),b[0]&48&&ke.value!==e[5].firstname.value&&G(ke,e[5].firstname.value),(Er=e[5].firstname)!=null&&Er.isValid?ye&&(ye.d(1),ye=null):ye?ye.p(e,b):(ye=Ca(e),ye.c(),ye.m(Le,null)),b[0]&4096&&ri!==(ri=e[12]("lastName")+"")&&x(nn,ri),b[0]&48&&ii!==(ii=`${(wr=e[5].lastname)!=null&&wr.readOnly?"FieldDisabled":""}`)&&l(xe,"class",ii),b[0]&48&&ni!==(ni=(Ar=e[5].lastname)==null?void 0:Ar.readOnly)&&(xe.readOnly=ni),b[0]&48&&xe.value!==e[5].lastname.value&&G(xe,e[5].lastname.value),(kr=e[5].lastname)!=null&&kr.isValid?ge&&(ge.d(1),ge=null):ge?ge.p(e,b):(ge=_a(e),ge.c(),ge.m(Qe,null)),b[0]&4096&&ai!==(ai=e[12]("userTitle")+"")&&x(on,ai),b[0]&48&&si!==(si=`${(xr=e[5].title)!=null&&xr.readOnly?"FieldDisabled":""}`)&&l(je,"class",si),b[0]&48&&Yt!==(Yt=e[5].title.value)&&je.value!==Yt&&(je.value=Yt),b[0]&48&&li!==(li=(Or=e[5].title)==null?void 0:Or.readOnly)&&(je.readOnly=li),b[0]&4096&&ci!==(ci=e[12]("currency")+"")&&x(an,ci),b[0]&48&&fi!==(fi=`${(Br=e[5].currency)!=null&&Br.readOnly?"FieldDisabled":""}`)&&l(Ue,"class",fi),b[0]&48&&Jt!==(Jt=e[5].currency.value)&&Ue.value!==Jt&&(Ue.value=Jt),b[0]&48&&pi!==(pi=(Hr=e[5].currency)==null?void 0:Hr.readOnly)&&(Ue.readOnly=pi),e[5].iban.value?Ce?Ce.p(e,b):(Ce=Pa(e),Ce.c(),Ce.m(C,null)):Ce&&(Ce.d(1),Ce=null),b[0]&4096&&di!==(di=e[12]("locationDetails")+"")&&x(ln,di),b[0]&4096&&bi!==(bi=e[12]("userCountry")+"")&&x(un,bi),b[0]&48&&vi!==(vi=`PlayerCountry ${(Ir=e[5].country)!=null&&Ir.readOnly?"FieldDisabled":""}`)&&l(ie,"class",vi),b[0]&48&&yi!==(yi=e[5].country.countryCode)&&l(ie,"placeholder",yi),b[0]&48&&gi!==(gi=(Tr=e[5].country)==null?void 0:Tr.readOnly)&&(ie.readOnly=gi),b[0]&48&&ie.value!==e[5].country.countryName&&G(ie,e[5].country.countryName),b[0]&4096&&_i!==(_i=e[12]("userCity")+"")&&x(cn,_i),b[0]&48&&Pi!==(Pi=`${(Ht=e[5].city)!=null&&Ht.readOnly?"FieldDisabled":""}`)&&l(le,"class",Pi),b[0]&48&&Si!==(Si=(ko=e[5].city)==null?void 0:ko.readOnly)&&(le.readOnly=Si),b[0]&48&&le.value!==e[5].city.value&&G(le,e[5].city.value),b[0]&4096&&wi!==(wi=e[12]("userAddress")+"")&&x(fn,wi),b[0]&48&&Ai!==(Ai=`${(xo=e[5].address1)!=null&&xo.readOnly?"FieldDisabled":""}`)&&l(ue,"class",Ai),b[0]&48&&ki!==(ki=(Oo=e[5].address1)==null?void 0:Oo.readOnly)&&(ue.readOnly=ki),b[0]&48&&ue.value!==e[5].address1.value&&G(ue,e[5].address1.value),b[0]&4096&&Oi!==(Oi=e[12]("userAddress2")+"")&&x(pn,Oi),b[0]&48&&Bi!==(Bi=`${(Bo=e[5].address2)!=null&&Bo.readOnly?"FieldDisabled":""}`)&&l(ce,"class",Bi),b[0]&48&&Hi!==(Hi=(Ho=e[5].address2)==null?void 0:Ho.readOnly)&&(ce.readOnly=Hi),b[0]&48&&ce.value!==e[5].address2.value&&G(ce,e[5].address2.value),b[0]&4096&&Ti!==(Ti=e[12]("userPostalCode")+"")&&x(hn,Ti),b[0]&48&&Ni!==(Ni=`${(Io=e[5].postalCode)!=null&&Io.readOnly?"FieldDisabled":""}`)&&l(fe,"class",Ni),b[0]&48&&Mi!==(Mi=(To=e[5].postalCode)==null?void 0:To.readOnly)&&(fe.readOnly=Mi),b[0]&48&&fe.value!==e[5].postalCode.value&&G(fe,e[5].postalCode.value),e[2]==="true"?_e?_e.p(e,b):(_e=Sa(e),_e.c(),_e.m(re,null)):_e&&(_e.d(1),_e=null),b[0]&32&&(dn=Object.keys(e[5].consents).length>0),dn?Pe?Pe.p(e,b):(Pe=Ea(e),Pe.c(),Pe.m(i,mn)):Pe&&(Pe.d(1),Pe=null),b[0]&4096&&Di!==(Di=e[12]("userProfileSaveChanges")+"")&&x(bn,Di),b[0]&1536&&Li!==(Li="PlayerDetailsSaveButton "+(e[9]&&e[10]?"":"PlayerButtonDisabled"))&&l(Ot,"class",Li),b[0]&256&&ji!==(ji="PlayerDetailsButtonsArea "+(e[8]?"PlayerDetailsButtonsAreaMobile":""))&&l(Kt,"class",ji),e[11]?Se?Se.p(e,b):(Se=Oa(e),Se.c(),Se.m(i,null)):Se&&(Se.d(1),Se=null),b[0]&256&&Ui!==(Ui="PlayerInfoWrapper "+(e[8]?"PlayerInfoWrapperMobile":""))&&l(r,"class",Ui)},d(J){J&&(M(t),M(r)),pe&&pe.d(J),he&&he.d(),Dt(ne,J),de&&de.d(),me&&me.d(),be&&be.d(),ve&&ve.d(),ye&&ye.d(),ge&&ge.d(),Ce&&Ce.d(),_e&&_e.d(),Pe&&Pe.d(),Se&&Se.d(),vn=!1,rt(Co)}}}function ha(e){let t,r,i=e[12]("welcomePanelTitle").replace("{fullName}",`${e[5].firstname.value} ${e[5].lastname.value}`)+"",n,o,a,u=e[12]("welcomePanelDescription")+"",c,p,f,m,v,_,E=e[5].firstname.value+"",C,w,k=e[5].lastname.value+"",N;return{c(){t=d("section"),r=d("h2"),n=A(i),o=P(),a=d("p"),c=A(u),p=P(),f=d("div"),m=d("div"),m.innerHTML='<svg viewBox="0 0 48 48" class="AvatarIcon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="24" cy="24" r="22" fill="currentColor" opacity="0.12"></circle><circle cx="24" cy="19" r="7" fill="currentColor" opacity="0.35"></circle><path d="M10 38c3.6-7 11-8.5 14-8.5S34.4 31 38 38" fill="currentColor" opacity="0.35"></path></svg>',v=P(),_=d("div"),C=A(E),w=P(),N=A(k),l(r,"class","WelcomeSectionTitle"),l(a,"class","WelcomeSectionDescription"),l(m,"class","WelcomeSectionProfilePicture"),l(m,"aria-hidden","true"),l(_,"class","WelcomeSectionFullName"),l(f,"class","WelcomeSectionProfileRow"),l(f,"role","group"),l(t,"class","WelcomeSection"),l(t,"role","region")},m(S,U){L(S,t,U),s(t,r),s(r,n),s(t,o),s(t,a),s(a,c),s(t,p),s(t,f),s(f,m),s(f,v),s(f,_),s(_,C),s(_,w),s(_,N)},p(S,U){U[0]&4128&&i!==(i=S[12]("welcomePanelTitle").replace("{fullName}",`${S[5].firstname.value} ${S[5].lastname.value}`)+"")&&x(n,i),U[0]&4096&&u!==(u=S[12]("welcomePanelDescription")+"")&&x(c,u),U[0]&32&&E!==(E=S[5].firstname.value+"")&&x(C,E),U[0]&32&&k!==(k=S[5].lastname.value+"")&&x(N,k)},d(S){S&&M(t)}}}function da(e){let t,r,i,n,o,a,u,c,p,f,m=e[12]("titleProfileInfo")+"",v,_,E;return{c(){t=d("div"),r=It("svg"),i=It("defs"),n=It("style"),o=A(`.aaa {
|
|
19
19
|
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
20
20
|
}
|
|
21
|
-
`),a=It("g"),u=It("g"),c=It("path"),p=P(),f=d("h2"),v=A(m),l(c,"class","aaa"),l(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(c,"transform","translate(15 15) rotate(180)"),l(u,"transform","translate(20 158)"),l(a,"transform","translate(-20 -158)"),l(r,"xmlns","http://www.w3.org/2000/svg"),l(r,"width","15"),l(r,"height","15"),l(r,"viewBox","0 0 15 15"),l(f,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(C,w){L(C,t,w),s(t,r),s(r,i),s(i,n),s(n,o),s(r,a),s(a,u),s(u,c),s(t,p),s(t,f),s(f,v),_||(E=[j(t,"click",e[17]),j(t,"keyup",null)],_=!0)},p(C,w){w[0]&4096&&m!==(m=C[12]("titleProfileInfo")+"")&&x(v,m)},d(C){C&&M(t),_=!1,rt(E)}}}function tc(e){let t,r=e[84]+"",i,n;return{c(){t=d("option"),i=A(r),t.__value=n=e[84],G(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&16&&r!==(r=o[84]+"")&&x(i,r),a[0]&16&&n!==(n=o[84])&&(t.__value=n,G(t,t.__value))},d(o){o&&M(t)}}}function rc(e){let t,r=e[84]+"",i,n;return{c(){t=d("option"),i=A(r),t.selected=!0,t.__value=n=e[84],G(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&16&&r!==(r=o[84]+"")&&x(i,r),a[0]&16&&n!==(n=o[84])&&(t.__value=n,G(t,t.__value))},d(o){o&&M(t)}}}function ma(e){let t;function r(o,a){return o[84]===o[5].mobile.prefix?rc:tc}let i=r(e),n=i(e);return{c(){n.c(),t=Na()},m(o,a){n.m(o,a),L(o,t,a)},p(o,a){i===(i=r(o))&&n?n.p(o,a):(n.d(1),n=i(o),n&&(n.c(),n.m(t.parentNode,t)))},d(o){o&&M(t),n.d(o)}}}function ba(e){let t,r=e[12]("userPhoneError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("userPhoneError")+"")&&x(i,r)},d(n){n&&M(t)}}}function va(e){let t,r=e[12]("userPrefixError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("userPrefixError")+"")&&x(i,r)},d(n){n&&M(t)}}}function ya(e){let t,r=(e[0]=="true"?e[12]("profileSecurityQuestionError2"):e[12]("profileSecurityQuestionError"))+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4097&&r!==(r=(n[0]=="true"?n[12]("profileSecurityQuestionError2"):n[12]("profileSecurityQuestionError"))+"")&&x(i,r)},d(n){n&&M(t)}}}function ga(e){let t,r=(e[0]=="true"?e[12]("profileSecurityAnswerError2"):e[12]("profileSecurityAnswerError"))+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4097&&r!==(r=(n[0]=="true"?n[12]("profileSecurityAnswerError2"):n[12]("profileSecurityAnswerError"))+"")&&x(i,r)},d(n){n&&M(t)}}}function Ca(e){let t,r=e[12]("firstNameError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("firstNameError")+"")&&x(i,r)},d(n){n&&M(t)}}}function _a(e){let t,r=e[12]("lastNameError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("lastNameError")+"")&&x(i,r)},d(n){n&&M(t)}}}function Pa(e){let t,r,i=e[12]("iban")+"",n,o,a,u,c,p;return{c(){var f,m;t=d("div"),r=d("label"),n=A(i),o=P(),a=d("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=c=e[5].iban.value,a.readOnly=p=(m=e[5].iban)==null?void 0:m.readOnly,l(t,"class","PlayerInfoBox")},m(f,m){L(f,t,m),s(t,r),s(r,n),s(t,o),s(t,a)},p(f,m){var v,_;m[0]&4096&&i!==(i=f[12]("iban")+"")&&x(n,i),m[0]&48&&u!==(u=`${(v=f[5].iban)!=null&&v.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),m[0]&48&&c!==(c=f[5].iban.value)&&a.value!==c&&(a.value=c),m[0]&48&&p!==(p=(_=f[5].iban)==null?void 0:_.readOnly)&&(a.readOnly=p)},d(f){f&&M(t)}}}function Sa(e){let t,r=e[12]("locationDetailsDescription")+"",i;return{c(){t=d("div"),i=A(r),l(t,"class","LocationDetailsDescription")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("locationDetailsDescription")+"")&&x(i,r)},d(n){n&&M(t)}}}function Ea(e){var p;let t,r,i=e[12]("userNotifications")+"",n,o,a,u=Xe(Object.keys((p=e[5].consents)!=null?p:{})),c=[];for(let f=0;f<u.length;f+=1)c[f]=xa(ua(e,u,f));return{c(){t=d("div"),r=d("h3"),n=A(i),o=P(),a=d("section");for(let f=0;f<c.length;f+=1)c[f].c();l(t,"class","PlayerNotificationsHeader"),l(a,"class","PlayerNotificationsCheckboxArea")},m(f,m){L(f,t,m),s(t,r),s(r,n),L(f,o,m),L(f,a,m);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(a,null)},p(f,m){var v;if(m[0]&4096&&i!==(i=f[12]("userNotifications")+"")&&x(n,i),m[0]&807008){u=Xe(Object.keys((v=f[5].consents)!=null?v:{}));let _;for(_=0;_<u.length;_+=1){const E=ua(f,u,_);c[_]?c[_].p(E,m):(c[_]=xa(E),c[_].c(),c[_].m(a,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=u.length}},d(f){f&&(M(t),M(o),M(a)),Dt(c,f)}}}function wa(e){let t,r=e[14].includes(e[78]),i,n,o=r&&Aa(e),a=Xe(e[5].consents[e[78]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=ka(ca(e,a,c));return{c(){t=d("div"),o&&o.c(),i=P();for(let c=0;c<u.length;c+=1)u[c].c();n=P(),l(t,"class","ConsentGroup")},m(c,p){L(c,t,p),o&&o.m(t,null),s(t,i);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(t,null);s(t,n)},p(c,p){if(p[0]&32&&(r=c[14].includes(c[78])),r?o?o.p(c,p):(o=Aa(c),o.c(),o.m(t,i)):o&&(o.d(1),o=null),p[0]&544864){a=Xe(c[5].consents[c[78]]);let f;for(f=0;f<a.length;f+=1){const m=ca(c,a,f);u[f]?u[f].p(m,p):(u[f]=ka(m),u[f].c(),u[f].m(t,n))}for(;f<u.length;f+=1)u[f].d(1);u.length=a.length}},d(c){c&&M(t),o&&o.d(),Dt(u,c)}}}function Aa(e){let t,r,i,n,o=e[78],a,u,c,p,f=e[12](`consentCategoryHeader${e[78]}`)+"",m,v,_;const E=()=>e[44](i,o),C=()=>e[44](null,o);return{c(){t=d("div"),r=d("label"),i=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=A(f),i.checked=n=e[5].consents[e[78]].every(Ba),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(w,k){L(w,t,k),s(t,r),s(r,i),E(),s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),v||(_=j(i,"change",function(){zt(e[18](e[78]))&&e[18](e[78]).apply(this,arguments)}),v=!0)},p(w,k){e=w,k[0]&48&&n!==(n=e[5].consents[e[78]].every(Ba))&&(i.checked=n),o!==e[78]&&(C(),o=e[78],E()),k[0]&4128&&f!==(f=e[12](`consentCategoryHeader${e[78]}`)+"")&&x(m,f)},d(w){w&&M(t),C(),v=!1,_()}}}function ka(e){let t,r,i,n=e[78],o=e[81],a,u,c,p,f=e[12](`${e[81].tagCode}Consent`)+"",m,v,_,E;const C=()=>e[45](i,n,o),w=()=>e[45](null,n,o);function k(){e[46].call(i,e[82],e[83])}return{c(){t=d("div"),r=d("label"),i=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=A(f),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",v="PlayerNotificationBox "+(e[14].includes(e[78])?"Child":""))},m(N,S){L(N,t,S),s(t,r),s(r,i),C(),i.checked=e[81].status,s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),_||(E=[j(i,"change",k),j(i,"change",function(){zt(e[19](e[78]))&&e[19](e[78]).apply(this,arguments)})],_=!0)},p(N,S){e=N,(n!==e[78]||o!==e[81])&&(w(),n=e[78],o=e[81],C()),S[0]&48&&(i.checked=e[81].status),S[0]&4128&&f!==(f=e[12](`${e[81].tagCode}Consent`)+"")&&x(m,f),S[0]&48&&v!==(v="PlayerNotificationBox "+(e[14].includes(e[78])?"Child":""))&&l(t,"class",v)},d(N){N&&M(t),w(),_=!1,rt(E)}}}function xa(e){var i;let t,r=((i=e[5].consents[e[78]])==null?void 0:i.length)>0&&wa(e);return{c(){r&&r.c(),t=Na()},m(n,o){r&&r.m(n,o),L(n,t,o)},p(n,o){var a;((a=n[5].consents[n[78]])==null?void 0:a.length)>0?r?r.p(n,o):(r=wa(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&M(t),r&&r.d(n)}}}function Oa(e){let t,r,i=e[12]("userProfileConfirmationMessage")+"",n;return{c(){t=d("section"),r=d("p"),n=A(i),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){L(o,t,a),s(t,r),s(r,n)},p(o,a){a[0]&4096&&i!==(i=o[12]("userProfileConfirmationMessage")+"")&&x(n,i)},d(o){o&&M(t)}}}function ic(e){let t,r,i,n,o,a,u,c,p,f,m,v,_,E,C,w,k,N,S,U,F=Xe({length:10}),W=[];for(let h=0;h<F.length;h+=1)W[h]=Ju(Yu(e,F,h));let ae=Xe({length:4}),te=[];for(let h=0;h<ae.length;h+=1)te[h]=Ku(Zu(e,ae,h));let Ve=Xe({length:4}),se=[];for(let h=0;h<Ve.length;h+=1)se[h]=ec(qu(e,Ve,h));let D=!e[7]&&pa(e);return{c(){t=d("div"),r=d("div"),i=d("div"),i.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',n=P(),o=d("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=P(),u=d("div");for(let h=0;h<W.length;h+=1)W[h].c();c=P(),p=d("div"),p.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=P(),m=d("div");for(let h=0;h<te.length;h+=1)te[h].c();v=P(),_=d("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',E=P(),C=d("div");for(let h=0;h<se.length;h+=1)se[h].c();w=P(),k=d("div"),k.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',S=P(),U=d("div"),D&&D.c(),l(i,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(p,"class","skeletonSectionText"),l(m,"class","skeletonSectionContainer"),l(_,"class","skeletonSectionText"),l(C,"class","skeletonConsentsContainer"),l(k,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",N="skeletonContainer "+(e[7]?"":"Hidden"))},m(h,R){L(h,t,R),s(t,r),s(r,i),s(r,n),s(r,o),s(r,a),s(r,u);for(let Q=0;Q<W.length;Q+=1)W[Q]&&W[Q].m(u,null);s(r,c),s(r,p),s(r,f),s(r,m);for(let Q=0;Q<te.length;Q+=1)te[Q]&&te[Q].m(m,null);s(r,v),s(r,_),s(r,E),s(r,C);for(let Q=0;Q<se.length;Q+=1)se[Q]&&se[Q].m(C,null);s(r,w),s(r,k),L(h,S,R),L(h,U,R),D&&D.m(U,null),e[47](U)},p(h,R){R[0]&128&&N!==(N="skeletonContainer "+(h[7]?"":"Hidden"))&&l(t,"class",N),h[7]?D&&(D.d(1),D=null):D?D.p(h,R):(D=pa(h),D.c(),D.m(U,null))},i:we,o:we,d(h){h&&(M(t),M(S),M(U)),Dt(W,h),Dt(te,h),Dt(se,h),D&&D.d(),e[47](null)}}}const Ba=e=>e.status;function nc(e,t,r){let i;gs(e,xu,y=>r(12,i=y));let{userid:n}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:c}=t,{clientstylingurl:p}=t,{mbsource:f}=t,{translationurl:m}=t,{custominputtextswitch:v="false"}=t,{showwelcomepanel:_="false"}=t,{showlocationdetailsdescription:E="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,w,k=[],N=[],S={},U=[],F=[],W=[],ae,te,Ve=window.navigator.userAgent,se="";const D={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={},R={},Q=["Marketing","Casino","Sports","Bingo","VirtualSports"],zr=["Casino","Sports","Bingo","VirtualSports"];let Re=!0,Z=!1,Me=!1,$e=!1,Ze=!0,X=!1;const it={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/,name:new RegExp("^(?!.*[-'’·\\s]{2})(?![-'’·\\s])[A-Za-zÀ-ÖØ-öø-ÿĀ-žḀ-ỿ’'·\\- ]{2,30}(?<![-'’·\\s])$")};window.matchMedia("(min-width: 768px)");const De=y=>{try{return JSON.stringify(y)}catch(g){return null}},Fe=y=>Ne(this,null,function*(){try{const g=new URL(`${a}${y}`),O={method:"GET",headers:new Headers({"X-SessionID":o})},Y=yield fetch(g.href,O);if(!Y.ok)throw new Error(`HTTP error! Status: ${Y.status}`);return yield Y.json()}catch(g){throw console.error("Fetch error:",g),g}});function Wt(){return Ne(this,null,function*(){r(30,S=yield Fe(`/v1/player/${n}/profile`))})}function dt(){return Ne(this,null,function*(){r(31,U=(yield Fe(`/v1/player/${n}/consent`)).items)})}function Gr(){return Ne(this,null,function*(){r(32,F=(yield Fe("/v1/player/consentRequirements")).items)})}function Oe(){return Ne(this,null,function*(){r(29,N=(yield Fe("/v1/player/countries")).countries)})}const Ye=()=>{Object.keys(S).forEach(g=>{var H,O,Y,z,B,He;switch(r(5,h[g]={},h),g){case"birth":const ee=((H=S[g])==null?void 0:H.day)||"",We=((O=S[g])==null?void 0:O.month)||"",et=((Y=S[g])==null?void 0:Y.year)||"";r(5,h[g].value=`${ee}/${We}/${et}`,h);break;case"country":r(5,h[g].countryName=((z=N.find(Le=>Le.Alpha2Code===S.country))==null?void 0:z.Name)||"I.E. Ireland",h),r(5,h[g].countryCode=S.country||"",h);break;case"mobile":r(5,h[g].prefix=(B=S.mobile)==null?void 0:B.prefix,h),r(5,h[g].number=(He=S.mobile)==null?void 0:He.number,h),r(5,h.mobile.isPrefixValid=!0,h),r(5,h.mobile.isNumberValid=!0,h);break;default:r(5,h[g].value=S[g],h)}r(5,h[g].readOnly=W.includes(g),h),r(5,h[g].isValid=!0,h)}),r(5,h.consents={},h),F.forEach(g=>{if(Q.includes(g.category)&&!g.mustAccept){const H=U.find(O=>O.tagCode===g.tagCode);r(5,h.consents[g.category]=h.consents[g.category]||[],h),H?h.consents[g.category].push({tagCode:H.tagCode,status:H.status==="Accepted"}):h.consents[g.category].push({tagCode:g.tagCode,status:!1})}});const y=h.consents;for(const[g,H]of Object.entries(y))R[g]||(r(6,R[g]={},R),r(6,R[g].parent=null,R),H.forEach(O=>r(6,R[g][O.tagCode]=null,R)));te=De(h),ae=De(h.consents),r(7,Re=!1)},mt=y=>y.split(","),Qt=()=>{const y=new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);fetch(y.href).then(g=>g.json()).then(g=>r(4,k=g.phoneCodes)).catch(g=>console.log("Failed to fetch phone codes:",g))},Vr=()=>(r(10,Ze=Object.values(h).every(y=>!y||typeof y.isValid!="boolean"?!0:y.isValid)),Ze),bt=()=>{r(9,Me=De(h)!==te)},$r=()=>{$e=De(h.consents)!==ae},q=y=>()=>{var Y,z;const g=y==="mobilePrefix"||y==="mobileNumber";if(g&&((Y=h.mobile)!=null&&Y.readOnly)||(z=h[y])!=null&&z.readOnly)return;const H=h[y].value,O=!g&&typeof H=="string"?H.trim():H;switch(y){case"lastname":case"firstname":r(5,h[y].isValid=it.name.test(O),h);break;case"mobilePrefix":case"mobileNumber":{const B=!!h.mobile.prefix,He=!!h.mobile.number&&h.mobile.number.length>=5&&h.mobile.number.length<=12;r(5,h.mobile.isPrefixValid=B,h),r(5,h.mobile.isNumberValid=He,h),r(5,h.mobile.isValid=B&&He,h)}break;case"city":r(5,h[y].isValid=O&&O.length<=50,h);break;case"postalCode":r(5,h[y].isValid=O&&O.length<=20,h);break;case"address1":case"address2":r(5,h[y].isValid=O&&O.length<=100,h);break;case"securityQuestion":case"securityAnswer":if(r(5,h[y].isValid=!1,h),O)switch(v){case"true":it.document.test(O)&&O.length<=50&&r(5,h[y].isValid=!0,h);break;case"false":O&&O.length<=120&&r(5,h[y].isValid=!0,h);break}break;case"consents":$r();break}bt(),Vr()},nt=()=>{r(11,X=!0),setTimeout(()=>{r(11,X=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("profileUpdateSuccess")}},window.location.href)},ot=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:se}},window.location.href)},Wr=y=>Ne(this,null,function*(){if(y.preventDefault(),Me&&!$e&&Ze){at().then(g=>Ne(this,null,function*(){g?(r(30,S=yield Fe(`/v1/player/${n}/profile`)),r(9,Me=!1),nt()):ot()}));return}if(Me&&$e&&Ze){Promise.all([at(),Be()]).then(g=>Ne(this,null,function*(){g[0]&&g[1]?(r(31,U=(yield Fe(`/v1/player/${n}/consent`)).items),r(30,S=yield Fe(`/v1/player/${n}/profile`)),r(9,Me=!1),$e=!1,nt()):ot()}));return}}),at=()=>Ne(this,null,function*(){const y=new URL(`${a}/v1/player/${n}/profile`),g=new Headers;g.append("X-SessionID",o),g.append("Content-Type","application/json"),g.append("Accept","application/json");const H=Object.entries(h).reduce((z,[B,He])=>{var We;const ee=He;if(!ee.readOnly)if(B==="mobile"||B==="phone")z[B]={prefix:ee.prefix,number:ee.number};else if(B==="consents")z[B]=ee;else if(B==="country")z[B]=ee.countryCode;else if(B==="birth"&&typeof ee.value=="string"){const et=ee.value.split("/");z[B]={year:et[2],month:et[1],day:et[0]}}else z[B]=(We=ee.value)!=null?We:null;return z},{}),O=De(H);if(O===null)return!1;const Y={method:"POST",headers:g,body:O};try{const z=yield fetch(y.href,Y);if(z.status===200)return!0;const B=yield z.json();return Xt(B),!1}catch(z){return console.error(z),Xt(z),!1}}),Xt=y=>{var H;const g=(H=y.thirdPartyResponse)==null?void 0:H.message;g&&g.includes("Mandatory input parameter is missing: mobilePrefix")?(se=i("userPrefixError"),q("mobilePrefix")()):se=i("userProfileUpdateError")},Be=()=>Ne(this,null,function*(){const y=[],g=h.consents;for(let B of Object.values(g).flat())y.push({tagCode:B.tagCode,status:B.status?"Accepted":"Denied"});const H=new URL(`${a}/v1/player/${n}/consent`),O=new Headers;O.append("X-SessionID",o),O.append("Content-Type","application/json"),O.append("Accept","application/json");const Y=De({items:y});if(Y===null)return!1;const z={method:"POST",headers:O,body:Y};return yield fetch(H.href,z).then(B=>B.status==200,B=>(console.error(B),!1))}),Je=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:Z},window.location.href)},vt=()=>{Ou(u)},qt=()=>{fetch(m).then(g=>g.json()).then(g=>{Object.keys(g).forEach(H=>{ea(H,g[H])})}).catch(g=>{console.log(g)})};Object.keys(ta).forEach(y=>{ea(y,ta[y])});const Qr=y=>g=>{h.consents[y].forEach(H=>{H.status=g.target.checked,Object.values(R[y]).forEach(O=>{O&&(O.checked=H.status)})}),q("consents")()},yt=y=>g=>{R[y].parent&&r(6,R[y].parent.checked=h.consents[y].every(H=>H.status),R),q("consents")()},st=y=>Array.isArray(y)?y.length>0:Object.keys(y).length>0;ks(()=>(Qu(Ve)&&r(8,Z=!0),()=>{}));function K(){h.mobile.prefix=Es(this),r(5,h),r(4,k)}function gt(){h.mobile.number=this.value,r(5,h),r(4,k)}function Ct(){h.securityQuestion.value=this.value,r(5,h),r(4,k)}function Xr(){h.securityAnswer.value=this.value,r(5,h),r(4,k)}function _t(){h.firstname.value=this.value,r(5,h),r(4,k)}function qr(){h.lastname.value=this.value,r(5,h),r(4,k)}function Ke(){h.country.countryName=this.value,r(5,h),r(4,k)}function Pt(){h.city.value=this.value,r(5,h),r(4,k)}function St(){h.address1.value=this.value,r(5,h),r(4,k)}function Zt(){h.address2.value=this.value,r(5,h),r(4,k)}function Zr(){h.postalCode.value=this.value,r(5,h),r(4,k)}function Ae(y,g){Dr[y?"unshift":"push"](()=>{R[g].parent=y,r(6,R)})}function Et(y,g,H){Dr[y?"unshift":"push"](()=>{R[g][H.tagCode]=y,r(6,R)})}function lt(y,g){y[g].status=this.checked,r(5,h),r(4,k)}function wt(y){Dr[y?"unshift":"push"](()=>{w=y,r(3,w)})}return e.$$set=y=>{"userid"in y&&r(20,n=y.userid),"sessionid"in y&&r(21,o=y.sessionid),"endpoint"in y&&r(22,a=y.endpoint),"lang"in y&&r(23,u=y.lang),"clientstyling"in y&&r(24,c=y.clientstyling),"clientstylingurl"in y&&r(25,p=y.clientstylingurl),"mbsource"in y&&r(26,f=y.mbsource),"translationurl"in y&&r(27,m=y.translationurl),"custominputtextswitch"in y&&r(0,v=y.custominputtextswitch),"showwelcomepanel"in y&&r(1,_=y.showwelcomepanel),"showlocationdetailsdescription"in y&&r(2,E=y.showlocationdetailsdescription),"disabledfields"in y&&r(28,C=y.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&7340032&&a&&n&&o&&Wt()&&dt()&&Gr(),e.$$.dirty[0]&4194304&&a&&Oe()&&Qt(),e.$$.dirty[0]&1610612736|e.$$.dirty[1]&3&&st(S)&&st(U)&&st(F)&&st(N)&&Ye(),e.$$.dirty[0]&8388608&&u&&vt(),e.$$.dirty[0]&268435456&&C&&(W=mt(C)),e.$$.dirty[0]&16777224&&c&&w&&Bu(w,c),e.$$.dirty[0]&33554440&&p&&w&&Hu(w,p),e.$$.dirty[0]&67108872&&f&&w&&Iu(w,`${f}.Style`),e.$$.dirty[0]&134217728&&m&&qt()},[v,_,E,w,k,h,R,Re,Z,Me,Ze,X,i,D,zr,q,Wr,Je,Qr,yt,n,o,a,u,c,p,f,m,C,N,S,U,F,K,gt,Ct,Xr,_t,qr,Ke,Pt,St,Zt,Zr,Ae,Et,lt,wt]}class ps extends Us{constructor(t){super(),Ls(this,t,nc,ic,Ia,{userid:20,sessionid:21,endpoint:22,lang:23,clientstyling:24,clientstylingurl:25,mbsource:26,translationurl:27,custominputtextswitch:0,showwelcomepanel:1,showlocationdetailsdescription:2,disabledfields:28},Xu,[-1,-1,-1])}get userid(){return this.$$.ctx[20]}set userid(t){this.$$set({userid:t}),Ee()}get sessionid(){return this.$$.ctx[21]}set sessionid(t){this.$$set({sessionid:t}),Ee()}get endpoint(){return this.$$.ctx[22]}set endpoint(t){this.$$set({endpoint:t}),Ee()}get lang(){return this.$$.ctx[23]}set lang(t){this.$$set({lang:t}),Ee()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(t){this.$$set({clientstyling:t}),Ee()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Ee()}get mbsource(){return this.$$.ctx[26]}set mbsource(t){this.$$set({mbsource:t}),Ee()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),Ee()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Ee()}get showwelcomepanel(){return this.$$.ctx[1]}set showwelcomepanel(t){this.$$set({showwelcomepanel:t}),Ee()}get showlocationdetailsdescription(){return this.$$.ctx[2]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Ee()}get disabledfields(){return this.$$.ctx[28]}set disabledfields(t){this.$$set({disabledfields:t}),Ee()}}js(ps,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showwelcomepanel:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=ps;
|
|
21
|
+
`),a=It("g"),u=It("g"),c=It("path"),p=P(),f=d("h2"),v=A(m),l(c,"class","aaa"),l(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(c,"transform","translate(15 15) rotate(180)"),l(u,"transform","translate(20 158)"),l(a,"transform","translate(-20 -158)"),l(r,"xmlns","http://www.w3.org/2000/svg"),l(r,"width","15"),l(r,"height","15"),l(r,"viewBox","0 0 15 15"),l(f,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(C,w){L(C,t,w),s(t,r),s(r,i),s(i,n),s(n,o),s(r,a),s(a,u),s(u,c),s(t,p),s(t,f),s(f,v),_||(E=[j(t,"click",e[17]),j(t,"keyup",null)],_=!0)},p(C,w){w[0]&4096&&m!==(m=C[12]("titleProfileInfo")+"")&&x(v,m)},d(C){C&&M(t),_=!1,rt(E)}}}function tc(e){let t,r=e[84]+"",i,n;return{c(){t=d("option"),i=A(r),t.__value=n=e[84],G(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&16&&r!==(r=o[84]+"")&&x(i,r),a[0]&16&&n!==(n=o[84])&&(t.__value=n,G(t,t.__value))},d(o){o&&M(t)}}}function rc(e){let t,r=e[84]+"",i,n;return{c(){t=d("option"),i=A(r),t.selected=!0,t.__value=n=e[84],G(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&16&&r!==(r=o[84]+"")&&x(i,r),a[0]&16&&n!==(n=o[84])&&(t.__value=n,G(t,t.__value))},d(o){o&&M(t)}}}function ma(e){let t;function r(o,a){return o[84]===o[5].mobile.prefix?rc:tc}let i=r(e),n=i(e);return{c(){n.c(),t=Na()},m(o,a){n.m(o,a),L(o,t,a)},p(o,a){i===(i=r(o))&&n?n.p(o,a):(n.d(1),n=i(o),n&&(n.c(),n.m(t.parentNode,t)))},d(o){o&&M(t),n.d(o)}}}function ba(e){let t,r=e[12]("userPhoneError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("userPhoneError")+"")&&x(i,r)},d(n){n&&M(t)}}}function va(e){let t,r=e[12]("userPrefixError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("userPrefixError")+"")&&x(i,r)},d(n){n&&M(t)}}}function ya(e){let t,r=(e[0]=="true"?e[12]("profileSecurityQuestionError2"):e[12]("profileSecurityQuestionError"))+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4097&&r!==(r=(n[0]=="true"?n[12]("profileSecurityQuestionError2"):n[12]("profileSecurityQuestionError"))+"")&&x(i,r)},d(n){n&&M(t)}}}function ga(e){let t,r=(e[0]=="true"?e[12]("profileSecurityAnswerError2"):e[12]("profileSecurityAnswerError"))+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4097&&r!==(r=(n[0]=="true"?n[12]("profileSecurityAnswerError2"):n[12]("profileSecurityAnswerError"))+"")&&x(i,r)},d(n){n&&M(t)}}}function Ca(e){let t,r=e[12]("firstNameError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("firstNameError")+"")&&x(i,r)},d(n){n&&M(t)}}}function _a(e){let t,r=e[12]("lastNameError")+"",i;return{c(){t=d("p"),i=A(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("lastNameError")+"")&&x(i,r)},d(n){n&&M(t)}}}function Pa(e){let t,r,i=e[12]("iban")+"",n,o,a,u,c,p;return{c(){var f,m;t=d("div"),r=d("label"),n=A(i),o=P(),a=d("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=c=e[5].iban.value,a.readOnly=p=(m=e[5].iban)==null?void 0:m.readOnly,l(t,"class","PlayerInfoBox")},m(f,m){L(f,t,m),s(t,r),s(r,n),s(t,o),s(t,a)},p(f,m){var v,_;m[0]&4096&&i!==(i=f[12]("iban")+"")&&x(n,i),m[0]&48&&u!==(u=`${(v=f[5].iban)!=null&&v.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),m[0]&48&&c!==(c=f[5].iban.value)&&a.value!==c&&(a.value=c),m[0]&48&&p!==(p=(_=f[5].iban)==null?void 0:_.readOnly)&&(a.readOnly=p)},d(f){f&&M(t)}}}function Sa(e){let t,r=e[12]("locationDetailsDescription")+"",i;return{c(){t=d("div"),i=A(r),l(t,"class","LocationDetailsDescription")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("locationDetailsDescription")+"")&&x(i,r)},d(n){n&&M(t)}}}function Ea(e){var p;let t,r,i=e[12]("userNotifications")+"",n,o,a,u=Xe(Object.keys((p=e[5].consents)!=null?p:{})),c=[];for(let f=0;f<u.length;f+=1)c[f]=xa(ua(e,u,f));return{c(){t=d("div"),r=d("h3"),n=A(i),o=P(),a=d("section");for(let f=0;f<c.length;f+=1)c[f].c();l(t,"class","PlayerNotificationsHeader"),l(a,"class","PlayerNotificationsCheckboxArea")},m(f,m){L(f,t,m),s(t,r),s(r,n),L(f,o,m),L(f,a,m);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(a,null)},p(f,m){var v;if(m[0]&4096&&i!==(i=f[12]("userNotifications")+"")&&x(n,i),m[0]&807008){u=Xe(Object.keys((v=f[5].consents)!=null?v:{}));let _;for(_=0;_<u.length;_+=1){const E=ua(f,u,_);c[_]?c[_].p(E,m):(c[_]=xa(E),c[_].c(),c[_].m(a,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=u.length}},d(f){f&&(M(t),M(o),M(a)),Dt(c,f)}}}function wa(e){let t,r=e[14].includes(e[78]),i,n,o=r&&Aa(e),a=Xe(e[5].consents[e[78]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=ka(ca(e,a,c));return{c(){t=d("div"),o&&o.c(),i=P();for(let c=0;c<u.length;c+=1)u[c].c();n=P(),l(t,"class","ConsentGroup")},m(c,p){L(c,t,p),o&&o.m(t,null),s(t,i);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(t,null);s(t,n)},p(c,p){if(p[0]&32&&(r=c[14].includes(c[78])),r?o?o.p(c,p):(o=Aa(c),o.c(),o.m(t,i)):o&&(o.d(1),o=null),p[0]&544864){a=Xe(c[5].consents[c[78]]);let f;for(f=0;f<a.length;f+=1){const m=ca(c,a,f);u[f]?u[f].p(m,p):(u[f]=ka(m),u[f].c(),u[f].m(t,n))}for(;f<u.length;f+=1)u[f].d(1);u.length=a.length}},d(c){c&&M(t),o&&o.d(),Dt(u,c)}}}function Aa(e){let t,r,i,n,o=e[78],a,u,c,p,f=e[12](`consentCategoryHeader${e[78]}`)+"",m,v,_;const E=()=>e[44](i,o),C=()=>e[44](null,o);return{c(){t=d("div"),r=d("label"),i=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=A(f),i.checked=n=e[5].consents[e[78]].every(Ba),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(w,k){L(w,t,k),s(t,r),s(r,i),E(),s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),v||(_=j(i,"change",function(){zt(e[18](e[78]))&&e[18](e[78]).apply(this,arguments)}),v=!0)},p(w,k){e=w,k[0]&48&&n!==(n=e[5].consents[e[78]].every(Ba))&&(i.checked=n),o!==e[78]&&(C(),o=e[78],E()),k[0]&4128&&f!==(f=e[12](`consentCategoryHeader${e[78]}`)+"")&&x(m,f)},d(w){w&&M(t),C(),v=!1,_()}}}function ka(e){let t,r,i,n=e[78],o=e[81],a,u,c,p,f=e[12](`${e[81].tagCode}Consent`)+"",m,v,_,E;const C=()=>e[45](i,n,o),w=()=>e[45](null,n,o);function k(){e[46].call(i,e[82],e[83])}return{c(){t=d("div"),r=d("label"),i=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=A(f),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",v="PlayerNotificationBox "+(e[14].includes(e[78])?"Child":""))},m(N,S){L(N,t,S),s(t,r),s(r,i),C(),i.checked=e[81].status,s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),_||(E=[j(i,"change",k),j(i,"change",function(){zt(e[19](e[78]))&&e[19](e[78]).apply(this,arguments)})],_=!0)},p(N,S){e=N,(n!==e[78]||o!==e[81])&&(w(),n=e[78],o=e[81],C()),S[0]&48&&(i.checked=e[81].status),S[0]&4128&&f!==(f=e[12](`${e[81].tagCode}Consent`)+"")&&x(m,f),S[0]&48&&v!==(v="PlayerNotificationBox "+(e[14].includes(e[78])?"Child":""))&&l(t,"class",v)},d(N){N&&M(t),w(),_=!1,rt(E)}}}function xa(e){var i;let t,r=((i=e[5].consents[e[78]])==null?void 0:i.length)>0&&wa(e);return{c(){r&&r.c(),t=Na()},m(n,o){r&&r.m(n,o),L(n,t,o)},p(n,o){var a;((a=n[5].consents[n[78]])==null?void 0:a.length)>0?r?r.p(n,o):(r=wa(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&M(t),r&&r.d(n)}}}function Oa(e){let t,r,i=e[12]("userProfileConfirmationMessage")+"",n;return{c(){t=d("section"),r=d("p"),n=A(i),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){L(o,t,a),s(t,r),s(r,n)},p(o,a){a[0]&4096&&i!==(i=o[12]("userProfileConfirmationMessage")+"")&&x(n,i)},d(o){o&&M(t)}}}function ic(e){let t,r,i,n,o,a,u,c,p,f,m,v,_,E,C,w,k,N,S,U,F=Xe({length:10}),W=[];for(let h=0;h<F.length;h+=1)W[h]=Ju(Yu(e,F,h));let ae=Xe({length:4}),te=[];for(let h=0;h<ae.length;h+=1)te[h]=Ku(Zu(e,ae,h));let Ve=Xe({length:4}),se=[];for(let h=0;h<Ve.length;h+=1)se[h]=ec(qu(e,Ve,h));let D=!e[7]&&pa(e);return{c(){t=d("div"),r=d("div"),i=d("div"),i.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',n=P(),o=d("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=P(),u=d("div");for(let h=0;h<W.length;h+=1)W[h].c();c=P(),p=d("div"),p.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=P(),m=d("div");for(let h=0;h<te.length;h+=1)te[h].c();v=P(),_=d("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',E=P(),C=d("div");for(let h=0;h<se.length;h+=1)se[h].c();w=P(),k=d("div"),k.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',S=P(),U=d("div"),D&&D.c(),l(i,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(p,"class","skeletonSectionText"),l(m,"class","skeletonSectionContainer"),l(_,"class","skeletonSectionText"),l(C,"class","skeletonConsentsContainer"),l(k,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",N="skeletonContainer "+(e[7]?"":"Hidden"))},m(h,R){L(h,t,R),s(t,r),s(r,i),s(r,n),s(r,o),s(r,a),s(r,u);for(let Q=0;Q<W.length;Q+=1)W[Q]&&W[Q].m(u,null);s(r,c),s(r,p),s(r,f),s(r,m);for(let Q=0;Q<te.length;Q+=1)te[Q]&&te[Q].m(m,null);s(r,v),s(r,_),s(r,E),s(r,C);for(let Q=0;Q<se.length;Q+=1)se[Q]&&se[Q].m(C,null);s(r,w),s(r,k),L(h,S,R),L(h,U,R),D&&D.m(U,null),e[47](U)},p(h,R){R[0]&128&&N!==(N="skeletonContainer "+(h[7]?"":"Hidden"))&&l(t,"class",N),h[7]?D&&(D.d(1),D=null):D?D.p(h,R):(D=pa(h),D.c(),D.m(U,null))},i:we,o:we,d(h){h&&(M(t),M(S),M(U)),Dt(W,h),Dt(te,h),Dt(se,h),D&&D.d(),e[47](null)}}}const Ba=e=>e.status;function nc(e,t,r){let i;gs(e,xu,y=>r(12,i=y));let{userid:n}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:c}=t,{clientstylingurl:p}=t,{mbsource:f}=t,{translationurl:m}=t,{custominputtextswitch:v="false"}=t,{showwelcomepanel:_="false"}=t,{showlocationdetailsdescription:E="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,w,k=[],N=[],S={},U=[],F=[],W=[],ae,te,Ve=window.navigator.userAgent,se="";const D={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={},R={},Q=["Marketing","Casino","Sports","Bingo","VirtualSports"],zr=["Casino","Sports","Bingo","VirtualSports"];let Re=!0,Z=!1,Me=!1,$e=!1,Ze=!0,X=!1;const it={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/,name:new RegExp("^(?!.*[-'’·\\s]{2})(?![-'’·\\s])[A-Za-zÀ-ÖØ-öø-ÿĀ-žḀ-ỿ’'·\\- ]{2,30}(?<![-'’·\\s])$")};window.matchMedia("(min-width: 768px)");const De=y=>{try{return JSON.stringify(y)}catch(g){return null}},Fe=y=>Ne(this,null,function*(){try{const g=new URL(`${a}${y}`),O={method:"GET",headers:new Headers({"X-SessionID":o})},Y=yield fetch(g.href,O);if(!Y.ok)throw new Error(`HTTP error! Status: ${Y.status}`);return yield Y.json()}catch(g){throw console.error("Fetch error:",g),g}});function Wt(){return Ne(this,null,function*(){r(30,S=yield Fe(`/v1/player/${n}/profile`))})}function dt(){return Ne(this,null,function*(){r(31,U=(yield Fe(`/v1/player/${n}/consent`)).items)})}function Gr(){return Ne(this,null,function*(){r(32,F=(yield Fe("/v1/player/consentRequirements")).items)})}function Oe(){return Ne(this,null,function*(){r(29,N=(yield Fe("/v1/player/countries")).countries)})}const Ye=()=>{Object.keys(S).forEach(g=>{var H,O,Y,z,B,He;switch(r(5,h[g]={},h),g){case"birth":const ee=((H=S[g])==null?void 0:H.day)||"",We=((O=S[g])==null?void 0:O.month)||"",et=((Y=S[g])==null?void 0:Y.year)||"";r(5,h[g].value=`${ee}/${We}/${et}`,h);break;case"country":r(5,h[g].countryName=((z=N.find(Le=>Le.Alpha2Code===S.country))==null?void 0:z.Name)||"I.E. Ireland",h),r(5,h[g].countryCode=S.country||"",h);break;case"mobile":r(5,h[g].prefix=(B=S.mobile)==null?void 0:B.prefix,h),r(5,h[g].number=(He=S.mobile)==null?void 0:He.number,h),r(5,h.mobile.isPrefixValid=!0,h),r(5,h.mobile.isNumberValid=!0,h);break;default:r(5,h[g].value=S[g],h)}r(5,h[g].readOnly=W.includes(g),h),r(5,h[g].isValid=!0,h)}),r(5,h.consents={},h),F.forEach(g=>{if(Q.includes(g.category)&&!g.mustAccept){const H=U.find(O=>O.tagCode===g.tagCode);r(5,h.consents[g.category]=h.consents[g.category]||[],h),H?h.consents[g.category].push({tagCode:H.tagCode,status:H.status==="Accepted"}):h.consents[g.category].push({tagCode:g.tagCode,status:!1})}});const y=h.consents;for(const[g,H]of Object.entries(y))R[g]||(r(6,R[g]={},R),r(6,R[g].parent=null,R),H.forEach(O=>r(6,R[g][O.tagCode]=null,R)));te=De(h),ae=De(h.consents),r(7,Re=!1)},mt=y=>y.split(","),Qt=()=>{const y=new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);fetch(y.href).then(g=>g.json()).then(g=>r(4,k=g.phoneCodes)).catch(g=>console.log("Failed to fetch phone codes:",g))},Vr=()=>(r(10,Ze=Object.values(h).every(y=>!y||typeof y.isValid!="boolean"?!0:y.isValid)),Ze),bt=()=>{r(9,Me=De(h)!==te)},$r=()=>{$e=De(h.consents)!==ae},q=y=>()=>{var Y,z;const g=y==="mobilePrefix"||y==="mobileNumber";if(g&&((Y=h.mobile)!=null&&Y.readOnly)||(z=h[y])!=null&&z.readOnly)return;const H=g?h.mobile.value:h[y].value,O=!g&&typeof H=="string"?H.trim():H;switch(y){case"lastname":case"firstname":r(5,h[y].isValid=it.name.test(O),h);break;case"mobilePrefix":case"mobileNumber":{const B=!!h.mobile.prefix,He=!!h.mobile.number&&h.mobile.number.length>=5&&h.mobile.number.length<=12;r(5,h.mobile.isPrefixValid=B,h),r(5,h.mobile.isNumberValid=He,h),r(5,h.mobile.isValid=B&&He,h)}break;case"city":r(5,h[y].isValid=O&&O.length<=50,h);break;case"postalCode":r(5,h[y].isValid=O&&O.length<=20,h);break;case"address1":case"address2":r(5,h[y].isValid=O&&O.length<=100,h);break;case"securityQuestion":case"securityAnswer":if(r(5,h[y].isValid=!1,h),O)switch(v){case"true":it.document.test(O)&&O.length<=50&&r(5,h[y].isValid=!0,h);break;case"false":O&&O.length<=120&&r(5,h[y].isValid=!0,h);break}break;case"consents":$r();break}bt(),Vr()},nt=()=>{r(11,X=!0),setTimeout(()=>{r(11,X=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("profileUpdateSuccess")}},window.location.href)},ot=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:se}},window.location.href)},Wr=y=>Ne(this,null,function*(){if(y.preventDefault(),Me&&!$e&&Ze){at().then(g=>Ne(this,null,function*(){g?(r(30,S=yield Fe(`/v1/player/${n}/profile`)),r(9,Me=!1),nt()):ot()}));return}if(Me&&$e&&Ze){Promise.all([at(),Be()]).then(g=>Ne(this,null,function*(){g[0]&&g[1]?(r(31,U=(yield Fe(`/v1/player/${n}/consent`)).items),r(30,S=yield Fe(`/v1/player/${n}/profile`)),r(9,Me=!1),$e=!1,nt()):ot()}));return}}),at=()=>Ne(this,null,function*(){const y=new URL(`${a}/v1/player/${n}/profile`),g=new Headers;g.append("X-SessionID",o),g.append("Content-Type","application/json"),g.append("Accept","application/json");const H=Object.entries(h).reduce((z,[B,He])=>{var We;const ee=He;if(!ee.readOnly)if(B==="mobile"||B==="phone")z[B]={prefix:ee.prefix,number:ee.number};else if(B==="consents")z[B]=ee;else if(B==="country")z[B]=ee.countryCode;else if(B==="birth"&&typeof ee.value=="string"){const et=ee.value.split("/");z[B]={year:et[2],month:et[1],day:et[0]}}else z[B]=(We=ee.value)!=null?We:null;return z},{}),O=De(H);if(O===null)return!1;const Y={method:"POST",headers:g,body:O};try{const z=yield fetch(y.href,Y);if(z.status===200)return!0;const B=yield z.json();return Xt(B),!1}catch(z){return console.error(z),Xt(z),!1}}),Xt=y=>{var H;const g=(H=y.thirdPartyResponse)==null?void 0:H.message;g&&g.includes("Mandatory input parameter is missing: mobilePrefix")?(se=i("userPrefixError"),q("mobilePrefix")()):se=i("userProfileUpdateError")},Be=()=>Ne(this,null,function*(){const y=[],g=h.consents;for(let B of Object.values(g).flat())y.push({tagCode:B.tagCode,status:B.status?"Accepted":"Denied"});const H=new URL(`${a}/v1/player/${n}/consent`),O=new Headers;O.append("X-SessionID",o),O.append("Content-Type","application/json"),O.append("Accept","application/json");const Y=De({items:y});if(Y===null)return!1;const z={method:"POST",headers:O,body:Y};return yield fetch(H.href,z).then(B=>B.status==200,B=>(console.error(B),!1))}),Je=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:Z},window.location.href)},vt=()=>{Ou(u)},qt=()=>{fetch(m).then(g=>g.json()).then(g=>{Object.keys(g).forEach(H=>{ea(H,g[H])})}).catch(g=>{console.log(g)})};Object.keys(ta).forEach(y=>{ea(y,ta[y])});const Qr=y=>g=>{h.consents[y].forEach(H=>{H.status=g.target.checked,Object.values(R[y]).forEach(O=>{O&&(O.checked=H.status)})}),q("consents")()},yt=y=>g=>{R[y].parent&&r(6,R[y].parent.checked=h.consents[y].every(H=>H.status),R),q("consents")()},st=y=>Array.isArray(y)?y.length>0:Object.keys(y).length>0;ks(()=>(Qu(Ve)&&r(8,Z=!0),()=>{}));function K(){h.mobile.prefix=Es(this),r(5,h),r(4,k)}function gt(){h.mobile.number=this.value,r(5,h),r(4,k)}function Ct(){h.securityQuestion.value=this.value,r(5,h),r(4,k)}function Xr(){h.securityAnswer.value=this.value,r(5,h),r(4,k)}function _t(){h.firstname.value=this.value,r(5,h),r(4,k)}function qr(){h.lastname.value=this.value,r(5,h),r(4,k)}function Ke(){h.country.countryName=this.value,r(5,h),r(4,k)}function Pt(){h.city.value=this.value,r(5,h),r(4,k)}function St(){h.address1.value=this.value,r(5,h),r(4,k)}function Zt(){h.address2.value=this.value,r(5,h),r(4,k)}function Zr(){h.postalCode.value=this.value,r(5,h),r(4,k)}function Ae(y,g){Dr[y?"unshift":"push"](()=>{R[g].parent=y,r(6,R)})}function Et(y,g,H){Dr[y?"unshift":"push"](()=>{R[g][H.tagCode]=y,r(6,R)})}function lt(y,g){y[g].status=this.checked,r(5,h),r(4,k)}function wt(y){Dr[y?"unshift":"push"](()=>{w=y,r(3,w)})}return e.$$set=y=>{"userid"in y&&r(20,n=y.userid),"sessionid"in y&&r(21,o=y.sessionid),"endpoint"in y&&r(22,a=y.endpoint),"lang"in y&&r(23,u=y.lang),"clientstyling"in y&&r(24,c=y.clientstyling),"clientstylingurl"in y&&r(25,p=y.clientstylingurl),"mbsource"in y&&r(26,f=y.mbsource),"translationurl"in y&&r(27,m=y.translationurl),"custominputtextswitch"in y&&r(0,v=y.custominputtextswitch),"showwelcomepanel"in y&&r(1,_=y.showwelcomepanel),"showlocationdetailsdescription"in y&&r(2,E=y.showlocationdetailsdescription),"disabledfields"in y&&r(28,C=y.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&7340032&&a&&n&&o&&Wt()&&dt()&&Gr(),e.$$.dirty[0]&4194304&&a&&Oe()&&Qt(),e.$$.dirty[0]&1610612736|e.$$.dirty[1]&3&&st(S)&&st(U)&&st(F)&&st(N)&&Ye(),e.$$.dirty[0]&8388608&&u&&vt(),e.$$.dirty[0]&268435456&&C&&(W=mt(C)),e.$$.dirty[0]&16777224&&c&&w&&Bu(w,c),e.$$.dirty[0]&33554440&&p&&w&&Hu(w,p),e.$$.dirty[0]&67108872&&f&&w&&Iu(w,`${f}.Style`),e.$$.dirty[0]&134217728&&m&&qt()},[v,_,E,w,k,h,R,Re,Z,Me,Ze,X,i,D,zr,q,Wr,Je,Qr,yt,n,o,a,u,c,p,f,m,C,N,S,U,F,K,gt,Ct,Xr,_t,qr,Ke,Pt,St,Zt,Zr,Ae,Et,lt,wt]}class ps extends Us{constructor(t){super(),Ls(this,t,nc,ic,Ia,{userid:20,sessionid:21,endpoint:22,lang:23,clientstyling:24,clientstylingurl:25,mbsource:26,translationurl:27,custominputtextswitch:0,showwelcomepanel:1,showlocationdetailsdescription:2,disabledfields:28},Xu,[-1,-1,-1])}get userid(){return this.$$.ctx[20]}set userid(t){this.$$set({userid:t}),Ee()}get sessionid(){return this.$$.ctx[21]}set sessionid(t){this.$$set({sessionid:t}),Ee()}get endpoint(){return this.$$.ctx[22]}set endpoint(t){this.$$set({endpoint:t}),Ee()}get lang(){return this.$$.ctx[23]}set lang(t){this.$$set({lang:t}),Ee()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(t){this.$$set({clientstyling:t}),Ee()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Ee()}get mbsource(){return this.$$.ctx[26]}set mbsource(t){this.$$set({mbsource:t}),Ee()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),Ee()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Ee()}get showwelcomepanel(){return this.$$.ctx[1]}set showwelcomepanel(t){this.$$set({showwelcomepanel:t}),Ee()}get showlocationdetailsdescription(){return this.$$.ctx[2]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Ee()}get disabledfields(){return this.$$.ctx[28]}set disabledfields(t){this.$$set({disabledfields:t}),Ee()}}js(ps,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showwelcomepanel:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=ps;
|
|
@@ -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-
|
|
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-Co9n5Iqk.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-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-CS4i8g7y.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-profile-info") && customElements.define("player-profile-info", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|