@everymatrix/player-account-gaming-limits-page-2-gmcore 0.0.365 → 0.0.368
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.
|
@@ -618,55 +618,55 @@ self.fetch.bind(self);
|
|
|
618
618
|
var Nr=function(t,e){return Nr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Nr(t,e)};function Rr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Nr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Mr(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function Ur(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function $r(t){return"function"==typeof t}function kr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Gr=kr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Fr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var jr=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Mr(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if($r(u))try{u()}catch(t){i=t instanceof Gr?t.errors:[t]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var c=Mr(l),h=c.next();!h.done;h=c.next()){var p=h.value;try{Xr(p)}catch(t){i=null!=i?i:[],t instanceof Gr?i=Ur(Ur([],Dr(i)),Dr(t.errors)):i.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new Gr(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Xr(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Fr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Fr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Vr=jr.EMPTY;function Wr(t){return t instanceof jr||t&&"closed"in t&&$r(t.remove)&&$r(t.add)&&$r(t.unsubscribe)}function Xr(t){$r(t)?t():t.unsubscribe()}var zr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Kr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Kr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Ur([t,e],Dr(r))):setTimeout.apply(void 0,Ur([t,e],Dr(r)))},clearTimeout:function(t){var e=Kr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Yr(){}var Zr=null;function qr(t){if(zr.useDeprecatedSynchronousErrorHandling){var e=!Zr;if(e&&(Zr={errorThrown:!1,error:null}),t(),e){var r=Zr,n=r.errorThrown,i=r.error;if(Zr=null,n)throw i}}else t()}var Jr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,Wr(e)&&e.add(r)):r.destination=on,r}return Rr(e,t),e.create=function(t,e,r){return new rn(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(jr),Qr=Function.prototype.bind;function tn(t,e){return Qr.call(t,e)}var en=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){nn(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){nn(t)}else nn(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){nn(t)}},t}(),rn=function(t){function e(e,r,n){var i,o,s=t.call(this)||this;$r(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&zr.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},i={next:e.next&&tn(e.next,o),error:e.error&&tn(e.error,o),complete:e.complete&&tn(e.complete,o)}):i=e;return s.destination=new en(i),s}return Rr(e,t),e}(Jr);function nn(t){var e;e=t,Kr.setTimeout((function(){throw e}))}var on={closed:!0,next:Yr,error:function(t){throw t},complete:Yr},sn="function"==typeof Symbol&&Symbol.observable||"@@observable";function an(t){return t}function un(t){return 0===t.length?an:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var ln=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,i=this,o=(n=t)&&n instanceof Jr||function(t){return t&&$r(t.next)&&$r(t.error)&&$r(t.complete)}(n)&&Wr(n)?t:new rn(t,e,r);return qr((function(){var t=i,e=t.operator,r=t.source;o.add(e?e.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=cn(e))((function(e,n){var i=new rn({next:function(e){try{t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:e});r.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[sn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return un(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=cn(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function cn(t){var e;return null!==(e=null!=t?t:zr.Promise)&&void 0!==e?e:Promise}var hn=kr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),pn=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Rr(e,t),e.prototype.lift=function(t){var e=new fn(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new hn},e.prototype.next=function(t){var e=this;qr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=Mr(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;qr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;qr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Vr:(this.currentObservers=null,o.push(t),new jr((function(){e.currentObservers=null,Fr(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,i=e.isStopped;r?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new ln;return t.source=this,t},e.create=function(t,e){return new fn(t,e)},e}(ln),fn=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Rr(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Vr},e}(pn),mn={now:function(){return(mn.delegate||Date).now()},delegate:void 0},dn=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=mn);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,r),i}return Rr(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,u=1;u<n.length&&n[u]<=s;u+=2)a=u;a&&n.splice(0,a+1)}},e}(pn);let gn=[],yn={};window.emWidgets={topic:(t,e=0)=>{if(-1==gn.indexOf(t)){let r=new dn(e);yn[t]=r,gn.push(t)}return yn[t]}};
|
|
619
619
|
/* src/PlayerAccountGamingLimitsPage_2Gmcore.svelte generated by Svelte v3.48.0 */
|
|
620
620
|
function bn(t,e,r){const n=t.slice();return n[46]=e[r],n}function vn(t,e,r){const n=t.slice();return n[49]=e[r],n}function En(t,e,r){const n=t.slice();return n[49]=e[r],n}function Tn(t,e,r){const n=t.slice();return n[54]=e[r],n}
|
|
621
|
-
// (
|
|
621
|
+
// (235:2) {#if popupVisible}
|
|
622
622
|
function _n(t){let e,r,n;function i(t,e){/*popupReady*/
|
|
623
623
|
return t[10]?Ln:wn}let o=i(t),s=o(t);return{c(){e=h("div"),r=h("div"),s.c(),g(r,"class",n="PopupContainer "+(/*isDesktop*/t[13]?"Desktop":"")),g(e,"class","PopupOverlay")},m(t,n){u(t,e,n),a(e,r),s.m(r,null)},p(t,e){o===(o=i(t))&&s?s.p(t,e):(s.d(1),s=o(t),s&&(s.c(),s.m(r,null)))},d(t){t&&l(e),s.d()}}}
|
|
624
|
-
// (
|
|
624
|
+
// (240:6) {:else}
|
|
625
625
|
function Ln(t){let e,r,i,o,s,c,y,v,T,_,L,w,A,B,S,H,P,O,I,x,C,N,R,M,D=/*$_*/t[12]("gamingLimits.popupTitle")+"",U=/*$_*/t[12]("gamingLimits.popupSuccess")+"";return{c(){e=h("div"),r=h("span"),i=f(D),o=m(),s=h("button"),s.textContent="X",c=m(),y=h("div"),v=h("div"),T=p("svg"),_=p("defs"),L=p("style"),w=f(".fil0 {fill:black;fill-rule:nonzero}\n "),A=p("g"),B=p("polygon"),S=m(),H=h("p"),P=f(U),O=m(),I=h("p"),x=f(/*popupContent*/t[11]),C=m(),N=h("button"),N.textContent="OK",g(r,"class","PopupTitle"),g(s,"class","ClosePopup"),g(e,"class","PopupTitleWrapper"),g(L,"type","text/css"),g(B,"class","fil0"),g(B,"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"),E(T,"shape-rendering","geometricPrecision"),E(T,"text-rendering","geometricPrecision"),E(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"),g(v,"class","ResultIconWrapper"),g(I,"class","DescriptionParagraph"),g(y,"class","DescriptionWrapper"),g(N,"class","ConfirmButton")},m(n,l){u(n,e,l),a(e,r),a(r,i),a(e,o),a(e,s),u(n,c,l),u(n,y,l),a(y,v),a(v,T),a(T,_),a(_,L),a(L,w),a(T,A),a(A,B),a(v,S),a(v,H),a(H,P),a(y,O),a(y,I),a(I,x),u(n,C,l),u(n,N,l),R||(M=[d(s,"click",/*closePopup*/t[19]),d(N,"click",/*closePopup*/t[19])],R=!0)},p(t,e){/*$_*/4096&e[0]&&D!==(D=/*$_*/t[12]("gamingLimits.popupTitle")+"")&&b(i,D),/*$_*/4096&e[0]&&U!==(U=/*$_*/t[12]("gamingLimits.popupSuccess")+"")&&b(P,U),/*popupContent*/2048&e[0]&&b(x,/*popupContent*/t[11])},d(t){t&&l(e),t&&l(c),t&&l(y),t&&l(C),t&&l(N),R=!1,n(M)}}}
|
|
626
|
-
// (
|
|
626
|
+
// (238:6) {#if !popupReady}
|
|
627
627
|
function wn(e){let r;return{c(){r=h("div"),g(r,"class","LoadingIndicator")},m(t,e){u(t,r,e)},p:t,d(t){t&&l(r)}}}
|
|
628
|
-
// (
|
|
628
|
+
// (269:2) {:else}
|
|
629
629
|
function An(t){let e,r,i,o,s,p,E,T,_,L,w,A,B,S,H,P,O,I=/*multiplePeriods*/t[6]?`${/*$_*/t[12]("gamingLimits.amount")}`:`${/*$_*/t[12]("gamingLimits.new")} ${/*$_*/t[12](`gamingLimits.${/*selectedPeriod*/t[2]}`)} ${/*$_*/t[12]("gamingLimits.limit")}`,x=/*$_*/t[12]("gamingLimits.setLimit")+"",C=/*availableLimits*/t[14],N=[];for(let e=0;e<C.length;e+=1)N[e]=Nn(En(t,C,e));let R=/*multipleLimits*/t[5]&&Rn(t),M=/*multiplePeriods*/t[6]&&Dn(t);return{c(){e=h("div"),r=h("div"),i=h("div");for(let t=0;t<N.length;t+=1)N[t].c();o=m(),s=h("form"),R&&R.c(),p=m(),M&&M.c(),E=m(),T=h("label"),_=h("span"),L=f(I),w=m(),A=h("input"),B=m(),S=h("button"),H=f(x),g(i,"class","LimitsList "+(/*isDesktop*/t[13]?"Desktop":"")),g(_,"class","LimitInputText"),g(A,"type","number"),g(T,"class","LimitAmountInputWrapper"),g(S,"class","LimitSubmitButton"),g(S,"type","button"),S.disabled=!0,g(s,"class","LimitsInteractionArea "+(/*isDesktop*/t[13]?"Desktop":"")),g(r,"class","LimitsPageContainer"),g(e,"class","player-account-gaming-limits-page-2-gmcore")},m(n,l){u(n,e,l),a(e,r),a(r,i);for(let t=0;t<N.length;t+=1)N[t].m(i,null);a(r,o),a(r,s),R&&R.m(s,null),a(s,p),M&&M.m(s,null),a(s,E),a(s,T),a(T,_),a(_,L),a(T,w),a(T,A),v(A,/*inputAmount*/t[3]),a(s,B),a(s,S),a(S,H),
|
|
630
630
|
/*button_binding*/t[32](S),P||(O=[d(A,"input",/*input_input_handler*/t[31]),d(A,"keyup",/*updateInputValue*/t[17]),d(S,"click",/*updateLimits*/t[16]),d(s,"submit",/*updateLimits*/t[16])],P=!0)},p(t,e){if(/*isDesktop, availableLimits, removeLimit, $_*/290816&e[0]){let r;for(C=/*availableLimits*/t[14],r=0;r<C.length;r+=1){const n=En(t,C,r);N[r]?N[r].p(n,e):(N[r]=Nn(n),N[r].c(),N[r].m(i,null))}for(;r<N.length;r+=1)N[r].d(1);N.length=C.length}/*multipleLimits*/t[5]?R?R.p(t,e):(R=Rn(t),R.c(),R.m(s,p)):R&&(R.d(1),R=null),/*multiplePeriods*/t[6]?M?M.p(t,e):(M=Dn(t),M.c(),M.m(s,E)):M&&(M.d(1),M=null),/*multiplePeriods, $_, selectedPeriod*/4164&e[0]&&I!==(I=/*multiplePeriods*/t[6]?`${/*$_*/t[12]("gamingLimits.amount")}`:`${/*$_*/t[12]("gamingLimits.new")} ${/*$_*/t[12](`gamingLimits.${/*selectedPeriod*/t[2]}`)} ${/*$_*/t[12]("gamingLimits.limit")}`)&&b(L,I),/*inputAmount*/8&e[0]&&y(A.value)!==/*inputAmount*/t[3]&&v(A,/*inputAmount*/t[3]),/*$_*/4096&e[0]&&x!==(x=/*$_*/t[12]("gamingLimits.setLimit")+"")&&b(H,x)},d(r){r&&l(e),c(N,r),R&&R.d(),M&&M.d()
|
|
631
631
|
/*button_binding*/,t[32](null),P=!1,n(O)}}}
|
|
632
|
-
// (
|
|
632
|
+
// (267:22)
|
|
633
633
|
function Bn(e){let r;return{c(){r=h("p"),r.textContent="500 Server error"},m(t,e){u(t,r,e)},p:t,d(t){t&&l(r)}}}
|
|
634
|
-
// (
|
|
634
|
+
// (266:22)
|
|
635
635
|
function Sn(e){return{c:t,m:t,p:t,d:t}}
|
|
636
|
-
// (
|
|
636
|
+
// (263:2) {#if isLoading && !popupVisible}
|
|
637
637
|
function Hn(e){let r;return{c(){r=h("div"),g(r,"class","LoadingIndicator")},m(t,e){u(t,r,e)},p:t,d(t){t&&l(r)}}}
|
|
638
|
-
// (
|
|
638
|
+
// (293:12) {:else}
|
|
639
639
|
function Pn(t){let e,r,n,i,o=/*$_*/t[12]("gamingLimits.noLimitText")+"";return{c(){e=h("div"),r=h("div"),n=h("div"),i=f(o),g(n,"class","LimitDetailsTextWrapper"),g(r,"class","LimitDetailsWrapper"),g(e,"class","LimitDetails")},m(t,o){u(t,e,o),a(e,r),a(r,n),a(n,i)},p(t,e){/*$_*/4096&e[0]&&o!==(o=/*$_*/t[12]("gamingLimits.noLimitText")+"")&&b(i,o)},d(t){t&&l(e)}}}
|
|
640
|
-
// (
|
|
640
|
+
// (277:12) {#if limit.currentLimits.length > 0}
|
|
641
641
|
function On(t){let e,r=/*limit*/t[49].currentLimits,n=[];for(let e=0;e<r.length;e+=1)n[e]=Cn(Tn(t,r,e));return{c(){for(let t=0;t<n.length;t+=1)n[t].c();e=f("")},m(t,r){for(let e=0;e<n.length;e+=1)n[e].m(t,r);u(t,e,r)},p(t,i){if(/*removeLimit, availableLimits, $_*/282624&i[0]){let o;for(r=/*limit*/t[49].currentLimits,o=0;o<r.length;o+=1){const s=Tn(t,r,o);n[o]?n[o].p(s,i):(n[o]=Cn(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(t){c(n,t),t&&l(e)}}}
|
|
642
|
-
// (
|
|
642
|
+
// (284:54)
|
|
643
643
|
function In(t){let e,r,n=`${/*$_*/t[12]("gamingLimits.removedLimitText")} ${/*currentLimit*/t[54].expiryDate}`;return{c(){e=h("div"),r=f(n),g(e,"class","PendingLimit")},m(t,n){u(t,e,n),a(e,r)},p(t,e){/*$_*/4096&e[0]&&n!==(n=`${/*$_*/t[12]("gamingLimits.removedLimitText")} ${/*currentLimit*/t[54].expiryDate}`)&&b(r,n)},d(t){t&&l(e)}}}
|
|
644
|
-
// (
|
|
644
|
+
// (282:18) {#if currentLimit.isModified && currentLimit.updateAmount!= "-1"}
|
|
645
645
|
function xn(t){let e,r,n=`${/*currentLimit*/t[54].updateAmount}${/*currentLimit*/t[54].currency} ${/*$_*/t[12]("gamingLimits.per")} ${/*$_*/t[12](`gamingLimits.${/*currentLimit*/t[54].period}`)} ${/*$_*/t[12]("gamingLimits.updateText")} ${/*currentLimit*/t[54].expiryDate}`;return{c(){e=h("div"),r=f(n),g(e,"class","PendingLimit")},m(t,n){u(t,e,n),a(e,r)},p(t,e){/*$_*/4096&e[0]&&n!==(n=`${/*currentLimit*/t[54].updateAmount}${/*currentLimit*/t[54].currency} ${/*$_*/t[12]("gamingLimits.per")} ${/*$_*/t[12](`gamingLimits.${/*currentLimit*/t[54].period}`)} ${/*$_*/t[12]("gamingLimits.updateText")} ${/*currentLimit*/t[54].expiryDate}`)&&b(r,n)},d(t){t&&l(e)}}}
|
|
646
|
-
// (
|
|
647
|
-
// (
|
|
646
|
+
// (288:16) {#if !currentLimit.isModified}
|
|
647
|
+
// (278:14) {#each limit.currentLimits as currentLimit}
|
|
648
648
|
function Cn(t){let e,r,n,i,o,s,c,p=`${/*currentLimit*/t[54].amount}${/*currentLimit*/t[54].currency} ${/*$_*/t[12]("gamingLimits.per")} ${/*$_*/t[12](`gamingLimits.${/*currentLimit*/t[54].period}`)}`;let y=function(t,e){/*currentLimit*/
|
|
649
649
|
return t[54].isModified&&/*currentLimit*/"-1"!=t[54].updateAmount?xn:/*currentLimit*/t[54].isModified?In:void 0}(t),v=y&&y(t),E=!/*currentLimit*/t[54].isModified&&function(t){let e,r,n,i,o=/*$_*/t[12]("gamingLimits.removeLimit")+"";function s(){/*click_handler*/
|
|
650
650
|
return t[28](/*currentLimit*/t[54])}return{c(){e=h("button"),r=f(o),g(e,"class","RemoveLimitButton")},m(t,o){u(t,e,o),a(e,r),n||(i=d(e,"click",s),n=!0)},p(e,n){t=e,/*$_*/4096&n[0]&&o!==(o=/*$_*/t[12]("gamingLimits.removeLimit")+"")&&b(r,o)},d(t){t&&l(e),n=!1,i()}}}(t);return{c(){e=h("div"),r=h("div"),n=h("div"),i=f(p),o=m(),v&&v.c(),s=m(),E&&E.c(),c=m(),g(n,"class","CurrentLimit"),g(r,"class","LimitDetailsTextWrapper"),g(e,"class","LimitDetails")},m(t,l){u(t,e,l),a(e,r),a(r,n),a(n,i),a(r,o),v&&v.m(r,null),a(e,s),E&&E.m(e,null),a(e,c)},p(t,e){/*$_*/4096&e[0]&&p!==(p=`${/*currentLimit*/t[54].amount}${/*currentLimit*/t[54].currency} ${/*$_*/t[12]("gamingLimits.per")} ${/*$_*/t[12](`gamingLimits.${/*currentLimit*/t[54].period}`)}`)&&b(i,p),v&&v.p(t,e),/*currentLimit*/t[54].isModified||E.p(t,e)},d(t){t&&l(e),v&&v.d(),E&&E.d()}}}
|
|
651
|
-
// (
|
|
651
|
+
// (274:8) {#each availableLimits as limit}
|
|
652
652
|
function Nn(t){let e,r,n,i,o,s,c=/*$_*/t[12](`gamingLimits.${/*limit*/t[49].value}`)+"";let p=function(t,e){/*limit*/
|
|
653
653
|
return t[49].currentLimits.length>0?On:Pn}(t),d=p(t);return{c(){e=h("div"),r=h("p"),n=f(c),i=m(),d.c(),o=m(),g(r,"class","LimitTitle"),g(e,"class",s="LimitWrapper "+(/*isDesktop*/t[13]?"Desktop":""))},m(t,s){u(t,e,s),a(e,r),a(r,n),a(e,i),d.m(e,null),a(e,o)},p(t,e){/*$_*/4096&e[0]&&c!==(c=/*$_*/t[12](`gamingLimits.${/*limit*/t[49].value}`)+"")&&b(n,c),d.p(t,e)},d(t){t&&l(e),d.d()}}}
|
|
654
|
-
// (
|
|
654
|
+
// (302:8) {#if multipleLimits}
|
|
655
655
|
function Rn(t){let e,r,i,o,s,p,y,v=/*$_*/t[12]("gamingLimits.limitType")+"",E=/*availableLimits*/t[14],_=[];for(let e=0;e<E.length;e+=1)_[e]=Mn(vn(t,E,e));return{c(){e=h("label"),r=h("span"),i=f(v),o=m(),s=h("select");for(let t=0;t<_.length;t+=1)_[t].c();g(r,"class","LimitSelectText"),g(s,"name",""),g(s,"id",""),/*selectedLimit*/void 0===t[1]&&x((()=>/*select_change_handler*/t[29].call(s))),g(e,"class","LimitTypeDropdownWrapper")},m(n,l){u(n,e,l),a(e,r),a(r,i),a(e,o),a(e,s);for(let t=0;t<_.length;t+=1)_[t].m(s,null);T(s,/*selectedLimit*/t[1]),p||(y=[d(s,"change",/*select_change_handler*/t[29]),d(s,"change",/*updateLimitSelection*/t[15])],p=!0)},p(t,e){if(/*$_*/4096&e[0]&&v!==(v=/*$_*/t[12]("gamingLimits.limitType")+"")&&b(i,v),/*availableLimits*/16384&e[0]){let r;for(E=/*availableLimits*/t[14],r=0;r<E.length;r+=1){const n=vn(t,E,r);_[r]?_[r].p(n,e):(_[r]=Mn(n),_[r].c(),_[r].m(s,null))}for(;r<_.length;r+=1)_[r].d(1);_.length=E.length}/*selectedLimit, availableLimits*/16386&e[0]&&T(s,/*selectedLimit*/t[1])},d(t){t&&l(e),c(_,t),p=!1,n(y)}}}
|
|
656
|
-
// (
|
|
656
|
+
// (305:12) {#each availableLimits as limit}
|
|
657
657
|
function Mn(e){let r,n,i,o=/*limit*/e[49].title+"";return{c(){r=h("option"),n=f(o),r.__value=i=/*limit*/e[49].value,r.value=r.__value},m(t,e){u(t,r,e),a(r,n)},p:t,d(t){t&&l(r)}}}
|
|
658
|
-
// (
|
|
658
|
+
// (311:8) {#if multiplePeriods}
|
|
659
659
|
function Dn(t){let e,r,n,i,o,s,p,y=/*$_*/t[12]("gamingLimits.period")+"",v=G[/*selectedLimit*/t[1]].periods,E=[];for(let e=0;e<v.length;e+=1)E[e]=Un(bn(t,v,e));return{c(){e=h("label"),r=h("span"),n=f(y),i=m(),o=h("select");for(let t=0;t<E.length;t+=1)E[t].c();g(r,"class","PeriodSelectText"),g(o,"name",""),g(o,"id",""),/*selectedPeriod*/void 0===t[2]&&x((()=>/*select_change_handler_1*/t[30].call(o))),g(e,"class","LimitPeriodDropdownWrapper")},m(l,c){u(l,e,c),a(e,r),a(r,n),a(e,i),a(e,o);for(let t=0;t<E.length;t+=1)E[t].m(o,null);T(o,/*selectedPeriod*/t[2]),s||(p=d(o,"change",/*select_change_handler_1*/t[30]),s=!0)},p(t,e){if(/*$_*/4096&e[0]&&y!==(y=/*$_*/t[12]("gamingLimits.period")+"")&&b(n,y),/*selectedLimit, $_*/4098&e[0]){let r;for(v=G[/*selectedLimit*/t[1]].periods,r=0;r<v.length;r+=1){const n=bn(t,v,r);E[r]?E[r].p(n,e):(E[r]=Un(n),E[r].c(),E[r].m(o,null))}for(;r<E.length;r+=1)E[r].d(1);E.length=v.length}/*selectedPeriod, selectedLimit*/6&e[0]&&T(o,/*selectedPeriod*/t[2])},d(t){t&&l(e),c(E,t),s=!1,p()}}}
|
|
660
|
-
// (
|
|
660
|
+
// (314:12) {#each limitsConfig[selectedLimit].periods as period}
|
|
661
661
|
function Un(t){let e,r,n,i,o,s=/*$_*/t[12]("gamingLimits.per")+"",c=/*$_*/t[12](`gamingLimits.${/*period*/t[46]}`)+"";return{c(){e=h("option"),r=f(s),n=m(),i=f(c),e.__value=o=/*period*/t[46],e.value=e.__value,e.selected=!0},m(t,o){u(t,e,o),a(e,r),a(e,n),a(e,i)},p(t,n){/*$_*/4096&n[0]&&s!==(s=/*$_*/t[12]("gamingLimits.per")+"")&&b(r,s),/*$_, selectedLimit*/4098&n[0]&&c!==(c=/*$_*/t[12](`gamingLimits.${/*period*/t[46]}`)+"")&&b(i,c),/*selectedLimit, availableLimits*/16386&n[0]&&o!==(o=/*period*/t[46])&&(e.__value=o,e.value=e.__value)},d(t){t&&l(e)}}}function $n(e){let r,n,i=/*popupVisible*/e[9]&&_n(e);function o(t,e){/*isLoading*/
|
|
662
662
|
return t[7]&&!/*popupVisible*/t[9]?Hn:/*isLoading*/t[7]?Sn:/*hasErrors*/t[8]?Bn:An}let s=o(e),c=s(e);return{c(){r=h("div"),i&&i.c(),n=m(),c.c(),this.c=t},m(t,o){u(t,r,o),i&&i.m(r,null),a(r,n),c.m(r,null),
|
|
663
663
|
/*div_binding*/e[33](r)},p(t,e){/*popupVisible*/t[9]?i?i.p(t,e):(i=_n(t),i.c(),i.m(r,n)):i&&(i.d(1),i=null),s===(s=o(t))&&c?c.p(t,e):(c.d(1),c=s(t),c&&(c.c(),c.m(r,null)))},i:t,o:t,d(t){t&&l(r),i&&i.d(),c.d(),
|
|
664
|
-
/*div_binding*/e[33](null)}}}function kn(t,e,r){let n;var i,o;i=ur,o=t=>r(12,n=t),t.$$.on_destroy.push(s(i,o));let a,u,l,c,{lang:h="en"}=e,{currency:p=""}=e,{limits:f=""}=e,{session:m=""}=e,{userid:d=""}=e,{endpoint:g=""}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,E=!(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(window.navigator.userAgent),T=[],L="",w="",A=!1,B=!1,H=!0,P=!1,O=!1,I=!1,x="";const C={EUR:"€",RON:" lei"};Object.keys(lr).forEach((t=>{!function(t,e){Re(t,e)}(t,lr[t])}));const N=()=>{let t=new URL(`v2/player/${d}/limits`,g),e={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,e).then((t=>t.json())).then((t=>{c=t,O&&D(),R(c),r(7,H=!1),r(3,u=null)})).catch((t=>{console.log(t),r(8,P=!0)}))},R=t=>{T.forEach((e=>{var r;e.currentLimits=[],
|
|
664
|
+
/*div_binding*/e[33](null)}}}function kn(t,e,r){let n;var i,o;i=ur,o=t=>r(12,n=t),t.$$.on_destroy.push(s(i,o));let a,u,l,c,{lang:h="en"}=e,{currency:p=""}=e,{limits:f=""}=e,{session:m=""}=e,{userid:d=""}=e,{endpoint:g=""}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,E=!(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(window.navigator.userAgent),T=[],L="",w="",A=!1,B=!1,H=!0,P=!1,O=!1,I=!1,x="";const C={EUR:"€",RON:" lei"};Object.keys(lr).forEach((t=>{!function(t,e){Re(t,e)}(t,lr[t])}));const N=()=>{let t=new URL(`v2/player/${d}/limits`,g),e={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,e).then((t=>{if(t.status>=300)throw r(7,H=!1),r(8,P=!0),new Error("There was an error fetching the limits");return t.json()})).then((t=>{c=t,O&&D(),R(c),r(7,H=!1),r(3,u=null)})).catch((t=>{console.log(t),r(7,H=!1),r(8,P=!0)}))},R=t=>{T.forEach((e=>{var r;e.currentLimits=[],
|
|
665
665
|
// this is not n^2, despite the nesting loop. It's max totalLimitType * totalPeriodType, so 4 * 3 = 12 operations tops
|
|
666
666
|
null===(r=t[G[e.value].callValue])||void 0===r||r.forEach(((r,n)=>{var i;const o=t[G[e.value].callValue][n];e.currentLimits.push({}),
|
|
667
667
|
// format the limit data
|
|
668
|
-
e.currentLimits[n].limitType=e.value,e.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),e.currentLimits[n].currency=null!==(i=C[o.currency])&&void 0!==i?i:o.currency,e.currentLimits[n].period=o.period,e.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),e.currentLimits[n].isModified=o.isModified,e.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),e.currentLimits=M(e.currentLimits)}))},M=t=>{const e={Daily:0,Weekly:1,Monthly:2};return t.sort(((t,r)=>e[t.period]-e[r.period])),t},D=()=>{if(c){const t=c[G[L].callValue].filter((t=>t.period===w))[0],e=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}",e).replace("{currency}",C[t.currency]||t.currency).replace("{selectedPeriod}",n(`gamingLimits.${w}`).toLowerCase());r(11,x=t.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(t.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}r(10,I=!0)},U=t=>{r(9,O=!0),r(7,H=!0);let e=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[t.limitType]}?periods=${t.period}`,g),n={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((t=>t.json())).then((t=>{N()})).catch((t=>{console.log(t),r(8,P=!0)}))},$=()=>{var t;t=h,Ze.set(t)};return t.$$set=t=>{"lang"in t&&r(20,h=t.lang),"currency"in t&&r(21,p=t.currency),"limits"in t&&r(22,f=t.limits),"session"in t&&r(23,m=t.session),"userid"in t&&r(24,d=t.userid),"endpoint"in t&&r(25,g=t.endpoint),"clientstyling"in t&&r(26,b=t.clientstyling),"clientstylingurl"in t&&r(27,v=t.clientstylingurl)},t.$$.update=()=>{/*limits*/4194304&t.$$.dirty[0]&&f&&(f.split(" ").forEach((t=>{G[t]?T.push(G[t]):console.error(`Unknown limit: ${t}`)})),
|
|
668
|
+
e.currentLimits[n].limitType=e.value,e.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),e.currentLimits[n].currency=null!==(i=C[o.currency])&&void 0!==i?i:o.currency,e.currentLimits[n].period=o.period,e.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),e.currentLimits[n].isModified=o.isModified,e.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),e.currentLimits=M(e.currentLimits)}))},M=t=>{const e={Daily:0,Weekly:1,Monthly:2};return t.sort(((t,r)=>e[t.period]-e[r.period])),t},D=()=>{if(c){const t=c[G[L].callValue].filter((t=>t.period===w))[0],e=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}",e).replace("{currency}",C[t.currency]||t.currency).replace("{selectedPeriod}",n(`gamingLimits.${w}`).toLowerCase());r(11,x=t.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(t.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}r(10,I=!0)},U=t=>{r(9,O=!0),r(7,H=!0);let e=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[t.limitType]}?periods=${t.period}`,g),n={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((t=>t.json())).then((t=>{N()})).catch((t=>{console.log(t),r(7,H=!1),r(8,P=!0)}))},$=()=>{var t;t=h,Ze.set(t)};return t.$$set=t=>{"lang"in t&&r(20,h=t.lang),"currency"in t&&r(21,p=t.currency),"limits"in t&&r(22,f=t.limits),"session"in t&&r(23,m=t.session),"userid"in t&&r(24,d=t.userid),"endpoint"in t&&r(25,g=t.endpoint),"clientstyling"in t&&r(26,b=t.clientstyling),"clientstylingurl"in t&&r(27,v=t.clientstylingurl)},t.$$.update=()=>{/*limits*/4194304&t.$$.dirty[0]&&f&&(f.split(" ").forEach((t=>{G[t]?T.push(G[t]):console.error(`Unknown limit: ${t}`)})),
|
|
669
669
|
//set default selected limit
|
|
670
670
|
r(1,L=T[0].value),r(2,w=G[L].periods[0]),r(5,A=T.length>1),r(6,B=G[L].periods.length>1)),/*lang*/1048576&t.$$.dirty[0]&&h&&$(),/*userid, session, endpoint*/58720256&t.$$.dirty[0]&&d&&m&&g&&N(),/*clientstylingurl*/134217728&t.$$.dirty[0]&&v&&(()=>{let t=new URL(v),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&(setTimeout((()=>{a.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling*/67108864&t.$$.dirty[0]&&b&&(()=>{let t=document.createElement("style");t.innerHTML=b,a.appendChild(t)})()},[a,L,w,u,l,A,B,H,P,O,I,x,n,E,T,()=>{r(2,w=G[L].periods[0]),// select the first period by default until the user selects a different period
|
|
671
|
-
r(6,B=G[L].periods.length>1)},()=>{if(!(u>0))return;r(9,O=!0),r(7,H=!0);let t=new URL(`v2/player/${d}/limits`,g);const e={};e[G[L].callValue]=[{period:w,amount:u,currency:p}];let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t.href,n).then((t=>t.json())).then((t=>{N()})).catch((t=>{console.log(t),r(8,P=!0)}))},()=>{const t=u-Math.floor(u)==0;u>0&&t?l.removeAttribute("disabled"):l.setAttribute("disabled","true")},U,()=>{r(10,I=r(9,O=!1))},h,p,f,m,d,g,b,v,t=>U(t),function(){L=_(this),r(1,L),r(14,T)},function(){w=_(this),r(2,w),r(1,L)},function(){u=y(this.value),r(3,u)},function(t){S[t?"unshift":"push"]((()=>{l=t,r(4,l)}))},function(t){S[t?"unshift":"push"]((()=>{a=t,r(0,a)}))}]}class Gn extends k{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:
|
|
671
|
+
r(6,B=G[L].periods.length>1)},()=>{if(!(u>0))return;r(9,O=!0),r(7,H=!0);let t=new URL(`v2/player/${d}/limits`,g);const e={};e[G[L].callValue]=[{period:w,amount:u,currency:p}];let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t.href,n).then((t=>t.json())).then((t=>{N()})).catch((t=>{console.log(t),r(7,H=!1),r(8,P=!0)}))},()=>{const t=u-Math.floor(u)==0;u>0&&t?l.removeAttribute("disabled"):l.setAttribute("disabled","true")},U,()=>{r(10,I=r(9,O=!1))},h,p,f,m,d,g,b,v,t=>U(t),function(){L=_(this),r(1,L),r(14,T)},function(){w=_(this),r(2,w),r(1,L)},function(){u=y(this.value),r(3,u)},function(t){S[t?"unshift":"push"]((()=>{l=t,r(4,l)}))},function(t){S[t?"unshift":"push"]((()=>{a=t,r(0,a)}))}]}class Gn extends k{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:16px}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}select,input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:2px;border:1px solid #999}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(--emfe-w-color-white, #333)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:16px;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:#7ac317;color:#fff;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:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:16px;color:#666}.PendingLimit{color:#999}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:#000;height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:#fff;font-size:1rem;color:#333;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:16px}.PopupTitleWrapper button{background:#fff;font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:16px;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:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@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 #7ac317;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:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",$(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},kn,$n,o,{lang:20,currency:21,limits:22,session:23,userid:24,endpoint:25,clientstyling:26,clientstylingurl:27},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),R()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[20]}set lang(t){this.$$set({lang:t}),R()}get currency(){return this.$$.ctx[21]}set currency(t){this.$$set({currency:t}),R()}get limits(){return this.$$.ctx[22]}set limits(t){this.$$set({limits:t}),R()}get session(){return this.$$.ctx[23]}set session(t){this.$$set({session:t}),R()}get userid(){return this.$$.ctx[24]}set userid(t){this.$$set({userid:t}),R()}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),R()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),R()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),R()}}return!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",Gn),Gn}));
|
|
672
672
|
//# sourceMappingURL=player-account-gaming-limits-page-2-gmcore.js.map
|