@everymatrix/casino-most-played-section 1.39.0 → 1.39.1

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 G(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const T=[],M=[];let $=[];const L=[],I=Promise.resolve();let D=!1;function A(){D||(D=!0,I.then(H))}function O(){return A(),I}function N(e){$.push(e)}
11
+ function G(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const T=[],M=[];let $=[];const L=[],I=Promise.resolve();let A=!1;function D(){A||(A=!0,I.then(H))}function O(){return D(),I}function N(e){$.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.
@@ -43,7 +43,7 @@ throw T.length=0,R=0,e}for(E(null),T.length=0,R=0;M.length;)M.pop()();
43
43
  // subsequent updates...
44
44
  for(let e=0;e<$.length;e+=1){const t=$[e];P.has(t)||(
45
45
  // ...so guard against infinite loops
46
- P.add(t),t())}$.length=0}while(T.length);for(;L.length;)L.pop()();D=!1,P.clear(),E(e)}function B(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(N)}}
46
+ P.add(t),t())}$.length=0}while(T.length);for(;L.length;)L.pop()();A=!1,P.clear(),E(e)}function B(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(N)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
49
  */const U=new Set;function Y(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];$.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),$=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
@@ -55,7 +55,7 @@ props:d,update:e,not_equal:u,bound:n(),
55
55
  // lifecycle
56
56
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(o.context||(p?p.$$.context:[])),
57
57
  // everything else
58
- callbacks:n(),dirty:f,skip_bound:!1,root:o.target||p.$$.root};h&&h(g.root);let y=!1;if(g.ctx=l?l(a,o.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&u(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),y&&function(e,t){-1===e.$$.dirty[0]&&(T.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(a,e)),t})):[],g.update(),y=!0,r(g.before_update),
58
+ callbacks:n(),dirty:f,skip_bound:!1,root:o.target||p.$$.root};h&&h(g.root);let y=!1;if(g.ctx=l?l(a,o.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&u(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),y&&function(e,t){-1===e.$$.dirty[0]&&(T.push(e),D(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(a,e)),t})):[],g.update(),y=!0,r(g.before_update),
59
59
  // `false` as a special case of no DOM component
60
60
  g.fragment=!!c&&c(g.ctx),o.target){if(o.hydrate){const e=function(e){return Array.from(e.childNodes)}(o.target);
61
61
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
@@ -131,7 +131,7 @@ self.fetch.bind(self);
131
131
  PERFORMANCE OF THIS SOFTWARE.
132
132
  ***************************************************************************** */
133
133
  /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
134
- var ye=function(e,t){return ye=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])},ye(e,t)};function ve(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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(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 we(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 _e(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 xe(e){return"function"==typeof e}function Se(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 Fe=Se((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 ke(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ce=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=be(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(xe(l))try{l()}catch(e){i=e instanceof Fe?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=be(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Te(h)}catch(e){i=null!=i?i:[],e instanceof Fe?i=_e(_e([],we(i)),we(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 Fe(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)&&ke(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&ke(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ee=Ce.EMPTY;function Ge(e){return e instanceof Ce||e&&"closed"in e&&xe(e.remove)&&xe(e.add)&&xe(e.unsubscribe)}function Te(e){xe(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$e={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=$e.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],we(n))):setTimeout.apply(void 0,_e([e,t],we(n)))},clearTimeout:function(e){var t=$e.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Le(){}var Ie=null;function De(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,i=n.error;if(Ie=null,r)throw i}}else e()}var Ae=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ge(t)&&t.add(n)):n.destination=Be,n}return ve(t,e),t.create=function(e,t,n){return new Re(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}(Ce),Oe=Function.prototype.bind;function Ne(e,t){return Oe.call(e,t)}var Pe=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){He(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){He(e)}else He(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){He(e)}},e}(),Re=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;xe(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&&Ne(t.next,a),error:t.error&&Ne(t.error,a),complete:t.complete&&Ne(t.complete,a)}):i=t;return o.destination=new Pe(i),o}return ve(t,e),t}(Ae);function He(e){var t;t=e,$e.setTimeout((function(){throw t}))}var Be={closed:!0,next:Le,error:function(e){throw e},complete:Le},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var ze=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 Ae||function(e){return e&&xe(e.next)&&xe(e.error)&&xe(e.complete)}(r)&&Ge(r)?e:new Re(e,t,n);return De((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=je(t))((function(t,r){var i=new Re({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[Ue]=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?Ye: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=je(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 je(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var We=Se((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 ve(t,e),t.prototype.lift=function(e){var t=new Ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;De((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=be(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;De((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;De((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?Ee:(this.currentObservers=null,a.push(e),new Ce((function(){t.currentObservers=null,ke(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 ze;return e.source=this,e},t.create=function(e,t){return new Ze(e,t)},t}(ze),Ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ve(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:Ee},t}(Ve),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ke);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 ve(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 Je=[],qe={};
134
+ var ye=function(e,t){return ye=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])},ye(e,t)};function ve(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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(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 we(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 _e(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 xe(e){return"function"==typeof e}function Se(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 Fe=Se((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 ke(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ce=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=be(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(xe(l))try{l()}catch(e){i=e instanceof Fe?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=be(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Te(h)}catch(e){i=null!=i?i:[],e instanceof Fe?i=_e(_e([],we(i)),we(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 Fe(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)&&ke(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&ke(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ee=Ce.EMPTY;function Ge(e){return e instanceof Ce||e&&"closed"in e&&xe(e.remove)&&xe(e.add)&&xe(e.unsubscribe)}function Te(e){xe(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$e={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=$e.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],we(n))):setTimeout.apply(void 0,_e([e,t],we(n)))},clearTimeout:function(e){var t=$e.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Le(){}var Ie=null;function Ae(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,i=n.error;if(Ie=null,r)throw i}}else e()}var De=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ge(t)&&t.add(n)):n.destination=Be,n}return ve(t,e),t.create=function(e,t,n){return new Re(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}(Ce),Oe=Function.prototype.bind;function Ne(e,t){return Oe.call(e,t)}var Pe=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){He(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){He(e)}else He(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){He(e)}},e}(),Re=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;xe(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&&Ne(t.next,a),error:t.error&&Ne(t.error,a),complete:t.complete&&Ne(t.complete,a)}):i=t;return o.destination=new Pe(i),o}return ve(t,e),t}(De);function He(e){var t;t=e,$e.setTimeout((function(){throw t}))}var Be={closed:!0,next:Le,error:function(e){throw e},complete:Le},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var ze=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 De||function(e){return e&&xe(e.next)&&xe(e.error)&&xe(e.complete)}(r)&&Ge(r)?e:new Re(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=je(t))((function(t,r){var i=new Re({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[Ue]=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?Ye: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=je(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 je(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var We=Se((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 ve(t,e),t.prototype.lift=function(e){var t=new Ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},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=be(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?Ee:(this.currentObservers=null,a.push(e),new Ce((function(){t.currentObservers=null,ke(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 ze;return e.source=this,e},t.create=function(e,t){return new Ze(e,t)},t}(ze),Ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ve(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:Ee},t}(Ve),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ke);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 ve(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 Je=[],qe={};
135
135
  /**
136
136
  * @name topic
137
137
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -313,7 +313,7 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
313
313
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
314
314
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
315
315
  // @generated from regex-gen.ts
316
- var Lt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Dt=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Nt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Dt,(function(e,n,r){
316
+ var Lt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Nt(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){
317
317
  // @@@ case
318
318
  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 Pt(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 Rt(e){
319
319
  // Engineering
@@ -324,7 +324,7 @@ var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===
324
324
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
325
325
  case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
326
326
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
327
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,(function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}
327
+ case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Dt,(function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}
328
328
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
329
329
  if(Ot.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(It.test(i.stem)){
330
330
  // Precision
@@ -336,7 +336,7 @@ return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDi
336
336
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
337
337
  "w"===a?t=gt(gt({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=gt(gt({},t),Nt(a)))}
338
338
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
339
- else if(Dt.test(i.stem))t=gt(gt({},t),Nt(i.stem));else{var o=Pt(i.stem);o&&(t=gt(gt({},t),o));var s=Rt(i.stem);s&&(t=gt(gt({},t),s))}}return t}
339
+ else if(At.test(i.stem))t=gt(gt({},t),Nt(i.stem));else{var o=Pt(i.stem);o&&(t=gt(gt({},t),o));var s=Rt(i.stem);s&&(t=gt(gt({},t),s))}}return t}
340
340
  // @generated from time-data-gen.ts
341
341
  // prettier-ignore
342
342
  var Ut,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
@@ -605,7 +605,7 @@ e.INVALID_VALUE="INVALID_VALUE",
605
605
  // When we need specific Intl API but it's not available
606
606
  e.MISSING_INTL_API="MISSING_INTL_API"}(kn||(kn={}));var Gn,Tn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mn=/** @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('", "'),'"'),kn.INVALID_VALUE,i)||this}return ht(t,e),t}(Tn),$n=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),kn.INVALID_VALUE,r)||this}return ht(t,e),t}(Tn),Ln=/** @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,'"'),kn.MISSING_VALUE,n)||this}return ht(t,e),t}(Tn);function In(e){return"function"==typeof e}
607
607
  // TODO(skeleton): add skeleton support
608
- function Dn(e,t,n,r,i,a,
608
+ function An(e,t,n,r,i,a,
609
609
  // For debugging
610
610
  o){
611
611
  // Hot path for straight simple msg translations
@@ -620,23 +620,23 @@ if(!i||!(d in i))throw new Ln(d,o);var h=i[d];if(bt(u))h&&"string"!=typeof h&&"n
620
620
  // Recursively format plural and select parts' option — which can be a
621
621
  // nested pattern structure. The choosing of the option to use is
622
622
  // abstracted-by and delegated-to the part helper object.
623
- if(_t(u)){var m="string"==typeof u.style?r.date[u.style]:Gt(u.style)?u.style.parsedOptions:void 0;s.push({type:Gn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(xt(u)){m="string"==typeof u.style?r.time[u.style]:Gt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Gn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(wt(u)){(m="string"==typeof u.style?r.number[u.style]:Et(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Gn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Ct(u)){var f=u.children,p=u.value,g=i[p];if(!In(g))throw new $n(p,"function",o);var y=g(Dn(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?Gn.literal:Gn.object,value:e}})))}if(St(u)){if(!(v=u.options[h]||u.options.other))throw new Mn(u.value,h,Object.keys(u.options),o);s.push.apply(s,Dn(v.value,t,n,r,i))}else if(Ft(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',kn.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 Mn(u.value,h,Object.keys(u.options),o);s.push.apply(s,Dn(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===Gn.literal&&t.type===Gn.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
623
+ if(_t(u)){var m="string"==typeof u.style?r.date[u.style]:Gt(u.style)?u.style.parsedOptions:void 0;s.push({type:Gn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(xt(u)){m="string"==typeof u.style?r.time[u.style]:Gt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Gn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(wt(u)){(m="string"==typeof u.style?r.number[u.style]:Et(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Gn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Ct(u)){var f=u.children,p=u.value,g=i[p];if(!In(g))throw new $n(p,"function",o);var y=g(An(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?Gn.literal:Gn.object,value:e}})))}if(St(u)){if(!(v=u.options[h]||u.options.other))throw new Mn(u.value,h,Object.keys(u.options),o);s.push.apply(s,An(v.value,t,n,r,i))}else if(Ft(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',kn.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 Mn(u.value,h,Object.keys(u.options),o);s.push.apply(s,An(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===Gn.literal&&t.type===Gn.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
624
624
  /*
625
625
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
626
626
  Copyrights licensed under the New BSD License.
627
627
  See the accompanying LICENSE file for terms.
628
628
  */
629
629
  // -- MessageFormat --------------------------------------------------------
630
- function An(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?gt(gt(gt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=gt(gt({},i[t]),a[t]||{}),e}),{})):i),n}),gt({},e)):e}function On(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Gn||(Gn={}));var Nn=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
630
+ function Dn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?gt(gt(gt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=gt(gt({},i[t]),a[t]||{}),e}),{})):i),n}),gt({},e)):e}function On(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Gn||(Gn={}));var Nn=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
631
631
  // Hot path for straight simple msg translations
632
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Gn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Dn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},
632
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Gn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return An(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},
633
633
  // Defined first because it's used to build the format pattern.
634
634
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
635
635
  // Parse string messages into an AST.
636
636
  this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
637
637
  // Creates a new object with the specified `formats` merged with the default
638
638
  // formats.
639
- this.formats=An(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.number),strategy:En.variadic}),getDateTimeFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.dateTime),strategy:En.variadic}),getPluralRules:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.pluralRules),strategy:En.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=yn,
639
+ this.formats=Dn(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.number),strategy:En.variadic}),getDateTimeFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.dateTime),strategy:En.variadic}),getPluralRules:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.pluralRules),strategy:En.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=yn,
640
640
  // Default format options used as the prototype of the `formats` provided to the
641
641
  // constructor. These are used when constructing the internal Intl.NumberFormat
642
642
  // and Intl.DateTimeFormat instances.
@@ -649,7 +649,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
649
649
  * @param {String} userAgent window.navigator.userAgent
650
650
  * @returns {Boolean} true or false
651
651
  */
652
- const Dr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Ar=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
652
+ const Ar=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Dr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
653
653
  /**
654
654
  * @name getDevice
655
655
  * @description A method that returns the type of the device
@@ -677,12 +677,12 @@ function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
677
677
  // TODO: Remove "ordinalParse" fallback in next major release.
678
678
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function $(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])&&(
679
679
  // make sure changes to properties don't modify parent config
680
- r[n]=m({},r[n]));return r}function L(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var I={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function D(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return T(r)?r.call(t,n):r}function A(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 O=/(\[[^\[]*\])|(\\)?([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,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};
680
+ r[n]=m({},r[n]));return r}function L(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var I={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return T(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 O=/(\[[^\[]*\])|(\\)?([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,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};
681
681
  // token: 'M'
682
682
  // padded: ['MM', 2]
683
683
  // ordinal: 'Mo'
684
684
  // callback: function () { this.month() + 1 }
685
- function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(R[e]=i),t&&(R[t[0]]=function(){return A(i.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(O);for(t=0,n=r.length;t<n;t++)R[r[t]]?r[t]=R[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=T(r[i])?r[i].call(t,e):r[i];return a}}
685
+ function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(R[e]=i),t&&(R[t[0]]=function(){return D(i.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(O);for(t=0,n=r.length;t<n;t++)R[r[t]]?r[t]=R[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=T(r[i])?r[i].call(t,e):r[i];return a}}
686
686
  // format date using native date object
687
687
  function Y(e,t){return e.isValid()?(t=z(t,e.localeData()),P[t]=P[t]||U(t),P[t](e)):e.localeData().invalidDate()}function z(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;n>=0&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,n-=1;return e}var j={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function Z(){return this._invalidDate}var K="%d",X=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return T(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)s(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var ie={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ae(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var// 0-99
688
688
  oe,se=/\d/,// 0 - 9
@@ -706,14 +706,14 @@ Se=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
706
706
  Fe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ke=/^[1-9]\d?/,// 1-99
707
707
  Ce=/^([1-9]\d|\d)/;function Ee(e,t,n){oe[e]=T(t)?t:function(e,r){return e&&n?n:t}}function Ge(e,t){return s(oe,e)?oe[e](t._strict,t._locale):new RegExp(Te(e))}
708
708
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
709
- function Te(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function $e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$e(t)),n}oe={};var Ie={};function De(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=Le(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=i}function Ae(e,t){De(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Oe(e,t,n){null!=t&&s(Ie,e)&&Ie[e](t,n._a,n,e)}function Ne(e){return e%4==0&&e%100!=0||e%400==0}var Pe=0,Re=1,He=2,Be=3,Ue=4,Ye=5,ze=6,je=7,We=8;
709
+ function Te(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function $e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$e(t)),n}oe={};var Ie={};function Ae(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=Le(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=i}function De(e,t){Ae(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Oe(e,t,n){null!=t&&s(Ie,e)&&Ie[e](t,n._a,n,e)}function Ne(e){return e%4==0&&e%100!=0||e%400==0}var Pe=0,Re=1,He=2,Be=3,Ue=4,Ye=5,ze=6,je=7,We=8;
710
710
  // FORMATTING
711
711
  // HELPERS
712
712
  function Ve(e){return Ne(e)?366:365}
713
713
  // HOOKS
714
- H("Y",0,0,(function(){var e=this.year();return e<=9999?A(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),
714
+ H("Y",0,0,(function(){var e=this.year();return e<=9999?D(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),
715
715
  // PARSING
716
- Ee("Y",we),Ee("YY",he,le),Ee("YYYY",ye,ue),Ee("YYYYY",ve,de),Ee("YYYYYY",ve,de),De(["YYYYY","YYYYYY"],Pe),De("YYYY",(function(e,t){t[Pe]=2===e.length?r.parseTwoDigitYear(e):Le(e)})),De("YY",(function(e,t){t[Pe]=r.parseTwoDigitYear(e)})),De("Y",(function(e,t){t[Pe]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Le(e)+(Le(e)>68?1900:2e3)};
716
+ Ee("Y",we),Ee("YY",he,le),Ee("YYYY",ye,ue),Ee("YYYYY",ve,de),Ee("YYYYYY",ve,de),Ae(["YYYYY","YYYYYY"],Pe),Ae("YYYY",(function(e,t){t[Pe]=2===e.length?r.parseTwoDigitYear(e):Le(e)})),Ae("YY",(function(e,t){t[Pe]=r.parseTwoDigitYear(e)})),Ae("Y",(function(e,t){t[Pe]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Le(e)+(Le(e)>68?1900:2e3)};
717
717
  // MOMENTS
718
718
  var Ze,Ke=Je("FullYear",!0);function Xe(){return Ne(this.year())}function Je(e,t){return function(n){return null!=n?(Qe(this,e,n),r.updateOffset(this,t),this):qe(this,e)}}function qe(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN;// Just in case
719
719
  }}function Qe(e,t,n){var r,i,a,o,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));
@@ -731,7 +731,7 @@ Ze=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
731
731
  // I know
732
732
  var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
733
733
  // PARSING
734
- Ee("M",he,ke),Ee("MM",he,le),Ee("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ee("MMMM",(function(e,t){return t.monthsRegex(e)})),De(["M","MM"],(function(e,t){t[Re]=Le(e)-1})),De(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
734
+ Ee("M",he,ke),Ee("MM",he,le),Ee("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ee("MMMM",(function(e,t){return t.monthsRegex(e)})),Ae(["M","MM"],(function(e,t){t[Re]=Le(e)-1})),Ae(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
735
735
  // if we didn't find a month name, mark the date as invalid.
736
736
  null!=i?t[Re]=i:g(n).invalidMonth=e}));
737
737
  // LOCALES
@@ -778,7 +778,7 @@ function xt(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+_t(e,r,i);return s<=0?o=Ve(
778
778
  // LOCALES
779
779
  function kt(e){return St(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),
780
780
  // PARSING
781
- Ee("w",he,ke),Ee("ww",he,le),Ee("W",he,ke),Ee("WW",he,le),Ae(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Le(e)}));var Ct={dow:0,// Sunday is the first day of the week.
781
+ Ee("w",he,ke),Ee("ww",he,le),Ee("W",he,ke),Ee("WW",he,le),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Le(e)}));var Ct={dow:0,// Sunday is the first day of the week.
782
782
  doy:6};function Et(){return this._week.dow}function Gt(){return this._week.doy}
783
783
  // MOMENTS
784
784
  function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Mt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
@@ -788,9 +788,9 @@ function $t(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekda
788
788
  // LOCALES
789
789
  function It(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"),
790
790
  // PARSING
791
- Ee("d",he),Ee("e",he),Ee("E",he),Ee("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ee("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ee("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ae(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
791
+ Ee("d",he),Ee("e",he),Ee("E",he),Ee("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ee("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ee("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
792
792
  // if we didn't get a weekday name, mark the date as invalid
793
- null!=i?t.d=i:g(n).invalidWeekday=e})),Ae(["d","e","E"],(function(e,t,n,r){t[r]=Le(e)}));var Dt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ot="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nt=Fe,Pt=Fe,Rt=Fe;function Ht(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?It(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?It(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?It(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._shortWeekdaysParse,o))||-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,o))||-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,o))||-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._shortWeekdaysParse,o))?i:null}function zt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
793
+ null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=Le(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ot="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nt=Fe,Pt=Fe,Rt=Fe;function Ht(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?It(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?It(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?It(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._shortWeekdaysParse,o))||-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,o))||-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,o))||-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._shortWeekdaysParse,o))?i:null}function zt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
794
794
  // test the regex
795
795
  if(
796
796
  // make the regex if we don't have it already
@@ -814,12 +814,12 @@ function tn(e,t){return t._meridiemParse}
814
814
  function nn(e){
815
815
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
816
816
  // Using charAt should be more compatible.
817
- return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Qt),H("hmm",0,0,(function(){return""+qt.apply(this)+A(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),en("a",!0),en("A",!1),Ee("a",tn),Ee("A",tn),Ee("H",he,Ce),Ee("h",he,ke),Ee("k",he,ke),Ee("HH",he,le),Ee("hh",he,le),Ee("kk",he,le),Ee("hmm",me),Ee("hmmss",fe),Ee("Hmm",me),Ee("Hmmss",fe),De(["H","HH"],Be),De(["k","kk"],(function(e,t,n){var r=Le(e);t[Be]=24===r?0:r})),De(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),De(["h","hh"],(function(e,t,n){t[Be]=Le(e),g(n).bigHour=!0})),De("hmm",(function(e,t,n){var r=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r)),g(n).bigHour=!0})),De("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r,2)),t[Ye]=Le(e.substr(i)),g(n).bigHour=!0})),De("Hmm",(function(e,t,n){var r=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r))})),De("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r,2)),t[Ye]=Le(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
817
+ return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Qt),H("hmm",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),en("a",!0),en("A",!1),Ee("a",tn),Ee("A",tn),Ee("H",he,Ce),Ee("h",he,ke),Ee("k",he,ke),Ee("HH",he,le),Ee("hh",he,le),Ee("kk",he,le),Ee("hmm",me),Ee("hmmss",fe),Ee("Hmm",me),Ee("Hmmss",fe),Ae(["H","HH"],Be),Ae(["k","kk"],(function(e,t,n){var r=Le(e);t[Be]=24===r?0:r})),Ae(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ae(["h","hh"],(function(e,t,n){t[Be]=Le(e),g(n).bigHour=!0})),Ae("hmm",(function(e,t,n){var r=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r)),g(n).bigHour=!0})),Ae("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r,2)),t[Ye]=Le(e.substr(i)),g(n).bigHour=!0})),Ae("Hmm",(function(e,t,n){var r=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r))})),Ae("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r,2)),t[Ye]=Le(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
818
818
  // Setting the hour should keep the time, because the user explicitly
819
819
  // specified which hour they want. So trying to maintain the same hour (in
820
820
  // a new timezone) makes sense. Adding/subtracting hours does not follow
821
821
  // this rule.
822
- an=Je("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:I,longDateFormat:j,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:q,months:it,monthsShort:at,week:Ct,weekdays:Dt,weekdaysMin:Ot,weekdaysShort:At,meridiemParse:rn},cn={},un={};
822
+ an=Je("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:I,longDateFormat:j,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:q,months:it,monthsShort:at,week:Ct,weekdays:At,weekdaysMin:Ot,weekdaysShort:Dt,meridiemParse:rn},cn={},un={};
823
823
  // internal storage for locale config files
824
824
  function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function hn(e){return e?e.toLowerCase().replace("_","-"):e}
825
825
  // pick the locale from the array
@@ -879,11 +879,11 @@ function Mn(e){var t,n,r,i,a,o,s=e._i,l=xn.exec(s)||Sn.exec(s),c=kn.length,u=Cn.
879
879
  // match[2] should be 'T' or space
880
880
  a=(l[2]||" ")+Cn[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 $n(e,t,n,r,i,a){var o=[Ln(e),at.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(e){
881
881
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
882
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Dn(e,t,n){return!e||At.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function An(e,t,n){if(e)return Tn[e];if(t)
882
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(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 Tn[e];if(t)
883
883
  // the only allowed military tz is Z
884
884
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
885
885
  // date and time from ref 2822 format
886
- function On(e){var t,n=Gn.exec(In(e._i));if(n){if(t=$n(n[4],n[3],n[2],n[5],n[6],n[7]),!Dn(n[1],t,e))return;e._a=t,e._tzm=An(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}
886
+ function On(e){var t,n=Gn.exec(In(e._i));if(n){if(t=$n(n[4],n[3],n[2],n[5],n[6],n[7]),!An(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}
887
887
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
888
888
  function Nn(e){var t=En.exec(e._i);null===t?(Mn(e),!1===e._isValid&&(delete e._isValid,On(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
889
889
  // Final attempt, use Input Fallback
@@ -986,9 +986,9 @@ this._months=+i+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function
986
986
  // compare two arrays, return the number of differences
987
987
  function ur(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&Le(e[r])!==Le(t[r]))&&o++;return o+a}
988
988
  // FORMATTING
989
- function dr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+A(~~(e/60),2)+t+A(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),
989
+ function dr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+D(~~(e/60),2)+t+D(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),
990
990
  // PARSING
991
- Ee("Z",xe),Ee("ZZ",xe),De(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr(xe,e)}));
991
+ Ee("Z",xe),Ee("ZZ",xe),Ae(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr(xe,e)}));
992
992
  // HELPERS
993
993
  // timezone chunker
994
994
  // '+10:00' > ['10', '00']
@@ -1014,7 +1014,7 @@ return-Math.round(e._d.getTimezoneOffset())}
1014
1014
  // a second time. In case it wants us to change the offset again
1015
1015
  // _changeInProgress == true case, then we have to adjust, because
1016
1016
  // there is no such time in the given timezone.
1017
- 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(xe,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?Dr(this,Tr(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(_e,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=Vn(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 kr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1017
+ 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(xe,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?Ar(this,Tr(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(_e,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=Vn(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 kr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1018
1018
  // ASP.NET json date format regex
1019
1019
  r.updateOffset=function(){};var Er=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1020
1020
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
@@ -1034,7 +1034,7 @@ return(isNaN(n)?0:n)*t}function $r(e,t){var n={};return n.months=t.month()-e.mon
1034
1034
  // TODO: remove 'name' arg after deprecation is removed
1035
1035
  function Ir(e,t){return function(n,r){var i;
1036
1036
  //invert the arguments, but complain about it
1037
- return null===r||isNaN(+r)||(G(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Dr(this,Tr(n,r),e),this}}function Dr(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&mt(e,qe(e,"Month")+s*n),o&&Qe(e,"Date",qe(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Tr.fn=sr.prototype,Tr.invalid=or;var Ar=Ir(1,"add"),Or=Ir(-1,"subtract");function Nr(e){return"string"==typeof e||e instanceof String}
1037
+ return null===r||isNaN(+r)||(G(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,Tr(n,r),e),this}}function Ar(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&mt(e,qe(e,"Month")+s*n),o&&Qe(e,"Date",qe(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Tr.fn=sr.prototype,Tr.invalid=or;var Dr=Ir(1,"add"),Or=Ir(-1,"subtract");function Nr(e){return"string"==typeof e||e instanceof String}
1038
1038
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1039
1039
  function Pr(e){return S(e)||d(e)||Nr(e)||u(e)||Hr(e)||Rr(e)||null==e}function Rr(e){var t,n,r=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=a.length;for(t=0;t<c;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Hr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Nr(e)})).length),t&&n}function Br(e){var t,n,r=o(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(e,t){
1040
1040
  // Support for single parameter, formats only overload to the calendar function
@@ -1083,9 +1083,9 @@ a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}functio
1083
1083
  // truncate time
1084
1084
  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 Ii(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1085
1085
  // truncate time
1086
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Di(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1086
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1087
1087
  // truncate time
1088
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ai(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,
1088
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Di(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,
1089
1089
  // truncate time
1090
1090
  i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()}function Oi(e){return s(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Ni(e){return s(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Pi(e){return s(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ri(e,t){return t.erasAbbrRegex(e)}function Hi(e,t){return t.erasNameRegex(e)}function Bi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||be}function Yi(){var e,t,n,r,i,a=[],o=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Me(c[e].name),r=Me(c[e].abbr),i=Me(c[e].narrow),o.push(n),a.push(r),s.push(i),l.push(n),l.push(r),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}
1091
1091
  // FORMATTING
@@ -1096,16 +1096,16 @@ function ji(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData(
1096
1096
  // MOMENTS
1097
1097
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1098
1098
  // FORMATTING
1099
- H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Ee("N",Ri),Ee("NN",Ri),Ee("NNN",Ri),Ee("NNNN",Hi),Ee("NNNNN",Bi),De(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),Ee("y",be),Ee("yy",be),Ee("yyy",be),Ee("yyyy",be),Ee("yo",Ui),De(["y","yy","yyy","yyyy"],Pe),De(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Pe]=n._locale.eraYearOrdinalParse(e,i):t[Pe]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),zi("gggg","weekYear"),zi("ggggg","weekYear"),zi("GGGG","isoWeekYear"),zi("GGGGG","isoWeekYear"),
1099
+ H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Ee("N",Ri),Ee("NN",Ri),Ee("NNN",Ri),Ee("NNNN",Hi),Ee("NNNNN",Bi),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),Ee("y",be),Ee("yy",be),Ee("yyy",be),Ee("yyyy",be),Ee("yo",Ui),Ae(["y","yy","yyy","yyyy"],Pe),Ae(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Pe]=n._locale.eraYearOrdinalParse(e,i):t[Pe]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),zi("gggg","weekYear"),zi("ggggg","weekYear"),zi("GGGG","isoWeekYear"),zi("GGGGG","isoWeekYear"),
1100
1100
  // ALIASES
1101
1101
  // PARSING
1102
- Ee("G",we),Ee("g",we),Ee("GG",he,le),Ee("gg",he,le),Ee("GGGG",ye,ue),Ee("gggg",ye,ue),Ee("GGGGG",ve,de),Ee("ggggg",ve,de),Ae(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Le(e)})),Ae(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1102
+ Ee("G",we),Ee("g",we),Ee("GG",he,le),Ee("gg",he,le),Ee("GGGG",ye,ue),Ee("gggg",ye,ue),Ee("GGGGG",ve,de),Ee("ggggg",ve,de),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Le(e)})),De(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1103
1103
  // PARSING
1104
- Ee("Q",se),De("Q",(function(e,t){t[Re]=3*(Le(e)-1)})),H("D",["DD",2],"Do","date"),
1104
+ Ee("Q",se),Ae("Q",(function(e,t){t[Re]=3*(Le(e)-1)})),H("D",["DD",2],"Do","date"),
1105
1105
  // PARSING
1106
1106
  Ee("D",he,ke),Ee("DD",he,le),Ee("Do",(function(e,t){
1107
1107
  // TODO: Remove "ordinalParse" fallback in next major release.
1108
- return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),De(["D","DD"],He),De("Do",(function(e,t){t[He]=Le(e.match(he)[0])}));
1108
+ return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],He),Ae("Do",(function(e,t){t[He]=Le(e.match(he)[0])}));
1109
1109
  // MOMENTS
1110
1110
  var ea=Je("Date",!0);
1111
1111
  // FORMATTING
@@ -1115,25 +1115,25 @@ function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startO
1115
1115
  // FORMATTING
1116
1116
  H("DDD",["DDDD",3],"DDDo","dayOfYear"),
1117
1117
  // PARSING
1118
- Ee("DDD",pe),Ee("DDDD",ce),De(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Le(e)})),H("m",["mm",2],0,"minute"),
1118
+ Ee("DDD",pe),Ee("DDDD",ce),Ae(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Le(e)})),H("m",["mm",2],0,"minute"),
1119
1119
  // PARSING
1120
- Ee("m",he,Ce),Ee("mm",he,le),De(["m","mm"],Ue);
1120
+ Ee("m",he,Ce),Ee("mm",he,le),Ae(["m","mm"],Ue);
1121
1121
  // MOMENTS
1122
1122
  var na=Je("Minutes",!1);
1123
1123
  // FORMATTING
1124
1124
  H("s",["ss",2],0,"second"),
1125
1125
  // PARSING
1126
- Ee("s",he,Ce),Ee("ss",he,le),De(["s","ss"],Ye);
1126
+ Ee("s",he,Ce),Ee("ss",he,le),Ae(["s","ss"],Ye);
1127
1127
  // MOMENTS
1128
1128
  var ra,ia,aa=Je("Seconds",!1);
1129
1129
  // FORMATTING
1130
1130
  for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
1131
1131
  // PARSING
1132
- Ee("S",pe,se),Ee("SS",pe,le),Ee("SSS",pe,ce),ra="SSSS";ra.length<=9;ra+="S")Ee(ra,be);function oa(e,t){t[ze]=Le(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")De(ra,oa);
1132
+ Ee("S",pe,se),Ee("SS",pe,le),Ee("SSS",pe,ce),ra="SSSS";ra.length<=9;ra+="S")Ee(ra,be);function oa(e,t){t[ze]=Le(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")Ae(ra,oa);
1133
1133
  // MOMENTS
1134
1134
  function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=Je("Milliseconds",!1),
1135
1135
  // FORMATTING
1136
- 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=Ar,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=et,ca.invalidAt=Ei,ca.isAfter=jr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=ki,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Jn,ca.parsingFlags=Ci,ca.set=tt,ca.startOf=yi,ca.subtract=Or,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=Gi,ca.eraName=Li,ca.eraNarrow=Ii,ca.eraAbbr=Di,ca.eraYear=Ai,ca.year=Ke,ca.isLeapYear=Xe,ca.weekYear=ji,ca.isoWeekYear=Wi,ca.quarter=ca.quarters=Qi,ca.month=ft,ca.daysInMonth=pt,ca.week=ca.weeks=Tt,ca.isoWeek=ca.isoWeeks=Mt,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Wt,ca.isoWeekday=Vt,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=kr,ca.isUtc=Cr,ca.isUTC=Cr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=k("dates accessor is deprecated. Use date instead.",ea),ca.months=k("months accessor is deprecated. Use month instead",ft),ca.years=k("years accessor is deprecated. Use year instead",Ke),ca.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=L.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}
1136
+ 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=et,ca.invalidAt=Ei,ca.isAfter=jr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=ki,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Jn,ca.parsingFlags=Ci,ca.set=tt,ca.startOf=yi,ca.subtract=Or,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=Gi,ca.eraName=Li,ca.eraNarrow=Ii,ca.eraAbbr=Ai,ca.eraYear=Di,ca.year=Ke,ca.isLeapYear=Xe,ca.weekYear=ji,ca.isoWeekYear=Wi,ca.quarter=ca.quarters=Qi,ca.month=ft,ca.daysInMonth=pt,ca.week=ca.weeks=Tt,ca.isoWeek=ca.isoWeeks=Mt,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Wt,ca.isoWeekday=Vt,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=kr,ca.isUtc=Cr,ca.isUTC=Cr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=k("dates accessor is deprecated. Use date instead.",ea),ca.months=k("months accessor is deprecated. Use month instead",ft),ca.years=k("years accessor is deprecated. Use year instead",Ke),ca.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=L.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}
1137
1137
  // ()
1138
1138
  // (5)
1139
1139
  // (fmt, 5)
@@ -1142,7 +1142,7 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){r
1142
1142
  // (true, 5)
1143
1143
  // (true, fmt, 5)
1144
1144
  // (true, fmt)
1145
- 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=D,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=Ti,ma.erasParse=Mi,ma.erasConvertYear=$i,ma.erasAbbrRegex=Ni,ma.erasNameRegex=Oi,ma.erasNarrowRegex=Pi,ma.months=ct,ma.monthsShort=ut,ma.monthsParse=ht,ma.monthsRegex=yt,ma.monthsShortRegex=gt,ma.week=kt,ma.firstDayOfYear=Gt,ma.firstDayOfWeek=Et,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===Le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1145
+ 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=A,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=Ti,ma.erasParse=Mi,ma.erasConvertYear=$i,ma.erasAbbrRegex=Ni,ma.erasNameRegex=Oi,ma.erasNarrowRegex=Pi,ma.months=ct,ma.monthsShort=ut,ma.monthsParse=ht,ma.monthsRegex=yt,ma.monthsShortRegex=gt,ma.week=kt,ma.firstDayOfYear=Gt,ma.firstDayOfWeek=Et,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===Le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1146
1146
  // Side effect imports
1147
1147
  r.lang=k("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=k("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=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1148
1148
  // supports only 2.0-style add(1, 's') or add(duration)
@@ -1167,7 +1167,7 @@ return 146097*e/4800}function $a(e){if(!this.isValid())return NaN;var t,n,r=this
1167
1167
  // handle milliseconds separately because of floating point math errors (issue #1867)
1168
1168
  t=this._days+Math.round(Ma(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;
1169
1169
  // Math.floor prevents floating point math errors here
1170
- case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function La(e){return function(){return this.as(e)}}var Ia=La("ms"),Da=La("s"),Aa=La("m"),Oa=La("h"),Na=La("d"),Pa=La("w"),Ra=La("M"),Ha=La("Q"),Ba=La("y"),Ua=Ia;function Ya(){return Tr(this)}function za(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function ja(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wa=ja("milliseconds"),Va=ja("seconds"),Za=ja("minutes"),Ka=ja("hours"),Xa=ja("days"),Ja=ja("months"),qa=ja("years");function Qa(){return $e(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1170
+ case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function La(e){return function(){return this.as(e)}}var Ia=La("ms"),Aa=La("s"),Da=La("m"),Oa=La("h"),Na=La("d"),Pa=La("w"),Ra=La("M"),Ha=La("Q"),Ba=La("y"),Ua=Ia;function Ya(){return Tr(this)}function za(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function ja(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wa=ja("milliseconds"),Va=ja("seconds"),Za=ja("minutes"),Ka=ja("hours"),Xa=ja("days"),Ja=ja("months"),qa=ja("years");function Qa(){return $e(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1171
1171
  s:45,// seconds to minute
1172
1172
  m:45,// minutes to hour
1173
1173
  h:22,// hours to day
@@ -1193,11 +1193,11 @@ e=$e(l/60),t=$e(e/60),l%=60,e%=60,
1193
1193
  // 12 months -> 1 year
1194
1194
  n=$e(u/12),u%=12,
1195
1195
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1196
- 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=ka,uo.subtract=Ca,uo.as=$a,uo.asMilliseconds=Ia,uo.asSeconds=Da,uo.asMinutes=Aa,uo.asHours=Oa,uo.asDays=Na,uo.asWeeks=Pa,uo.asMonths=Ra,uo.asQuarters=Ha,uo.asYears=Ba,uo.valueOf=Ua,uo._bubble=Ga,uo.clone=Ya,uo.get=za,uo.milliseconds=Wa,uo.seconds=Va,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=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1196
+ 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=ka,uo.subtract=Ca,uo.as=$a,uo.asMilliseconds=Ia,uo.asSeconds=Aa,uo.asMinutes=Da,uo.asHours=Oa,uo.asDays=Na,uo.asWeeks=Pa,uo.asMonths=Ra,uo.asQuarters=Ha,uo.asYears=Ba,uo.valueOf=Ua,uo._bubble=Ga,uo.clone=Ya,uo.get=za,uo.milliseconds=Wa,uo.seconds=Va,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=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1197
1197
  // FORMATTING
1198
1198
  H("X",0,0,"unix"),H("x",0,0,"valueOf"),
1199
1199
  // PARSING
1200
- Ee("x",we),Ee("X",Se),De("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),De("x",(function(e,t,n){n._d=new Date(Le(e))})),
1200
+ Ee("x",we),Ee("X",Se),Ae("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ae("x",(function(e,t,n){n._d=new Date(Le(e))})),
1201
1201
  //! moment.js
1202
1202
  r.version="2.30.1",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=Tr,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=ne,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ur,r.prototype=ca,
1203
1203
  // currently HTML5 input type only supports 24-hour formats
@@ -1253,18 +1253,18 @@ function si(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" c
1253
1253
  // (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
1254
1254
  function li(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_1*/t[65]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
1255
1255
  // (641:2) {#if showgamename === 'true'}
1256
- function ci(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 ui(t){let n,r,i,a,o,s,c,u,f,g,b,w,x,k,C,E,G,T,M,$,L,I,D,A,O,N,P=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",R=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&Vr(t),B=/*gametag*/t[8]&&Zr(t),U=/*livegamedata*/t[13]&&Kr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
1257
- return 65541&t[0]&&(L=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(I=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(D=null),null==L&&(L=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),L?li:(null==I&&(I=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),I?si:(null==D&&(D=!!(Dr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),D?oi:void 0))}let z=Y(t,[-1,-1,-1,-1]),j=z&&z(t),W=/*showgamename*/"true"===t[10]&&ci(t);return{c(){n=p("div"),r=p("div"),i=p("img"),s=v(),c=p("div"),u=p("div"),f=p("p"),g=y(/*gamename*/t[4]),b=v(),R&&R.c(),w=v(),x=p("span"),k=y(P),C=v(),E=p("div"),G=p("div"),H&&H.c(),T=v(),B&&B.c(),M=v(),U&&U.c(),$=v(),j&&j.c(),O=v(),W&&W.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"),_(f,"class","GameInfoName"),_(f,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(x,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_(G,"class","GameExtraInfo"),_(E,"class","GameExtraInfoContainer"),_(r,"class",A="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",N=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),F(n,"WithGameName",/*showgamename*/t[10])},m(e,a){h(e,n,a),d(n,r),d(r,i),
1256
+ function ci(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 ui(t){let n,r,i,a,o,s,c,u,f,g,b,w,x,k,C,E,G,T,M,$,L,I,A,D,O,N,P=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",R=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&Vr(t),B=/*gametag*/t[8]&&Zr(t),U=/*livegamedata*/t[13]&&Kr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
1257
+ return 65541&t[0]&&(L=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(I=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(A=null),null==L&&(L=!(Ar(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),L?li:(null==I&&(I=!(Ar(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),I?si:(null==A&&(A=!!(Ar(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),A?oi:void 0))}let z=Y(t,[-1,-1,-1,-1]),j=z&&z(t),W=/*showgamename*/"true"===t[10]&&ci(t);return{c(){n=p("div"),r=p("div"),i=p("img"),s=v(),c=p("div"),u=p("div"),f=p("p"),g=y(/*gamename*/t[4]),b=v(),R&&R.c(),w=v(),x=p("span"),k=y(P),C=v(),E=p("div"),G=p("div"),H&&H.c(),T=v(),B&&B.c(),M=v(),U&&U.c(),$=v(),j&&j.c(),O=v(),W&&W.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"),_(f,"class","GameInfoName"),_(f,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(x,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_(G,"class","GameExtraInfo"),_(E,"class","GameExtraInfoContainer"),_(r,"class",D="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",N=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),F(n,"WithGameName",/*showgamename*/t[10])},m(e,a){h(e,n,a),d(n,r),d(r,i),
1258
1258
  /*img_binding*/t[62](i),d(r,s),d(r,c),d(c,u),d(u,f),d(f,g),d(u,b),R&&R.m(u,null),d(c,w),d(c,x),d(x,k),d(r,C),d(r,E),d(E,G),H&&H.m(G,null),d(G,T),B&&B.m(G,null),d(G,M),U&&U.m(G,null),d(E,$),j&&j.m(E,null),d(n,O),W&&W.m(n,null)
1259
- /*div5_binding*/,t[67](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),/*gamename*/16&t[0]&&S(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(f,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Wr(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&P!==(P=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(k,P),/*gameisnew*/e[7]?H?H.p(e,t):(H=Vr(e),H.c(),H.m(G,T)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Zr(e),B.c(),B.m(G,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Kr(e),U.c(),U.m(G,null)):U&&(U.d(1),U=null),z===(z=Y(e,t))&&j?j.p(e,t):(j&&j.d(1),j=z&&z(e),j&&(j.c(),j.m(E,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&A!==(A="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",A),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=ci(e),W.c(),W.m(n,null)):W&&(W.d(1),W=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&N!==(N=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",N),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&F(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&m(n)
1259
+ /*div5_binding*/,t[67](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),/*gamename*/16&t[0]&&S(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(f,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Wr(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&P!==(P=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(k,P),/*gameisnew*/e[7]?H?H.p(e,t):(H=Vr(e),H.c(),H.m(G,T)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Zr(e),B.c(),B.m(G,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Kr(e),U.c(),U.m(G,null)):U&&(U.d(1),U=null),z===(z=Y(e,t))&&j?j.p(e,t):(j&&j.d(1),j=z&&z(e),j&&(j.c(),j.m(E,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&D!==(D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",D),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=ci(e),W.c(),W.m(n,null)):W&&(W.d(1),W=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&N!==(N=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",N),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&F(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&m(n)
1260
1260
  /*img_binding*/,t[62](null),R&&R.d(),H&&H.d(),B&&B.d(),U&&U.d(),j&&j.d(),W&&W.d()
1261
- /*div5_binding*/,t[67](null)}}}const di="blackjack",hi="roulette",mi="doubleballroulette",fi=5;function pi(e,t,n){let r;u(e,Ir,(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,k,C,E,T,$,{session:L=""}=t,{userid:I=""}=t,{lang:D="en"}=t,{clientstyling:A=""}=t,{clientstylingurl:N=""}=t,{translationurl:P=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:z=""}=t,{gameisnew:j=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=""}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],fe="EUR",pe="";const ge=[di],ye=[hi,mi],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={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(Ur).forEach((e=>{Br(e,Ur[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${z}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${z}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},_e=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1261
+ /*div5_binding*/,t[67](null)}}}const di="blackjack",hi="roulette",mi="doubleballroulette",fi=5;function pi(e,t,n){let r;u(e,Ir,(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,k,C,E,T,$,{session:L=""}=t,{userid:I=""}=t,{lang:A="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:N=""}=t,{translationurl:P=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:z=""}=t,{gameisnew:j=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=""}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],fe="EUR",pe="";const ge=[di],ye=[hi,mi],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={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(Ur).forEach((e=>{Br(e,Ur[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${z}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${z}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},_e=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1262
1262
  //Analytics event -- if game was searched
1263
1263
  "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1264
1264
  // Case mobile
1265
- Dr(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Dr(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Dr(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Dr(ue)},window.location.href),
1265
+ Ar(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ar(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Ar(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ar(ue)},window.location.href),
1266
1266
  // Case desktop
1267
- Dr(ue)||"true"!=ae?Dr(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Dr(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Dr(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=D,mr.set(e)},Fe=()=>{ne&&EventSource&&!l&&U&&z&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${z}`),l.addEventListener("message",Ce))},ke=()=>{l&&(l.close(),l=void 0)},Ce=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1267
+ Ar(ue)||"true"!=ae?Ar(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ar(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ar(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=A,mr.set(e)},Fe=()=>{ne&&EventSource&&!l&&U&&z&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${z}`),l.addEventListener("message",Ce))},ke=()=>{l&&(l.close(),l=void 0)},Ce=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1268
1268
  // eslint-disable-next-line no-console
1269
1269
  console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1270
1270
  r,Seats:// Roads, // for baccarat
@@ -1275,13 +1275,13 @@ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(
1275
1275
  }// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
1276
1276
  // GameComponent = 'poker';
1277
1277
  // }
1278
- return t})(s)),n(25,fe=Yr[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===mi),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,F=Ge(ye,w.toLowerCase())?be:ve),C=k,n(32,k=Array.isArray(y)&&y.length===g),s.dealer&&n(34,T=s.dealer.DealerName),$=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&k&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&d&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!C&&k?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):C&&!k&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};G((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(43,L=e.session),"userid"in e&&n(44,I=e.userid),"lang"in e&&n(1,D=e.lang),"clientstyling"in e&&n(45,A=e.clientstyling),"clientstylingurl"in e&&n(46,N=e.clientstylingurl),"translationurl"in e&&n(47,P=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),"gamelaunchurl"in e&&n(48,Y=e.gamelaunchurl),"gameid"in e&&n(6,z=e.gameid),"gameisnew"in e&&n(7,j=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(51,q=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ie=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?ke():"connect"===re&&Fe()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?ke():"connect"===ie&&"connect"===re&&Fe()),/*lang*/2&e.$$.dirty[0]&&D&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&L&&I&&ee&&(n(16,le=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,ce=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&A&&o&&(()=>{let e=document.createElement("style");e.innerHTML=A,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&N&&o&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Br(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&N&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Ar(ue)),e.searchParams.append("language",D),
1278
+ return t})(s)),n(25,fe=Yr[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===mi),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,F=Ge(ye,w.toLowerCase())?be:ve),C=k,n(32,k=Array.isArray(y)&&y.length===g),s.dealer&&n(34,T=s.dealer.DealerName),$=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&k&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&d&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!C&&k?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):C&&!k&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};G((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(43,L=e.session),"userid"in e&&n(44,I=e.userid),"lang"in e&&n(1,A=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,N=e.clientstylingurl),"translationurl"in e&&n(47,P=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),"gamelaunchurl"in e&&n(48,Y=e.gamelaunchurl),"gameid"in e&&n(6,z=e.gameid),"gameisnew"in e&&n(7,j=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(51,q=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ie=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?ke():"connect"===re&&Fe()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?ke():"connect"===ie&&"connect"===re&&Fe()),/*lang*/2&e.$$.dirty[0]&&A&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&L&&I&&ee&&(n(16,le=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,ce=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&N&&o&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Br(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&N&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Dr(ue)),e.searchParams.append("language",A),
1279
1279
  // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
1280
- fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&E&&x&&(()=>{const e="FirstElementAnimated",t=E.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,D,R,H,B,U,z,j,W,K,J,se,o,s,x,E,le,ce,a,c,d,de,h,m,me,fe,f,p,y,_,S,F,k,pe,T,r,ue,_e,xe,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),$&&(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">${$}</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 `},L,I,A,N,P,Y,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){M[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(z),function(e){M[e?"unshift":"push"]((()=>{E=e,n(15,E)}))},()=>xe(z),()=>xe(z),function(e){M[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function gi(e,t){jn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends j{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}.GameContainer.WithGameName{padding-bottom:20px}.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;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #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-primary, #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:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #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:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.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}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;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}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},pi,ui,a,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),H()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),H()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const yi={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:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",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"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
1280
+ fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&E&&x&&(()=>{const e="FirstElementAnimated",t=E.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,U,z,j,W,K,J,se,o,s,x,E,le,ce,a,c,d,de,h,m,me,fe,f,p,y,_,S,F,k,pe,T,r,ue,_e,xe,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),$&&(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">${$}</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 `},L,I,D,N,P,Y,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){M[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(z),function(e){M[e?"unshift":"push"]((()=>{E=e,n(15,E)}))},()=>xe(z),()=>xe(z),function(e){M[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function gi(e,t){jn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends j{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}.GameContainer.WithGameName{padding-bottom:20px}.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;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #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-primary, #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:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #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:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.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}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;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}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},pi,ui,a,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),H()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),H()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const yi={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:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",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"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
1281
1281
  /* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function vi(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
1282
1282
  // (178:4) {#if !isLoading}
1283
- function bi(e){let t,n,i,a,o,s,l,c,u,b,x,F,k,C,E,G,T,M,$,L,I,D,A,O,N,P,R,H,B,U,Y,z=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
1284
- return e[7]?xi:_i}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=ki(vi(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"),k=y(j),C=v(),K.c(),E=v(),G=p("span"),T=g("svg"),M=g("path"),I=v(),D=p("div"),A=p("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=v(),N=p("button"),P=y(W),_(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"),_(M,"id","arrow"),_(M,"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"),_(M,"transform","translate(-274.511 -441.088)"),_(M,"fill","#d1d1d1"),_(T,"xmlns","http://www.w3.org/2000/svg"),_(T,"width","14"),_(T,"height","6.835"),_(T,"viewBox","0 0 14 6.835"),_(G,"class",$="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),_(A,"class","FilterDropdown"),_(N,"class","ClearFilters"),N.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,_(D,"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,k),d(x,C),K.m(x,null),d(n,E),d(n,G),d(G,T),d(T,M),d(t,I),d(t,D),d(D,A);for(let e=0;e<J.length;e+=1)J[e]&&J[e].m(A,null);d(D,O),d(D,N),d(N,P),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(N,"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(k,j),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(x,null))),/*isFilterActive*/16&r[0]&&$!==($="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(G,"class",$),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=vi(e,X,t);J[t]?J[t].p(n,r):(J[t]=ki(n),J[t].c(),J[t].m(A,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&S(P,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(N.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&_(D,"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)}}}
1283
+ function bi(e){let t,n,i,a,o,s,l,c,u,b,x,F,k,C,E,G,T,M,$,L,I,A,D,O,N,P,R,H,B,U,Y,z=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
1284
+ return e[7]?xi:_i}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=ki(vi(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"),k=y(j),C=v(),K.c(),E=v(),G=p("span"),T=g("svg"),M=g("path"),I=v(),A=p("div"),D=p("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=v(),N=p("button"),P=y(W),_(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"),_(M,"id","arrow"),_(M,"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"),_(M,"transform","translate(-274.511 -441.088)"),_(M,"fill","#d1d1d1"),_(T,"xmlns","http://www.w3.org/2000/svg"),_(T,"width","14"),_(T,"height","6.835"),_(T,"viewBox","0 0 14 6.835"),_(G,"class",$="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),_(D,"class","FilterDropdown"),_(N,"class","ClearFilters"),N.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,_(A,"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,k),d(x,C),K.m(x,null),d(n,E),d(n,G),d(G,T),d(T,M),d(t,I),d(t,A),d(A,D);for(let e=0;e<J.length;e+=1)J[e]&&J[e].m(D,null);d(A,O),d(A,N),d(N,P),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(N,"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(k,j),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(x,null))),/*isFilterActive*/16&r[0]&&$!==($="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(G,"class",$),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=vi(e,X,t);J[t]?J[t].p(n,r):(J[t]=ki(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]&&W!==(W=/*$_*/e[11]("clear")+"")&&S(P,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(N.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&_(A,"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)}}}
1285
1285
  // (175:2) {#if hasErrors}
1286
1286
  function wi(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)}}}
1287
1287
  // (191:14) {:else}
@@ -1307,160 +1307,160 @@ return e[10]?wi:/*isLoading*/e[9]?void 0:bi}let i=r(t),a=i&&i(t);return{c(){n=p(
1307
1307
  // end custom styling area
1308
1308
  w[h]&&(w={[h]:[]});const k=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},C=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),E()},E=()=>{
1309
1309
  // update filters value
1310
- n(7,_=b.length===v.length||0==b.length),n(8,x=b.length)},T=()=>{const e=new URL(`${a}/v1/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",Ar(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),
1310
+ n(7,_=b.length===v.length||0==b.length),n(8,x=b.length)},T=()=>{const e=new URL(`${a}/v1/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",Dr(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),
1311
1311
  // needed to force the update of the filters value
1312
1312
  E()})).catch((e=>{console.error(e),n(10,F=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},$=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
1313
1313
  // this reassignation of the pointer value is required in order to have Svelte trigger a re-render
1314
1314
  n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},L=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};G((()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})));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&&T(),/*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=>{gi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,x,S,F,r,k,C,$,a,o,s,l,c,d,h,()=>k(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>C(e),()=>$(),function(e){M[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function Gi(e,t){jn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends j{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-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #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-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #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),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ei,Ci,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),H()))}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}),H()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),H()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}});const Ti={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:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},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:"Hot igre"},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"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
1315
1315
  /* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function Mi(e,t,n){const r=e.slice();return r[23]=t[n],r}
1316
1316
  // (114:4) {#if !isLoading}
1317
- function $i(e){let t,n,r,i,a,o,s,l,c,u,b,x,F,k,C,E,G,T,M,$,L,I,D,A,O,N,P,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]=Li(Mi(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(),k=p("div"),C=p("span"),E=y(B),G=v(),T=p("span"),M=g("svg"),$=g("path"),D=v(),A=p("div"),O=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"),_(k,"class","SorterValueContainer"),_(u,"class","SorterTextContainer"),_(r,"class","SorterMainArea"),_($,"id","arrow"),_($,"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"),_($,"transform","translate(-274.511 -441.088)"),_($,"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",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),_(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),_(O,"class","SorterDropdown"),_(A,"class",N="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,k),d(k,C),d(C,E),d(n,G),d(n,T),d(T,M),d(M,$),d(t,D),d(t,A),d(A,O);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(O,null);P||(R=w(n,"click",/*click_handler*/e[13]),P=!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(E,B),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&_(T,"class",L),/*isSorterActive*/2&t&&I!==(I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&_(n,"class",I),/*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=Mi(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=Li(r),Y[n].c(),Y[n].m(O,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&N!==(N="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&_(A,"class",N)},d(e){e&&m(t),f(Y,e),P=!1,R()}}}
1317
+ function $i(e){let t,n,r,i,a,o,s,l,c,u,b,x,F,k,C,E,G,T,M,$,L,I,A,D,O,N,P,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]=Li(Mi(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(),k=p("div"),C=p("span"),E=y(B),G=v(),T=p("span"),M=g("svg"),$=g("path"),A=v(),D=p("div"),O=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"),_(k,"class","SorterValueContainer"),_(u,"class","SorterTextContainer"),_(r,"class","SorterMainArea"),_($,"id","arrow"),_($,"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"),_($,"transform","translate(-274.511 -441.088)"),_($,"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",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),_(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),_(O,"class","SorterDropdown"),_(D,"class",N="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,k),d(k,C),d(C,E),d(n,G),d(n,T),d(T,M),d(M,$),d(t,A),d(t,D),d(D,O);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(O,null);P||(R=w(n,"click",/*click_handler*/e[13]),P=!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(E,B),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&_(T,"class",L),/*isSorterActive*/2&t&&I!==(I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&_(n,"class",I),/*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=Mi(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=Li(r),Y[n].c(),Y[n].m(O,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&N!==(N="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&_(D,"class",N)},d(e){e&&m(t),f(Y,e),P=!1,R()}}}
1318
1318
  // (140:10) {#each Object.values(vendorMap) as sort}
1319
1319
  function Li(e){let t,n,r,i,a,o,s,l,c,u,f,g,b=/*sort*/e[23]+"";function x(){/*click_handler_1*/
1320
1320
  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 Ii(t){let n;function r(e,t){if(!/*isLoading*/e[2])return $i}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)
1321
1321
  /*div_binding*/,t[15](n)},p(e,[t]){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a&&a.d()
1322
- /*div_binding*/,t[15](null)}}}function Di(e,t,n){let r;u(e,Ir,(e=>n(4,r=e)));let i,{lang:a=""}=t,{translationurl:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,{categoryid:c=""}=t,d=!1,h=!0,m="",f="All";!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1322
+ /*div_binding*/,t[15](null)}}}function Ai(e,t,n){let r;u(e,Ir,(e=>n(4,r=e)));let i,{lang:a=""}=t,{translationurl:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,{categoryid:c=""}=t,d=!1,h=!0,m="",f="All";!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1323
1323
  /*dictionary.set(translations);
1324
1324
  locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Ti).forEach((e=>{Gi(e,Ti[e])}));const p={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},g=e=>{n(3,f=e);let t=localStorage.getItem("vendorSortingBy");m=e;for(let t in p)if(p[t]===e){m=t;break}null==t?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):(t=JSON.parse(t),t[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(t))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),n(1,d=!d)},y=()=>{n(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,d=!1)};G((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,a=e.lang),"translationurl"in e&&n(9,o=e.translationurl),"clientstyling"in e&&n(10,s=e.clientstyling),"clientstylingurl"in e&&n(11,l=e.clientstylingurl),"categoryid"in e&&n(12,c=e.categoryid)},e.$$.update=()=>{/*categoryid*/4096&e.$$.dirty&&c&&(()=>{var e;n(3,f="All"),n(2,h=!1),n(1,d=!1);let t=null===(e=JSON.parse(localStorage.getItem("vendorSortingBy")))||void 0===e?void 0:e[c];n(3,f=t||"All"),n(3,f=p[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&s&&i&&(()=>{let e=document.createElement("style");e.innerHTML=s,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&o&&fetch(o).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Gi(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,d,h,f,r,p,g,y,a,o,s,l,c,()=>y(),e=>g(e),function(e){M[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
1325
1325
  /* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
1326
- function Ai(e,t,n){const r=e.slice();return r[89]=t[n],r[91]=n,r}function Oi(e,t,n){const r=e.slice();return r[89]=t[n],r[92]=t,r[91]=n,r}function Ni(e,t,n){const r=e.slice();return r[89]=t[n],r[91]=n,r}
1327
- // (739:4) {:else}
1326
+ function Di(e,t,n){const r=e.slice();return r[90]=t[n],r[92]=n,r}function Oi(e,t,n){const r=e.slice();return r[90]=t[n],r[93]=t,r[92]=n,r}function Ni(e,t,n){const r=e.slice();return r[90]=t[n],r[92]=n,r}
1327
+ // (752:4) {:else}
1328
1328
  function Pi(e){let t;function n(e,t){/*categoryData*/
1329
1329
  return e[26]?Ui:/*showFavGamesCategory*/e[37]?Bi:void 0}let r=n(e),i=r&&r(e);return{c(){t=p("div"),i&&i.c()},m(e,n){h(e,t,n),i&&i.m(t,null)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&m(t),i&&i.d()}}}
1330
- // (676:4) {#if searched}
1330
+ // (689:4) {#if searched}
1331
1331
  function Ri(e){let t,n,r;function i(e,t){/*recentSearched*/
1332
1332
  return e[30]?ma:/*shownCategoryData*/e[27].length?da:ha}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
1333
- return e[27]?pa:fa}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(Dr(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),d(t,n),o.m(n,null),d(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&o?o.p(e,r):(o.d(1),o=a(e),o&&(o.c(),o.m(n,null))),l===(l=s(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),o.d(),c.d()}}}
1334
- // (668:2) {#if hasErrors}
1333
+ return e[27]?pa:fa}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(Ar(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),d(t,n),o.m(n,null),d(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&o?o.p(e,r):(o.d(1),o=a(e),o&&(o.c(),o.m(n,null))),l===(l=s(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),o.d(),c.d()}}}
1334
+ // (681:2) {#if hasErrors}
1335
1335
  function Hi(e){let t;function n(e,t){/*presentFilters*/
1336
1336
  return e[32]?ba:va}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)}}}
1337
- // (832:39)
1337
+ // (845:39)
1338
1338
  function Bi(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[18]&&Yi(e);function o(e,t){/*isLoading*/
1339
1339
  return e[23]&&!/*isLazyLoading*/e[34]?Wi:/*favoriteGamesData*/e[40]?ji:zi}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[40].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),
1340
1340
  /*ul_binding_1*/e[56](r)},p(e,c){/*casinomygames*/"true"!==e[18]?a?a.p(e,c):(a=Yi(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*/512&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(r,"class",i)},d(n){n&&m(t),a&&a.d(),l.d(),
1341
1341
  /*ul_binding_1*/e[56](null)}}}
1342
- // (741:8) {#if categoryData}
1342
+ // (754:8) {#if categoryData}
1343
1343
  function Ui(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&na(e);function i(e,t){/*isLoading*/
1344
1344
  return e[23]&&!/*isLazyLoading*/e[34]?ca:/*shownCategoryData*/0!==e[27].length?la:sa}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[18]?r?r.p(e,s):(r=na(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()}}}
1345
- // (834:14) {#if casinomygames !== 'true'}
1345
+ // (847:14) {#if casinomygames !== 'true'}
1346
1346
  function Yi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].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),
1347
1347
  /*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&S(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&S(s,u)},d(n){n&&m(t)
1348
1348
  /*h3_binding_1*/,e[55](null)}}}
1349
- // (945:18) {:else}
1349
+ // (958:18) {:else}
1350
1350
  function zi(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=p("p"),n=y(r)},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&S(n,r)},d(e){e&&m(t)}}}
1351
- // (847:18) {#if favoriteGamesData}
1352
- function ji(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ta(Ai(e,n,t));let i=null;return n.length||(i=Vi(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, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&a[1]){let o;for(n=/*favoriteGamesData*/e[40].items,o=0;o<n.length;o+=1){const i=Ai(e,n,o);r[o]?r[o].p(i,a):(r[o]=ta(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=Vi(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
1353
- // (844:16) {#if isLoading && !isLazyLoading}
1351
+ // (860:18) {#if favoriteGamesData}
1352
+ function ji(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ta(Di(e,n,t));let i=null;return n.length||(i=Vi(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, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&a[1]){let o;for(n=/*favoriteGamesData*/e[40].items,o=0;o<n.length;o+=1){const i=Di(e,n,o);r[o]?r[o].p(i,a):(r[o]=ta(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=Vi(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
1353
+ // (857:16) {#if isLoading && !isLazyLoading}
1354
1354
  function Wi(t){let n;return{c(){n=p("div"),_(n,"class","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1355
- // (926:20) {:else}
1356
- function Vi(e){let t,n,r,i,a,o,s,l,c,u,f,b,w,x,F=/*$_*/e[41]("noFavoritesTitle")+"";let k=function(e){return Dr(/*userAgent*/e[42])?Ki:Zi}(e),C=k(e);return{c(){t=p("p"),n=g("svg"),r=g("rect"),i=g("rect"),a=g("circle"),o=g("path"),s=g("path"),l=g("path"),c=g("path"),u=v(),f=p("span"),b=y(F),w=v(),C.c(),x=v(),_(r,"x","1"),_(r,"y","18.053"),_(r,"width","90.263"),_(r,"height","90.263"),_(r,"rx","12"),_(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),_(r,"stroke-width","1.5"),_(i,"x","106.737"),_(i,"y","56.737"),_(i,"width","90.263"),_(i,"height","90.263"),_(i,"rx","12"),_(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),_(i,"stroke-width","1.5"),_(a,"cx","70.5"),_(a,"cy","32.237"),_(a,"r","31.487"),_(a,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(a,"stroke-width","1.5"),_(a,"stroke-dasharray","5 0"),_(o,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),_(o,"fill","var(--emfe-w-color-gray-150, #828282)"),_(s,"d","M78 43h11v13H78V43z"),_(s,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),_(l,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"stroke-linecap","round"),_(l,"stroke-linejoin","round"),_(c,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),_(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(c,"stroke-width","1.5"),_(c,"stroke-linecap","round"),_(c,"stroke-linejoin","round"),_(n,"width","198"),_(n,"height","148"),_(n,"viewBox","0 0 198 148"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(f,"class","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class","NoFavoriteGames "+(Dr(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(n,o),d(n,s),d(n,l),d(n,c),d(t,u),d(t,f),d(f,b),d(t,w),C.m(t,null),d(t,x)},p(e,t){/*$_*/1024&t[1]&&F!==(F=/*$_*/e[41]("noFavoritesTitle")+"")&&S(b,F),C.p(e,t)},d(e){e&&m(t),C.d()}}}
1357
- // (940:24) {:else}
1355
+ // (939:20) {:else}
1356
+ function Vi(e){let t,n,r,i,a,o,s,l,c,u,f,b,w,x,F=/*$_*/e[41]("noFavoritesTitle")+"";let k=function(e){return Ar(/*userAgent*/e[42])?Ki:Zi}(e),C=k(e);return{c(){t=p("p"),n=g("svg"),r=g("rect"),i=g("rect"),a=g("circle"),o=g("path"),s=g("path"),l=g("path"),c=g("path"),u=v(),f=p("span"),b=y(F),w=v(),C.c(),x=v(),_(r,"x","1"),_(r,"y","18.053"),_(r,"width","90.263"),_(r,"height","90.263"),_(r,"rx","12"),_(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),_(r,"stroke-width","1.5"),_(i,"x","106.737"),_(i,"y","56.737"),_(i,"width","90.263"),_(i,"height","90.263"),_(i,"rx","12"),_(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),_(i,"stroke-width","1.5"),_(a,"cx","70.5"),_(a,"cy","32.237"),_(a,"r","31.487"),_(a,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(a,"stroke-width","1.5"),_(a,"stroke-dasharray","5 0"),_(o,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),_(o,"fill","var(--emfe-w-color-gray-150, #828282)"),_(s,"d","M78 43h11v13H78V43z"),_(s,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),_(l,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"stroke-linecap","round"),_(l,"stroke-linejoin","round"),_(c,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),_(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(c,"stroke-width","1.5"),_(c,"stroke-linecap","round"),_(c,"stroke-linejoin","round"),_(n,"width","198"),_(n,"height","148"),_(n,"viewBox","0 0 198 148"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(f,"class","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class","NoFavoriteGames "+(Ar(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(n,o),d(n,s),d(n,l),d(n,c),d(t,u),d(t,f),d(f,b),d(t,w),C.m(t,null),d(t,x)},p(e,t){/*$_*/1024&t[1]&&F!==(F=/*$_*/e[41]("noFavoritesTitle")+"")&&S(b,F),C.p(e,t)},d(e){e&&m(t),C.d()}}}
1357
+ // (953:24) {:else}
1358
1358
  function Zi(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&S(n,r)},d(e){e&&m(t)}}}
1359
- // (938:24) {#if isMobile(userAgent)}
1359
+ // (951:24) {#if isMobile(userAgent)}
1360
1360
  function Ki(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&S(n,r)},d(e){e&&m(t)}}}
1361
- // (849:22) {#if gameprops.gameModel}
1362
- function Xi(e){let t,n=/*gameprops*/e[89].gameModel.isFavorite&&Ji(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[89].gameModel.isFavorite?n?n.p(e,r):(n=Ji(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1363
- // (850:24) {#if gameprops.gameModel.isFavorite}
1361
+ // (862:22) {#if gameprops.gameModel}
1362
+ function Xi(e){let t,n=/*gameprops*/e[90].gameModel.isFavorite&&Ji(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[90].gameModel.isFavorite?n?n.p(e,r):(n=Ji(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1363
+ // (863:24) {#if gameprops.gameModel.isFavorite}
1364
1364
  function Ji(e){let t,n=
1365
- // (851:26) {#if intersecting || nativeLoading}
1365
+ // (864:26) {#if intersecting || nativeLoading}
1366
1366
  function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
1367
- return 512&r[1]&&(n=null),null==t&&(t=!!Dr(/*userAgent*/e[42])),t?Qi:(null==n&&(n=!!/*gameprops*/e[89].gameModel.platform.includes("PC")),n?qi:void 0)}let a=i(e,[-1,-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=b()},m(e,t){o&&o.m(e,t),h(e,r,t)},p(e,t){a===(a=i(e,t))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&m(r)}}}
1368
- // (888:82)
1369
- (e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function qi(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"translationurl",/*translationurl*/e[11]),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[89].gameModel.thumbnail),x(t,"gamename",a=/*gameprops*/e[89].gameModel.name),x(t,"gamevendor",o=/*gameprops*/e[89].gameModel.vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[89].gameModel.isNew),x(t,"gametag",c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),x(t,"gameid",d=/*gameprops*/e[89].gameModel.id),x(t,"gamefunmode",f=/*gameprops*/e[89].gameModel.hasFunMode),x(t,"showgamename",/*showgamename*/e[13]),x(t,"gamefavorite",g=/*gameprops*/e[89].gameModel.isFavorite),x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),x(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[39]),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*translationurl*/2048&h[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[89].gameModel.thumbnail)&&x(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[89].gameModel.name)&&x(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[89].gameModel.vendor.name)&&x(t,"gamevendor",o),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[89].launchUrl)&&x(t,"gamelaunchurl",s),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[89].gameModel.isNew)&&x(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags))&&x(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[89].cellSize)&&x(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[89].gameModel.id)&&x(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&f!==(f=/*gameprops*/e[89].gameModel.hasFunMode)&&x(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[89].gameModel.isFavorite)&&x(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&x(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&h[0]&&x(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:"")&&x(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1370
- // (852:28) {#if isMobile(userAgent)}
1371
- function Qi(e){let t,n=/*gameprops*/e[89].gameModel.platform.includes("iPad")||/*gameprops*/e[89].gameModel.platform.includes("iPhone")||/*gameprops*/e[89].gameModel.platform.includes("Android"),r=n&&ea(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),h(e,t,n)},p(e,i){/*favoriteGamesData*/512&i[1]&&(n=/*gameprops*/e[89].gameModel.platform.includes("iPad")||/*gameprops*/e[89].gameModel.platform.includes("iPhone")||/*gameprops*/e[89].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=ea(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
1372
- // (853:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
1373
- function ea(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[89].gameModel.thumbnail),x(t,"gamename",a=/*gameprops*/e[89].gameModel.name),x(t,"gamevendor",o=/*gameprops*/e[89].gameModel.vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[89].gameModel.isNew),x(t,"gametag",c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),x(t,"gameid",d=/*gameprops*/e[89].gameModel.id),x(t,"gamefunmode",f=/*gameprops*/e[89].gameModel.hasFunMode),x(t,"showgamename",/*showgamename*/e[13]),x(t,"gamefavorite",g=/*gameprops*/e[89].gameModel.isFavorite),x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),x(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[39]),x(t,"translationurl",/*translationurl*/e[11]),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[89].gameModel.thumbnail)&&x(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[89].gameModel.name)&&x(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[89].gameModel.vendor.name)&&x(t,"gamevendor",o),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[89].launchUrl)&&x(t,"gamelaunchurl",s),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[89].gameModel.isNew)&&x(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags))&&x(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[89].cellSize)&&x(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[89].gameModel.id)&&x(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&f!==(f=/*gameprops*/e[89].gameModel.hasFunMode)&&x(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[89].gameModel.isFavorite)&&x(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&x(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&h[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&h[0]&&x(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:"")&&x(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1374
- // (848:20) {#each favoriteGamesData.items as gameprops, index}
1375
- function ta(e){let t,n=/*gameprops*/e[89].gameModel&&Xi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[89].gameModel?n?n.p(e,r):(n=Xi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1376
- // (743:12) {#if casinomygames !== 'true'}
1367
+ return 512&r[1]&&(n=null),null==t&&(t=!!Ar(/*userAgent*/e[42])),t?Qi:(null==n&&(n=!!/*gameprops*/e[90].gameModel.platform.includes("PC")),n?qi:void 0)}let a=i(e,[-1,-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=b()},m(e,t){o&&o.m(e,t),h(e,r,t)},p(e,t){a===(a=i(e,t))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&m(r)}}}
1368
+ // (901:82)
1369
+ (e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function qi(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"translationurl",/*translationurl*/e[11]),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[90].gameModel.thumbnail),x(t,"gamename",a=/*gameprops*/e[90].gameModel.name),x(t,"gamevendor",o=/*gameprops*/e[90].gameModel.vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[90].gameModel.isNew),x(t,"gametag",c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),x(t,"gameid",d=/*gameprops*/e[90].gameModel.id),x(t,"gamefunmode",f=/*gameprops*/e[90].gameModel.hasFunMode),x(t,"showgamename",/*showgamename*/e[13]),x(t,"gamefavorite",g=/*gameprops*/e[90].gameModel.isFavorite),x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),x(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[39]),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*translationurl*/2048&h[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[90].gameModel.thumbnail)&&x(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[90].gameModel.name)&&x(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[90].gameModel.vendor.name)&&x(t,"gamevendor",o),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[90].launchUrl)&&x(t,"gamelaunchurl",s),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[90].gameModel.isNew)&&x(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags))&&x(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[90].cellSize)&&x(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[90].gameModel.id)&&x(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&f!==(f=/*gameprops*/e[90].gameModel.hasFunMode)&&x(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[90].gameModel.isFavorite)&&x(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect")&&x(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&h[0]&&x(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:"")&&x(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1370
+ // (865:28) {#if isMobile(userAgent)}
1371
+ function Qi(e){let t,n=/*gameprops*/e[90].gameModel.platform.includes("iPad")||/*gameprops*/e[90].gameModel.platform.includes("iPhone")||/*gameprops*/e[90].gameModel.platform.includes("Android"),r=n&&ea(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),h(e,t,n)},p(e,i){/*favoriteGamesData*/512&i[1]&&(n=/*gameprops*/e[90].gameModel.platform.includes("iPad")||/*gameprops*/e[90].gameModel.platform.includes("iPhone")||/*gameprops*/e[90].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=ea(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
1372
+ // (866:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
1373
+ function ea(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[90].gameModel.thumbnail),x(t,"gamename",a=/*gameprops*/e[90].gameModel.name),x(t,"gamevendor",o=/*gameprops*/e[90].gameModel.vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[90].gameModel.isNew),x(t,"gametag",c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),x(t,"gameid",d=/*gameprops*/e[90].gameModel.id),x(t,"gamefunmode",f=/*gameprops*/e[90].gameModel.hasFunMode),x(t,"showgamename",/*showgamename*/e[13]),x(t,"gamefavorite",g=/*gameprops*/e[90].gameModel.isFavorite),x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),x(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[39]),x(t,"translationurl",/*translationurl*/e[11]),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[90].gameModel.thumbnail)&&x(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[90].gameModel.name)&&x(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[90].gameModel.vendor.name)&&x(t,"gamevendor",o),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[90].launchUrl)&&x(t,"gamelaunchurl",s),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[90].gameModel.isNew)&&x(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags))&&x(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[90].cellSize)&&x(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[90].gameModel.id)&&x(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&f!==(f=/*gameprops*/e[90].gameModel.hasFunMode)&&x(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[90].gameModel.isFavorite)&&x(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&x(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect")&&x(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&h[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&h[0]&&x(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:"")&&x(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1374
+ // (861:20) {#each favoriteGamesData.items as gameprops, index}
1375
+ function ta(e){let t,n=/*gameprops*/e[90].gameModel&&Xi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[90].gameModel?n?n.p(e,r):(n=Xi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1376
+ // (756:12) {#if casinomygames !== 'true'}
1377
1377
  function na(e){let t,n,r,i,a=/*categoryData*/e[26].name+"";function o(e,t){/*showLoadCategory*/
1378
1378
  return e[28]?ia:ra}let s=o(e),l=s(e);return{c(){t=p("div"),n=p("h3"),r=y(a),i=v(),l.c(),_(n,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(a,o){h(a,t,o),d(t,n),d(n,r),
1379
1379
  /*h3_binding*/e[51](n),d(t,i),l.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&a!==(a=/*categoryData*/e[26].name+"")&&S(r,a),s===(s=o(e))&&l?l.p(e,n):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null)))},d(n){n&&m(t)
1380
1380
  /*h3_binding*/,e[51](null),l.d()}}}
1381
- // (755:16) {:else}
1381
+ // (768:16) {:else}
1382
1382
  function ra(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&aa(e),a=/*addsortingselector*/"true"==e[2]&&oa(e);return{c(){t=p("div"),i&&i.c(),n=v(),a&&a.c(),_(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){h(e,t,r),i&&i.m(t,null),d(t,n),a&&a.m(t,null)},p(e,o){/*addfilterselector*/"true"==e[1]?i?i.p(e,o):(i=aa(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,o):(a=oa(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&o[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&_(t,"class",r)},d(e){e&&m(t),i&&i.d(),a&&a.d()}}}
1383
- // (748:16) {#if showLoadCategory}
1383
+ // (761:16) {#if showLoadCategory}
1384
1384
  function ia(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=p("a"),n=p("span"),r=y(c),i=y(" ("),a=y(u),o=y(")"),_(n,"class","CategoryLoadMore"),_(t,"class","CategoryNameLink")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(n,o),s||(l=w(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&S(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&S(a,u)},d(e){e&&m(t),s=!1,l()}}}
1385
- // (757:22) {#if addfilterselector == "true"}
1385
+ // (770:22) {#if addfilterselector == "true"}
1386
1386
  function aa(e){let t;return{c(){t=p("casino-filter"),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"datasource",/*datasource*/e[4]),x(t,"lang",/*lang*/e[5]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"addfilterselector",/*addfilterselector*/e[1]),x(t,"addsortingselector",/*addsortingselector*/e[2]),x(t,"filterbylogo",/*filterbylogo*/e[19])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&x(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&x(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&x(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&x(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/524288&n[0]&&x(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&m(t)}}}
1387
- // (770:22) {#if addsortingselector == "true"}
1387
+ // (783:22) {#if addsortingselector == "true"}
1388
1388
  function oa(e){let t;return{c(){t=p("casino-sort"),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"lang",/*lang*/e[5]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&x(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&x(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&m(t)}}}
1389
- // (827:14) {:else}
1389
+ // (840:14) {:else}
1390
1390
  function sa(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=p("p"),n=y(r),_(t,"class","NoSearchResults")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
1391
- // (786:14) {#if shownCategoryData.length !== 0 }
1391
+ // (799:14) {#if shownCategoryData.length !== 0 }
1392
1392
  function la(e){let t,n,r=/*shownCategoryData*/e[27],i=[];for(let t=0;t<r.length;t+=1)i[t]=ua(Oi(e,r,t));return{c(){t=p("ul");for(let e=0;e<i.length;e+=1)i[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){h(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
1393
1393
  /*ul_binding*/e[54](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&a[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const o=Oi(e,r,n);i[n]?i[n].p(o,a):(i[n]=ua(o),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&a[0]|/*favoriteGamesData, showFavGamesCategory*/576&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&_(t,"class",n)},d(n){n&&m(t),f(i,n),
1394
1394
  /*ul_binding*/e[54](null)}}}
1395
- // (783:12) {#if isLoading && !isLazyLoading}
1395
+ // (796:12) {#if isLoading && !isLazyLoading}
1396
1396
  function ca(t){let n;return{c(){n=p("div"),_(n,"class","lds-dual-ring"),_(n,"part","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1397
- // (789:18) {#if intersecting || nativeLoading}
1398
- // (788:18) {#each shownCategoryData as gameprops, index}
1399
- function ua(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v,b=/*index*/e[91];const w=()=>/*casino_game_thumbnail_binding*/e[53](t,b),_=()=>/*casino_game_thumbnail_binding*/e[53](null,b);return{c(){t=p("casino-game-thumbnail"),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"class",n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[89].thumbnail),x(t,"gamename",a=/*gameprops*/e[89].name),x(t,"gamevendor",o=/*gameprops*/e[89].vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[89].isNew),x(t,"gametag",c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),x(t,"gameid",d=/*gameprops*/e[89].id),x(t,"gamefunmode",f=/*gameprops*/e[89].hasFunMode),x(t,"gamefavorite",g=/*gameprops*/e[89].isFavorite),x(t,"translationurl",/*translationurl*/e[11]),x(t,"showgamename",/*showgamename*/e[13]),x(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[39]),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",v=/*gameprops*/e[89].details?/*gameprops*/e[89].href:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),x(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){h(e,t,n),w()},p(h,m){e=h,/*session*/64&m[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&x(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"part",r),/*favorites*/256&m[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[89].thumbnail)&&x(t,"gamethumbnail",i),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[89].name)&&x(t,"gamename",a),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[89].vendor.name)&&x(t,"gamevendor",o),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[89].launchUrl)&&x(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[89].isNew)&&x(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags))&&x(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[89].cellSize)&&x(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[89].id)&&x(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&f!==(f=/*gameprops*/e[89].hasFunMode)&&x(t,"gamefunmode",f),/*shownCategoryData*/134217728&m[0]&&g!==(g=/*gameprops*/e[89].isFavorite)&&x(t,"gamefavorite",g),/*translationurl*/2048&m[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&m[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&m[0]|/*intersectingIndexes*/128&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&x(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&x(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&v!==(v=/*gameprops*/e[89].details?/*gameprops*/e[89].href:"")&&x(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&m[0]&&x(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[91]&&(_(),b=/*index*/e[91],w())},d(e){e&&m(t),_()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
1400
- // (688:12) {:else}
1397
+ // (802:18) {#if intersecting || nativeLoading}
1398
+ // (801:18) {#each shownCategoryData as gameprops, index}
1399
+ function ua(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v,b=/*index*/e[92];const w=()=>/*casino_game_thumbnail_binding*/e[53](t,b),_=()=>/*casino_game_thumbnail_binding*/e[53](null,b);return{c(){t=p("casino-game-thumbnail"),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"class",n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[90].thumbnail),x(t,"gamename",a=/*gameprops*/e[90].name),x(t,"gamevendor",o=/*gameprops*/e[90].vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[90].isNew),x(t,"gametag",c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),x(t,"gameid",d=/*gameprops*/e[90].id),x(t,"gamefunmode",f=/*gameprops*/e[90].hasFunMode),x(t,"gamefavorite",g=/*gameprops*/e[90].isFavorite),x(t,"translationurl",/*translationurl*/e[11]),x(t,"showgamename",/*showgamename*/e[13]),x(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[39]),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",v=/*gameprops*/e[90].details?/*gameprops*/e[90].href:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),x(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){h(e,t,n),w()},p(h,m){e=h,/*session*/64&m[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&x(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"part",r),/*favorites*/256&m[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[90].thumbnail)&&x(t,"gamethumbnail",i),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[90].name)&&x(t,"gamename",a),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[90].vendor.name)&&x(t,"gamevendor",o),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[90].launchUrl)&&x(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[90].isNew)&&x(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags))&&x(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[90].cellSize)&&x(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[90].id)&&x(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&f!==(f=/*gameprops*/e[90].hasFunMode)&&x(t,"gamefunmode",f),/*shownCategoryData*/134217728&m[0]&&g!==(g=/*gameprops*/e[90].isFavorite)&&x(t,"gamefavorite",g),/*translationurl*/2048&m[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&m[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&m[0]|/*intersectingIndexes*/128&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect")&&x(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&x(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&v!==(v=/*gameprops*/e[90].details?/*gameprops*/e[90].href:"")&&x(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&m[0]&&x(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[92]&&(_(),b=/*index*/e[92],w())},d(e){e&&m(t),_()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
1400
+ // (701:12) {:else}
1401
1401
  function da(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
1402
- // (684:12) {#if !shownCategoryData.length}
1402
+ // (697:12) {#if !shownCategoryData.length}
1403
1403
  function ha(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
1404
- // (679:10) {#if recentSearched}
1404
+ // (692:10) {#if recentSearched}
1405
1405
  function ma(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
1406
- // (735:8) {:else}
1406
+ // (748:8) {:else}
1407
1407
  function fa(t){let n;return{c(){n=p("p"),n.textContent="Waiting",_(n,"class","SearchWaiting")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1408
- // (695:8) {#if shownCategoryData}
1408
+ // (708:8) {#if shownCategoryData}
1409
1409
  function pa(e){let t,n,r=!/*showItems*/e[33]&&ga(e),i=/*shownCategoryData*/e[27],a=[];for(let t=0;t<i.length;t+=1)a[t]=ya(Ni(e,i,t));return{c(){r&&r.c(),t=v(),n=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),h(e,t,i),h(e,n,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(e,o){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,o):(r=ga(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&o[0]|/*searchItem, addGameTag*/4097&o[1]){let t;for(i=/*shownCategoryData*/e[27],t=0;t<i.length;t+=1){const r=Ni(e,i,t);a[t]?a[t].p(r,o):(a[t]=ya(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&m(t),e&&m(n),f(a,e)}}}
1410
- // (697:10) {#if !showItems}
1411
- function ga(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=p("p"),n=y(r),_(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Dr(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&S(n,r)},d(e){e&&m(t)}}}
1412
- // (701:12) {#each shownCategoryData as gameprops, index}
1413
- function ya(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"searchitem",/*searchItem*/e[31]),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[89].thumbnail),x(t,"gamename",a=/*gameprops*/e[89].name),x(t,"gamevendor",o=/*gameprops*/e[89].vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[89].isNew),x(t,"gametag",c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),x(t,"gameid",d=/*gameprops*/e[89].id),x(t,"gamefunmode",f=/*gameprops*/e[89].hasFunMode),x(t,"showgamename",/*showgamename*/e[13]),x(t,"translationurl",/*translationurl*/e[11]),x(t,"gamefavorite",g=/*gameprops*/e[89].isFavorite),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",y=/*gameprops*/e[89].details?/*gameprops*/e[89].href:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*shownCategoryData*/134217728&h[0]&&n!==(n=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"class",n),/*shownCategoryData*/134217728&h[0]&&r!==(r=""+(_a+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*searchItem*/1&h[1]&&x(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&h[0]&&i!==(i=/*gameprops*/e[89].thumbnail)&&x(t,"gamethumbnail",i),/*shownCategoryData*/134217728&h[0]&&a!==(a=/*gameprops*/e[89].name)&&x(t,"gamename",a),/*shownCategoryData*/134217728&h[0]&&o!==(o=/*gameprops*/e[89].vendor.name)&&x(t,"gamevendor",o),/*shownCategoryData*/134217728&h[0]&&s!==(s=/*gameprops*/e[89].launchUrl)&&x(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&h[0]&&l!==(l=/*gameprops*/e[89].isNew)&&x(t,"gameisnew",l),/*shownCategoryData*/134217728&h[0]&&c!==(c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags))&&x(t,"gametag",c),/*shownCategoryData*/134217728&h[0]&&u!==(u=/*gameprops*/e[89].cellSize)&&x(t,"gamecellsize",u),/*shownCategoryData*/134217728&h[0]&&d!==(d=/*gameprops*/e[89].id)&&x(t,"gameid",d),/*shownCategoryData*/134217728&h[0]&&f!==(f=/*gameprops*/e[89].hasFunMode)&&x(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&h[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&h[0]&&g!==(g=/*gameprops*/e[89].isFavorite)&&x(t,"gamefavorite",g),/*currency*/4096&h[0]&&x(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&h[0]&&y!==(y=/*gameprops*/e[89].details?/*gameprops*/e[89].href:"")&&x(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1414
- // (672:4) {:else}
1410
+ // (710:10) {#if !showItems}
1411
+ function ga(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=p("p"),n=y(r),_(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ar(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&S(n,r)},d(e){e&&m(t)}}}
1412
+ // (714:12) {#each shownCategoryData as gameprops, index}
1413
+ function ya(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"part",r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"searchitem",/*searchItem*/e[31]),x(t,"favorites",/*favorites*/e[8]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"gamethumbnail",i=/*gameprops*/e[90].thumbnail),x(t,"gamename",a=/*gameprops*/e[90].name),x(t,"gamevendor",o=/*gameprops*/e[90].vendor.name),x(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),x(t,"gameisnew",l=/*gameprops*/e[90].isNew),x(t,"gametag",c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags)),x(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),x(t,"gameid",d=/*gameprops*/e[90].id),x(t,"gamefunmode",f=/*gameprops*/e[90].hasFunMode),x(t,"showgamename",/*showgamename*/e[13]),x(t,"translationurl",/*translationurl*/e[11]),x(t,"gamefavorite",g=/*gameprops*/e[90].isFavorite),x(t,"currency",/*currency*/e[12]),x(t,"livelobbyendpoint",y=/*gameprops*/e[90].details?/*gameprops*/e[90].href:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[14]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*shownCategoryData*/134217728&h[0]&&n!==(n=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"class",n),/*shownCategoryData*/134217728&h[0]&&r!==(r=""+(_a+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*searchItem*/1&h[1]&&x(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&h[0]&&i!==(i=/*gameprops*/e[90].thumbnail)&&x(t,"gamethumbnail",i),/*shownCategoryData*/134217728&h[0]&&a!==(a=/*gameprops*/e[90].name)&&x(t,"gamename",a),/*shownCategoryData*/134217728&h[0]&&o!==(o=/*gameprops*/e[90].vendor.name)&&x(t,"gamevendor",o),/*shownCategoryData*/134217728&h[0]&&s!==(s=/*gameprops*/e[90].launchUrl)&&x(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&h[0]&&l!==(l=/*gameprops*/e[90].isNew)&&x(t,"gameisnew",l),/*shownCategoryData*/134217728&h[0]&&c!==(c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags))&&x(t,"gametag",c),/*shownCategoryData*/134217728&h[0]&&u!==(u=/*gameprops*/e[90].cellSize)&&x(t,"gamecellsize",u),/*shownCategoryData*/134217728&h[0]&&d!==(d=/*gameprops*/e[90].id)&&x(t,"gameid",d),/*shownCategoryData*/134217728&h[0]&&f!==(f=/*gameprops*/e[90].hasFunMode)&&x(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&x(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&h[0]&&x(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&h[0]&&g!==(g=/*gameprops*/e[90].isFavorite)&&x(t,"gamefavorite",g),/*currency*/4096&h[0]&&x(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&h[0]&&y!==(y=/*gameprops*/e[90].details?/*gameprops*/e[90].href:"")&&x(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&x(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1414
+ // (685:4) {:else}
1415
1415
  function va(e){let t;return{c(){t=p("p"),t.textContent="500 Error - Internal Server Error.",_(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}
1416
- // (670:4) {#if presentFilters}
1416
+ // (683:4) {#if presentFilters}
1417
1417
  function ba(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 wa(t){let n;function r(e,t){/*hasErrors*/
1418
1418
  return e[24]?Hi:/*searched*/e[29]?Ri:Pi}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),
1419
1419
  /*div_binding*/t[57](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(),
1420
- /*div_binding*/t[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends j{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-primary, #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),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Di,Ii,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),H()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),H()}});const _a="game-tile-";function xa(e,t,n){let r;u(e,Ir,(e=>n(41,r=e)));let i,a,o,s,l,c,d,h,m,f,{endpoint:p=""}=t,{datasource:g=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:b=""}=t,{favorites:w=""}=t,{clientstyling:_=""}=t,{clientstylingurl:x=""}=t,{translationurl:S=""}=t,{currency:F=""}=t,{categoryid:k=""}=t,{showgamename:C=""}=t,{livecasino:E="false"}=t,{gamepagemodalurl:T="true"}=t,{integratedgameframedesktop:$="false"}=t,{integratedgameframemobile:L="false"}=t,{casinomygames:I="false"}=t,{addfilterselector:D="false"}=t,{addsortingselector:A="false"}=t,{filterbylogo:O=""}=t,{casinogamesgridslider:N="false"}=t,{fetchviaevent:P="false"}=t,{showallpage:R="casino"}=t,{actionevent:H="CategoryChange"}=t,{displayedgamecount:B="10"}=t,{showallbuttongamescount:U="10"}=t,Y=!0,z=!1,j=!0,W=window.navigator.userAgent,V=[],Z=!0,K=40,X=!1,J=!1,q=!1,Q=!1,ee=!1,te=!0,ne=!1,re=!1,ie=!1,ae=new Array(1e4),oe={},se="",le="",ce=[],ue={items:[],count:0,name:""};Object.keys(Rr).forEach((e=>{Pr(e,Rr[e])})),void 0!==document.hidden?
1420
+ /*div_binding*/t[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends j{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-primary, #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),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ai,Ii,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),H()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),H()}});const _a="game-tile-";function xa(e,t,n){let r;u(e,Ir,(e=>n(41,r=e)));let i,a,o,s,l,c,d,h,m,f,{endpoint:p=""}=t,{datasource:g=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:b=""}=t,{favorites:w=""}=t,{clientstyling:_=""}=t,{clientstylingurl:x=""}=t,{translationurl:S=""}=t,{currency:F=""}=t,{categoryid:k=""}=t,{showgamename:C=""}=t,{livecasino:E="false"}=t,{gamepagemodalurl:T="true"}=t,{integratedgameframedesktop:$="false"}=t,{integratedgameframemobile:L="false"}=t,{casinomygames:I="false"}=t,{addfilterselector:A="false"}=t,{addsortingselector:D="false"}=t,{filterbylogo:O=""}=t,{casinogamesgridslider:N="false"}=t,{fetchviaevent:P="false"}=t,{showallpage:R="casino"}=t,{actionevent:H="CategoryChange"}=t,{displayedgamecount:B="10"}=t,{showallbuttongamescount:U="10"}=t,Y=!0,z=!1,j=!0,W=window.navigator.userAgent,V=[],Z=!0,K=40,X=!1,J=!1,q=!1,Q=!1,ee=!1,te=!0,ne=!1,re=!1,ie=!1,ae=new Array(1e4),oe={},se="",le="",ce=[],ue=new AbortController,de={items:[],count:0,name:""};Object.keys(Rr).forEach((e=>{Pr(e,Rr[e])})),void 0!==document.hidden?
1421
1421
  // Opera 12.10 and Firefox 18 and later support
1422
1422
  h="hidden":void 0!==document.msHidden?h="msHidden":void 0!==document.webkitHidden&&(h="webkitHidden");
1423
1423
  // IntersectionObserver used for loading more games
1424
- let de=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,r=e.target.elems_index;// eslint-disable-line
1424
+ let he=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,r=e.target.elems_index;// eslint-disable-line
1425
1425
  // eslint-disable-line
1426
- e.isIntersecting?(1.2*r>K&&we(k),n(38,oe[t]=1,oe)):n(38,oe[t]=0,oe)}))}));
1426
+ e.isIntersecting?(1.2*r>K&&_e(k),n(38,oe[t]=1,oe)):n(38,oe[t]=0,oe)}))}));
1427
1427
  // Start favored games section
1428
- const he=(e,t)=>{let r=`${p}/v1/player/${t}/favorites/`;n(23,Y=!0);let i={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(r,i).then((e=>e.json())).then((t=>{n(23,Y=!1),f=[],t?(t.items.forEach((e=>{e.gameModel&&(f.push(e),ce.includes(e.id)||ce.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f})):f=[],"FAVORITES"===k&&be(f),V.forEach((e=>{e.isFavorite=pe(e.id)}));let r=V;n(27,V=void 0),n(27,V=r),e(f)})).catch((e=>{console.error(e),t(e)}))}))},me=(e,t,r)=>{n(23,Y=!0);let i="",a="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(i=e.split("$").slice(0,2).join("$"),a=new URL(`${p}/v1/casino/groups/${g}/${i}/subGroups`)):a=new URL(`${p}/v1/casino/groups/${g}/${e}`),new Promise(((i,c)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",Ar(W)),a.searchParams.append("pagination",`games(offset=${t},limit=${r})`),a.searchParams.append("language",y),
1428
+ const me=(e,t)=>{let r=`${p}/v1/player/${t}/favorites/`;n(23,Y=!0);let i={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(r,i).then((e=>e.json())).then((t=>{n(23,Y=!1),f=[],t?(t.items.forEach((e=>{e.gameModel&&(f.push(e),ce.includes(e.id)||ce.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f})):f=[],"FAVORITES"===k&&we(f),V.forEach((e=>{e.isFavorite=ge(e.id)}));let r=V;n(27,V=void 0),n(27,V=r),e(f)})).catch((e=>{console.error(e),t(e)}))}))},fe=(e,t,r)=>{ue&&ue.abort(),ue=new AbortController;const i=ue.signal;n(23,Y=!0);let a="",o="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),c=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(a=e.split("$").slice(0,2).join("$"),o=new URL(`${p}/v1/casino/groups/${g}/${a}/subGroups`)):o=new URL(`${p}/v1/casino/groups/${g}/${e}`),new Promise(((a,u)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Dr(W)),o.searchParams.append("pagination",`games(offset=${t},limit=${r})`),o.searchParams.append("language",y),
1429
1429
  // if vendor filters are active, get filtered games
1430
- window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),o&&o[e])if(o[e].length&&!1===j&&!1===re){let t="";n(32,ee=!0),o[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),a.searchParams.append("filter",`${t}`)}else n(32,ee=!1);s&&(s[e]?s[e]&&"All"!=s[e]&&("isNew"==s[e]||"advancedTags(name(hot))"==s[e]?(a.searchParams.append("sortedField",`games(${s[e]})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${s[e]})`)):le&&"All"!=le&&("advancedTags(name(hot))"==le||"isNew"==le?(a.searchParams.append("sortedField",`games(${le})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${le})`))),fetch(a).then((e=>e.json())).then((t=>{n(23,Y=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),n(50,m=!0),n(24,z=!1),l=t.games.total,i(t)}),(e=>{n(24,z=!0),console.error(e),c(e)}))}))},fe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==k&&(n(29,X=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.mostPlayedGames),n(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(23,Y=!1);break;case"LastPlayedData":"LASTPLAYED"==k&&(n(29,X=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.lastPlayedGames),n(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(23,Y=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(29,X=!0),n(30,J=!0),e.data.searchData.length>0?(n(27,V=e.data.searchData),n(33,te=!0),V&&V.forEach((e=>{e.isFavorite=pe(e.id)}))):(n(27,V=[]),n(33,te=!1));break;case"OutOfRecentSearches":n(29,X=!1),n(30,J=!1);break;case"SearchData":n(29,X=!0),n(30,J=!1),n(27,V=e.data.searchData.items||[]),n(31,Q=!0),e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),V&&V.forEach((e=>{e.isFavorite=pe(e.id)}));break;case`CategoryData_${k}`:n(29,X=!1),n(25,j=!0),n(1,D="false"),n(2,A="false"),n(31,Q=!1),ie=!1,e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),me(e.data.categoryId,0,e.data.visiblegames).then((t=>{n(26,o=t),n(27,V=o.games.items),l<=e.data.visiblegames?n(28,Z=!1):n(28,Z=!0),V&&V.forEach((e=>{e.isFavorite=pe(e.id)}))}));break;case"CategoryChange":K=20;break;case"ApplySorter":n(0,k=e.data.itemId),le=e.data.sortBy,me(k,0,K).then((e=>{n(26,o=e),n(27,V=o.games.items),n(28,Z=!1)}));break;case"CategoryUpdate":n(29,X=!1),n(25,j=!1),n(31,Q=!1),ie=!0,n(0,k=e.data.itemId),"MOSTPLAYED"!==k&&n(28,Z=!1),"true"!==I&&me(k,0,K).then((t=>{n(26,o=t),o.games.items.forEach((e=>{e.isFavorite=pe(e.id)})),n(27,V=o.games.items),n(28,Z=!1),
1430
+ window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),s&&s[e])if(s[e].length&&!1===j&&!1===re){let t="";n(32,ee=!0),s[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),o.searchParams.append("filter",`${t}`)}else n(32,ee=!1);c&&(c[e]?c[e]&&"All"!=c[e]&&("isNew"==c[e]||"advancedTags(name(hot))"==c[e]?(o.searchParams.append("sortedField",`games(${c[e]})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${c[e]})`)):le&&"All"!=le&&("advancedTags(name(hot))"==le||"isNew"==le?(o.searchParams.append("sortedField",`games(${le})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${le})`))),fetch(o,{signal:i}).then((e=>e.json())).then((t=>{i.aborted||(n(23,Y=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),n(50,m=!0),n(24,z=!1),l=t.games.total,n(34,ne=!0),a(t))})).catch((e=>{"AbortError"!==e.name&&(n(24,z=!0),console.error(e),u(e))}))}))},pe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==k&&(n(29,X=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.mostPlayedGames),n(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(23,Y=!1);break;case"LastPlayedData":"LASTPLAYED"==k&&(n(29,X=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.lastPlayedGames),n(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(23,Y=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(29,X=!0),n(30,J=!0),e.data.searchData.length>0?(n(27,V=e.data.searchData),n(33,te=!0),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))):(n(27,V=[]),n(33,te=!1));break;case"OutOfRecentSearches":n(29,X=!1),n(30,J=!1);break;case"SearchData":n(29,X=!0),n(30,J=!1),n(27,V=e.data.searchData.items||[]),n(31,Q=!0),e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}));break;case`CategoryData_${k}`:n(29,X=!1),n(25,j=!0),n(1,A="false"),n(2,D="false"),n(31,Q=!1),ie=!1,e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),fe(e.data.categoryId,0,e.data.visiblegames).then((t=>{n(26,o=t),n(27,V=o.games.items),l<=e.data.visiblegames?n(28,Z=!1):n(28,Z=!0),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))}));break;case"CategoryChange":K=20;break;case"ApplySorter":n(0,k=e.data.itemId),le=e.data.sortBy,fe(k,0,K).then((e=>{n(26,o=e),n(27,V=o.games.items),n(28,Z=!1)}));break;case"CategoryUpdate":n(29,X=!1),n(25,j=!1),n(31,Q=!1),ie=!0,n(34,ne=!1),n(0,k=e.data.itemId),"MOSTPLAYED"!==k&&n(28,Z=!1),"true"!==I&&fe(k,0,K).then((t=>{n(26,o=t),o.games.items.forEach((e=>{e.isFavorite=ge(e.id)})),n(27,V=o.games.items),n(28,Z=!1),
1431
1431
  // @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
1432
- V.length<10&&0==e.data.origin&&(q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:q},window.location.href)}),500))}));break;case`SetUnfavoredGame${k}`:ye(`${p}/v1/player/${b}/favorites`,v,e.data.id);break;case`SetFavoredGame${k}`:ge(`${p}/v1/player/${b}/favorites`,v,e.data.id);break;case"UserSessionID":i=e.data.session,a=e.data.userID,"true"==w&&a&&a.length&&i&&i.length>0&&he(i,a);break;case"UpdateFavoredList":"FAVORITES"===k&&ve(e.data.url,e.data.sessionID)}},pe=e=>{var t;return null!==(t=null==f?void 0:f.some((t=>t.id===e)))&&void 0!==t&&t};
1432
+ V.length<10&&0==e.data.origin&&(q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:q},window.location.href)}),500))}));break;case`SetUnfavoredGame${k}`:ve(`${p}/v1/player/${b}/favorites`,v,e.data.id);break;case`SetFavoredGame${k}`:ye(`${p}/v1/player/${b}/favorites`,v,e.data.id);break;case"UserSessionID":i=e.data.session,a=e.data.userID,"true"==w&&a&&a.length&&i&&i.length>0&&me(i,a);break;case"UpdateFavoredList":"FAVORITES"===k&&be(e.data.url,e.data.sessionID)}},ge=e=>{var t;return null!==(t=null==f?void 0:f.some((t=>t.id===e)))&&void 0!==t&&t};
1433
1433
  // @TODO categoryId type
1434
- let ge=async(e,t,n)=>{
1434
+ let ye=async(e,t,n)=>{
1435
1435
  // Wait for the updateFavoredList to complete
1436
- await ve(e,t),ce.includes(n)||ce.push(n);let r={items:ce},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e,i).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)})).catch((e=>{console.error("Err",e)}))};const ye=(e,t,n)=>{fetch(`${e}/${n}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${n}`},window.location.href),ve(e,t)})),ce.includes(n)&&(ce=ce.filter((e=>e!=n)))},ve=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>{f=e.items,P?(f.forEach((e=>{ce.includes(e.id)||ce.push(e.id)})),o&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=pe(e.id)})))):f.forEach((e=>{e.isFavorite=pe(e.id)})),"FAVORITES"===k&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f}),be(f))})).catch((e=>{console.error(e)})),be=e=>{if(!e)return;let t;t=(null==e?void 0:e.items)||e||[],t.length>0&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!0)})),n(40,ue.items=
1436
+ await be(e,t),ce.includes(n)||ce.push(n);let r={items:ce},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e,i).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)})).catch((e=>{console.error("Err",e)}))};const ve=(e,t,n)=>{fetch(`${e}/${n}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${n}`},window.location.href),be(e,t)})),ce.includes(n)&&(ce=ce.filter((e=>e!=n)))},be=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>{f=e.items,P?(f.forEach((e=>{ce.includes(e.id)||ce.push(e.id)})),o&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=ge(e.id)})))):f.forEach((e=>{e.isFavorite=ge(e.id)})),"FAVORITES"===k&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f}),we(f))})).catch((e=>{console.error(e)})),we=e=>{if(!e)return;let t;t=(null==e?void 0:e.items)||e||[],t.length>0&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!0)})),n(40,de.items=
1437
1437
  // separate favorites array into mobile and desktop favorites
1438
1438
  function(e){let t=window.navigator.userAgent;
1439
1439
  // make sure to display favored games specific to the platform used
1440
- return Dr(t)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,ue.items),ue),n(40,ue.name="Favorites",ue),n(23,Y=!1)},we=e=>{K+=1,n(34,ne=!0),K<=l&&me(e,0,K).then((e=>{n(26,o=e),
1440
+ return Ar(t)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,de.items),de),n(40,de.name="Favorites",de),n(23,Y=!1)},_e=e=>{K+=1,n(34,ne=!0),K<=l&&fe(e,0,K).then((e=>{n(26,o=e),
1441
1441
  // @TODO categoryData type fix
1442
1442
  /**
1443
1443
  * This check is needed to prevent requests with less items
1444
1444
  * that started before but ended after the last request to add items to list
1445
1445
  * This could also use abort controller instead but refactoring is needed
1446
1446
  */
1447
- o.games.items.length>V.length&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=pe(e.id)}))),n(34,ne=!1)}))},_e=e=>{window.postMessage({type:`${H}`,itemId:e,showallpage:R},window.location.href)},xe=()=>{var e;e=y,mr.set(e)};
1447
+ o.games.items.length>V.length&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=ge(e.id)}))),n(34,ne=!1)}))},xe=e=>{window.postMessage({type:`${H}`,itemId:e,showallpage:R},window.location.href)},Se=()=>{var e;e=y,mr.set(e)};
1448
1448
  //Fetch fav list and pass to be updated
1449
- G((()=>(window.addEventListener("visibilitychange",(e=>{document[h]?n(39,se="disconnect"):n(39,se="connect")})),window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),window.removeEventListener("visibilitychange",fe)})));return e.$$set=e=>{"endpoint"in e&&n(3,p=e.endpoint),"datasource"in e&&n(4,g=e.datasource),"lang"in e&&n(5,y=e.lang),"session"in e&&n(6,v=e.session),"userid"in e&&n(7,b=e.userid),"favorites"in e&&n(8,w=e.favorites),"clientstyling"in e&&n(9,_=e.clientstyling),"clientstylingurl"in e&&n(10,x=e.clientstylingurl),"translationurl"in e&&n(11,S=e.translationurl),"currency"in e&&n(12,F=e.currency),"categoryid"in e&&n(0,k=e.categoryid),"showgamename"in e&&n(13,C=e.showgamename),"livecasino"in e&&n(14,E=e.livecasino),"gamepagemodalurl"in e&&n(15,T=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(16,$=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(17,L=e.integratedgameframemobile),"casinomygames"in e&&n(18,I=e.casinomygames),"addfilterselector"in e&&n(1,D=e.addfilterselector),"addsortingselector"in e&&n(2,A=e.addsortingselector),"filterbylogo"in e&&n(19,O=e.filterbylogo),"casinogamesgridslider"in e&&n(20,N=e.casinogamesgridslider),"fetchviaevent"in e&&n(45,P=e.fetchviaevent),"showallpage"in e&&n(46,R=e.showallpage),"actionevent"in e&&n(47,H=e.actionevent),"displayedgamecount"in e&&n(48,B=e.displayedgamecount),"showallbuttongamescount"in e&&n(49,U=e.showallbuttongamescount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty[0]&&y&&xe(),/*endpoint, lang, categoryid, datasource*/57&e.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&e.$$.dirty[1]&&(
1449
+ G((()=>(window.addEventListener("visibilitychange",(e=>{document[h]?n(39,se="disconnect"):n(39,se="connect")})),window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe),window.removeEventListener("visibilitychange",pe)})));return e.$$set=e=>{"endpoint"in e&&n(3,p=e.endpoint),"datasource"in e&&n(4,g=e.datasource),"lang"in e&&n(5,y=e.lang),"session"in e&&n(6,v=e.session),"userid"in e&&n(7,b=e.userid),"favorites"in e&&n(8,w=e.favorites),"clientstyling"in e&&n(9,_=e.clientstyling),"clientstylingurl"in e&&n(10,x=e.clientstylingurl),"translationurl"in e&&n(11,S=e.translationurl),"currency"in e&&n(12,F=e.currency),"categoryid"in e&&n(0,k=e.categoryid),"showgamename"in e&&n(13,C=e.showgamename),"livecasino"in e&&n(14,E=e.livecasino),"gamepagemodalurl"in e&&n(15,T=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(16,$=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(17,L=e.integratedgameframemobile),"casinomygames"in e&&n(18,I=e.casinomygames),"addfilterselector"in e&&n(1,A=e.addfilterselector),"addsortingselector"in e&&n(2,D=e.addsortingselector),"filterbylogo"in e&&n(19,O=e.filterbylogo),"casinogamesgridslider"in e&&n(20,N=e.casinogamesgridslider),"fetchviaevent"in e&&n(45,P=e.fetchviaevent),"showallpage"in e&&n(46,R=e.showallpage),"actionevent"in e&&n(47,H=e.actionevent),"displayedgamecount"in e&&n(48,B=e.displayedgamecount),"showallbuttongamescount"in e&&n(49,U=e.showallbuttongamescount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty[0]&&y&&Se(),/*endpoint, lang, categoryid, datasource*/57&e.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&e.$$.dirty[1]&&(
1450
1450
  //Widget is working as standalone when fetchviaevent isn't set
1451
- "false"===P||""===P)&&p&&y&&k&&g&&B&&U&&((e,t,r)=>{""!==e&&(n(29,X=!1),n(25,j=!0),n(1,D="false"),n(2,A="false"),n(31,Q=!1),ie=!1,n(28,Z=+t>+r),me(e,0,+t).then((e=>{n(26,o=e),n(27,V=o.games.items),V&&V.forEach((e=>{e.isFavorite=pe(e.id)}))})))})(k,B,U),/*favorites, endpoint, session, userid*/456&e.$$.dirty[0]&&
1451
+ "false"===P||""===P)&&p&&y&&k&&g&&B&&U&&((e,t,r)=>{""!==e&&(n(29,X=!1),n(25,j=!0),n(1,A="false"),n(2,D="false"),n(31,Q=!1),ie=!1,n(28,Z=+t>+r),fe(e,0,+t).then((e=>{n(26,o=e),n(27,V=o.games.items),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))})))})(k,B,U),/*favorites, endpoint, session, userid*/456&e.$$.dirty[0]&&
1452
1452
  //Call the fav. list fetch when widget is standalone
1453
- "true"===w&&p&&v&&b&&he(v,b),/*thumbnailContainer*/4194304&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&m&&ae&&ie&&ae.forEach(((e,t)=>{e&&(
1453
+ "true"===w&&p&&v&&b&&me(v,b),/*thumbnailContainer*/4194304&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&m&&ae&&ie&&ae.forEach(((e,t)=>{e&&(
1454
1454
  // Hack to make sure that I can identify the thumbnail index
1455
- e.elems_index=t,de.observe(e))})),/*lang, categoryid, userid, session*/225&e.$$.dirty[0]&&y&&k&&b&&v&&(()=>{
1455
+ e.elems_index=t,he.observe(e))})),/*lang, categoryid, userid, session*/225&e.$$.dirty[0]&&y&&k&&b&&v&&(()=>{
1456
1456
  // showFavGamesCategory vs categoryData
1457
1457
  // favoriteGamesData vs shownCategoryData
1458
- switch(k){case"FAVORITES":n(37,re=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===I&&n(37,re=!1)}})(),/*translationurl*/2048&e.$$.dirty[0]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&e.$$.dirty[0]&&_&&d&&(()=>{let e=document.createElement("style");e.innerHTML=_,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&e.$$.dirty[0]&&x&&d&&(()=>{let e=new URL(x),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})()},[k,D,A,p,g,y,v,b,w,_,x,S,F,C,E,T,$,L,I,O,N,d,ae,Y,z,j,o,V,Z,X,J,Q,ee,te,ne,s,c,re,oe,se,ue,r,W,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);Hr(l).diff(i)<r&&(r=Hr(l).diff(i),t=o),Hr(i).isAfter(s)&&Hr(i).isBefore(l)&&(n=e[t].name)})),n},_e,P,R,H,B,U,m,function(e){M[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},e=>_e(o.id),function(e,t){M[e?"unshift":"push"]((()=>{ae[t]=e,n(22,ae)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){M[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){M[e?"unshift":"push"]((()=>{d=e,n(21,d)}))}]}
1458
+ switch(k){case"FAVORITES":n(37,re=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===I&&n(37,re=!1)}})(),/*translationurl*/2048&e.$$.dirty[0]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&e.$$.dirty[0]&&_&&d&&(()=>{let e=document.createElement("style");e.innerHTML=_,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&e.$$.dirty[0]&&x&&d&&(()=>{let e=new URL(x),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})()},[k,A,D,p,g,y,v,b,w,_,x,S,F,C,E,T,$,L,I,O,N,d,ae,Y,z,j,o,V,Z,X,J,Q,ee,te,ne,s,c,re,oe,se,de,r,W,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);Hr(l).diff(i)<r&&(r=Hr(l).diff(i),t=o),Hr(i).isAfter(s)&&Hr(i).isBefore(l)&&(n=e[t].name)})),n},xe,P,R,H,B,U,m,function(e){M[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},e=>xe(o.id),function(e,t){M[e?"unshift":"push"]((()=>{ae[t]=e,n(22,ae)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){M[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){M[e?"unshift":"push"]((()=>{d=e,n(21,d)}))}]}
1459
1459
  /* src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */
1460
1460
  function Sa(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[14]),x(t,"fetchviaevent",/*fetchviaevent*/e[16]),x(t,"categoryid","MOSTPLAYED"),x(t,"categoryindex","1"),x(t,"categorygames","9"),x(t,"class","CategoryContainer"),x(t,"showgamename",/*showgamename*/e[12]),x(t,"clientstyling",/*clientstyling*/e[6]),x(t,"clientstylingurl",/*clientstylingurl*/e[7]),x(t,"livecasino",/*livecasino*/e[8]),x(t,"visiblegames",/*visiblegames*/e[13]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),x(t,"casinomygames",/*casinomygames*/e[15])},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*/16384&n[0]&&x(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&x(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&x(t,"showgamename",/*showgamename*/e[12]),/*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*/8192&n[0]&&x(t,"visiblegames",/*visiblegames*/e[13]),/*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*/32768&n[0]&&x(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&m(t)}}}
1461
1461
  // (153:4) {#if mostPlayedEmpty}
1462
1462
  function Fa(e){let t,n,r=/*$_*/e[19]("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){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function ka(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
1463
1463
  return e[18]?Fa:Sa}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),
1464
1464
  /*div1_binding*/t[23](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(),
1465
- /*div1_binding*/t[23](null)}}}function Ca(e,t,n){let r;u(e,Ir,(e=>n(19,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,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:F="true"}=t,k=window.navigator.userAgent;Object.keys(Nr).forEach((e=>{Or(e,Nr[e])}));let C,E,G=[],T=!1;const $=()=>{(e=>{let t=new URL(`${i}/v1/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),C=m?t:t.href,new Promise(((e,t)=>{fetch(C).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:Ar(k),rounds:S}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{G=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(G=G.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)}))}else n(18,T=!0)}))},L=()=>{var e;e=s,mr.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),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,F=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&$(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&d&&E&&(()=>{let e=document.createElement("style");e.innerHTML=d,E.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&E&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{E.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(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,b,_,F,E,T,r,w,x,S,function(e){M[e?"unshift":"push"]((()=>{E=e,n(17,E)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends j{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.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-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #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}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (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}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (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}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (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-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},xa,wa,a,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),H()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),H()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),H()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),H()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),H()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),H()}});class Ea extends j{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-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ca,ka,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,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Ea),Ea}));
1465
+ /*div1_binding*/t[23](null)}}}function Ca(e,t,n){let r;u(e,Ir,(e=>n(19,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,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:F="true"}=t,k=window.navigator.userAgent;Object.keys(Nr).forEach((e=>{Or(e,Nr[e])}));let C,E,G=[],T=!1;const $=()=>{(e=>{let t=new URL(`${i}/v1/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),C=m?t:t.href,new Promise(((e,t)=>{fetch(C).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:Dr(k),rounds:S}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{G=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(G=G.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)}))}else n(18,T=!0)}))},L=()=>{var e;e=s,mr.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),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,F=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&$(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&d&&E&&(()=>{let e=document.createElement("style");e.innerHTML=d,E.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&E&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{E.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(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,b,_,F,E,T,r,w,x,S,function(e){M[e?"unshift":"push"]((()=>{E=e,n(17,E)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends j{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.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-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #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}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (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}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (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}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (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-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},xa,wa,a,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),H()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),H()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),H()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),H()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),H()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),H()}});class Ea extends j{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-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ca,ka,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,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Ea),Ea}));
1466
1466
  //# sourceMappingURL=casino-most-played-section.js.map