@everymatrix/casino-most-played-section 1.14.5 → 1.14.6
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.
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
10
10
|
*/
|
11
|
-
function C(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const T=[],M=[];let
|
11
|
+
function C(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const T=[],M=[];let L=[];const G=[],$=Promise.resolve();let A=!1;function I(){A||(A=!0,$.then(R))}function D(){return I(),$}function P(e){L.push(e)}
|
12
12
|
// flush() calls callbacks in this order:
|
13
13
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
14
14
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
@@ -41,12 +41,12 @@ throw T.length=0,N=0,e}for(k(null),T.length=0,N=0;M.length;)M.pop()();
|
|
41
41
|
// then, once components are updated, call
|
42
42
|
// afterUpdate functions. This may cause
|
43
43
|
// subsequent updates...
|
44
|
-
for(let e=0;e<
|
44
|
+
for(let e=0;e<L.length;e+=1){const t=L[e];O.has(t)||(
|
45
45
|
// ...so guard against infinite loops
|
46
|
-
O.add(t),t())}
|
46
|
+
O.add(t),t())}L.length=0}while(T.length);for(;G.length;)G.pop()();A=!1,O.clear(),k(e)}function H(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(P)}}
|
47
47
|
/**
|
48
48
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
49
|
-
*/const B=new Set;function U(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];
|
49
|
+
*/const B=new Set;function U(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];L.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),L=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
|
50
50
|
// TODO null out other refs, including component.$$ (but need to
|
51
51
|
// preserve final state?)
|
52
52
|
n.on_destroy=n.fragment=null,n.ctx=[])}function Y(a,o,l,c,u,d,h,f=[-1]){const p=s;k(a);const g=a.$$={fragment:null,ctx:[],
|
@@ -128,7 +128,7 @@ self.fetch.bind(self);
|
|
128
128
|
PERFORMANCE OF THIS SOFTWARE.
|
129
129
|
***************************************************************************** */
|
130
130
|
/* global Reflect, Promise, SuppressedError, Symbol */
|
131
|
-
var ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)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 be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function xe(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=xe((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Fe(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ee=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=ve(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ve(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Te(h)}catch(e){i=null!=i?i:[],e instanceof Se?i=we(we([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Fe(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Fe(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ke=Ee.EMPTY;function Ce(e){return e instanceof Ee||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function Te(e){_e(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ge={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ge.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],be(n))):setTimeout.apply(void 0,we([e,t],be(n)))},clearTimeout:function(e){var t=Ge.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Le(){}var $e=null;function Ae(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var n=$e,r=n.errorThrown,i=n.error;if($e=null,r)throw i}}else e()}var Ie=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ce(t)&&t.add(n)):n.destination=He,n}return ye(t,e),t.create=function(e,t,n){return new Ne(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ee),De=Function.prototype.bind;function Pe(e,t){return De.call(e,t)}var Oe=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Re(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Re(e)}else Re(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Re(e)}},e}(),Ne=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Me.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Pe(t.next,a),error:t.error&&Pe(t.error,a),complete:t.complete&&Pe(t.complete,a)}):i=t;return o.destination=new Oe(i),o}return ye(t,e),t}(Ie);function Re(e){var t;t=e,Ge.setTimeout((function(){throw t}))}var He={closed:!0,next:Le,error:function(e){throw e},complete:Le},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var Ye=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Ie||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Ce(r)?e:new Ne(e,t,n);return Ae((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Ne({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Be]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var je=xe((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ye(t,e),t.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ve(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ae((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Ae((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?ke:(this.currentObservers=null,a.push(e),new Ee((function(){t.currentObservers=null,Fe(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ye),We=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ke},t}(Ve),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Ke=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ve);let Xe=[],Je={};
|
131
|
+
var ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)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 be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function xe(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=xe((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Fe(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ee=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=ve(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ve(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Te(h)}catch(e){i=null!=i?i:[],e instanceof Se?i=we(we([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Fe(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Fe(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ke=Ee.EMPTY;function Ce(e){return e instanceof Ee||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function Te(e){_e(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Le={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Le.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],be(n))):setTimeout.apply(void 0,we([e,t],be(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ge(){}var $e=null;function Ae(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var n=$e,r=n.errorThrown,i=n.error;if($e=null,r)throw i}}else e()}var Ie=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ce(t)&&t.add(n)):n.destination=He,n}return ye(t,e),t.create=function(e,t,n){return new Ne(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ee),De=Function.prototype.bind;function Pe(e,t){return De.call(e,t)}var Oe=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Re(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Re(e)}else Re(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Re(e)}},e}(),Ne=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Me.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Pe(t.next,a),error:t.error&&Pe(t.error,a),complete:t.complete&&Pe(t.complete,a)}):i=t;return o.destination=new Oe(i),o}return ye(t,e),t}(Ie);function Re(e){var t;t=e,Le.setTimeout((function(){throw t}))}var He={closed:!0,next:Ge,error:function(e){throw e},complete:Ge},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var Ye=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Ie||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Ce(r)?e:new Ne(e,t,n);return Ae((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Ne({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Be]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var je=xe((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ye(t,e),t.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ve(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ae((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Ae((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?ke:(this.currentObservers=null,a.push(e),new Ee((function(){t.currentObservers=null,Fe(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ye),We=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ke},t}(Ve),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Ke=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ve);let Xe=[],Je={};
|
132
132
|
/**
|
133
133
|
* @name topic
|
134
134
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
@@ -276,7 +276,7 @@ e[e.tag=8]="tag"}(mt||(mt={})),function(e){e[e.number=0]="number",e[e.dateTime=1
|
|
276
276
|
* @public
|
277
277
|
* @param skeleton skeleton string
|
278
278
|
*/
|
279
|
-
function
|
279
|
+
function Lt(e){var t={};return e.replace(Mt,(function(e){var n=e.length;switch(e[0]){
|
280
280
|
// Era
|
281
281
|
case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
|
282
282
|
// Year
|
@@ -310,7 +310,7 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
310
310
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
311
311
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
312
312
|
// @generated from regex-gen.ts
|
313
|
-
var
|
313
|
+
var Gt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var $t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,Dt=/^(0+)$/;function Pt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(At,(function(e,n,r){
|
314
314
|
// @@@ case
|
315
315
|
return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Ot(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Nt(e){
|
316
316
|
// Engineering
|
@@ -472,7 +472,7 @@ var d=sn(l.style.slice(2));if("number"===o)return(y=this.parseNumberSkeletonFrom
|
|
472
472
|
// Get "best match" pattern only if locale is passed, if not, let it
|
473
473
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
474
474
|
// for unsupported patterns.
|
475
|
-
this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Yt(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var m={type:ft.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?
|
475
|
+
this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Yt(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var m={type:ft.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Lt(h):{}};return{val:{type:"date"===o?mt.date:mt.time,value:n,location:u,style:m},err:null}}
|
476
476
|
// Regular style or no style.
|
477
477
|
return{val:{type:"number"===o?mt.number:"date"===o?mt.date:mt.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
|
478
478
|
// Parse this range:
|
@@ -498,7 +498,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
|
|
498
498
|
// Find the end of the quoted literal text.
|
499
499
|
this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Vt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
|
500
500
|
// Parse the skeleton
|
501
|
-
for(var t=e.split(
|
501
|
+
for(var t=e.split(Gt).filter((function(e){return e.length>0})),n=[],r=0,i=t;r<i.length;r++){var a=i[r].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var o=a[0],s=a.slice(1),l=0,c=s;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:o,options:s})}return n}(e)}catch(e){return this.error(ht.INVALID_NUMBER_SKELETON,t)}return{val:{type:ft.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ht(n):{}},err:null}},
|
502
502
|
/**
|
503
503
|
* @param nesting_level The current nesting level of messages.
|
504
504
|
* This can be positive when parsing message fragment in select or plural argument options.
|
@@ -599,7 +599,7 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
599
599
|
// When value supplied is invalid
|
600
600
|
e.INVALID_VALUE="INVALID_VALUE",
|
601
601
|
// When we need specific Intl API but it's not available
|
602
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(En||(En={}));var Tn,Mn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return dt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),
|
602
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}(En||(En={}));var Tn,Mn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return dt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ln=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),En.INVALID_VALUE,i)||this}return dt(t,e),t}(Mn),Gn=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),En.INVALID_VALUE,r)||this}return dt(t,e),t}(Mn),$n=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),En.MISSING_VALUE,n)||this}return dt(t,e),t}(Mn);function An(e){return"function"==typeof e}
|
603
603
|
// TODO(skeleton): add skeleton support
|
604
604
|
function In(e,t,n,r,i,a,
|
605
605
|
// For debugging
|
@@ -616,7 +616,7 @@ if(!i||!(d in i))throw new $n(d,o);var h=i[d];if(vt(u))h&&"string"!=typeof h&&"n
|
|
616
616
|
// Recursively format plural and select parts' option — which can be a
|
617
617
|
// nested pattern structure. The choosing of the option to use is
|
618
618
|
// abstracted-by and delegated-to the part helper object.
|
619
|
-
if(wt(u)){var m="string"==typeof u.style?r.date[u.style]:Ct(u.style)?u.style.parsedOptions:void 0;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){m="string"==typeof u.style?r.time[u.style]:Ct(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(bt(u)){(m="string"==typeof u.style?r.number[u.style]:kt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Tn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Et(u)){var f=u.children,p=u.value,g=i[p];if(!An(g))throw new
|
619
|
+
if(wt(u)){var m="string"==typeof u.style?r.date[u.style]:Ct(u.style)?u.style.parsedOptions:void 0;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){m="string"==typeof u.style?r.time[u.style]:Ct(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(bt(u)){(m="string"==typeof u.style?r.number[u.style]:kt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Tn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Et(u)){var f=u.children,p=u.value,g=i[p];if(!An(g))throw new Gn(p,"function",o);var y=g(In(f,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?Tn.literal:Tn.object,value:e}})))}if(xt(u)){if(!(v=u.options[h]||u.options.other))throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,In(v.value,t,n,r,i))}else if(St(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Mn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',En.MISSING_INTL_API,o);var b=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,In(v.value,t,n,r,i,h-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===Tn.literal&&t.type===Tn.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
|
620
620
|
/*
|
621
621
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
622
622
|
Copyrights licensed under the New BSD License.
|
@@ -670,11 +670,11 @@ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n
|
|
670
670
|
function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
|
671
671
|
// Prevent infinite loop in case updateOffset creates new moment
|
672
672
|
// objects.
|
673
|
-
!1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function F(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}F(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,C={};function T(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(F(t),C[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function
|
673
|
+
!1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function F(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}F(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,C={};function T(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(F(t),C[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)s(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
|
674
674
|
// Lenient ordinal parsing accepts just a number in addition to
|
675
675
|
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
|
676
676
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
677
|
-
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function
|
677
|
+
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function G(e,t){var n,r=m({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},m(r[n],e[n]),m(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(
|
678
678
|
// make sure changes to properties don't modify parent config
|
679
679
|
r[n]=m({},r[n]));return r}function $(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}function D(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},R={};
|
680
680
|
// token: 'M'
|
@@ -697,8 +697,8 @@ ke=/\d{1,3}/,// 0 - 999
|
|
697
697
|
Ce=/\d{1,4}/,// 0 - 9999
|
698
698
|
Te=/[+-]?\d{1,6}/,// -999999 - 999999
|
699
699
|
Me=/\d+/,// 0 - inf
|
700
|
-
|
701
|
-
|
700
|
+
Le=/[+-]?\d+/,// -inf - inf
|
701
|
+
Ge=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
|
702
702
|
$e=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
703
703
|
Ae=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
704
704
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
@@ -751,7 +751,7 @@ ne("year","y"),
|
|
751
751
|
// PRIORITIES
|
752
752
|
oe("year",1),
|
753
753
|
// PARSING
|
754
|
-
De("Y",
|
754
|
+
De("Y",Le),De("YY",Se,be),De("YYYY",Ce,_e),De("YYYYY",Te,xe),De("YYYYYY",Te,xe),He(["YYYYY","YYYYYY"],ze),He("YYYY",(function(e,t){t[ze]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),He("YY",(function(e,t){t[ze]=r.parseTwoDigitYear(e)})),He("Y",(function(e,t){t[ze]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
|
755
755
|
// MOMENTS
|
756
756
|
var yt=de("FullYear",!0);function vt(){return le(this.year())}function bt(e,t,n,r,i,a,o){
|
757
757
|
// can't just apply() to create a date:
|
@@ -782,10 +782,10 @@ oe("week",5),oe("isoWeek",5),
|
|
782
782
|
De("w",Se),De("ww",Se,be),De("W",Se),De("WW",Se,be),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var kt={dow:0,// Sunday is the first day of the week.
|
783
783
|
doy:6};function Ct(){return this._week.dow}function Tt(){return this._week.doy}
|
784
784
|
// MOMENTS
|
785
|
-
function Mt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function
|
785
|
+
function Mt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Lt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
786
786
|
// FORMATTING
|
787
787
|
// HELPERS
|
788
|
-
function
|
788
|
+
function Gt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function $t(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
|
789
789
|
// LOCALES
|
790
790
|
function At(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),
|
791
791
|
// ALIASES
|
@@ -801,7 +801,7 @@ if(
|
|
801
801
|
// make the regex if we don't have it already
|
802
802
|
i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}
|
803
803
|
// MOMENTS
|
804
|
-
function jt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=
|
804
|
+
function jt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Gt(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Wt(e){if(!this.isValid())return null!=e?this:NaN;
|
805
805
|
// behaves the same as moment#day except
|
806
806
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
807
807
|
// as a setter, sunday should belong to the previous week.
|
@@ -852,7 +852,7 @@ function gn(e,t){var n;return e&&((n=c(t)?bn(e):yn(e,t))?
|
|
852
852
|
// moment.duration._locale = moment._locale = data;
|
853
853
|
sn=n:"undefined"!=typeof console&&console.warn&&
|
854
854
|
//warn user if arguments are passed but the locale could not be set
|
855
|
-
console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new $(
|
855
|
+
console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new $(G(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
|
856
856
|
// backwards compat for now: also set the locale
|
857
857
|
// make sure we set the locale AFTER all child locales have been
|
858
858
|
// created, so we won't end up with the child locale set.
|
@@ -860,9 +860,9 @@ gn(e),cn[e]}
|
|
860
860
|
// useful for testing
|
861
861
|
return delete cn[e],null}function vn(e,t){if(null!=t){var n,r,i=ln;null!=cn[e]&&null!=cn[e].parentLocale?
|
862
862
|
// Update existing child locale in-place to avoid memory-leaks
|
863
|
-
cn[e].set(
|
863
|
+
cn[e].set(G(cn[e]._config,t)):(
|
864
864
|
// MERGE
|
865
|
-
null!=(r=pn(e))&&(i=r._config),t=
|
865
|
+
null!=(r=pn(e))&&(i=r._config),t=G(i,t),null==r&&(
|
866
866
|
// updateLocale is called for creating a new locale
|
867
867
|
// Set abbr so it will have a name (getters return
|
868
868
|
// undefined otherwise).
|
@@ -883,17 +883,17 @@ kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+
|
|
883
883
|
// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
|
884
884
|
Tn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Mn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
|
885
885
|
// date from iso format
|
886
|
-
function
|
886
|
+
function Ln(e){var t,n,r,i,a,o,s=e._i,l=xn.exec(s)||Sn.exec(s),c=En.length,u=kn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(En[t][1].exec(l[1])){i=En[t][0],r=!1!==En[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(kn[t][1].exec(l[3])){
|
887
887
|
// match[2] should be 'T' or space
|
888
|
-
a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Fn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function
|
888
|
+
a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Fn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function Gn(e,t,n,r,i,a){var o=[$n(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function $n(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function An(e){
|
889
889
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
890
890
|
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function In(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Dn(e,t,n){if(e)return Mn[e];if(t)
|
891
891
|
// the only allowed military tz is Z
|
892
892
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
893
893
|
// date and time from ref 2822 format
|
894
|
-
function Pn(e){var t,n=Tn.exec(An(e._i));if(n){if(t=
|
894
|
+
function Pn(e){var t,n=Tn.exec(An(e._i));if(n){if(t=Gn(n[4],n[3],n[2],n[5],n[6],n[7]),!In(n[1],t,e))return;e._a=t,e._tzm=Dn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
895
895
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
896
|
-
function On(e){var t=Cn.exec(e._i);null===t?(
|
896
|
+
function On(e){var t=Cn.exec(e._i);null===t?(Ln(e),!1===e._isValid&&(delete e._isValid,Pn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
897
897
|
// Final attempt, use Input Fallback
|
898
898
|
r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
899
899
|
// Pick the first defined of two or three arguments.
|
@@ -953,7 +953,7 @@ e._a[We]<=12&&!0===g(e).bigHour&&e._a[We]>0&&(g(e).bigHour=void 0),g(e).parsedDa
|
|
953
953
|
// handle meridiem
|
954
954
|
e._a[We]=Yn(e._locale,e._a[We],e._meridiem),null!==(
|
955
955
|
// handle era
|
956
|
-
s=g(e).era)&&(e._a[ze]=e._locale.erasConvertYear(s,e._a[ze])),Hn(e),_n(e)}else Pn(e);else
|
956
|
+
s=g(e).era)&&(e._a[ze]=e._locale.erasConvertYear(s,e._a[ze])),Hn(e),_n(e)}else Pn(e);else Ln(e)}function Yn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
|
957
957
|
// Fallback
|
958
958
|
(r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
|
959
959
|
// date from string and array of format strings
|
@@ -1022,7 +1022,7 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
1022
1022
|
// a second time. In case it wants us to change the offset again
|
1023
1023
|
// _changeInProgress == true case, then we have to adjust, because
|
1024
1024
|
// there is no such time in the given timezone.
|
1025
|
-
function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mr($e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ir(this,Mr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(
|
1025
|
+
function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mr($e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ir(this,Mr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(Ge,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Wn(t))._a?(e=t._isUTC?f(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Fr(){return!!this.isValid()&&!this._isUTC}function Er(){return!!this.isValid()&&this._isUTC}function kr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
1026
1026
|
// ASP.NET json date format regex
|
1027
1027
|
r.updateOffset=function(){};var Cr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
1028
1028
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
@@ -1030,15 +1030,15 @@ r.updateOffset=function(){};var Cr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\
|
|
1030
1030
|
// and further modified to allow for strings containing both week and day
|
1031
1031
|
Tr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Mr(e,t){var n,r,i,a=e,
|
1032
1032
|
// matching against regexp is expensive, do it on demand
|
1033
|
-
o=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Cr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ue(o[Ve])*n,h:ue(o[We])*n,m:ue(o[Ze])*n,s:ue(o[Ke])*n,ms:ue(cr(1e3*o[Xe]))*n}):(o=Tr.exec(e))?(n="-"===o[1]?-1:1,a={y:
|
1033
|
+
o=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Cr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ue(o[Ve])*n,h:ue(o[We])*n,m:ue(o[Ze])*n,s:ue(o[Ke])*n,ms:ue(cr(1e3*o[Xe]))*n}):(o=Tr.exec(e))?(n="-"===o[1]?-1:1,a={y:Lr(o[2],n),M:Lr(o[3],n),w:Lr(o[4],n),d:Lr(o[5],n),h:Lr(o[6],n),m:Lr(o[7],n),s:Lr(o[8],n)}):null==a?
|
1034
1034
|
// checks for null or undefined
|
1035
|
-
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=$r(Xn(a.from),Xn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new sr(a),lr(e)&&s(e,"_locale")&&(r._locale=e._locale),lr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function
|
1035
|
+
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=$r(Xn(a.from),Xn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new sr(a),lr(e)&&s(e,"_locale")&&(r._locale=e._locale),lr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Lr(e,t){
|
1036
1036
|
// We'd normally use ~~inp for this, but unfortunately it also
|
1037
1037
|
// converts floats to ints.
|
1038
1038
|
// inp may be undefined, so careful calling replace on it.
|
1039
1039
|
var n=e&&parseFloat(e.replace(",","."));
|
1040
1040
|
// apply sign while we're at it
|
1041
|
-
return(isNaN(n)?0:n)*t}function
|
1041
|
+
return(isNaN(n)?0:n)*t}function Gr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $r(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Gr(e,t):((n=Gr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
|
1042
1042
|
// TODO: remove 'name' arg after deprecation is removed
|
1043
1043
|
function Ar(e,t){return function(n,r){var i;
|
1044
1044
|
//invert the arguments, but complain about it
|
@@ -1087,7 +1087,7 @@ return this.isValid()?this.toISOString():null}function Ei(){return y(this)}funct
|
|
1087
1087
|
// truncate time
|
1088
1088
|
a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":
|
1089
1089
|
// truncate time
|
1090
|
-
a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function
|
1090
|
+
a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function Li(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([a,o,s].indexOf(e)>=0)return l[r]}function Gi(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function $i(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1091
1091
|
// truncate time
|
1092
1092
|
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1093
1093
|
// truncate time
|
@@ -1110,7 +1110,7 @@ ne("weekYear","gg"),ne("isoWeekYear","GG"),
|
|
1110
1110
|
// PRIORITY
|
1111
1111
|
oe("weekYear",1),oe("isoWeekYear",1),
|
1112
1112
|
// PARSING
|
1113
|
-
De("G",
|
1113
|
+
De("G",Le),De("g",Le),De("GG",Se,be),De("gg",Se,be),De("GGGG",Ce,_e),De("gggg",Ce,_e),De("GGGGG",Te,xe),De("ggggg",Te,xe),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Be(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
|
1114
1114
|
// ALIASES
|
1115
1115
|
ne("quarter","Q"),
|
1116
1116
|
// PRIORITY
|
@@ -1168,7 +1168,7 @@ De("S",ke,ve),De("SS",ke,be),De("SSS",ke,we),ra="SSSS";ra.length<=9;ra+="S")De(r
|
|
1168
1168
|
// MOMENTS
|
1169
1169
|
function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=de("Milliseconds",!1),
|
1170
1170
|
// FORMATTING
|
1171
|
-
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Xn(1e3*e)}function da(){return Xn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=zr,ca.diff=Jr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=fe,ca.invalidAt=Ci,ca.isAfter=jr,ca.isBefore=Vr,ca.isBetween=Wr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Ei,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Jn,ca.parsingFlags=ki,ca.set=ge,ca.startOf=yi,ca.subtract=Pr,ca.toArray=xi,ca.toObject=Si,ca.toDate=_i,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Fi,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Ti,ca.eraName=$i,ca.eraNarrow=Ai,ca.eraAbbr=Ii,ca.eraYear=Di,ca.year=yt,ca.isLeapYear=vt,ca.weekYear=ji,ca.isoWeekYear=Vi,ca.quarter=ca.quarters=Qi,ca.month=dt,ca.daysInMonth=ht,ca.week=ca.weeks=Mt,ca.isoWeek=ca.isoWeeks=
|
1171
|
+
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Xn(1e3*e)}function da(){return Xn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=zr,ca.diff=Jr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=fe,ca.invalidAt=Ci,ca.isAfter=jr,ca.isBefore=Vr,ca.isBetween=Wr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Ei,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Jn,ca.parsingFlags=ki,ca.set=ge,ca.startOf=yi,ca.subtract=Pr,ca.toArray=xi,ca.toObject=Si,ca.toDate=_i,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Fi,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Ti,ca.eraName=$i,ca.eraNarrow=Ai,ca.eraAbbr=Ii,ca.eraYear=Di,ca.year=yt,ca.isLeapYear=vt,ca.weekYear=ji,ca.isoWeekYear=Vi,ca.quarter=ca.quarters=Qi,ca.month=dt,ca.daysInMonth=ht,ca.week=ca.weeks=Mt,ca.isoWeek=ca.isoWeeks=Lt,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Wi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Vt,ca.isoWeekday=Wt,ca.dayOfYear=ta,ca.hour=ca.hours=an,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=_r,ca.isDST=xr,ca.isLocal=Fr,ca.isUtcOffset=Er,ca.isUtc=kr,ca.isUTC=kr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=E("dates accessor is deprecated. Use date instead.",ea),ca.months=E("months accessor is deprecated. Use month instead",dt),ca.years=E("years accessor is deprecated. Use year instead",yt),ca.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=$.prototype;function fa(e,t,n,r){var i=bn(),a=f().set(r,t);return i[n](a,e)}function pa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}
|
1172
1172
|
// ()
|
1173
1173
|
// (5)
|
1174
1174
|
// (fmt, 5)
|
@@ -1177,7 +1177,7 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){r
|
|
1177
1177
|
// (true, 5)
|
1178
1178
|
// (true, fmt, 5)
|
1179
1179
|
// (true, fmt)
|
1180
|
-
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=I,ma.longDateFormat=V,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=
|
1180
|
+
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=I,ma.longDateFormat=V,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=L,ma.eras=Mi,ma.erasParse=Li,ma.erasConvertYear=Gi,ma.erasAbbrRegex=Oi,ma.erasNameRegex=Pi,ma.erasNarrowRegex=Ni,ma.months=ot,ma.monthsShort=st,ma.monthsParse=ct,ma.monthsRegex=ft,ma.monthsShortRegex=mt,ma.week=Et,ma.firstDayOfYear=Tt,ma.firstDayOfWeek=Ct,ma.weekdays=Ht,ma.weekdaysMin=Ut,ma.weekdaysShort=Bt,ma.weekdaysParse=zt,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Kt,ma.weekdaysMinRegex=Xt,ma.isPM=nn,ma.meridiem=on,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
1181
1181
|
// Side effect imports
|
1182
1182
|
r.lang=E("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",bn);var xa=Math.abs;function Sa(){var e=this._data;return this._milliseconds=xa(this._milliseconds),this._days=xa(this._days),this._months=xa(this._months),e.milliseconds=xa(e.milliseconds),e.seconds=xa(e.seconds),e.minutes=xa(e.minutes),e.hours=xa(e.hours),e.months=xa(e.months),e.years=xa(e.years),this}function Fa(e,t,n,r){var i=Mr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
1183
1183
|
// supports only 2.0-style add(1, 's') or add(duration)
|
@@ -1186,21 +1186,21 @@ function Ea(e,t){return Fa(this,e,t,1)}
|
|
1186
1186
|
function ka(e,t){return Fa(this,e,t,-1)}function Ca(e){return e<0?Math.floor(e):Math.ceil(e)}function Ta(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;
|
1187
1187
|
// if we have a mix of positive and negative values, bubble down first
|
1188
1188
|
// check: https://github.com/moment/moment/issues/2166
|
1189
|
-
return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Ca(
|
1189
|
+
return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Ca(La(s)+o),o=0,s=0),
|
1190
1190
|
// The following code bubbles up values, see the tests for
|
1191
1191
|
// examples of what that means.
|
1192
1192
|
l.milliseconds=a%1e3,e=ce(a/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,o+=ce(n/24),s+=
|
1193
1193
|
// convert days to months
|
1194
|
-
i=ce(Ma(o)),o-=Ca(
|
1194
|
+
i=ce(Ma(o)),o-=Ca(La(i)),
|
1195
1195
|
// 12 months -> 1 year
|
1196
1196
|
r=ce(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function Ma(e){
|
1197
1197
|
// 400 years have 146097 days (taking into account leap year rules)
|
1198
1198
|
// 400 years have 12 months === 4800
|
1199
|
-
return 4800*e/146097}function
|
1199
|
+
return 4800*e/146097}function La(e){
|
1200
1200
|
// the reverse of daysToMonths
|
1201
|
-
return 146097*e/4800}function
|
1201
|
+
return 146097*e/4800}function Ga(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ma(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
|
1202
1202
|
// handle milliseconds separately because of floating point math errors (issue #1867)
|
1203
|
-
t=this._days+Math.round(
|
1203
|
+
t=this._days+Math.round(La(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;
|
1204
1204
|
// Math.floor prevents floating point math errors here
|
1205
1205
|
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
|
1206
1206
|
// TODO: Use this.as('ms')?
|
@@ -1230,11 +1230,11 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
|
|
1230
1230
|
// 12 months -> 1 year
|
1231
1231
|
n=ce(u/12),u%=12,
|
1232
1232
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
1233
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=Sa,uo.add=Ea,uo.subtract=ka,uo.as=
|
1233
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=Sa,uo.add=Ea,uo.subtract=ka,uo.as=Ga,uo.asMilliseconds=Ia,uo.asSeconds=Da,uo.asMinutes=Pa,uo.asHours=Oa,uo.asDays=Na,uo.asWeeks=Ra,uo.asMonths=Ha,uo.asQuarters=Ba,uo.asYears=Ua,uo.valueOf=$a,uo._bubble=Ta,uo.clone=Ya,uo.get=za,uo.milliseconds=Va,uo.seconds=Wa,uo.minutes=Za,uo.hours=Ka,uo.days=Xa,uo.weeks=Qa,uo.months=Ja,uo.years=qa,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
|
1234
1234
|
// FORMATTING
|
1235
1235
|
H("X",0,0,"unix"),H("x",0,0,"valueOf"),
|
1236
1236
|
// PARSING
|
1237
|
-
De("x",
|
1237
|
+
De("x",Le),De("X",Ae),He("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),He("x",(function(e,t,n){n._d=new Date(ue(e))})),
|
1238
1238
|
//! moment.js
|
1239
1239
|
r.version="2.29.4",i(Xn),r.fn=ca,r.min=er,r.max=tr,r.now=nr,r.utc=f,r.unix=ua,r.months=ya,r.isDate=d,r.locale=gn,r.invalid=v,r.duration=Mr,r.isMoment=S,r.weekdays=ba,r.parseZone=da,r.localeData=bn,r.isDuration=lr,r.monthsShort=va,r.weekdaysMin=_a,r.defineLocale=yn,r.updateLocale=vn,r.locales=wn,r.weekdaysShort=wa,r.normalizeUnits=re,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ur,r.prototype=ca,
|
1240
1240
|
// currently HTML5 input type only supports 24-hour formats
|
@@ -1249,58 +1249,58 @@ WEEK:"GGGG-[W]WW",// <input type="week" />
|
|
1249
1249
|
MONTH:"YYYY-MM"},r}()}));function kr(e,t){Vn(e,t)}const Cr={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Počnite sada!",new:"NOVI",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Tr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};
|
1250
1250
|
/* eslint-disable quote-props */
|
1251
1251
|
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.59.2 */
|
1252
|
-
function Mr(e,t,n){const r=e.slice();return r[
|
1253
|
-
// (
|
1254
|
-
function
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1252
|
+
function Mr(e,t,n){const r=e.slice();return r[101]=t[n],r[103]=n,r}function Lr(e,t,n){const r=e.slice();return r[98]=t[n],r}
|
1253
|
+
// (538:8) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
1254
|
+
function Gr(e){let t;function n(e,t){/*fav*/
|
1255
|
+
return e[16]?Ar:$r}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
1256
|
+
// (552:10) {:else}
|
1257
|
+
function $r(t){let n;return{c(){n=p("div"),n.innerHTML="<div></div><div></div>",_(n,"class","LoaderRipple")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1258
|
+
// (539:10) {#if fav}
|
1259
|
+
function Ar(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',_(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler*/t[61]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
|
1260
|
+
// (557:8) {#if lang}
|
1261
|
+
function Ir(e){let t,n,r,i,a=/*$_*/e[35]("playNow")+"";return{c(){t=p("button"),n=y(a),_(t,"class","GameInfoBtn")},m(a,o){h(a,t,o),d(t,n),r||(i=w(t,"click",/*click_handler_1*/e[62]),r=!0)},p(e,t){/*$_*/16&t[1]&&a!==(a=/*$_*/e[35]("playNow")+"")&&S(n,a)},d(e){e&&m(t),r=!1,i()}}}
|
1262
|
+
// (571:77)
|
1262
1263
|
function Dr(t){let n;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1263
|
-
// (
|
1264
|
-
function Pr(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[
|
1265
|
-
// (
|
1264
|
+
// (565:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
1265
|
+
function Pr(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[63]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
|
1266
|
+
// (579:6) {#if gameisnew}
|
1266
1267
|
function Or(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=p("span"),n=y(r),_(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1267
|
-
// (
|
1268
|
+
// (582:6) {#if gametag}
|
1268
1269
|
function Nr(e){let t,n;return{c(){t=p("span"),n=y(/*gametag*/e[8]),_(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&m(t)}}}
|
1269
|
-
// (
|
1270
|
+
// (585:6) {#if livegamedata}
|
1270
1271
|
function Rr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Hr(e);function i(e,t){/*isopen*/
|
1271
1272
|
return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===qr?Ur:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===Qr?Br:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),h(e,t,i),o&&o.m(e,i),h(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Hr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&m(t),o&&o.d(e),e&&m(n)}}}
|
1272
|
-
// (
|
1273
|
-
function Hr(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/e[35]("opens")+"",g=Er.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[
|
1274
|
-
// (
|
1275
|
-
function Br(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[
|
1276
|
-
/*div0_binding*/e[
|
1277
|
-
/*div0_binding*/e[
|
1278
|
-
// (
|
1279
|
-
function Ur(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[
|
1280
|
-
return e[32]?Zr:Wr}let u=c(e),f=u(e);return{c(){t=p("div"),n=p("div"),f.c(),r=v(),i=new F(!1),a=v(),o=new F(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){h(e,t,c),d(t,n),f.m(n,null),d(t,r),i.m(s,t),d(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&f?f.p(e,t):(f.d(1),f=u(e),f&&(f.c(),f.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[
|
1281
|
-
// (
|
1273
|
+
// (586:8) {#if !isopen && starttime && timeformat}
|
1274
|
+
function Hr(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/e[35]("opens")+"",g=Er.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=p("div"),n=p("div"),r=y(f),i=v(),a=p("span"),o=y(g),s=v(),l=new F(!1),c=v(),u=new F(!1),_(n,"class","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps")},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(a,o),d(t,s),l.m(b,t),d(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&f!==(f=/*$_*/e[35]("opens")+"")&&S(r,f),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Er.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(o,g),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(b),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&m(t)}}}
|
1275
|
+
// (619:68)
|
1276
|
+
function Br(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(ti),u=[];for(let t=0;t<c.length;t+=1)u[t]=Vr(Mr(e,c,t));return{c(){t=p("div"),n=p("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new F(!1),a=v(),o=new F(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class",/*roulettecontainerclassname*/e[30])},m(c,m){h(c,t,m),d(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
|
1277
|
+
/*div0_binding*/e[64](n),d(t,r),i.m(s,t),d(t,a),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536879104&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(ti),t=0;t<c.length;t+=1){const i=Mr(e,c,t);u[t]?u[t].p(i,r):(u[t]=Vr(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&_(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&m(t),f(u,n),
|
1278
|
+
/*div0_binding*/e[64](null)}}}
|
1279
|
+
// (598:8) {#if isopen && displaytype && displaytype === BLACKJACK}
|
1280
|
+
function Ur(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
|
1281
|
+
return e[32]?Zr:Wr}let u=c(e),f=u(e);return{c(){t=p("div"),n=p("div"),f.c(),r=v(),i=new F(!1),a=v(),o=new F(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){h(e,t,c),d(t,n),f.m(n,null),d(t,r),i.m(s,t),d(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&f?f.p(e,t):(f.d(1),f=u(e),f&&(f.c(),f.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&m(t),f.d()}}}
|
1282
|
+
// (623:16) {#if roulleteresults && roulleteresults[i]}
|
1282
1283
|
function Yr(e){let t;function n(e,t){/*isdouble*/
|
1283
1284
|
return e[29]?jr:zr}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
1284
|
-
// (
|
1285
|
-
function zr(e){let t,n,r=/*renderSpan*/e[
|
1286
|
-
// (
|
1287
|
-
function jr(e){let t,n,r,i,a,o=/*renderSpan*/e[
|
1288
|
-
// (
|
1289
|
-
function Vr(e){let t,n=/*roulleteresults*/e[13]&&/*roulleteresults*/e[13][/*i*/e[
|
1290
|
-
// (
|
1291
|
-
function Wr(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=Kr(
|
1292
|
-
// (
|
1285
|
+
// (629:18) {:else}
|
1286
|
+
function zr(e){let t,n,r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[103]?"First":""),e[103],/*roulleteresults*/e[13][/*i*/e[103]],/*colorsourcearray*/e[31][/*roulleteresults*/e[13][/*i*/e[103]]])+"";return{c(){t=new F(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),h(e,n,i)},p(e,n){/*roulleteresults*/8192&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[103]?"First":""),e[103],/*roulleteresults*/e[13][/*i*/e[103]],/*colorsourcearray*/e[31][/*roulleteresults*/e[13][/*i*/e[103]]])+"")&&t.p(r)},d(e){e&&m(n),e&&t.d()}}}
|
1287
|
+
// (624:18) {#if isdouble}
|
1288
|
+
function jr(e){let t,n,r,i,a,o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[103]?"First":""),`first${/*i*/e[103]}${/*roulleteresults*/e[13][/*i*/e[103]][0]}`/*roulleteresults*/,e[13][/*i*/e[103]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[13][/*i*/e[103]][0]])+"",s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[103]?"First":""),`second${/*i*/e[103]}${/*roulleteresults*/e[13][/*i*/e[103]][1]}`/*roulleteresults*/,e[13][/*i*/e[103]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[13][/*i*/e[103]][1]])+"";return{c(){t=p("div"),n=new F(!1),r=v(),i=new F(!1),a=v(),n.a=r,i.a=a,_(t,"class","Double")},m(e,l){h(e,t,l),n.m(o,t),d(t,r),i.m(s,t),d(t,a)},p(e,t){/*roulleteresults*/8192&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[103]?"First":""),`first${/*i*/e[103]}${/*roulleteresults*/e[13][/*i*/e[103]][0]}`/*roulleteresults*/,e[13][/*i*/e[103]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[13][/*i*/e[103]][0]])+"")&&n.p(o),/*roulleteresults*/8192&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[103]?"First":""),`second${/*i*/e[103]}${/*roulleteresults*/e[13][/*i*/e[103]][1]}`/*roulleteresults*/,e[13][/*i*/e[103]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[13][/*i*/e[103]][1]])+"")&&i.p(s)},d(e){e&&m(t)}}}
|
1289
|
+
// (622:14) {#each new Array(numberofdisplayedresults) as garbage, i}
|
1290
|
+
function Vr(e){let t,n=/*roulleteresults*/e[13]&&/*roulleteresults*/e[13][/*i*/e[103]]&&Yr(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*roulleteresults*/e[13]&&/*roulleteresults*/e[13][/*i*/e[103]]?n?n.p(e,r):(n=Yr(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
1291
|
+
// (605:14) {:else}
|
1292
|
+
function Wr(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=Kr(Lr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n)},p(e,i){if(/*currentoccupiedseats, seats*/285212672&i[0]|/*contains*/256&i[1]){let a;for(n=/*seats*/e[24],a=0;a<n.length;a+=1){const o=Lr(e,n,a);r[a]?r[a].p(o,i):(r[a]=Kr(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){f(r,e),e&&m(t)}}}
|
1293
|
+
// (601:14) {#if istablefull}
|
1293
1294
|
function Zr(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=p("span"),n=y(r),_(t,"class","FullTable")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1294
|
-
// (
|
1295
|
-
function Kr(e){let t,n,r,i,a,o;return{c(){t=p("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),_(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),_(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[
|
1296
|
-
// (
|
1297
|
-
function Xr(e){let t,n;return{c(){t=p("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){h(e,t,r),d(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function Jr(t){let n,i,a,o,s,c,u,f,g,b,x,F,E,k,C,T,M,G
|
1298
|
-
return e[
|
1299
|
-
|
1300
|
-
/*
|
1301
|
-
/*
|
1302
|
-
/*
|
1303
|
-
/*div4_binding*/,t[69](null),N=!1,r(R)}}}const qr="blackjack",Qr="roulette",ei="doubleballroulette",ti=5;function ni(e,t,n){let r;u(e,vr,(e=>n(35,r=e)));let i,a,o,s,l,c,d,h,m,f,p,g,y,v,b,w,_,x,S,F,E,k,T,G,L,{session:$=""}=t,{userid:A=""}=t,{lang:I="en"}=t,{clientstyling:P=""}=t,{clientstylingurl:O=""}=t,{translationurl:N=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gameid:Y=""}=t,{gameisnew:z=""}=t,{gametag:j=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:W=!1}=t,{gamecellsize:Z=""}=t,{showfavoredcategory:K=!1}=t,{showgamename:X=!1}=t,{currency:J=""}=t,{gamepagemodalurl:q="false"}=t,{endpoint:Q=""}=t,{livelobbyendpoint:ee=""}=t,{connectlive:te=""}=t,{visibilityconnect:ne=""}=t,{integratedgameframedesktop:re="false"}=t,{integratedgameframemobile:ie="false"}=t,ae=!1,oe=!1,se=!1,le=window.navigator.userAgent,ce="HH:mm",ue={},de=[],he="EUR",me="";const fe=[qr],pe=[Qr,ei],ge={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ye={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Cr).forEach((e=>{kr(e,Cr[e])}));const ve=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||K||n(0,W=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||K||n(0,W=!1),"UserSessionID"===e.data.type&&(n(15,ae=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(12,s=null)},be=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
1295
|
+
// (606:16) {#each seats as seatData}
|
1296
|
+
function Kr(e){let t,n,r,i,a,o;return{c(){t=p("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),_(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),_(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[98].toString())?"ClosedSeat":"OpenSeat")},m(e,o){h(e,t,o),d(t,n),d(n,r),d(n,i),d(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[98].toString())?"ClosedSeat":"OpenSeat")&&_(t,"class",o)},d(e){e&&m(t)}}}
|
1297
|
+
// (642:2) {#if showgamename}
|
1298
|
+
function Xr(e){let t,n;return{c(){t=p("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){h(e,t,r),d(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function Jr(t){let n,r,i,a,o,s,c,u,f,g,b,w,x,F,E,k,C,T,M,L,G,$,A,I,D,P=!br(/*userAgent*/t[36])&&!/*gamefavorite*/t[0]&&/*isLoggedIn*/t[15],O=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",N=P&&Gr(t),R=/*lang*/t[1]&&Ir(t);function H(e,t){/*gamefavorite, isLoggedIn, favorites*/
|
1299
|
+
return 32773&t[0]&&(C=null),/*gamefavorite, isLoggedIn, favorites*/32773&t[0]&&(T=null),null==C&&(C=!(br(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[15]||/*favorites*/!e[2])),C?Pr:(null==T&&(T=!!(br(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[15]&&/*favorites*/e[2])),T?Dr:void 0)}let B=H(t,[-1,-1,-1,-1]),U=B&&B(t),Y=/*gameisnew*/t[7]&&Or(t),z=/*gametag*/t[8]&&Nr(t),j=/*livegamedata*/t[12]&&Rr(t),V=/*showgamename*/t[10]&&Xr(t);return{c(){n=p("div"),r=p("div"),i=p("img"),s=v(),c=p("div"),u=p("div"),N&&N.c(),f=v(),g=p("p"),b=y(/*gamename*/t[4]),w=v(),R&&R.c(),x=v(),F=p("span"),E=y(O),k=v(),U&&U.c(),M=v(),L=p("div"),Y&&Y.c(),G=v(),z&&z.c(),$=v(),j&&j.c(),I=v(),V&&V.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),_(i,"alt",""),_(i,"loading","lazy"),_(g,"class","GameInfoName"),_(g,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(F,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_(L,"class","GameExtraInfo"),_(r,"class",A="GameInnerContainer "+(/*livegamedata*/t[12]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[12]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",D=`GameContainer ${/*extraclassname*/t[33]}`)},m(e,a){h(e,n,a),d(n,r),d(r,i),
|
1300
|
+
/*img_binding*/t[60](i),d(r,s),d(r,c),d(c,u),N&&N.m(u,null),d(u,f),d(u,g),d(g,b),d(u,w),R&&R.m(u,null),d(c,x),d(c,F),d(F,E),d(r,k),U&&U.m(r,null),d(r,M),d(r,L),Y&&Y.m(L,null),d(L,G),z&&z.m(L,null),d(L,$),j&&j.m(L,null),d(n,I),V&&V.m(n,null)
|
1301
|
+
/*div4_binding*/,t[65](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(i,"class",o),/*gamefavorite, isLoggedIn*/32769&t[0]&&(P=!br(/*userAgent*/e[36])&&!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[15]),P?N?N.p(e,t):(N=Gr(e),N.c(),N.m(u,f)):N&&(N.d(1),N=null),/*gamename*/16&t[0]&&S(b,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(g,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Ir(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&O!==(O=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(E,O),B===(B=H(e,t))&&U?U.p(e,t):(U&&U.d(1),U=B&&B(e),U&&(U.c(),U.m(r,M))),/*gameisnew*/e[7]?Y?Y.p(e,t):(Y=Or(e),Y.c(),Y.m(L,G)):Y&&(Y.d(1),Y=null),/*gametag*/e[8]?z?z.p(e,t):(z=Nr(e),z.c(),z.m(L,$)):z&&(z.d(1),z=null),/*livegamedata*/e[12]?j?j.p(e,t):(j=Rr(e),j.c(),j.m(L,null)):j&&(j.d(1),j=null),/*livegamedata, isopen, openhours*/12587008&t[0]|/*istablefull*/2&t[1]&&A!==(A="GameInnerContainer "+(/*livegamedata*/e[12]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[12]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",A),/*showgamename*/e[10]?V?V.p(e,t):(V=Xr(e),V.c(),V.m(n,null)):V&&(V.d(1),V=null),/*extraclassname*/4&t[1]&&D!==(D=`GameContainer ${/*extraclassname*/e[33]}`)&&_(n,"class",D)},i:e,o:e,d(e){e&&m(n)
|
1302
|
+
/*img_binding*/,t[60](null),N&&N.d(),R&&R.d(),U&&U.d(),Y&&Y.d(),z&&z.d(),j&&j.d(),V&&V.d()
|
1303
|
+
/*div4_binding*/,t[65](null)}}}const qr="blackjack",Qr="roulette",ei="doubleballroulette",ti=5;function ni(e,t,n){let r;u(e,vr,(e=>n(35,r=e)));let i,a,o,s,l,c,d,h,m,f,p,g,y,v,b,w,_,x,S,F,E,k,T,L,G,{session:$=""}=t,{userid:A=""}=t,{lang:I="en"}=t,{clientstyling:P=""}=t,{clientstylingurl:O=""}=t,{translationurl:N=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gameid:Y=""}=t,{gameisnew:z=""}=t,{gametag:j=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:W=!1}=t,{gamecellsize:Z=""}=t,{showfavoredcategory:K=!1}=t,{showgamename:X=!1}=t,{currency:J=""}=t,{gamepagemodalurl:q="false"}=t,{endpoint:Q=""}=t,{livelobbyendpoint:ee=""}=t,{connectlive:te=""}=t,{visibilityconnect:ne=""}=t,{integratedgameframedesktop:re="false"}=t,{integratedgameframemobile:ie="false"}=t,ae=!1,oe=!1,se=!1,le=window.navigator.userAgent,ce="HH:mm",ue={},de=[],he="EUR",me="";const fe=[qr],pe=[Qr,ei],ge={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ye={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Cr).forEach((e=>{kr(e,Cr[e])}));const ve=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||K||n(0,W=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||K||n(0,W=!1),"UserSessionID"===e.data.type&&(n(15,ae=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(12,s=null)},be=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
1304
1304
|
//Analytics event -- if game was searched
|
1305
1305
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
|
1306
1306
|
// Case mobile
|
@@ -1317,13 +1317,13 @@ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(
|
|
1317
1317
|
}// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
|
1318
1318
|
// GameComponent = 'poker';
|
1319
1319
|
// }
|
1320
|
-
return t})(s)),n(25,he=Tr[J]),n(26,f=(ue.min||{})[J]),n(27,p=(ue.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===ei),n(13,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,F=ke(pe,w.toLowerCase())?ye:ge),k=E,n(32,E=Array.isArray(y)&&y.length===g),s.dealer&&n(34,
|
1320
|
+
return t})(s)),n(25,he=Tr[J]),n(26,f=(ue.min||{})[J]),n(27,p=(ue.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===ei),n(13,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,F=ke(pe,w.toLowerCase())?ye:ge),k=E,n(32,E=Array.isArray(y)&&y.length===g),s.dealer&&n(34,L=s.dealer.DealerName),G=s.numberOfPlayers,n(33,me="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,me+=" GameBackdrop"),h&&E&&f&&p&&s.currentOccupiedSeats?n(33,me+=" GameContainerDimmed"):!1===h&&d&&n(33,me+=" GameContainerFullyDimmed"),o&&(!k&&E?(n(33,me+=" PulsatingRedShadow"),n(33,me=me.replace(" PulsatingGreenShadow",""))):k&&!E&&(n(33,me+=" PulsatingGreenShadow"),n(33,me=me.replace(" PulsatingRedShadow",""))))}},Te=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};C((()=>(window.addEventListener("message",ve,!1),()=>{window.removeEventListener("message",ve),l&&l.removeEventListener("message",Fe)})));return e.$$set=e=>{"session"in e&&n(43,$=e.session),"userid"in e&&n(44,A=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,P=e.clientstyling),"clientstylingurl"in e&&n(46,O=e.clientstylingurl),"translationurl"in e&&n(47,N=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gameid"in e&&n(6,Y=e.gameid),"gameisnew"in e&&n(7,z=e.gameisnew),"gametag"in e&&n(8,j=e.gametag),"gamefunmode"in e&&n(48,V=e.gamefunmode),"gamefavorite"in e&&n(0,W=e.gamefavorite),"gamecellsize"in e&&n(9,Z=e.gamecellsize),"showfavoredcategory"in e&&n(49,K=e.showfavoredcategory),"showgamename"in e&&n(10,X=e.showgamename),"currency"in e&&n(50,J=e.currency),"gamepagemodalurl"in e&&n(51,q=e.gamepagemodalurl),"endpoint"in e&&n(52,Q=e.endpoint),"livelobbyendpoint"in e&&n(53,ee=e.livelobbyendpoint),"connectlive"in e&&n(54,te=e.connectlive),"visibilityconnect"in e&&n(55,ne=e.visibilityconnect),"integratedgameframedesktop"in e&&n(56,re=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(57,ie=e.integratedgameframemobile)},e.$$.update=()=>{/*connectlive*/8388608&e.$$.dirty[1]&&te&&("disconnect"===te?Se():"connect"===te&&xe()),/*visibilityconnect*/16777216&e.$$.dirty[1]&&ne&&("disconnect"===ne?Se():"connect"===ne&&"connect"===te&&xe()),/*lang*/2&e.$$.dirty[0]&&I&&_e(),/*session, userid, endpoint*/2109440&e.$$.dirty[1]&&$&&A&&Q&&(n(15,ae=!0),i=A),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,se=!0)},a),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&P&&o&&(()=>{let e=document.createElement("style");e.innerHTML=P,o.appendChild(e)})(),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&O&&o&&Te(),/*favorites*/4&e.$$.dirty[0]&&R&&"true"==R&&n(16,oe=!0),/*translationurl*/65536&e.$$.dirty[1]&&N&&fetch(N).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{kr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&Z&&O&&Te(),/*endpoint, livelobbyendpoint*/6291456&e.$$.dirty[1]&&Q&&ee&&(()=>{let e=new URL(`${ee.split("?")[0]}`);e.searchParams.append("platform",wr(le)),e.searchParams.append("language",I),
|
1321
1321
|
// let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
|
1322
|
-
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(12,s=t)}))})(),/*livegamedata*/4096&e.$$.dirty[0]&&s&&Ce(),/*roulletteref, roulleteresults*/24576&e.$$.dirty[0]&&T&&x&&(()=>{const e="FirstElementAnimated",t=T.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[W,I,R,H,B,U,Y,z,j,Z,X,o,s,x,T,ae,oe,se,a,c,d,ce,h,m,de,he,f,p,y,_,S,F,E,me,G,r,le,be,we,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},ke,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),L&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},$,A,P,O,N,V,K,J,q,Q,ee,te,ne,re,ie,ge,ye,function(e){M[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>we(Y),()=>be(Y),()=>we(Y),function(e){M[e?"unshift":"push"]((()=>{T=e,n(14,T)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(11,o)}))}]}function ri(e,t){Vn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ni,Jr,a,{session:47,userid:48,lang:1,clientstyling:49,clientstylingurl:50,translationurl:51,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:52,gamefavorite:0,gamecellsize:9,showfavoredcategory:53,showgamename:10,currency:54,gamepagemodalurl:55,endpoint:56,livelobbyendpoint:57,connectlive:58,visibilityconnect:59,integratedgameframedesktop:60,integratedgameframemobile:61,MONEY_WHEEL_COLOR_MAP:62,ROULETTE_COLOR_MAP:63},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),R()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),R()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[50]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[51]}set translationurl(e){this.$$set({translationurl:e}),R()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),R()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),R()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),R()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),R()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),R()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),R()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),R()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),R()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),R()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),R()}get showfavoredcategory(){return this.$$.ctx[53]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),R()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),R()}get currency(){return this.$$.ctx[54]}set currency(e){this.$$set({currency:e}),R()}get gamepagemodalurl(){return this.$$.ctx[55]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get endpoint(){return this.$$.ctx[56]}set endpoint(e){this.$$set({endpoint:e}),R()}get livelobbyendpoint(){return this.$$.ctx[57]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),R()}get connectlive(){return this.$$.ctx[58]}set connectlive(e){this.$$set({connectlive:e}),R()}get visibilityconnect(){return this.$$.ctx[59]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[60]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[61]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[62]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[63]}});const ii={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Pružatelji:",filterby:"Filter:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}};
|
1322
|
+
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(12,s=t)}))})(),/*livegamedata*/4096&e.$$.dirty[0]&&s&&Ce(),/*roulletteref, roulleteresults*/24576&e.$$.dirty[0]&&T&&x&&(()=>{const e="FirstElementAnimated",t=T.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[W,I,R,H,B,U,Y,z,j,Z,X,o,s,x,T,ae,oe,se,a,c,d,ce,h,m,de,he,f,p,y,_,S,F,E,me,L,r,le,be,we,ke,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),G&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${G}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},$,A,P,O,N,V,K,J,q,Q,ee,te,ne,re,ie,ge,ye,function(e){M[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>we(Y),()=>be(Y),()=>we(Y),function(e){M[e?"unshift":"push"]((()=>{T=e,n(14,T)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(11,o)}))}]}function ri(e,t){Vn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ni,Jr,a,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:48,gamefavorite:0,gamecellsize:9,showfavoredcategory:49,showgamename:10,currency:50,gamepagemodalurl:51,endpoint:52,livelobbyendpoint:53,connectlive:54,visibilityconnect:55,integratedgameframedesktop:56,integratedgameframemobile:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),R()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),R()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),R()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),R()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),R()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),R()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),R()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),R()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),R()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),R()}get gamefunmode(){return this.$$.ctx[48]}set gamefunmode(e){this.$$set({gamefunmode:e}),R()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),R()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),R()}get showfavoredcategory(){return this.$$.ctx[49]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),R()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),R()}get currency(){return this.$$.ctx[50]}set currency(e){this.$$set({currency:e}),R()}get gamepagemodalurl(){return this.$$.ctx[51]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get endpoint(){return this.$$.ctx[52]}set endpoint(e){this.$$set({endpoint:e}),R()}get livelobbyendpoint(){return this.$$.ctx[53]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),R()}get connectlive(){return this.$$.ctx[54]}set connectlive(e){this.$$set({connectlive:e}),R()}get visibilityconnect(){return this.$$.ctx[55]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[56]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[57]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const ii={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Pružatelji:",filterby:"Filter:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}};
|
1323
1323
|
/* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function ai(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
|
1324
1324
|
// (178:4) {#if !isLoading}
|
1325
|
-
function oi(e){let t,n,i,a,o,s,l,c,u,b,x,F,E,k,C,T,M,G
|
1326
|
-
return e[7]?ci:li}let Z=W(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=hi(ai(e,X,t));return{c(){t=p("div"),n=p("div"),i=p("div"),a=g("svg"),o=g("path"),s=v(),l=p("div"),c=p("span"),u=y(z),b=v(),x=p("div"),F=p("span"),E=y(j),k=v(),K.c(),C=v(),T=p("span"),M=g("svg"),
|
1325
|
+
function oi(e){let t,n,i,a,o,s,l,c,u,b,x,F,E,k,C,T,M,L,G,$,A,I,D,P,O,N,R,H,B,U,Y,z=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",V=/*$_*/e[11]("clear")+"";function W(e,t){/*fullSelection*/
|
1326
|
+
return e[7]?ci:li}let Z=W(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=hi(ai(e,X,t));return{c(){t=p("div"),n=p("div"),i=p("div"),a=g("svg"),o=g("path"),s=v(),l=p("div"),c=p("span"),u=y(z),b=v(),x=p("div"),F=p("span"),E=y(j),k=v(),K.c(),C=v(),T=p("span"),M=g("svg"),L=g("path"),A=v(),I=p("div"),D=p("ul");for(let e=0;e<J.length;e+=1)J[e].c();P=v(),O=p("button"),N=y(V),_(o,"id","noun_filter_736223"),_(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),_(o,"transform","translate(-5 -6.2)"),_(o,"fill","#fff"),_(a,"xmlns","http://www.w3.org/2000/svg"),_(a,"width","16"),_(a,"height","16"),_(a,"viewBox","0 0 16 16"),_(c,"class","FilterName"),_(x,"class","FilterValueContainer"),_(l,"class","FilterTextContainer"),_(i,"class","FilterMainArea"),_(L,"id","arrow"),_(L,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_(L,"transform","translate(-274.511 -441.088)"),_(L,"fill","#d1d1d1"),_(M,"xmlns","http://www.w3.org/2000/svg"),_(M,"width","14"),_(M,"height","6.835"),_(M,"viewBox","0 0 14 6.835"),_(T,"class",G="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",$="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),_(D,"class","FilterDropdown"),_(O,"class","ClearFilters"),O.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,_(I,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),_(t,"class",B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(r,m){h(r,t,m),d(t,n),d(n,i),d(i,a),d(a,o),d(i,s),d(i,l),d(l,c),d(c,u),d(l,b),d(l,x),d(x,F),d(F,E),d(x,k),K.m(x,null),d(n,C),d(n,T),d(T,M),d(M,L),d(t,A),d(t,I),d(I,D);for(let e=0;e<J.length;e+=1)J[e]&&J[e].m(D,null);d(I,P),d(I,O),d(O,N),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(O,"click",/*click_handler_2*/e[25])],U=!0)},p(e,r){if(/*$_*/2048&r[0]&&z!==(z=/*$_*/e[11]("filterby")+"")&&S(u,z),/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("providers")+"")&&S(E,j),Z===(Z=W(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(x,null))),/*isFilterActive*/16&r[0]&&G!==(G="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(T,"class",G),/*isFilterActive*/16&r[0]&&$!==($="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",$),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=ai(e,X,t);J[t]?J[t].p(n,r):(J[t]=hi(n),J[t].c(),J[t].m(D,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&V!==(V=/*$_*/e[11]("clear")+"")&&S(N,V),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(O.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&_(I,"class",H),/*addfilterselector, addsortingselector*/3&r[0]&&B!==(B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&_(t,"class",B)},d(e){e&&m(t),K.d(),f(J,e),U=!1,r(Y)}}}
|
1327
1327
|
// (175:2) {#if hasErrors}
|
1328
1328
|
function si(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1329
1329
|
// (191:14) {:else}
|
@@ -1349,14 +1349,14 @@ return e[10]?si:/*isLoading*/e[9]?void 0:oi}let i=r(t),a=i&&i(t);return{c(){n=p(
|
|
1349
1349
|
// end custom styling area
|
1350
1350
|
w[h]&&(w={[h]:[]});const E=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},k=e=>{let t=localStorage.getItem("vendorFiltersByCategory");e.isFilterSelected=!e.isFilterSelected,b.length&&0!=b.filter((t=>t.name===e.name)).length?n(6,b=b.filter((t=>t.name!==e.name))):b.push(e),null==t?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})):(t=JSON.parse(t),t[h]=b.map((e=>e.id)),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(t))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),T()},T=()=>{
|
1351
1351
|
// update filters value
|
1352
|
-
n(7,_=b.length===v.length||0==b.length),n(8,x=b.length)},
|
1352
|
+
n(7,_=b.length===v.length||0==b.length),n(8,x=b.length)},L=()=>{const e=new URL(`${a}/casino/vendors`);n(4,g=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",s),e.searchParams.append("datasource",o),e.searchParams.append("platform",wr(y)),(h.match(/\$/g)||[]).length>1?(e.searchParams.append("filter",`games(subGroups=${h})`),e.searchParams.append("subVendors",`games(subGroups=${h})`)):e.searchParams.append("filter",`games(groups=${h})`),(e=>{n(9,S=!0),new Promise(((t,r)=>{fetch(e).then((e=>e.json())).then((e=>{e=e.items,t(e.items),n(6,b=[]);let r=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach((e=>{var t;r||(r={currentCategoryId:[]}),(null===(t=r[h])||void 0===t?void 0:t.indexOf(e.id))>=0?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1})),n(5,v=e),
|
1353
1353
|
// needed to force the update of the filters value
|
1354
|
-
T()})).catch((e=>{console.error(e),n(10,F=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},
|
1354
|
+
T()})).catch((e=>{console.error(e),n(10,F=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},G=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
|
1355
1355
|
// this reassignation of the pointer value is required in order to have Svelte trigger a re-render
|
1356
|
-
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},$=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};C((()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,d=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&
|
1356
|
+
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},$=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};C((()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,d=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&L(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&i&&(()=>{let e=document.createElement("style");e.innerHTML=c,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ri(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,x,S,F,r,E,k,G,a,o,s,l,c,d,h,()=>E(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>k(e),()=>G(),function(e){M[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function pi(e,t){Vn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},fi,mi,a,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),R()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),R()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}});const gi={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"poredaj po",all:"sve",az:"A-Z",newest:"najnovije",hottest:"najpopularnije"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};
|
1357
1357
|
/* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function yi(e,t,n){const r=e.slice();return r[23]=t[n],r}
|
1358
1358
|
// (114:4) {#if !isLoading}
|
1359
|
-
function vi(e){let t,n,r,i,a,o,s,l,c,u,b,x,F,E,k,C,T,M,G
|
1359
|
+
function vi(e){let t,n,r,i,a,o,s,l,c,u,b,x,F,E,k,C,T,M,L,G,$,A,I,D,P,O,N,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",U=Object.values(/*vendorMap*/e[5]),Y=[];for(let t=0;t<U.length;t+=1)Y[t]=bi(yi(e,U,t));return{c(){t=p("div"),n=p("div"),r=p("div"),i=g("svg"),a=g("g"),o=g("path"),s=g("path"),l=g("path"),c=v(),u=p("div"),b=p("span"),x=y(H),F=v(),E=p("div"),k=p("span"),C=y(B),T=v(),M=p("span"),L=g("svg"),G=g("path"),I=v(),D=p("div"),P=p("ul");for(let e=0;e<Y.length;e+=1)Y[e].c();_(o,"id","Path_5267"),_(o,"data-name","Path 5267"),_(o,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),_(o,"transform","translate(-206.448 0)"),_(o,"fill","#fff"),_(s,"id","Path_5268"),_(s,"data-name","Path 5268"),_(s,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),_(s,"transform","translate(0 0)"),_(s,"fill","#fff"),_(l,"id","Path_5269"),_(l,"data-name","Path 5269"),_(l,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),_(l,"transform","translate(-412.896 0)"),_(l,"fill","#fff"),_(a,"id","sortby"),_(a,"transform","translate(-306 -342)"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(i,"width","20"),_(i,"height","20"),_(i,"viewBox","0 0 26.003 22.819"),_(b,"class","SorterName"),_(E,"class","SorterValueContainer"),_(u,"class","SorterTextContainer"),_(r,"class","SorterMainArea"),_(G,"id","arrow"),_(G,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_(G,"transform","translate(-274.511 -441.088)"),_(G,"fill","#d1d1d1"),_(L,"xmlns","http://www.w3.org/2000/svg"),_(L,"width","14"),_(L,"height","6.835"),_(L,"viewBox","0 0 14 6.835"),_(M,"class",$="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),_(n,"class",A="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),_(P,"class","SorterDropdown"),_(D,"class",O="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),_(t,"class","SorterContainer")},m(m,f){h(m,t,f),d(t,n),d(n,r),d(r,i),d(i,a),d(a,o),d(a,s),d(a,l),d(r,c),d(r,u),d(u,b),d(b,x),d(u,F),d(u,E),d(E,k),d(k,C),d(n,T),d(n,M),d(M,L),d(L,G),d(t,I),d(t,D),d(D,P);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(P,null);N||(R=w(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&S(x,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&S(C,B),/*isSorterActive*/2&t&&$!==($="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&_(M,"class",$),/*isSorterActive*/2&t&&A!==(A="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&_(n,"class",A),/*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/120&t){let n;for(U=Object.values(/*vendorMap*/e[5]),n=0;n<U.length;n+=1){const r=yi(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=bi(r),Y[n].c(),Y[n].m(P,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&O!==(O="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&_(D,"class",O)},d(e){e&&m(t),f(Y,e),N=!1,R()}}}
|
1360
1360
|
// (140:10) {#each Object.values(vendorMap) as sort}
|
1361
1361
|
function bi(e){let t,n,r,i,a,o,s,l,c,u,f,g,b=/*sort*/e[23]+"";function x(){/*click_handler_1*/
|
1362
1362
|
return e[14](/*sort*/e[23])}return{c(){t=p("li"),n=p("label"),r=p("input"),a=v(),o=p("span"),s=v(),l=p("span"),c=y(b),u=v(),_(r,"type","radio"),_(r,"name","radio"),r.value=/*sort*/e[23],r.checked=i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),_(o,"class","SortersCheckmark"),_(n,"class","SorterLabel CustomRadioButton"),_(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){h(e,t,i),d(t,n),d(n,r),d(n,a),d(n,o),d(n,s),d(n,l),d(l,c),d(t,u),f||(g=w(r,"click",x),f=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&i!==(i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=i)},d(e){e&&m(t),f=!1,g()}}}function wi(t){let n;function r(e,t){if(!/*isLoading*/e[2])return vi}let i=r(t),a=i&&i(t);return{c(){n=p("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
|
@@ -1377,19 +1377,19 @@ return e[25]?na:ta}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(
|
|
1377
1377
|
function Ci(e){let t;function n(e,t){/*filteresPresent*/
|
1378
1378
|
return e[30]?oa:aa}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r!==(r=n(e))&&(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
1379
1379
|
// (724:39)
|
1380
|
-
function Ti(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[14]&&
|
1381
|
-
return e[21]&&!/*isLazyLoading*/e[32]?Ai:/*favoriteGamesData*/e[38]?$i:
|
1382
|
-
/*ul_binding_1*/e[58](r)},p(e,c){/*casinomygames*/"true"!==e[14]?a?a.p(e,c):(a=
|
1380
|
+
function Ti(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[14]&&Li(e);function o(e,t){/*isLoading*/
|
1381
|
+
return e[21]&&!/*isLazyLoading*/e[32]?Ai:/*favoriteGamesData*/e[38]?$i:Gi}let s=o(e),l=s(e);return{c(){t=p("div"),a&&a.c(),n=v(),r=p("ul"),l.c(),_(r,"class",i=/*favoriteGamesData*/(0!=e[38].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(t,"class","CasinoGamesContainer")},m(i,o){h(i,t,o),a&&a.m(t,null),d(t,n),d(t,r),l.m(r,null),
|
1382
|
+
/*ul_binding_1*/e[58](r)},p(e,c){/*casinomygames*/"true"!==e[14]?a?a.p(e,c):(a=Li(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),s===(s=o(e))&&l?l.p(e,c):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/128&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[38].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(r,"class",i)},d(n){n&&m(t),a&&a.d(),l.d(),
|
1383
1383
|
/*ul_binding_1*/e[58](null)}}}
|
1384
1384
|
// (638:8) {#if categoryData}
|
1385
1385
|
function Mi(e){let t,n,r=/*casinomygames*/"true"!==e[14]&&Yi(e);function i(e,t){/*isLoading*/
|
1386
1386
|
return e[21]&&!/*isLazyLoading*/e[32]?Xi:/*shownCategoryData*/0!==e[25].length?Ki:Zi}let a=i(e),o=a(e);return{c(){t=p("div"),r&&r.c(),n=v(),o.c(),_(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[14]?r?r.p(e,s):(r=Yi(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o.d(1),o=a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&m(t),r&&r.d(),o.d()}}}
|
1387
1387
|
// (726:14) {#if casinomygames !== 'true'}
|
1388
|
-
function
|
1388
|
+
function Li(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[39]("favorites")+"",u=/*favoriteGamesData*/e[38].items.length+"";return{c(){t=p("div"),n=p("h3"),r=y(c),i=v(),a=p("span"),o=y("("),s=y(u),l=y(")"),_(a,"class","CategoryFavName"),_(n,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(a,o),d(a,s),d(a,l),
|
1389
1389
|
/*h3_binding_1*/e[57](n)},p(e,t){/*$_*/256&t[1]&&c!==(c=/*$_*/e[39]("favorites")+"")&&S(r,c),/*favoriteGamesData*/128&t[1]&&u!==(u=/*favoriteGamesData*/e[38].items.length+"")&&S(s,u)},d(n){n&&m(t)
|
1390
1390
|
/*h3_binding_1*/,e[57](null)}}}
|
1391
1391
|
// (829:18) {:else}
|
1392
|
-
function
|
1392
|
+
function Gi(e){let t,n,r=/*$_*/e[39]("waiting")+"";return{c(){t=p("p"),n=y(r)},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("waiting")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1393
1393
|
// (739:18) {#if favoriteGamesData}
|
1394
1394
|
function $i(e){let t,n=/*favoriteGamesData*/e[38].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=Ui(xi(e,n,t));let i=null;return n.length||(i=Ii(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/16378&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/2032&a[1]){let o;for(n=/*favoriteGamesData*/e[38].items,o=0;o<n.length;o+=1){const i=xi(e,n,o);r[o]?r[o].p(i,a):(r[o]=Ui(i),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Ii(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
|
1395
1395
|
// (736:16) {#if isLoading && !isLazyLoading}
|
@@ -1459,7 +1459,7 @@ function aa(e){let t;return{c(){t=p("p"),t.textContent="500 Error - Internal Ser
|
|
1459
1459
|
function oa(e){let t;return{c(){t=p("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}function sa(t){let n;function r(e,t){/*hasErrors*/
|
1460
1460
|
return e[22]?Ci:/*searched*/e[27]?ki:Ei}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoGamesCategorySectionContainer")},m(e,r){h(e,n,r),a.m(n,null),
|
1461
1461
|
/*div_binding*/t[59](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a.d(),
|
1462
|
-
/*div_binding*/t[59](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},_i,wi,a,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),R()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),R()}});const la="game-tile-";function ca(e,t,n){let r;u(e,vr,(e=>n(39,r=e)));let i,a,o,s,l,c,d,h,m,f,{categoryindex:p=""}=t,{endpoint:g=""}=t,{datasource:y=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:w=""}=t,{favorites:_=""}=t,{clientstyling:x=""}=t,{clientstylingurl:S=""}=t,{translationurl:F=""}=t,{currency:E=""}=t,{categoryid:k=""}=t,{categorygames:T=0}=t,{livecasino:
|
1462
|
+
/*div_binding*/t[59](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},_i,wi,a,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),R()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),R()}});const la="game-tile-";function ca(e,t,n){let r;u(e,vr,(e=>n(39,r=e)));let i,a,o,s,l,c,d,h,m,f,{categoryindex:p=""}=t,{endpoint:g=""}=t,{datasource:y=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:w=""}=t,{favorites:_=""}=t,{clientstyling:x=""}=t,{clientstylingurl:S=""}=t,{translationurl:F=""}=t,{currency:E=""}=t,{categoryid:k=""}=t,{categorygames:T=0}=t,{livecasino:L="false"}=t,{visiblegames:G=""}=t,{gamepagemodalurl:$="false"}=t,{integratedgameframedesktop:A="false"}=t,{integratedgameframemobile:I="false"}=t,{casinomygames:D="false"}=t,{addfilterselector:P="false"}=t,{addsortingselector:O="false"}=t,{filterbylogo:N=""}=t,{casinogamesgridslider:R="false"}=t,{once:H=!0}=t,{top:B=0}=t,{bottom:U=0}=t,{left:Y=0}=t,{right:z=0}=t,j=!0,V=!1,W=!0,Z=window.navigator.userAgent,K=[],X=!0,J=40,q=!1,Q=!1,ee=!1,te=!1,ne=!1,re=!0,ie=!1,ae=!1,oe=!1,se=new Array(1e4),le={},ce="",ue="",de={items:[],count:0,name:""};Object.keys(Fr).forEach((e=>{Sr(e,Fr[e])})),void 0!==document.hidden?
|
1463
1463
|
// Opera 12.10 and Firefox 18 and later support
|
1464
1464
|
m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
|
1465
1465
|
// IntersectionObserver used for loading more games
|
@@ -1485,17 +1485,17 @@ return br(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
|
|
1485
1485
|
*/
|
1486
1486
|
o.games.items.length>K.length&&(n(25,K=o.games.items),K.forEach((e=>{e.isFavorite=ge(e.id)}))),n(32,ie=!1)}))},ge=e=>!!d&&-1!==d.findIndex((t=>t.id==e)),ye=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};
|
1487
1487
|
// @TODO categoryId type
|
1488
|
-
C((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(37,ce="disconnect"):n(37,ce="connect")})),window.addEventListener("message",fe,!1),"FAVORITES"===k&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",fe),window.removeEventListener("visibilitychange",fe)})));return e.$$set=e=>{"categoryindex"in e&&n(43,p=e.categoryindex),"endpoint"in e&&n(1,g=e.endpoint),"datasource"in e&&n(2,y=e.datasource),"lang"in e&&n(3,v=e.lang),"session"in e&&n(4,b=e.session),"userid"in e&&n(5,w=e.userid),"favorites"in e&&n(6,_=e.favorites),"clientstyling"in e&&n(7,x=e.clientstyling),"clientstylingurl"in e&&n(8,S=e.clientstylingurl),"translationurl"in e&&n(44,F=e.translationurl),"currency"in e&&n(9,E=e.currency),"categoryid"in e&&n(0,k=e.categoryid),"categorygames"in e&&n(45,T=e.categorygames),"livecasino"in e&&n(10,
|
1488
|
+
C((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(37,ce="disconnect"):n(37,ce="connect")})),window.addEventListener("message",fe,!1),"FAVORITES"===k&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",fe),window.removeEventListener("visibilitychange",fe)})));return e.$$set=e=>{"categoryindex"in e&&n(43,p=e.categoryindex),"endpoint"in e&&n(1,g=e.endpoint),"datasource"in e&&n(2,y=e.datasource),"lang"in e&&n(3,v=e.lang),"session"in e&&n(4,b=e.session),"userid"in e&&n(5,w=e.userid),"favorites"in e&&n(6,_=e.favorites),"clientstyling"in e&&n(7,x=e.clientstyling),"clientstylingurl"in e&&n(8,S=e.clientstylingurl),"translationurl"in e&&n(44,F=e.translationurl),"currency"in e&&n(9,E=e.currency),"categoryid"in e&&n(0,k=e.categoryid),"categorygames"in e&&n(45,T=e.categorygames),"livecasino"in e&&n(10,L=e.livecasino),"visiblegames"in e&&n(46,G=e.visiblegames),"gamepagemodalurl"in e&&n(11,$=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(12,A=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,I=e.integratedgameframemobile),"casinomygames"in e&&n(14,D=e.casinomygames),"addfilterselector"in e&&n(15,P=e.addfilterselector),"addsortingselector"in e&&n(16,O=e.addsortingselector),"filterbylogo"in e&&n(17,N=e.filterbylogo),"casinogamesgridslider"in e&&n(18,R=e.casinogamesgridslider),"once"in e&&n(47,H=e.once),"top"in e&&n(48,B=e.top),"bottom"in e&&n(49,U=e.bottom),"left"in e&&n(50,Y=e.left),"right"in e&&n(51,z=e.right)},e.$$.update=()=>{/*thumbnailContainer*/1048576&e.$$.dirty[0]|/*dataloaded*/2097152&e.$$.dirty[1]&&f&&se&&oe&&se.forEach(((e,t)=>{e&&(
|
1489
1489
|
// Hack to make sure that I can identify the thumbnail index
|
1490
1490
|
e.elems_index=t,he.observe(e))})),/*lang, categoryid*/9&e.$$.dirty[0]&&v&&k&&(()=>{
|
1491
1491
|
// showFavGamesCategory vs categoryData
|
1492
1492
|
// favoriteGamesData vs shownCategoryData
|
1493
|
-
switch(k){case"FAVORITES":n(35,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===D&&n(35,ae=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Sr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/524416&e.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/524544&e.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[k,g,y,v,b,w,_,x,S,E,
|
1493
|
+
switch(k){case"FAVORITES":n(35,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===D&&n(35,ae=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Sr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/524416&e.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/524544&e.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[k,g,y,v,b,w,_,x,S,E,L,$,A,I,D,P,O,N,R,h,se,j,V,W,o,K,X,q,Q,te,ne,re,ie,s,c,ae,le,ce,de,r,Z,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Er(l).diff(i)<r&&(r=Er(l).diff(i),t=o),Er(i).isAfter(s)&&Er(i).isBefore(l)&&(n=e[t].name)})),n},ye,p,F,T,G,H,B,U,Y,z,f,function(e){M[e?"unshift":"push"]((()=>{c=e,n(34,c)}))},e=>ye(o.id),function(e,t){M[e?"unshift":"push"]((()=>{se[t]=e,n(20,se)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(33,s)}))},function(e){M[e?"unshift":"push"]((()=>{c=e,n(34,c)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(33,s)}))},function(e){M[e?"unshift":"push"]((()=>{h=e,n(19,h)}))}]}
|
1494
1494
|
/* src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */
|
1495
1495
|
function ua(e){let t;return{c(){t=p("casino-games-category-section"),x(t,"session",/*session*/e[4]),x(t,"userid",/*userid*/e[5]),x(t,"endpoint",/*endpoint*/e[0]),x(t,"datasource",/*datasource*/e[1]),x(t,"lang",/*lang*/e[3]),x(t,"currency",/*currency*/e[2]),x(t,"favorites",/*favorites*/e[13]),x(t,"categoryid","MOSTPLAYED"),x(t,"categoryindex","1"),x(t,"categorygames","9"),x(t,"class","CategoryContainer"),x(t,"clientstyling",/*clientstyling*/e[6]),x(t,"clientstylingurl",/*clientstylingurl*/e[7]),x(t,"livecasino",/*livecasino*/e[8]),x(t,"visiblegames",/*visiblegames*/e[12]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),x(t,"casinomygames",/*casinomygames*/e[14])},m(e,n){h(e,t,n)},p(e,n){/*session*/16&n[0]&&x(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&x(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&x(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&x(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&x(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&x(t,"currency",/*currency*/e[2]),/*favorites*/8192&n[0]&&x(t,"favorites",/*favorites*/e[13]),/*clientstyling*/64&n[0]&&x(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&x(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/4096&n[0]&&x(t,"visiblegames",/*visiblegames*/e[12]),/*gamepagemodalurl*/2048&n[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/16384&n[0]&&x(t,"casinomygames",/*casinomygames*/e[14])},d(e){e&&m(t)}}}
|
1496
1496
|
// (152:4) {#if mostPlayedEmpty}
|
1497
1497
|
function da(e){let t,n,r=/*$_*/e[17]("noGames")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/131072&t[0]&&r!==(r=/*$_*/e[17]("noGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function ha(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
1498
1498
|
return e[16]?da:ua}let a=i(t),o=a(t);return{c(){n=p("div"),r=p("div"),o.c(),this.c=e,_(r,"class","casino-most-played-section"),_(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),o.m(r,null),
|
1499
1499
|
/*div1_binding*/t[22](n)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:e,o:e,d(e){e&&m(n),o.d(),
|
1500
|
-
/*div1_binding*/t[22](null)}}}function ma(e,t,n){let r;u(e,vr,(e=>n(17,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,F=window.navigator.userAgent;Object.keys(xr).forEach((e=>{_r(e,xr[e])}));let E,k,C=[],T=!1;const G=()=>{(e=>{let t=new URL(`${i}/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x);let n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),E=m?t:t.href,new Promise(((e,t)=>{fetch(E).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:wr(F),rounds:S}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{C=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(C=C.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:C},window.location.href)}))}else n(16,T=!0)}))},L=()=>{var e;e=s,or.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(18,b=e.lastPlayedEmpty),"translationurl"in e&&n(19,w=e.translationurl),"casinomygames"in e&&n(14,_=e.casinomygames),"mostplayedperiod"in e&&n(20,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(21,S=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&G(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty[0]&&d&&k&&(()=>{let e=document.createElement("style");e.innerHTML=d,k.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty[0]&&h&&k&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{k.appendChild(e)}),1)}))})(),/*translationurl*/524288&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,d,h,m,f,p,g,y,v,_,k,T,r,b,w,x,S,function(e){M[e?"unshift":"push"]((()=>{k=e,n(15,k)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ca,sa,a,{categoryindex:43,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:44,currency:9,categoryid:0,categorygames:45,livecasino:10,visiblegames:46,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,casinogamesgridslider:18,once:47,top:48,bottom:49,left:50,right:51},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[43]}set categoryindex(e){this.$$set({categoryindex:e}),R()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),R()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),R()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),R()}get categorygames(){return this.$$.ctx[45]}set categorygames(e){this.$$set({categorygames:e}),R()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),R()}get visiblegames(){return this.$$.ctx[46]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}get casinogamesgridslider(){return this.$$.ctx[18]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),R()}get once(){return this.$$.ctx[47]}set once(e){this.$$set({once:e}),R()}get top(){return this.$$.ctx[48]}set top(e){this.$$set({top:e}),R()}get bottom(){return this.$$.ctx[49]}set bottom(e){this.$$set({bottom:e}),R()}get left(){return this.$$.ctx[50]}set left(e){this.$$set({left:e}),R()}get right(){return this.$$.ctx[51]}set right(e){this.$$set({right:e}),R()}});class fa extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-dunkel, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ma,ha,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:18,translationurl:19,casinomygames:14,mostplayedperiod:20,mostplayedrounds:21},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),R()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),R()}get lastPlayedEmpty(){return this.$$.ctx[18]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),R()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),R()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),R()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",fa),fa}));
|
1500
|
+
/*div1_binding*/t[22](null)}}}function ma(e,t,n){let r;u(e,vr,(e=>n(17,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,F=window.navigator.userAgent;Object.keys(xr).forEach((e=>{_r(e,xr[e])}));let E,k,C=[],T=!1;const L=()=>{(e=>{let t=new URL(`${i}/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x);let n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),E=m?t:t.href,new Promise(((e,t)=>{fetch(E).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:wr(F),rounds:S}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{C=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(C=C.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:C},window.location.href)}))}else n(16,T=!0)}))},G=()=>{var e;e=s,or.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(18,b=e.lastPlayedEmpty),"translationurl"in e&&n(19,w=e.translationurl),"casinomygames"in e&&n(14,_=e.casinomygames),"mostplayedperiod"in e&&n(20,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(21,S=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&L(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty[0]&&d&&k&&(()=>{let e=document.createElement("style");e.innerHTML=d,k.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty[0]&&h&&k&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{k.appendChild(e)}),1)}))})(),/*translationurl*/524288&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&G()},[i,a,o,s,l,c,d,h,m,f,p,g,y,v,_,k,T,r,b,w,x,S,function(e){M[e?"unshift":"push"]((()=>{k=e,n(15,k)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ca,sa,a,{categoryindex:43,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:44,currency:9,categoryid:0,categorygames:45,livecasino:10,visiblegames:46,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,casinogamesgridslider:18,once:47,top:48,bottom:49,left:50,right:51},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[43]}set categoryindex(e){this.$$set({categoryindex:e}),R()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),R()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),R()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),R()}get categorygames(){return this.$$.ctx[45]}set categorygames(e){this.$$set({categorygames:e}),R()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),R()}get visiblegames(){return this.$$.ctx[46]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}get casinogamesgridslider(){return this.$$.ctx[18]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),R()}get once(){return this.$$.ctx[47]}set once(e){this.$$set({once:e}),R()}get top(){return this.$$.ctx[48]}set top(e){this.$$set({top:e}),R()}get bottom(){return this.$$.ctx[49]}set bottom(e){this.$$set({bottom:e}),R()}get left(){return this.$$.ctx[50]}set left(e){this.$$set({left:e}),R()}get right(){return this.$$.ctx[51]}set right(e){this.$$set({right:e}),R()}});class fa extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-dunkel, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ma,ha,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:18,translationurl:19,casinomygames:14,mostplayedperiod:20,mostplayedrounds:21},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),R()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),R()}get lastPlayedEmpty(){return this.$$.ctx[18]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),R()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),R()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),R()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",fa),fa}));
|
1501
1501
|
//# sourceMappingURL=casino-most-played-section.js.map
|