@everymatrix/player-account-gaming-limits-page-2-gmcore 1.85.17 → 1.85.18
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/{PlayerAccountGamingLimitsPage2Gmcore-DSV2gMJR.js → PlayerAccountGamingLimitsPage2Gmcore-CAB8ISDt.js} +3 -0
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-GTUeBlHX.js → PlayerAccountGamingLimitsPage2Gmcore-CDbMnJ9r.js} +3 -0
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-DzulpeoK.cjs → PlayerAccountGamingLimitsPage2Gmcore-Cx5OiLHn.cjs} +1 -1
- package/es2015/player-account-gaming-limits-page-2-gmcore.cjs +1 -1
- package/es2015/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/esnext/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/package.json +1 -1
|
@@ -4772,6 +4772,7 @@ const Kt = [], ei = {}, Go = (e, t = 0) => {
|
|
|
4772
4772
|
};
|
|
4773
4773
|
window.emWidgets = { topic: Go };
|
|
4774
4774
|
const zo = (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));
|
|
4775
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4775
4776
|
function Wo(e, t) {
|
|
4776
4777
|
if (e) {
|
|
4777
4778
|
const i = document.createElement("style");
|
|
@@ -4779,6 +4780,8 @@ function Wo(e, t) {
|
|
|
4779
4780
|
}
|
|
4780
4781
|
}
|
|
4781
4782
|
function Vo(e, t) {
|
|
4783
|
+
if (!e || !t)
|
|
4784
|
+
return;
|
|
4782
4785
|
const i = new URL(t);
|
|
4783
4786
|
fetch(i.href).then((r) => r.text()).then((r) => {
|
|
4784
4787
|
const n = document.createElement("style");
|
|
@@ -4735,6 +4735,7 @@ const Wt = [], Vt = {}, Oo = (e, t = 0) => {
|
|
|
4735
4735
|
};
|
|
4736
4736
|
window.emWidgets = { topic: Oo };
|
|
4737
4737
|
const Io = (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));
|
|
4738
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4738
4739
|
function Ho(e, t) {
|
|
4739
4740
|
if (e) {
|
|
4740
4741
|
const i = document.createElement("style");
|
|
@@ -4742,6 +4743,8 @@ function Ho(e, t) {
|
|
|
4742
4743
|
}
|
|
4743
4744
|
}
|
|
4744
4745
|
function Mo(e, t) {
|
|
4746
|
+
if (!e || !t)
|
|
4747
|
+
return;
|
|
4745
4748
|
const i = new URL(t);
|
|
4746
4749
|
fetch(i.href).then((r) => r.text()).then((r) => {
|
|
4747
4750
|
const n = document.createElement("style");
|
|
@@ -15,5 +15,5 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */var mt=function(e,t){return mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},mt(e,t)};function Te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mt(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function pt(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dt(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var r=i.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)o.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(s)throw s.error}}return o}function bt(e,t,i){if(arguments.length===2)for(var r=0,n=t.length,o;r<n;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}function Q(e){return typeof e=="function"}function Fi(e){var t=function(r){Error.call(r),r.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var it=Fi(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
|
|
17
17
|
`+i.map(function(r,n){return n+1+") "+r.toString()}).join(`
|
|
18
|
-
`):"",this.name="UnsubscriptionError",this.errors=i}});function gt(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Ge=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=pt(s),c=a.next();!c.done;c=a.next()){var u=c.value;u.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if(Q(l))try{l()}catch(_){o=_ instanceof it?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=pt(h),f=m.next();!f.done;f=m.next()){var p=f.value;try{Zt(p)}catch(_){o=o!=null?o:[],_ instanceof it?o=bt(bt([],dt(o)),dt(_.errors)):o.push(_)}}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}}if(o)throw new it(o)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Zt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&>(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&>(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Gi=Ge.EMPTY;function zi(e){return e instanceof Ge||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function Zt(e){Q(e)?e():e.unsubscribe()}var Oo={Promise:void 0},Io={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return setTimeout.apply(void 0,bt([e,t],dt(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ho(e){Io.setTimeout(function(){throw e})}function Yt(){}function Oe(e){e()}var Wi=function(e){Te(t,e);function t(i){var r=e.call(this)||this;return r.isStopped=!1,i?(r.destination=i,zi(i)&&i.add(r)):r.destination=Co,r}return t.create=function(i,r,n){return new yt(i,r,n)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},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(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ge),Mo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(r){Pe(r)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(r){Pe(r)}else Pe(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Pe(i)}},e}(),yt=function(e){Te(t,e);function t(i,r,n){var o=e.call(this)||this,s;return Q(i)||!i?s={next:i!=null?i:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0}:s=i,o.destination=new Mo(s),o}return t}(Wi);function Pe(e){Ho(e)}function ko(e){throw e}var Co={closed:!0,next:Yt,error:ko,complete:Yt},Do=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ro(e){return e}function jo(e){return e.length===0?Ro:e.length===1?e[0]:function(i){return e.reduce(function(r,n){return n(r)},i)}}var qt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,r){var n=this,o=$o(t)?t:new yt(t,i,r);return Oe(function(){var s=n,a=s.operator,c=s.source;o.add(a?a.call(o,c):c?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var r=this;return i=Jt(i),new i(function(n,o){var s=new yt({next:function(a){try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:n});r.subscribe(s)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[Do]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return jo(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Jt(t),new t(function(r,n){var o;i.subscribe(function(s){return o=s},function(s){return n(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function Jt(e){var t;return(t=e!=null?e:Oo.Promise)!==null&&t!==void 0?t:Promise}function Uo(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function $o(e){return e&&e instanceof Wi||Uo(e)&&zi(e)}var Fo=Fi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Vi=function(e){Te(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var r=new Qt(this,this);return r.operator=i,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fo},t.prototype.next=function(i){var r=this;Oe(function(){var n,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=pt(r.currentObservers),a=s.next();!a.done;a=s.next()){var c=a.value;c.next(i)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var r=this;Oe(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=i;for(var n=r.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;Oe(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var r=i.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var r=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?Gi:(this.currentObservers=null,a.push(i),new Ge(function(){r.currentObservers=null,gt(a,i)}))},t.prototype._checkFinalizedStatuses=function(i){var r=this,n=r.hasError,o=r.thrownError,s=r.isStopped;n?i.error(o):s&&i.complete()},t.prototype.asObservable=function(){var i=new qt;return i.source=this,i},t.create=function(i,r){return new Qt(i,r)},t}(qt),Qt=function(e){Te(t,e);function t(i,r){var n=e.call(this)||this;return n.destination=i,n.source=r,n}return t.prototype.next=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,i)},t.prototype.error=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,i)},t.prototype.complete=function(){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||r===void 0||r.call(i)},t.prototype._subscribe=function(i){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(i))!==null&&n!==void 0?n:Gi},t}(Vi),Xi={now:function(){return(Xi.delegate||Date).now()},delegate:void 0},Go=function(e){Te(t,e);function t(i,r,n){i===void 0&&(i=1/0),r===void 0&&(r=1/0),n===void 0&&(n=Xi);var o=e.call(this)||this;return o._bufferSize=i,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,i),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(i){var r=this,n=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,c=r._windowTime;n||(o.push(i),!s&&o.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(i),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),c=0;c<a.length&&!i.closed;c+=o?1:2)i.next(a[c]);return this._checkFinalizedStatuses(i),r},t.prototype._trimBuffer=function(){var i=this,r=i._bufferSize,n=i._timestampProvider,o=i._buffer,s=i._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var c=n.now(),u=0,l=1;l<o.length&&o[l]<=c;l+=2)u=l;u&&o.splice(0,u+1)}},t}(Vi);const Kt=[],ei={},zo=(e,t=0)=>{if(Kt.indexOf(e)==-1){const i=new Go(t);ei[e]=i,Kt.push(e)}return ei[e]};window.emWidgets={topic:zo};const Wo=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 Vo(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Xo(e,t){const i=new URL(t);fetch(i.href).then(r=>r.text()).then(r=>{const n=document.createElement("style");n.innerHTML=r,e&&e.appendChild(n)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Zo(e,t,i){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,n=>{r.innerHTML=n,e&&e.appendChild(r)})}}function Yo(e){vr(e,"svelte-1uoztsw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,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))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,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))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}')}function ti(e,t,i){const r=e.slice();return r[50]=t[i],r}function ii(e,t,i){const r=e.slice();return r[53]=t[i],r}function ri(e,t,i){const r=e.slice();return r[53]=t[i],r}function ni(e,t,i){const r=e.slice();return r[58]=t[i],r}function oi(e){let t,i;function r(s,a){return s[11]?qo:Jo}let n=r(e),o=n(e);return{c(){t=v("div"),i=v("div"),o.c(),g(i,"class","PopupContainer "+(e[14]?"Desktop":"")),g(t,"class","PopupOverlay")},m(s,a){B(s,t,a),d(t,i),o.m(i,null)},p(s,a){n===(n=r(s))&&o?o.p(s,a):(o.d(1),o=n(s),o&&(o.c(),o.m(i,null)))},d(s){s&&A(t),o.d()}}}function qo(e){let t,i,r=e[13]("popupTitle")+"",n,o,s,a,c,u,l,h,m,f,p,_,R,S=!e[9]&&si(e);return{c(){t=v("div"),i=v("span"),n=$(r),o=U(),s=v("button"),s.textContent="X",a=U(),c=v("div"),u=v("div"),S&&S.c(),l=U(),h=v("p"),m=$(e[12]),f=U(),p=v("button"),p.textContent="OK",g(i,"class","PopupTitle"),g(s,"class","ClosePopup"),g(t,"class","PopupTitleWrapper"),g(u,"class","ResultIconWrapper"),g(h,"class","DescriptionParagraph"),g(c,"class","DescriptionWrapper"),g(p,"class","ConfirmButton")},m(L,w){B(L,t,w),d(t,i),d(i,n),d(t,o),d(t,s),B(L,a,w),B(L,c,w),d(c,u),S&&S.m(u,null),d(c,l),d(c,h),d(h,m),B(L,f,w),B(L,p,w),_||(R=[q(s,"click",e[20]),q(p,"click",e[20])],_=!0)},p(L,w){w[0]&8192&&r!==(r=L[13]("popupTitle")+"")&&W(n,r),L[9]?S&&(S.d(1),S=null):S?S.p(L,w):(S=si(L),S.c(),S.m(u,null)),w[0]&4096&&W(m,L[12])},d(L){L&&(A(t),A(a),A(c),A(f),A(p)),S&&S.d(),_=!1,ie(R)}}}function Jo(e){let t;return{c(){t=v("div"),g(t,"class","LoadingIndicator")},m(i,r){B(i,t,r)},p:j,d(i){i&&A(t)}}}function si(e){let t,i,r,n,o,s,a,c,u=e[13]("popupSuccess")+"",l;return{c(){t=de("svg"),i=de("defs"),r=de("style"),n=$(`.fil0 {fill:black;fill-rule:nonzero}
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=i}});function gt(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Ge=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=pt(s),c=a.next();!c.done;c=a.next()){var u=c.value;u.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if(Q(l))try{l()}catch(_){o=_ instanceof it?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=pt(h),f=m.next();!f.done;f=m.next()){var p=f.value;try{Zt(p)}catch(_){o=o!=null?o:[],_ instanceof it?o=bt(bt([],dt(o)),dt(_.errors)):o.push(_)}}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}}if(o)throw new it(o)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Zt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&>(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&>(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Gi=Ge.EMPTY;function zi(e){return e instanceof Ge||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function Zt(e){Q(e)?e():e.unsubscribe()}var Oo={Promise:void 0},Io={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return setTimeout.apply(void 0,bt([e,t],dt(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ho(e){Io.setTimeout(function(){throw e})}function Yt(){}function Oe(e){e()}var Wi=function(e){Te(t,e);function t(i){var r=e.call(this)||this;return r.isStopped=!1,i?(r.destination=i,zi(i)&&i.add(r)):r.destination=Co,r}return t.create=function(i,r,n){return new yt(i,r,n)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},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(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ge),Mo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(r){Pe(r)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(r){Pe(r)}else Pe(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Pe(i)}},e}(),yt=function(e){Te(t,e);function t(i,r,n){var o=e.call(this)||this,s;return Q(i)||!i?s={next:i!=null?i:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0}:s=i,o.destination=new Mo(s),o}return t}(Wi);function Pe(e){Ho(e)}function ko(e){throw e}var Co={closed:!0,next:Yt,error:ko,complete:Yt},Do=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ro(e){return e}function jo(e){return e.length===0?Ro:e.length===1?e[0]:function(i){return e.reduce(function(r,n){return n(r)},i)}}var qt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,r){var n=this,o=$o(t)?t:new yt(t,i,r);return Oe(function(){var s=n,a=s.operator,c=s.source;o.add(a?a.call(o,c):c?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var r=this;return i=Jt(i),new i(function(n,o){var s=new yt({next:function(a){try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:n});r.subscribe(s)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[Do]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return jo(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Jt(t),new t(function(r,n){var o;i.subscribe(function(s){return o=s},function(s){return n(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function Jt(e){var t;return(t=e!=null?e:Oo.Promise)!==null&&t!==void 0?t:Promise}function Uo(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function $o(e){return e&&e instanceof Wi||Uo(e)&&zi(e)}var Fo=Fi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Vi=function(e){Te(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var r=new Qt(this,this);return r.operator=i,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fo},t.prototype.next=function(i){var r=this;Oe(function(){var n,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=pt(r.currentObservers),a=s.next();!a.done;a=s.next()){var c=a.value;c.next(i)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var r=this;Oe(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=i;for(var n=r.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;Oe(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var r=i.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var r=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?Gi:(this.currentObservers=null,a.push(i),new Ge(function(){r.currentObservers=null,gt(a,i)}))},t.prototype._checkFinalizedStatuses=function(i){var r=this,n=r.hasError,o=r.thrownError,s=r.isStopped;n?i.error(o):s&&i.complete()},t.prototype.asObservable=function(){var i=new qt;return i.source=this,i},t.create=function(i,r){return new Qt(i,r)},t}(qt),Qt=function(e){Te(t,e);function t(i,r){var n=e.call(this)||this;return n.destination=i,n.source=r,n}return t.prototype.next=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,i)},t.prototype.error=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,i)},t.prototype.complete=function(){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||r===void 0||r.call(i)},t.prototype._subscribe=function(i){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(i))!==null&&n!==void 0?n:Gi},t}(Vi),Xi={now:function(){return(Xi.delegate||Date).now()},delegate:void 0},Go=function(e){Te(t,e);function t(i,r,n){i===void 0&&(i=1/0),r===void 0&&(r=1/0),n===void 0&&(n=Xi);var o=e.call(this)||this;return o._bufferSize=i,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,i),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(i){var r=this,n=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,c=r._windowTime;n||(o.push(i),!s&&o.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(i),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),c=0;c<a.length&&!i.closed;c+=o?1:2)i.next(a[c]);return this._checkFinalizedStatuses(i),r},t.prototype._trimBuffer=function(){var i=this,r=i._bufferSize,n=i._timestampProvider,o=i._buffer,s=i._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var c=n.now(),u=0,l=1;l<o.length&&o[l]<=c;l+=2)u=l;u&&o.splice(0,u+1)}},t}(Vi);const Kt=[],ei={},zo=(e,t=0)=>{if(Kt.indexOf(e)==-1){const i=new Go(t);ei[e]=i,Kt.push(e)}return ei[e]};window.emWidgets={topic:zo};const Wo=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 Vo(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Xo(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(r=>r.text()).then(r=>{const n=document.createElement("style");n.innerHTML=r,e&&e.appendChild(n)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Zo(e,t,i){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,n=>{r.innerHTML=n,e&&e.appendChild(r)})}}function Yo(e){vr(e,"svelte-1uoztsw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,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))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,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))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}')}function ti(e,t,i){const r=e.slice();return r[50]=t[i],r}function ii(e,t,i){const r=e.slice();return r[53]=t[i],r}function ri(e,t,i){const r=e.slice();return r[53]=t[i],r}function ni(e,t,i){const r=e.slice();return r[58]=t[i],r}function oi(e){let t,i;function r(s,a){return s[11]?qo:Jo}let n=r(e),o=n(e);return{c(){t=v("div"),i=v("div"),o.c(),g(i,"class","PopupContainer "+(e[14]?"Desktop":"")),g(t,"class","PopupOverlay")},m(s,a){B(s,t,a),d(t,i),o.m(i,null)},p(s,a){n===(n=r(s))&&o?o.p(s,a):(o.d(1),o=n(s),o&&(o.c(),o.m(i,null)))},d(s){s&&A(t),o.d()}}}function qo(e){let t,i,r=e[13]("popupTitle")+"",n,o,s,a,c,u,l,h,m,f,p,_,R,S=!e[9]&&si(e);return{c(){t=v("div"),i=v("span"),n=$(r),o=U(),s=v("button"),s.textContent="X",a=U(),c=v("div"),u=v("div"),S&&S.c(),l=U(),h=v("p"),m=$(e[12]),f=U(),p=v("button"),p.textContent="OK",g(i,"class","PopupTitle"),g(s,"class","ClosePopup"),g(t,"class","PopupTitleWrapper"),g(u,"class","ResultIconWrapper"),g(h,"class","DescriptionParagraph"),g(c,"class","DescriptionWrapper"),g(p,"class","ConfirmButton")},m(L,w){B(L,t,w),d(t,i),d(i,n),d(t,o),d(t,s),B(L,a,w),B(L,c,w),d(c,u),S&&S.m(u,null),d(c,l),d(c,h),d(h,m),B(L,f,w),B(L,p,w),_||(R=[q(s,"click",e[20]),q(p,"click",e[20])],_=!0)},p(L,w){w[0]&8192&&r!==(r=L[13]("popupTitle")+"")&&W(n,r),L[9]?S&&(S.d(1),S=null):S?S.p(L,w):(S=si(L),S.c(),S.m(u,null)),w[0]&4096&&W(m,L[12])},d(L){L&&(A(t),A(a),A(c),A(f),A(p)),S&&S.d(),_=!1,ie(R)}}}function Jo(e){let t;return{c(){t=v("div"),g(t,"class","LoadingIndicator")},m(i,r){B(i,t,r)},p:j,d(i){i&&A(t)}}}function si(e){let t,i,r,n,o,s,a,c,u=e[13]("popupSuccess")+"",l;return{c(){t=de("svg"),i=de("defs"),r=de("style"),n=$(`.fil0 {fill:black;fill-rule:nonzero}
|
|
19
19
|
`),o=de("g"),s=de("polygon"),a=U(),c=v("p"),l=$(u),g(r,"type","text/css"),g(s,"class","fil0"),g(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(t,"xmlns","http://www.w3.org/2000/svg"),g(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(t,"xml:space","preserve"),g(t,"version","1.1"),Ze(t,"shape-rendering","geometricPrecision"),Ze(t,"text-rendering","geometricPrecision"),Ze(t,"image-rendering","optimizeQuality"),g(t,"viewBox","0 0 90 69"),g(t,"x","0px"),g(t,"y","0px"),g(t,"fill-rule","evenodd"),g(t,"clip-rule","evenodd")},m(h,m){B(h,t,m),d(t,i),d(i,r),d(r,n),d(t,o),d(o,s),B(h,a,m),B(h,c,m),d(c,l)},p(h,m){m[0]&8192&&u!==(u=h[13]("popupSuccess")+"")&&W(l,u)},d(h){h&&(A(t),A(a),A(c))}}}function Qo(e){let t,i,r,n,o,s,a,c,u,l=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`,h,m,f,p,_,R=e[13]("setLimit")+"",S,L,w,O=te(e[15]),P=[];for(let E=0;E<O.length;E+=1)P[E]=ui(ri(e,O,E));let H=e[5]&&li(e),D=e[6]&&hi(e);return{c(){t=v("div"),i=v("div"),r=v("div");for(let E=0;E<P.length;E+=1)P[E].c();n=U(),o=v("form"),H&&H.c(),s=U(),D&&D.c(),a=U(),c=v("label"),u=v("span"),h=$(l),m=U(),f=v("input"),p=U(),_=v("button"),S=$(R),g(r,"class","LimitsList "+(e[14]?"Desktop":"")),g(u,"class","LimitInputText"),g(c,"class","LimitAmountInputWrapper"),g(f,"type","number"),g(f,"pattern","[0-9]*"),g(_,"class","LimitSubmitButton"),g(_,"type","button"),_.disabled=!0,g(o,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),g(i,"class","LimitsPageContainer"),g(t,"class","player-account-gaming-limits-page-2-gmcore")},m(E,G){B(E,t,G),d(t,i),d(i,r);for(let M=0;M<P.length;M+=1)P[M]&&P[M].m(r,null);d(i,n),d(i,o),H&&H.m(o,null),d(o,s),D&&D.m(o,null),d(o,a),d(o,c),d(c,u),d(u,h),d(o,m),d(o,f),ye(f,e[3]),d(o,p),d(o,_),d(_,S),e[35](_),L||(w=[q(f,"input",e[34]),q(f,"keyup",e[18]),q(_,"click",e[17]),q(o,"submit",e[17])],L=!0)},p(E,G){if(G[0]&581632){O=te(E[15]);let M;for(M=0;M<O.length;M+=1){const K=ri(E,O,M);P[M]?P[M].p(K,G):(P[M]=ui(K),P[M].c(),P[M].m(r,null))}for(;M<P.length;M+=1)P[M].d(1);P.length=O.length}E[5]?H?H.p(E,G):(H=li(E),H.c(),H.m(o,s)):H&&(H.d(1),H=null),E[6]?D?D.p(E,G):(D=hi(E),D.c(),D.m(o,a)):D&&(D.d(1),D=null),G[0]&8260&&l!==(l=E[6]?`${E[13]("amount")}`:`${E[13]("new")} ${E[13](`gamingLimits.${E[2]}`)} ${E[13]("limit")}`)&&W(h,l),G[0]&8&&bi(f.value)!==E[3]&&ye(f,E[3]),G[0]&8192&&R!==(R=E[13]("setLimit")+"")&&W(S,R)},d(E){E&&A(t),De(P,E),H&&H.d(),D&&D.d(),e[35](null),L=!1,ie(w)}}}function Ko(e){let t;return{c(){t=v("p"),t.textContent="500 Server error"},m(i,r){B(i,t,r)},p:j,d(i){i&&A(t)}}}function es(e){return{c:j,m:j,p:j,d:j}}function ts(e){let t;return{c(){t=v("div"),g(t,"class","LoadingIndicator")},m(i,r){B(i,t,r)},p:j,d(i){i&&A(t)}}}function is(e){let t,i,r,n=e[13]("noLimitText")+"",o;return{c(){t=v("div"),i=v("div"),r=v("div"),o=$(n),g(r,"class","LimitDetailsTextWrapper"),g(i,"class","LimitDetailsWrapper"),g(t,"class","LimitDetails")},m(s,a){B(s,t,a),d(t,i),d(i,r),d(r,o)},p(s,a){a[0]&8192&&n!==(n=s[13]("noLimitText")+"")&&W(o,n)},d(s){s&&A(t)}}}function rs(e){let t,i=te(e[53].currentLimits),r=[];for(let n=0;n<i.length;n+=1)r[n]=ai(ni(e,i,n));return{c(){for(let n=0;n<r.length;n+=1)r[n].c();t=Lr()},m(n,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(n,o);B(n,t,o)},p(n,o){if(o[0]&565248){i=te(n[53].currentLimits);let s;for(s=0;s<i.length;s+=1){const a=ni(n,i,s);r[s]?r[s].p(a,o):(r[s]=ai(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(n){n&&A(t),De(r,n)}}}function ns(e){let t,i=`${e[13]("removedLimitText")} ${e[58].expiryDate}`,r;return{c(){t=v("div"),r=$(i),g(t,"class","PendingLimit")},m(n,o){B(n,t,o),d(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[13]("removedLimitText")} ${n[58].expiryDate}`)&&W(r,i)},d(n){n&&A(t)}}}function os(e){let t,i=`${e[58].updateAmount}${e[58].currency} ${e[13](`gamingLimits.${e[58].period}`)} ${e[13]("updateText")} ${e[58].expiryDate}`,r;return{c(){t=v("div"),r=$(i),g(t,"class","PendingLimit")},m(n,o){B(n,t,o),d(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[58].updateAmount}${n[58].currency} ${n[13](`gamingLimits.${n[58].period}`)} ${n[13]("updateText")} ${n[58].expiryDate}`)&&W(r,i)},d(n){n&&A(t)}}}function ss(e){let t,i=e[13]("gamingLimits.removeLimit")+"",r,n,o;function s(){return e[31](e[58])}return{c(){t=v("button"),r=$(i),g(t,"class","RemoveLimitButton")},m(a,c){B(a,t,c),d(t,r),n||(o=q(t,"click",s),n=!0)},p(a,c){e=a,c[0]&8192&&i!==(i=e[13]("gamingLimits.removeLimit")+"")&&W(r,i)},d(a){a&&A(t),n=!1,o()}}}function ai(e){let t,i,r,n=`${e[58].amount}${e[58].currency} ${e[13](`gamingLimits.${e[58].period}`)}`,o,s,a,c;function u(f,p){if(f[58].isModified&&f[58].updateAmount!="-1")return os;if(f[58].isModified)return ns}let l=u(e),h=l&&l(e),m=!e[58].isModified&&ss(e);return{c(){t=v("div"),i=v("div"),r=v("div"),o=$(n),s=U(),h&&h.c(),a=U(),m&&m.c(),c=U(),g(r,"class","CurrentLimit"),g(i,"class","LimitDetailsTextWrapper"),g(t,"class","LimitDetails")},m(f,p){B(f,t,p),d(t,i),d(i,r),d(r,o),d(i,s),h&&h.m(i,null),d(t,a),m&&m.m(t,null),d(t,c)},p(f,p){p[0]&8192&&n!==(n=`${f[58].amount}${f[58].currency} ${f[13](`gamingLimits.${f[58].period}`)}`)&&W(o,n),h&&h.p(f,p),f[58].isModified||m.p(f,p)},d(f){f&&A(t),h&&h.d(),m&&m.d()}}}function ui(e){let t,i,r=e[13](`gamingLimits.${e[53].value}`)+"",n,o,s;function a(l,h){return l[53].currentLimits.length>0?rs:is}let u=a(e)(e);return{c(){t=v("div"),i=v("p"),n=$(r),o=U(),u.c(),s=U(),g(i,"class","LimitTitle"),g(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(l,h){B(l,t,h),d(t,i),d(i,n),d(t,o),u.m(t,null),d(t,s)},p(l,h){h[0]&8192&&r!==(r=l[13](`gamingLimits.${l[53].value}`)+"")&&W(n,r),u.p(l,h)},d(l){l&&A(t),u.d()}}}function li(e){let t,i,r=e[13]("limitType")+"",n,o,s,a,c,u=te(e[15]),l=[];for(let h=0;h<u.length;h+=1)l[h]=ci(ii(e,u,h));return{c(){t=v("label"),i=v("span"),n=$(r),o=U(),s=v("select");for(let h=0;h<l.length;h+=1)l[h].c();g(i,"class","LimitSelectText"),g(s,"name",""),g(s,"id",""),e[1]===void 0&&_e(()=>e[32].call(s)),g(t,"class","LimitTypeDropdownWrapper")},m(h,m){B(h,t,m),d(t,i),d(i,n),d(t,o),d(t,s);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(s,null);Ie(s,e[1],!0),a||(c=[q(s,"change",e[32]),q(s,"change",e[16])],a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("limitType")+"")&&W(n,r),m[0]&32768){u=te(h[15]);let f;for(f=0;f<u.length;f+=1){const p=ii(h,u,f);l[f]?l[f].p(p,m):(l[f]=ci(p),l[f].c(),l[f].m(s,null))}for(;f<l.length;f+=1)l[f].d(1);l.length=u.length}m[0]&32770&&Ie(s,h[1])},d(h){h&&A(t),De(l,h),a=!1,ie(c)}}}function ci(e){let t,i=e[53].title+"",r;return{c(){t=v("option"),r=$(i),t.__value=e[53].value,ye(t,t.__value)},m(n,o){B(n,t,o),d(t,r)},p:j,d(n){n&&A(t)}}}function hi(e){let t,i,r=e[13]("period")+"",n,o,s,a,c,u=te(Z[e[1]].periods),l=[];for(let h=0;h<u.length;h+=1)l[h]=fi(ti(e,u,h));return{c(){t=v("label"),i=v("span"),n=$(r),o=U(),s=v("select");for(let h=0;h<l.length;h+=1)l[h].c();g(i,"class","PeriodSelectText"),g(t,"class","LimitPeriodDropdownWrapper"),g(s,"name",""),g(s,"id",""),e[2]===void 0&&_e(()=>e[33].call(s))},m(h,m){B(h,t,m),d(t,i),d(i,n),B(h,o,m),B(h,s,m);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(s,null);Ie(s,e[2],!0),a||(c=q(s,"change",e[33]),a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("period")+"")&&W(n,r),m[0]&8194){u=te(Z[h[1]].periods);let f;for(f=0;f<u.length;f+=1){const p=ti(h,u,f);l[f]?l[f].p(p,m):(l[f]=fi(p),l[f].c(),l[f].m(s,null))}for(;f<l.length;f+=1)l[f].d(1);l.length=u.length}m[0]&6&&Ie(s,h[2])},d(h){h&&(A(t),A(o),A(s)),De(l,h),a=!1,c()}}}function fi(e){let t,i=e[13](`gamingLimits.${e[50]}`)+"",r,n;return{c(){t=v("option"),r=$(i),t.__value=n=e[50],ye(t,t.__value),t.selected=!0},m(o,s){B(o,t,s),d(t,r)},p(o,s){s[0]&8194&&i!==(i=o[13](`gamingLimits.${o[50]}`)+"")&&W(r,i),s[0]&32770&&n!==(n=o[50])&&(t.__value=n,ye(t,t.__value))},d(o){o&&A(t)}}}function as(e){let t,i,r=e[10]&&oi(e);function n(a,c){return a[7]&&!a[10]?ts:a[7]?es:a[8]?Ko:Qo}let o=n(e),s=o(e);return{c(){t=v("div"),r&&r.c(),i=U(),s.c()},m(a,c){B(a,t,c),r&&r.m(t,null),d(t,i),s.m(t,null),e[36](t)},p(a,c){a[10]?r?r.p(a,c):(r=oi(a),r.c(),r.m(t,i)):r&&(r.d(1),r=null),o===(o=n(a))&&s?s.p(a,c):(s.d(1),s=o(a),s&&(s.c(),s.m(t,null)))},i:j,o:j,d(a){a&&A(t),r&&r.d(),s.d(),e[36](null)}}}function us(e,t,i){let r;yr(e,Bo,b=>i(13,r=b));let{lang:n="en"}=t,{currency:o=""}=t,{limits:s=""}=t,{session:a=""}=t,{userid:c=""}=t,{endpoint:u=""}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{translationurl:m=""}=t,{mbsource:f}=t,p,_=window.navigator.userAgent,R=!Wo(_),S=[],L="",w="",O,P,H=!1,D=!1,E=!0,G=!1,M=!1,K=!1,ze=!1,We="",we;const Lt={EUR:"€",RON:" lei"},Yi={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]},qi=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(N=>{Vt(N,y[N])})}).catch(y=>{console.log(y)})};Object.keys(Xt).forEach(b=>{Vt(b,Xt[b])});const Ji=()=>{s.split(" ").forEach(y=>{Z[y]?S.push(Z[y]):console.error(`Unknown limit: ${y}`)}),i(1,L=S[0].value),i(2,w=Z[L].periods[0]),i(5,H=S.length>1),i(6,D=Z[L].periods.length>1)},Qi=()=>{i(2,w=Z[L].periods[0]),i(6,D=Z[L].periods.length>1)},Ki=()=>{if(!(O>0))return;i(10,K=!0),i(7,E=!0);let b=new URL(`/v2/player/${c}/limits`,u);const y={};y[Z[L].callValue]=[{period:w,amount:O,currency:o}];let N={method:"PUT",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(y)};fetch(b.href,N).then(k=>(k.status>=300&&i(9,M=!0),k.json())).then(k=>{Ve(),M&&er(k)}).catch(k=>{console.log(k),i(7,E=!1),i(8,G=!0)})},er=b=>{const y=b.error.match(/errorCode:(.*)\)/)[1];console.error(`API response error: ${y}`);let N;for(const[k,F]of Object.entries(Yi))F.includes(y)&&(N=r(`gamingLimits.${k}`));N=N!=null?N:r("gamingLimits.genericError"),xt(y,N)},Ve=()=>{let b=new URL(`/v2/player/${c}/limits`,u),y=!M,N={method:"GET",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(b.href,N).then(k=>{if(k.status>=300)throw i(7,E=!1),i(8,G=!0),new Error("There was an error fetching the limits");return k.json()}).then(k=>{we=k,K&&y&&xt(),tr(we),i(7,E=!1),i(3,O=null)}).catch(k=>{console.log(k),i(7,E=!1),i(8,G=!0)})},tr=b=>{S.forEach(y=>{var N;y.currentLimits=[],(N=b[Z[y.value].callValue])==null||N.forEach((k,F)=>{var wt;const J=b[Z[y.value].callValue][F];y.currentLimits.push({}),y.currentLimits[F].limitType=y.value,y.currentLimits[F].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.amount),y.currentLimits[F].currency=(wt=Lt[J.currency])!=null?wt:J.currency,y.currentLimits[F].period=J.period,y.currentLimits[F].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.updateAmount),y.currentLimits[F].isModified=J.isModified,y.currentLimits[F].expiryDate=`${new Date(J.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),y.currentLimits=ir(y.currentLimits)})},ir=b=>{const y={Daily:0,Weekly:1,Monthly:2};return b.sort((N,k)=>y[N.period]-y[k.period]),b},rr=()=>{O>999999999999999&&i(3,O=999999999999999);const y=O-Math.floor(O)===0;O>0&&y?P.removeAttribute("disabled"):P.setAttribute("disabled","true")},xt=(b,y)=>{if(b)i(12,We=y);else if(we){const N=we[Z[L].callValue].filter(J=>J.period===w)[0],k=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(N.amount);let F=r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}",k).replace("{currency}",Lt[N.currency]||N.currency).replace("{selectedPeriod}",r(`gamingLimits.${w}`).toLowerCase());i(12,We=N.isModified?`${r("popupPendingUpdate")} ${new Date(N.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:F)}else console.error("Couldn't populate popupContent");i(11,ze=!0)},Tt=b=>{const y={wager:"wagering",loss:"loss",deposit:"deposit"};i(10,K=!0),i(7,E=!0);let N=new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`,u),k={method:"DELETE",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(N.href,k).then(F=>F.json()).then(F=>{Ve()}).catch(F=>{console.log(F),i(7,E=!1),i(8,G=!0)})},nr=()=>{i(11,ze=i(10,K=!1))},or=()=>{No(n)};Sr(()=>()=>{});const sr=b=>Tt(b);function ar(){L=Ot(this),i(1,L),i(15,S)}function ur(){w=Ot(this),i(2,w),i(1,L)}function lr(){O=bi(this.value),i(3,O)}function cr(b){He[b?"unshift":"push"](()=>{P=b,i(4,P)})}function hr(b){He[b?"unshift":"push"](()=>{p=b,i(0,p)})}return e.$$set=b=>{"lang"in b&&i(21,n=b.lang),"currency"in b&&i(22,o=b.currency),"limits"in b&&i(23,s=b.limits),"session"in b&&i(24,a=b.session),"userid"in b&&i(25,c=b.userid),"endpoint"in b&&i(26,u=b.endpoint),"clientstyling"in b&&i(27,l=b.clientstyling),"clientstylingurl"in b&&i(28,h=b.clientstylingurl),"translationurl"in b&&i(29,m=b.translationurl),"mbsource"in b&&i(30,f=b.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&8388608&&s&&Ji(),e.$$.dirty[0]&2097152&&n&&or(),e.$$.dirty[0]&117440512&&c&&a&&u&&Ve(),e.$$.dirty[0]&134217729&&l&&p&&Vo(p,l),e.$$.dirty[0]&268435457&&h&&p&&Xo(p,h),e.$$.dirty[0]&1073741825&&f&&p&&Zo(p,`${f}.Style`),e.$$.dirty[0]&536870912&&m&&qi()},[p,L,w,O,P,H,D,E,G,M,K,ze,We,r,R,S,Qi,Ki,rr,Tt,nr,n,o,s,a,c,u,l,h,m,f,sr,ar,ur,lr,cr,hr]}class Zi extends Rr{constructor(t){super(),Cr(this,t,us,as,pi,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29,mbsource:30},Yo,[-1,-1])}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),X()}get currency(){return this.$$.ctx[22]}set currency(t){this.$$set({currency:t}),X()}get limits(){return this.$$.ctx[23]}set limits(t){this.$$set({limits:t}),X()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),X()}get userid(){return this.$$.ctx[25]}set userid(t){this.$$set({userid:t}),X()}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),X()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),X()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),X()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),X()}get mbsource(){return this.$$.ctx[30]}set mbsource(t){this.$$set({mbsource:t}),X()}}Dr(Zi,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=Zi;
|
|
@@ -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/PlayerAccountGamingLimitsPage2Gmcore-
|
|
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/PlayerAccountGamingLimitsPage2Gmcore-Cx5OiLHn.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPage2Gmcore-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPage2Gmcore-CAB8ISDt.js").then(
|
|
14
14
|
({ default: t }) => {
|
|
15
15
|
!customElements.get("player-account-gaming-limits-page-2-gmcore") && customElements.define(
|
|
16
16
|
"player-account-gaming-limits-page-2-gmcore",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-account-gaming-limits-page-2-gmcore",
|
|
3
|
-
"version": "1.85.
|
|
3
|
+
"version": "1.85.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/player-account-gaming-limits-page-2-gmcore.cjs",
|
|
6
6
|
"module": "esnext/player-account-gaming-limits-page-2-gmcore.js",
|