@everymatrix/casino-most-played-section 1.13.7 → 1.13.9

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.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let o,s;function l(e,t){return o||(o=document.createElement("a")),o.href=t,e===o.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function d(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function p(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function _(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:_(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}class E{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=p(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)h(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function C(e){const t={};for(const n of e)t[n.name]=n.value;return t}function G(e){s=e}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let o,s;function l(e,t){return o||(o=document.createElement("a")),o.href=t,e===o.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function d(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function p(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function _(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:_(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}class E{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=p(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)h(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function C(e){const t={};for(const n of e)t[n.name]=n.value;return t}function k(e){s=e}
2
2
  /**
3
3
  * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
4
4
  * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * https://svelte.dev/docs#run-time-svelte-onmount
10
10
  */
11
- function k(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const T=[],M=[];let F=[];const L=[],$=Promise.resolve();let I=!1;function D(){I||(I=!0,$.then(R))}function A(){return D(),$}function N(e){F.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 F=[];const L=[],$=Promise.resolve();let I=!1;function A(){I||(I=!0,$.then(R))}function D(){return A(),$}function N(e){F.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.
@@ -35,27 +35,27 @@ function R(){
35
35
  if(0!==O)return;const e=s;do{
36
36
  // first, call beforeUpdate functions
37
37
  // and update components
38
- try{for(;O<T.length;){const e=T[O];O++,G(e),H(e.$$)}}catch(e){
38
+ try{for(;O<T.length;){const e=T[O];O++,k(e),H(e.$$)}}catch(e){
39
39
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw T.length=0,O=0,e}for(G(null),T.length=0,O=0;M.length;)M.pop()();
40
+ throw T.length=0,O=0,e}for(k(null),T.length=0,O=0;M.length;)M.pop()();
41
41
  // then, once components are updated, call
42
42
  // afterUpdate functions. This may cause
43
43
  // subsequent updates...
44
44
  for(let e=0;e<F.length;e+=1){const t=F[e];P.has(t)||(
45
45
  // ...so guard against infinite loops
46
- P.add(t),t())}F.length=0}while(T.length);for(;L.length;)L.pop()();I=!1,P.clear(),G(e)}function H(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}
46
+ P.add(t),t())}F.length=0}while(T.length);for(;L.length;)L.pop()();I=!1,P.clear(),k(e)}function H(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
49
  */const B=new Set;function U(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];F.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),F=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
50
50
  // TODO null out other refs, including component.$$ (but need to
51
51
  // preserve final state?)
52
- n.on_destroy=n.fragment=null,n.ctx=[])}function Y(a,o,l,c,u,d,h,f=[-1]){const p=s;G(a);const g=a.$$={fragment:null,ctx:[],
52
+ n.on_destroy=n.fragment=null,n.ctx=[])}function Y(a,o,l,c,u,d,h,f=[-1]){const p=s;k(a);const g=a.$$={fragment:null,ctx:[],
53
53
  // state
54
54
  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),D(),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),A(),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
@@ -70,15 +70,18 @@ N((()=>{const n=e.$$.on_mount.map(t).filter(i);
70
70
  e.$$.on_destroy?e.$$.on_destroy.push(...n):
71
71
  // Edge case - component was destroyed immediately,
72
72
  // most likely as a result of a binding initialising
73
- r(n),e.$$.on_mount=[]})),l.forEach(N)}(a,o.target,o.anchor,o.customElement),R()}var v,b;G(p)}let z;"function"==typeof HTMLElement&&(z=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
73
+ r(n),e.$$.on_mount=[]})),l.forEach(N)}(a,o.target,o.anchor,o.customElement),R()}var v,b;k(p)}let z;"function"==typeof HTMLElement&&(z=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const e in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
77
  this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){U(this,1),this.$destroy=e}$on(t,n){
78
78
  // TODO should this delegate to addEventListener?
79
- if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var j="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==j&&j,V="URLSearchParams"in j,W="Symbol"in j&&"iterator"in Symbol,Z="FileReader"in j&&"Blob"in j&&function(){try{return new Blob,!0}catch(e){return!1}}(),K="FormData"in j,X="ArrayBuffer"in j;if(X)var J=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],q=ArrayBuffer.isView||function(e){return e&&J.indexOf(Object.prototype.toString.call(e))>-1};function Q(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ee(e){return"string"!=typeof e&&(e=String(e)),e}
79
+ if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}})
80
+ /* eslint-disable no-prototype-builtins */;var j="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
81
+ // eslint-disable-next-line no-undef
82
+ "undefined"!=typeof global&&global||{},V="URLSearchParams"in j,W="Symbol"in j&&"iterator"in Symbol,Z="FileReader"in j&&"Blob"in j&&function(){try{return new Blob,!0}catch(e){return!1}}(),K="FormData"in j,X="ArrayBuffer"in j;if(X)var J=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],q=ArrayBuffer.isView||function(e){return e&&J.indexOf(Object.prototype.toString.call(e))>-1};function Q(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ee(e){return"string"!=typeof e&&(e=String(e)),e}
80
83
  // Build a destructive iterator for the value list
81
- function te(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return W&&(t[Symbol.iterator]=function(){return t}),t}function ne(e){this.map={},e instanceof ne?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function re(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ie(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ae(e){var t=new FileReader,n=ie(t);return t.readAsArrayBuffer(e),n}function oe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function se(){return this.bodyUsed=!1,this._initBody=function(e){var t;
84
+ function te(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return W&&(t[Symbol.iterator]=function(){return t}),t}function ne(e){this.map={},e instanceof ne?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function re(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ie(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ae(e){var t=new FileReader,n=ie(t);return t.readAsArrayBuffer(e),n}function oe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function se(){return this.bodyUsed=!1,this._initBody=function(e){var t;
82
85
  /*
83
86
  fetch-mock wraps the Response object in an ES6 Proxy to
84
87
  provide useful test harness features such as flush. However, on
@@ -89,19 +92,20 @@ function te(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
89
92
  semantic of setting Request.bodyUsed in the constructor before
90
93
  _initBody is called.
91
94
  */
95
+ // eslint-disable-next-line no-self-assign
92
96
  this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:K&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:V&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():X&&Z&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=oe(e.buffer),
93
97
  // IE 10-11 can't handle a DataView body.
94
- this._bodyInit=new Blob([this._bodyArrayBuffer])):X&&(ArrayBuffer.prototype.isPrototypeOf(e)||q(e))?this._bodyArrayBuffer=oe(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):V&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Z&&(this.blob=function(){var e=re(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=re(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(ae)}),this.text=function(){var e,t,n,r=re(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ie(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},K&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}
98
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):X&&(ArrayBuffer.prototype.isPrototypeOf(e)||q(e))?this._bodyArrayBuffer=oe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):V&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Z&&(this.blob=function(){var e=re(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=re(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(Z)return this.blob().then(ae);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=re(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ie(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},K&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}
95
99
  // HTTP methods whose capitalization should be normalized
96
- ne.prototype.append=function(e,t){e=Q(e),t=ee(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ne.prototype.delete=function(e){delete this.map[Q(e)]},ne.prototype.get=function(e){return e=Q(e),this.has(e)?this.map[e]:null},ne.prototype.has=function(e){return this.map.hasOwnProperty(Q(e))},ne.prototype.set=function(e,t){this.map[Q(e)]=ee(t)},ne.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ne.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),te(e)},ne.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),te(e)},ne.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),te(e)},W&&(ne.prototype[Symbol.iterator]=ne.prototype.entries);var le=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ce(e,t){if(!(this instanceof ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof ce){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ne(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ne(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),le.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
100
+ ne.prototype.append=function(e,t){e=Q(e),t=ee(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ne.prototype.delete=function(e){delete this.map[Q(e)]},ne.prototype.get=function(e){return e=Q(e),this.has(e)?this.map[e]:null},ne.prototype.has=function(e){return this.map.hasOwnProperty(Q(e))},ne.prototype.set=function(e,t){this.map[Q(e)]=ee(t)},ne.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ne.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),te(e)},ne.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),te(e)},ne.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),te(e)},W&&(ne.prototype[Symbol.iterator]=ne.prototype.entries);var le=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ce(e,t){if(!(this instanceof ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof ce){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ne(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ne(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),le.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in j)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
97
101
  // Search for a '_' parameter in the query string
98
102
  var a=/([?&])_=[^&]*/;if(a.test(this.url))
99
103
  // If it already exists then set the value with the current time
100
- this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function ue(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function de(e,t){if(!(this instanceof de))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ne(t.headers),this.url=t.url||"",this._initBody(e)}ce.prototype.clone=function(){return new ce(this,{body:this._bodyInit})},se.call(ce.prototype),se.call(de.prototype),de.prototype.clone=function(){return new de(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ne(this.headers),url:this.url})},de.error=function(){var e=new de(null,{status:0,statusText:""});return e.type="error",e};var he=[301,302,303,307,308];de.redirect=function(e,t){if(-1===he.indexOf(t))throw new RangeError("Invalid status code");return new de(null,{status:t,headers:{location:e}})};var me=j.DOMException;try{new me}catch(e){(me=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),me.prototype.constructor=me}function fe(e,t){return new Promise((function(n,r){var i=new ce(e,t);if(i.signal&&i.signal.aborted)return r(new me("Aborted","AbortError"));var a=new XMLHttpRequest;function o(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new ne,
104
+ this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function ue(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function de(e,t){if(!(this instanceof de))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ne(t.headers),this.url=t.url||"",this._initBody(e)}ce.prototype.clone=function(){return new ce(this,{body:this._bodyInit})},se.call(ce.prototype),se.call(de.prototype),de.prototype.clone=function(){return new de(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ne(this.headers),url:this.url})},de.error=function(){var e=new de(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var he=[301,302,303,307,308];de.redirect=function(e,t){if(-1===he.indexOf(t))throw new RangeError("Invalid status code");return new de(null,{status:t,headers:{location:e}})};var me=j.DOMException;try{new me}catch(e){(me=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),me.prototype.constructor=me}function fe(e,t){return new Promise((function(n,r){var i=new ce(e,t);if(i.signal&&i.signal.aborted)return r(new me("Aborted","AbortError"));var a=new XMLHttpRequest;function o(){a.abort()}if(a.onload=function(){var e=a.getAllResponseHeaders(),t=a.getResponseHeader("set-cookie");t&&(e=e.replace(t,t.replace(/\r?\n/g,", ")));var r,i,o={status:a.status,statusText:a.statusText,headers:(r=e||"",i=new ne,
101
105
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
102
106
  // https://github.com/github/fetch/issues/748
103
107
  // https://github.com/zloirock/core-js/issues/751
104
- e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;setTimeout((function(){n(new de(i,r))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){r(new me("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&j.location.href?j.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(Z?a.responseType="blob":X&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof ne?i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){a.setRequestHeader(e,ee(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",o),a.onreadystatechange=function(){
108
+ r.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var t=e.split(":"),n=t.shift().trim();if(n){var r=t.join(":").trim();try{i.append(n,r)}catch(e){console.warn("Response "+e.message)}}})),i)};o.url="responseURL"in a?a.responseURL:o.headers.get("X-Request-URL");var s="response"in a?a.response:a.responseText;setTimeout((function(){n(new de(s,o))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){r(new me("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&j.location.href?j.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(Z?a.responseType="blob":X&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof ne||j.Headers&&t.headers instanceof j.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(Q(e)),a.setRequestHeader(e,ee(t.headers[e]))})),i.headers.forEach((function(e,t){-1===s.indexOf(t)&&a.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){a.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",o),a.onreadystatechange=function(){
105
109
  // DONE (success or failure)
106
110
  4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}fe.polyfill=!0,j.fetch||(j.fetch=fe,j.Headers=ne,j.Request=ce,j.Response=de);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function pe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
107
111
  // the whatwg-fetch polyfill installs the fetch() function
@@ -124,7 +128,7 @@ self.fetch.bind(self);
124
128
  PERFORMANCE OF THIS SOFTWARE.
125
129
  ***************************************************************************** */
126
130
  /* global Reflect, Promise, SuppressedError, Symbol */
127
- var ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function xe(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=xe((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ee(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=ve(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ve(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Te(h)}catch(e){i=null!=i?i:[],e instanceof Se?i=we(we([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ge=Ce.EMPTY;function ke(e){return e instanceof Ce||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function Te(e){_e(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Fe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],be(n))):setTimeout.apply(void 0,we([e,t],be(n)))},clearTimeout:function(e){var t=Fe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Le(){}var $e=null;function Ie(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var n=$e,r=n.errorThrown,i=n.error;if($e=null,r)throw i}}else e()}var De=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,ke(t)&&t.add(n)):n.destination=He,n}return ye(t,e),t.create=function(e,t,n){return new Oe(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),Ae=Function.prototype.bind;function Ne(e,t){return Ae.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){Re(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Re(e)}else Re(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Re(e)}},e}(),Oe=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Me.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&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 ye(t,e),t}(De);function Re(e){var t;t=e,Fe.setTimeout((function(){throw t}))}var He={closed:!0,next:Le,error:function(e){throw e},complete:Le},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var Ye=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof De||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&ke(r)?e:new Oe(e,t,n);return Ie((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Oe({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Be]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var je=xe((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ye(t,e),t.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;Ie((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ve(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ie((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;Ie((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?Ge:(this.currentObservers=null,a.push(e),new Ce((function(){t.currentObservers=null,Ee(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ye),We=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Ge},t}(Ve),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Ke=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ve);let Xe=[],Je={};
131
+ var ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function xe(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=xe((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ee(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=ve(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ve(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Te(h)}catch(e){i=null!=i?i:[],e instanceof Se?i=we(we([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ke=Ce.EMPTY;function Ge(e){return e instanceof Ce||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function Te(e){_e(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Fe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],be(n))):setTimeout.apply(void 0,we([e,t],be(n)))},clearTimeout:function(e){var t=Fe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Le(){}var $e=null;function Ie(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var n=$e,r=n.errorThrown,i=n.error;if($e=null,r)throw i}}else e()}var 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=He,n}return ye(t,e),t.create=function(e,t,n){return new Oe(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),De=Function.prototype.bind;function Ne(e,t){return De.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){Re(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Re(e)}else Re(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Re(e)}},e}(),Oe=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Me.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&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 ye(t,e),t}(Ae);function Re(e){var t;t=e,Fe.setTimeout((function(){throw t}))}var He={closed:!0,next:Le,error:function(e){throw e},complete:Le},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var Ye=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Ae||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Ge(r)?e:new Oe(e,t,n);return Ie((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Oe({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Be]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var je=xe((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ye(t,e),t.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;Ie((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ve(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ie((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;Ie((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?ke:(this.currentObservers=null,a.push(e),new Ce((function(){t.currentObservers=null,Ee(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ye),We=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ke},t}(Ve),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Ke=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ve);let Xe=[],Je={};
128
132
  /**
129
133
  * @name topic
130
134
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -161,7 +165,7 @@ n.cloneUnlessOtherwiseSpecified=rt;var r=Array.isArray(t);return r===Array.isArr
161
165
  /**
162
166
  * Type Guards
163
167
  */
164
- function yt(e){return e.type===mt.literal}function vt(e){return e.type===mt.argument}function bt(e){return e.type===mt.number}function wt(e){return e.type===mt.date}function _t(e){return e.type===mt.time}function xt(e){return e.type===mt.select}function St(e){return e.type===mt.plural}function Et(e){return e.type===mt.pound}function Ct(e){return e.type===mt.tag}function Gt(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function kt(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}
168
+ function yt(e){return e.type===mt.literal}function vt(e){return e.type===mt.argument}function bt(e){return e.type===mt.number}function wt(e){return e.type===mt.date}function _t(e){return e.type===mt.time}function xt(e){return e.type===mt.select}function St(e){return e.type===mt.plural}function Et(e){return e.type===mt.pound}function Ct(e){return e.type===mt.tag}function kt(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function Gt(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}
165
169
  // @generated from regex-gen.ts
166
170
  "function"==typeof SuppressedError&&SuppressedError,function(e){
167
171
  /** Argument is unclosed (e.g. `{0`) */
@@ -306,20 +310,20 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
306
310
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
307
311
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
308
312
  // @generated from regex-gen.ts
309
- var Lt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var $t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,It=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g,At=/^(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(It,(function(e,n,r){
313
+ var Lt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var $t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,It=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Dt=/^(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(It,(function(e,n,r){
310
314
  // @@@ case
311
315
  return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function 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 Ot(e){
312
316
  // Engineering
313
- var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!At.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Rt(e){var t=Pt(e);return t||{}}
317
+ var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Rt(e){var t=Pt(e);return t||{}}
314
318
  /**
315
319
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
316
320
  */function Ht(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),Rt(t))}),{}));continue;case"engineering":t=pt(pt(pt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return pt(pt({},e),Rt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
317
321
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
318
322
  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;
319
323
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
320
- 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}
324
+ 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}
321
325
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
322
- if(At.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if($t.test(i.stem)){
326
+ if(Dt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if($t.test(i.stem)){
323
327
  // Precision
324
328
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
325
329
  // precision-integer case
@@ -569,7 +573,7 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
569
573
  /**
570
574
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
571
575
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
572
- */function pn(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function gn(e){e.forEach((function(e){if(delete e.location,xt(e)||St(e))for(var t in e.options)delete e.options[t].location,gn(e.options[t].value);else bt(e)&&Gt(e.style)||(wt(e)||_t(e))&&kt(e.style)?delete e.style.location:Ct(e)&&gn(e.children)}))}function yn(e,t){void 0===t&&(t={}),t=pt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new dn(e,t).parse();if(n.err){var r=SyntaxError(ht[n.err.kind]);
576
+ */function pn(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function gn(e){e.forEach((function(e){if(delete e.location,xt(e)||St(e))for(var t in e.options)delete e.options[t].location,gn(e.options[t].value);else bt(e)&&kt(e.style)||(wt(e)||_t(e))&&Gt(e.style)?delete e.style.location:Ct(e)&&gn(e.children)}))}function yn(e,t){void 0===t&&(t={}),t=pt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new dn(e,t).parse();if(n.err){var r=SyntaxError(ht[n.err.kind]);
573
577
  // @ts-expect-error Assign to error object
574
578
  throw r.location=n.err.location,
575
579
  // @ts-expect-error Assign to error object
@@ -577,7 +581,7 @@ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||gn(n
577
581
 
578
582
  // Main
579
583
 
580
- function vn(e,t){var n=t&&t.cache?t.cache:Gn,r=t&&t.serializer?t.serializer:Sn;return(t&&t.strategy?t.strategy:xn)(e,{cache:n,serializer:r})}
584
+ function vn(e,t){var n=t&&t.cache?t.cache:kn,r=t&&t.serializer?t.serializer:Sn;return(t&&t.strategy?t.strategy:xn)(e,{cache:n,serializer:r})}
581
585
 
582
586
  // Strategy
583
587
 
@@ -587,9 +591,9 @@ var Sn=function(){return JSON.stringify(arguments)};
587
591
 
588
592
  // Cache
589
593
 
590
- function En(){this.cache=Object.create(null)}En.prototype.get=function(e){return this.cache[e]},En.prototype.set=function(e,t){this.cache[e]=t};var Cn,Gn={create:function(){
594
+ function En(){this.cache=Object.create(null)}En.prototype.get=function(e){return this.cache[e]},En.prototype.set=function(e,t){this.cache[e]=t};var Cn,kn={create:function(){
591
595
  // @ts-ignore
592
- return new En}},kn={variadic:function(e,t){return _n(e,this,wn,t.cache.create(),t.serializer)},monadic:function(e,t){return _n(e,this,bn,t.cache.create(),t.serializer)}};!function(e){
596
+ return new En}},Gn={variadic:function(e,t){return _n(e,this,wn,t.cache.create(),t.serializer)},monadic:function(e,t){return _n(e,this,bn,t.cache.create(),t.serializer)}};!function(e){
593
597
  // When we have a placeholder but no value to format
594
598
  e.MISSING_VALUE="MISSING_VALUE",
595
599
  // When value supplied is invalid
@@ -597,7 +601,7 @@ e.INVALID_VALUE="INVALID_VALUE",
597
601
  // When we need specific Intl API but it's not available
598
602
  e.MISSING_INTL_API="MISSING_INTL_API"}(Cn||(Cn={}));var Tn,Mn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return dt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Fn=/** @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('", "'),'"'),Cn.INVALID_VALUE,i)||this}return dt(t,e),t}(Mn),Ln=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Cn.INVALID_VALUE,r)||this}return dt(t,e),t}(Mn),$n=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Cn.MISSING_VALUE,n)||this}return dt(t,e),t}(Mn);function In(e){return"function"==typeof e}
599
603
  // TODO(skeleton): add skeleton support
600
- function Dn(e,t,n,r,i,a,
604
+ function An(e,t,n,r,i,a,
601
605
  // For debugging
602
606
  o){
603
607
  // Hot path for straight simple msg translations
@@ -612,23 +616,23 @@ if(!i||!(d in i))throw new $n(d,o);var h=i[d];if(vt(u))h&&"string"!=typeof h&&"n
612
616
  // Recursively format plural and select parts' option — which can be a
613
617
  // nested pattern structure. The choosing of the option to use is
614
618
  // abstracted-by and delegated-to the part helper object.
615
- if(wt(u)){var m="string"==typeof u.style?r.date[u.style]:kt(u.style)?u.style.parsedOptions:void 0;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){m="string"==typeof u.style?r.time[u.style]:kt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(bt(u)){(m="string"==typeof u.style?r.number[u.style]:Gt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Tn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Ct(u)){var f=u.children,p=u.value,g=i[p];if(!In(g))throw new Ln(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?Tn.literal:Tn.object,value:e}})))}if(xt(u)){if(!(v=u.options[h]||u.options.other))throw new Fn(u.value,h,Object.keys(u.options),o);s.push.apply(s,Dn(v.value,t,n,r,i))}else if(St(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Mn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Cn.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 Fn(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===Tn.literal&&t.type===Tn.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
619
+ if(wt(u)){var m="string"==typeof u.style?r.date[u.style]:Gt(u.style)?u.style.parsedOptions:void 0;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){m="string"==typeof u.style?r.time[u.style]:Gt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(bt(u)){(m="string"==typeof u.style?r.number[u.style]:kt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Tn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Ct(u)){var f=u.children,p=u.value,g=i[p];if(!In(g))throw new Ln(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?Tn.literal:Tn.object,value:e}})))}if(xt(u)){if(!(v=u.options[h]||u.options.other))throw new Fn(u.value,h,Object.keys(u.options),o);s.push.apply(s,An(v.value,t,n,r,i))}else if(St(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Mn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Cn.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 Fn(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===Tn.literal&&t.type===Tn.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
616
620
  /*
617
621
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
618
622
  Copyrights licensed under the New BSD License.
619
623
  See the accompanying LICENSE file for terms.
620
624
  */
621
625
  // -- MessageFormat --------------------------------------------------------
622
- 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])?pt(pt(pt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),a[t]||{}),e}),{})):i),n}),pt({},e)):e}function Nn(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"}(Tn||(Tn={}));var Pn=/** @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);
626
+ 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])?pt(pt(pt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),a[t]||{}),e}),{})):i),n}),pt({},e)):e}function Nn(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"}(Tn||(Tn={}));var Pn=/** @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);
623
627
  // Hot path for straight simple msg translations
624
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Tn.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},
628
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Tn.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},
625
629
  // Defined first because it's used to build the format pattern.
626
630
  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`");
627
631
  // Parse string messages into an AST.
628
632
  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.");
629
633
  // Creates a new object with the specified `formats` merged with the default
630
634
  // formats.
631
- 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,gt([void 0],t,!1)))}),{cache:Nn(a.number),strategy:kn.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,gt([void 0],t,!1)))}),{cache:Nn(a.dateTime),strategy:kn.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,gt([void 0],t,!1)))}),{cache:Nn(a.pluralRules),strategy:kn.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,
635
+ 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,gt([void 0],t,!1)))}),{cache:Nn(a.number),strategy:Gn.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,gt([void 0],t,!1)))}),{cache:Nn(a.dateTime),strategy:Gn.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,gt([void 0],t,!1)))}),{cache:Nn(a.pluralRules),strategy:Gn.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,
632
636
  // Default format options used as the prototype of the `formats` provided to the
633
637
  // constructor. These are used when constructing the internal Intl.NumberFormat
634
638
  // and Intl.DateTimeFormat instances.
@@ -666,18 +670,18 @@ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n
666
670
  function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
667
671
  // Prevent infinite loop in case updateOffset creates new moment
668
672
  // objects.
669
- !1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function E(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}E(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var G,k={};function T(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),k[e]||(E(t),k[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function F(e){var t,n;for(n in e)s(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
673
+ !1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function E(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}E(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,G={};function T(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),G[e]||(E(t),G[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function F(e){var t,n;for(n in e)s(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
670
674
  // Lenient ordinal parsing accepts just a number in addition to
671
675
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
672
676
  // TODO: Remove "ordinalParse" fallback in next major release.
673
677
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function L(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])&&(
674
678
  // make sure changes to properties don't modify parent config
675
- r[n]=m({},r[n]));return r}function $(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,G=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 M(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 N=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,O={},R={};
679
+ r[n]=m({},r[n]));return r}function $(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var 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 M(r)?r.call(t,n):r}function D(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,O={},R={};
676
680
  // token: 'M'
677
681
  // padded: ['MM', 2]
678
682
  // ordinal: 'Mo'
679
683
  // callback: function () { this.month() + 1 }
680
- 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(N);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+=M(r[i])?r[i].call(t,e):r[i];return a}}
684
+ 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(N);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+=M(r[i])?r[i].call(t,e):r[i];return a}}
681
685
  // format date using native date object
682
686
  function Y(e,t){return e.isValid()?(t=z(t,e.localeData()),O[t]=O[t]||U(t),O[t](e)):e.localeData().invalidDate()}function z(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;n>=0&&P.test(e);)e=e.replace(P,r),P.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 V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var W="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 M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ae={};function oe(e,t){ae[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(me(this,e,n),r.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
683
687
  // MOMENTS
@@ -689,8 +693,8 @@ xe=/[+-]?\d{6}/,// -999999 - 999999
689
693
  Se=/\d\d?/,// 0 - 99
690
694
  Ee=/\d\d\d\d?/,// 999 - 9999
691
695
  Ce=/\d\d\d\d\d\d?/,// 99999 - 999999
692
- Ge=/\d{1,3}/,// 0 - 999
693
- ke=/\d{1,4}/,// 0 - 9999
696
+ ke=/\d{1,3}/,// 0 - 999
697
+ Ge=/\d{1,4}/,// 0 - 9999
694
698
  Te=/[+-]?\d{1,6}/,// -999999 - 999999
695
699
  Me=/\d+/,// 0 - inf
696
700
  Fe=/[+-]?\d+/,// -inf - inf
@@ -699,7 +703,7 @@ $e=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
699
703
  Ie=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
700
704
  // any word (or two) characters or numbers including two/three word month in arabic.
701
705
  // includes scottish gaelic two word and hyphenated months
702
- De=/[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;function Ae(e,t,n){ye[e]=M(t)?t:function(e,r){return e&&n?n:t}}function Ne(e,t){return s(ye,e)?ye[e](t._strict,t._locale):new RegExp(Pe(e))}
706
+ Ae=/[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;function De(e,t,n){ye[e]=M(t)?t:function(e,r){return e&&n?n:t}}function Ne(e,t){return s(ye,e)?ye[e](t._strict,t._locale):new RegExp(Pe(e))}
703
707
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
704
708
  function Pe(e){return Oe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Oe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Re={};function He(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Re[e[n]]=i}function Be(e,t){He(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&s(Re,e)&&Re[e](t,n._a,n,e)}var Ye,ze=0,je=1,Ve=2,We=3,Ze=4,Ke=5,Xe=6,Je=7,qe=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
705
709
  // FORMATTING
@@ -711,11 +715,11 @@ ne("month","M"),
711
715
  // PRIORITY
712
716
  oe("month",8),
713
717
  // PARSING
714
- Ae("M",Se),Ae("MM",Se,be),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("MMMM",(function(e,t){return t.monthsRegex(e)})),He(["M","MM"],(function(e,t){t[je]=ue(e)-1})),He(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
718
+ De("M",Se),De("MM",Se,be),De("MMM",(function(e,t){return t.monthsShortRegex(e)})),De("MMMM",(function(e,t){return t.monthsRegex(e)})),He(["M","MM"],(function(e,t){t[je]=ue(e)-1})),He(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
715
719
  // if we didn't find a month name, mark the date as invalid.
716
720
  null!=i?t[je]=i:g(n).invalidMonth=e}));
717
721
  // LOCALES
718
- var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=De,at=De;function ot(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function st(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(
722
+ var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=Ae,at=Ae;function ot(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function st(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(
719
723
  // this is not used
720
724
  this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ye.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,o))||-1!==(i=Ye.call(this._longMonthsParse,o))?i:null:-1!==(i=Ye.call(this._longMonthsParse,o))||-1!==(i=Ye.call(this._shortMonthsParse,o))?i:null}function ct(e,t,n){var r,i,a;if(this._monthsParseExact)return lt.call(this,e,t,n);
721
725
  // TODO: add sorting
@@ -741,13 +745,13 @@ for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=Oe(r[t]),i[t]=Oe(i[t]);for(t
741
745
  // HELPERS
742
746
  function gt(e){return le(e)?366:365}
743
747
  // HOOKS
744
- 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"),
748
+ 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"),
745
749
  // ALIASES
746
750
  ne("year","y"),
747
751
  // PRIORITIES
748
752
  oe("year",1),
749
753
  // PARSING
750
- Ae("Y",Fe),Ae("YY",Se,be),Ae("YYYY",ke,_e),Ae("YYYYY",Te,xe),Ae("YYYYYY",Te,xe),He(["YYYYY","YYYYYY"],ze),He("YYYY",(function(e,t){t[ze]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),He("YY",(function(e,t){t[ze]=r.parseTwoDigitYear(e)})),He("Y",(function(e,t){t[ze]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
754
+ De("Y",Fe),De("YY",Se,be),De("YYYY",Ge,_e),De("YYYYY",Te,xe),De("YYYYYY",Te,xe),He(["YYYYY","YYYYYY"],ze),He("YYYY",(function(e,t){t[ze]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),He("YY",(function(e,t){t[ze]=r.parseTwoDigitYear(e)})),He("Y",(function(e,t){t[ze]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
751
755
  // MOMENTS
752
756
  var yt=de("FullYear",!0);function vt(){return le(this.year())}function bt(e,t,n,r,i,a,o){
753
757
  // can't just apply() to create a date:
@@ -775,8 +779,8 @@ ne("week","w"),ne("isoWeek","W"),
775
779
  // PRIORITIES
776
780
  oe("week",5),oe("isoWeek",5),
777
781
  // PARSING
778
- Ae("w",Se),Ae("ww",Se,be),Ae("W",Se),Ae("WW",Se,be),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var Gt={dow:0,// Sunday is the first day of the week.
779
- doy:6};function kt(){return this._week.dow}function Tt(){return this._week.doy}
782
+ De("w",Se),De("ww",Se,be),De("W",Se),De("WW",Se,be),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var kt={dow:0,// Sunday is the first day of the week.
783
+ doy:6};function Gt(){return this._week.dow}function Tt(){return this._week.doy}
780
784
  // MOMENTS
781
785
  function Mt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ft(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
782
786
  // FORMATTING
@@ -789,9 +793,9 @@ ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
789
793
  // PRIORITY
790
794
  oe("day",11),oe("weekday",11),oe("isoWeekday",11),
791
795
  // PARSING
792
- Ae("d",Se),Ae("e",Se),Ae("E",Se),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
796
+ De("d",Se),De("e",Se),De("E",Se),De("dd",(function(e,t){return t.weekdaysMinRegex(e)})),De("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),De("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
793
797
  // if we didn't get a weekday name, mark the date as invalid
794
- null!=i?t.d=i:g(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Dt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pt=De,Ot=De,Rt=De;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=Ye.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.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++){
798
+ null!=i?t.d=i:g(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pt=Ae,Ot=Ae,Rt=Ae;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=Ye.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.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++){
795
799
  // test the regex
796
800
  if(
797
801
  // make the regex if we don't have it already
@@ -815,16 +819,16 @@ function tn(e,t){return t._meridiemParse}
815
819
  function nn(e){
816
820
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
817
821
  // Using charAt should be more compatible.
818
- 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),
822
+ 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),
819
823
  // ALIASES
820
824
  ne("hour","h"),
821
825
  // PRIORITY
822
- oe("hour",13),Ae("a",tn),Ae("A",tn),Ae("H",Se),Ae("h",Se),Ae("k",Se),Ae("HH",Se,be),Ae("hh",Se,be),Ae("kk",Se,be),Ae("hmm",Ee),Ae("hmmss",Ce),Ae("Hmm",Ee),Ae("Hmmss",Ce),He(["H","HH"],We),He(["k","kk"],(function(e,t,n){var r=ue(e);t[We]=24===r?0:r})),He(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),He(["h","hh"],(function(e,t,n){t[We]=ue(e),g(n).bigHour=!0})),He("hmm",(function(e,t,n){var r=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r)),g(n).bigHour=!0})),He("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i)),g(n).bigHour=!0})),He("Hmm",(function(e,t,n){var r=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r))})),He("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
826
+ oe("hour",13),De("a",tn),De("A",tn),De("H",Se),De("h",Se),De("k",Se),De("HH",Se,be),De("hh",Se,be),De("kk",Se,be),De("hmm",Ee),De("hmmss",Ce),De("Hmm",Ee),De("Hmmss",Ce),He(["H","HH"],We),He(["k","kk"],(function(e,t,n){var r=ue(e);t[We]=24===r?0:r})),He(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),He(["h","hh"],(function(e,t,n){t[We]=ue(e),g(n).bigHour=!0})),He("hmm",(function(e,t,n){var r=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r)),g(n).bigHour=!0})),He("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i)),g(n).bigHour=!0})),He("Hmm",(function(e,t,n){var r=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r))})),He("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
823
827
  // Setting the hour should keep the time, because the user explicitly
824
828
  // specified which hour they want. So trying to maintain the same hour (in
825
829
  // a new timezone) makes sense. Adding/subtracting hours does not follow
826
830
  // this rule.
827
- an=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:I,longDateFormat:j,invalidDate:W,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:q,months:tt,monthsShort:nt,week:Gt,weekdays:Dt,weekdaysMin:Nt,weekdaysShort:At,meridiemParse:rn},cn={},un={};
831
+ an=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:I,longDateFormat:j,invalidDate:W,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:q,months:tt,monthsShort:nt,week:kt,weekdays:At,weekdaysMin:Nt,weekdaysShort:Dt,meridiemParse:rn},cn={},un={};
828
832
  // internal storage for locale config files
829
833
  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}
830
834
  // pick the locale from the array
@@ -870,26 +874,26 @@ null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===gn()&&gn(e)
870
874
  // returns locale data
871
875
  function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!a(e)){if(
872
876
  //short-circuit everything else
873
- t=pn(e))return t;e=[e]}return mn(e)}function wn(){return G(cn)}function _n(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[je]<0||n[je]>11?je:n[Ve]<1||n[Ve]>et(n[ze],n[je])?Ve:n[We]<0||n[We]>24||24===n[We]&&(0!==n[Ze]||0!==n[Ke]||0!==n[Xe])?We:n[Ze]<0||n[Ze]>59?Ze:n[Ke]<0||n[Ke]>59?Ke:n[Xe]<0||n[Xe]>999?Xe:-1,g(e)._overflowDayOfYear&&(t<ze||t>Ve)&&(t=Ve),g(e)._overflowWeeks&&-1===t&&(t=Je),g(e)._overflowWeekday&&-1===t&&(t=qe),g(e).overflow=t),e}
877
+ t=pn(e))return t;e=[e]}return mn(e)}function wn(){return k(cn)}function _n(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[je]<0||n[je]>11?je:n[Ve]<1||n[Ve]>et(n[ze],n[je])?Ve:n[We]<0||n[We]>24||24===n[We]&&(0!==n[Ze]||0!==n[Ke]||0!==n[Xe])?We:n[Ze]<0||n[Ze]>59?Ze:n[Ke]<0||n[Ke]>59?Ke:n[Xe]<0||n[Xe]>999?Xe:-1,g(e)._overflowDayOfYear&&(t<ze||t>Ve)&&(t=Ve),g(e)._overflowWeeks&&-1===t&&(t=Je),g(e)._overflowWeekday&&-1===t&&(t=qe),g(e).overflow=t),e}
874
878
  // iso 8601 regex
875
879
  // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
876
880
  var xn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],
877
881
  // iso time formats and regexes
878
- Gn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((-?\d+)/i,
882
+ kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Gn=/^\/?Date\((-?\d+)/i,
879
883
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
880
884
  Tn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Mn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
881
885
  // date from iso format
882
- function Fn(e){var t,n,r,i,a,o,s=e._i,l=xn.exec(s)||Sn.exec(s),c=Cn.length,u=Gn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Cn[t][1].exec(l[1])){i=Cn[t][0],r=!1!==Cn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Gn[t][1].exec(l[3])){
886
+ function Fn(e){var t,n,r,i,a,o,s=e._i,l=xn.exec(s)||Sn.exec(s),c=Cn.length,u=kn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Cn[t][1].exec(l[1])){i=Cn[t][0],r=!1!==Cn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(kn[t][1].exec(l[3])){
883
887
  // match[2] should be 'T' or space
884
- a=(l[2]||" ")+Gn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!En.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function Ln(e,t,n,r,i,a){var o=[$n(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function $n(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(e){
888
+ a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!En.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function Ln(e,t,n,r,i,a){var o=[$n(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function $n(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(e){
885
889
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
886
- 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 Mn[e];if(t)
890
+ 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 Mn[e];if(t)
887
891
  // the only allowed military tz is Z
888
892
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
889
893
  // date and time from ref 2822 format
890
- function Nn(e){var t,n=Tn.exec(In(e._i));if(n){if(t=Ln(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}
894
+ function Nn(e){var t,n=Tn.exec(In(e._i));if(n){if(t=Ln(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}
891
895
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
892
- function Pn(e){var t=kn.exec(e._i);null===t?(Fn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
896
+ function Pn(e){var t=Gn.exec(e._i);null===t?(Fn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
893
897
  // Final attempt, use Input Fallback
894
898
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
895
899
  // Pick the first defined of two or three arguments.
@@ -990,9 +994,9 @@ this._months=+i+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function
990
994
  // compare two arrays, return the number of differences
991
995
  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&&ue(e[r])!==ue(t[r]))&&o++;return o+a}
992
996
  // FORMATTING
993
- 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",""),
997
+ 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",""),
994
998
  // PARSING
995
- Ae("Z",$e),Ae("ZZ",$e),He(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr($e,e)}));
999
+ De("Z",$e),De("ZZ",$e),He(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr($e,e)}));
996
1000
  // HELPERS
997
1001
  // timezone chunker
998
1002
  // '+10:00' > ['10', '00']
@@ -1018,15 +1022,15 @@ return-Math.round(e._d.getTimezoneOffset())}
1018
1022
  // a second time. In case it wants us to change the offset again
1019
1023
  // _changeInProgress == true case, then we have to adjust, because
1020
1024
  // there is no such time in the given timezone.
1021
- function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mr($e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Dr(this,Mr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Wn(t))._a?(e=t._isUTC?f(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Er(){return!!this.isValid()&&!this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC}function Gr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1025
+ function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mr($e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ar(this,Mr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Wn(t))._a?(e=t._isUTC?f(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Er(){return!!this.isValid()&&!this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC}function kr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1022
1026
  // ASP.NET json date format regex
1023
- r.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1027
+ r.updateOffset=function(){};var Gr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1024
1028
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
1025
1029
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
1026
1030
  // and further modified to allow for strings containing both week and day
1027
1031
  Tr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Mr(e,t){var n,r,i,a=e,
1028
1032
  // matching against regexp is expensive, do it on demand
1029
- o=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=kr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ue(o[Ve])*n,h:ue(o[We])*n,m:ue(o[Ze])*n,s:ue(o[Ke])*n,ms:ue(cr(1e3*o[Xe]))*n}):(o=Tr.exec(e))?(n="-"===o[1]?-1:1,a={y:Fr(o[2],n),M:Fr(o[3],n),w:Fr(o[4],n),d:Fr(o[5],n),h:Fr(o[6],n),m:Fr(o[7],n),s:Fr(o[8],n)}):null==a?
1033
+ o=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Gr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ue(o[Ve])*n,h:ue(o[We])*n,m:ue(o[Ze])*n,s:ue(o[Ke])*n,ms:ue(cr(1e3*o[Xe]))*n}):(o=Tr.exec(e))?(n="-"===o[1]?-1:1,a={y:Fr(o[2],n),M:Fr(o[3],n),w:Fr(o[4],n),d:Fr(o[5],n),h:Fr(o[6],n),m:Fr(o[7],n),s:Fr(o[8],n)}):null==a?
1030
1034
  // checks for null or undefined
1031
1035
  a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=$r(Xn(a.from),Xn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new sr(a),lr(e)&&s(e,"_locale")&&(r._locale=e._locale),lr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Fr(e,t){
1032
1036
  // We'd normally use ~~inp for this, but unfortunately it also
@@ -1038,7 +1042,7 @@ return(isNaN(n)?0:n)*t}function Lr(e,t){var n={};return n.months=t.month()-e.mon
1038
1042
  // TODO: remove 'name' arg after deprecation is removed
1039
1043
  function Ir(e,t){return function(n,r){var i;
1040
1044
  //invert the arguments, but complain about it
1041
- return null===r||isNaN(+r)||(T(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,Mr(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&&ut(e,he(e,"Month")+s*n),o&&me(e,"Date",he(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Mr.fn=sr.prototype,Mr.invalid=or;var Ar=Ir(1,"add"),Nr=Ir(-1,"subtract");function Pr(e){return"string"==typeof e||e instanceof String}
1045
+ return null===r||isNaN(+r)||(T(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,Mr(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&&ut(e,he(e,"Month")+s*n),o&&me(e,"Date",he(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Mr.fn=sr.prototype,Mr.invalid=or;var Dr=Ir(1,"add"),Nr=Ir(-1,"subtract");function Pr(e){return"string"==typeof e||e instanceof String}
1042
1046
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1043
1047
  function Or(e){return S(e)||d(e)||Pr(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)&&Pr(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){
1044
1048
  // Support for single parameter, formats only overload to the calendar function
@@ -1079,7 +1083,7 @@ return e<100&&e>=0?new Date(e+400,t,n)-mi:new Date(e,t,n).valueOf()}function gi(
1079
1083
  // Date.UTC remaps years 0-99 to 1900-1999
1080
1084
  return e<100&&e>=0?Date.UTC(e+400,t,n)-mi:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=fi(t,di);break;case"second":t=this._d.valueOf(),t-=fi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-fi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-fi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ui-fi(t,ui)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function _i(){return new Date(this.valueOf())}function xi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ei(){
1081
1085
  // new Date(NaN).toJSON() === null
1082
- return this.isValid()?this.toISOString():null}function Ci(){return y(this)}function Gi(){return m({},g(this))}function ki(){return g(this).overflow}function Ti(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Mi(e,t){var n,i,a,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(
1086
+ return this.isValid()?this.toISOString():null}function Ci(){return y(this)}function ki(){return m({},g(this))}function Gi(){return g(this).overflow}function Ti(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Mi(e,t){var n,i,a,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(
1083
1087
  // truncate time
1084
1088
  a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":
1085
1089
  // truncate time
@@ -1087,9 +1091,9 @@ a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}functio
1087
1091
  // truncate time
1088
1092
  n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ii(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1089
1093
  // truncate time
1090
- 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(
1094
+ 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(
1091
1095
  // truncate time
1092
- 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,
1096
+ 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,
1093
1097
  // truncate time
1094
1098
  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 Ni(e){return s(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Pi(e){return s(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Oi(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||Me}function Yi(){var e,t,n=[],r=[],i=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(Oe(o[e].name)),n.push(Oe(o[e].abbr)),i.push(Oe(o[e].narrow)),a.push(Oe(o[e].name)),a.push(Oe(o[e].abbr)),a.push(Oe(o[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
1095
1099
  // FORMATTING
@@ -1100,25 +1104,25 @@ function ji(e){return Ji.call(this,e,this.week(),this.weekday(),this.localeData(
1100
1104
  // MOMENTS
1101
1105
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1102
1106
  // FORMATTING
1103
- 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"),Ae("N",Ri),Ae("NN",Ri),Ae("NNN",Ri),Ae("NNNN",Hi),Ae("NNNNN",Bi),He(["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})),Ae("y",Me),Ae("yy",Me),Ae("yyy",Me),Ae("yyyy",Me),Ae("yo",Ui),He(["y","yy","yyy","yyyy"],ze),He(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ze]=n._locale.eraYearOrdinalParse(e,i):t[ze]=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"),
1107
+ 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"),De("N",Ri),De("NN",Ri),De("NNN",Ri),De("NNNN",Hi),De("NNNNN",Bi),He(["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})),De("y",Me),De("yy",Me),De("yyy",Me),De("yyyy",Me),De("yo",Ui),He(["y","yy","yyy","yyyy"],ze),He(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ze]=n._locale.eraYearOrdinalParse(e,i):t[ze]=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"),
1104
1108
  // ALIASES
1105
1109
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1106
1110
  // PRIORITY
1107
1111
  oe("weekYear",1),oe("isoWeekYear",1),
1108
1112
  // PARSING
1109
- Ae("G",Fe),Ae("g",Fe),Ae("GG",Se,be),Ae("gg",Se,be),Ae("GGGG",ke,_e),Ae("gggg",ke,_e),Ae("GGGGG",Te,xe),Ae("ggggg",Te,xe),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Be(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1113
+ De("G",Fe),De("g",Fe),De("GG",Se,be),De("gg",Se,be),De("GGGG",Ge,_e),De("gggg",Ge,_e),De("GGGGG",Te,xe),De("ggggg",Te,xe),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Be(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1110
1114
  // ALIASES
1111
1115
  ne("quarter","Q"),
1112
1116
  // PRIORITY
1113
1117
  oe("quarter",7),
1114
1118
  // PARSING
1115
- Ae("Q",ve),He("Q",(function(e,t){t[je]=3*(ue(e)-1)})),H("D",["DD",2],"Do","date"),
1119
+ De("Q",ve),He("Q",(function(e,t){t[je]=3*(ue(e)-1)})),H("D",["DD",2],"Do","date"),
1116
1120
  // ALIASES
1117
1121
  ne("date","D"),
1118
1122
  // PRIORITY
1119
1123
  oe("date",9),
1120
1124
  // PARSING
1121
- Ae("D",Se),Ae("DD",Se,be),Ae("Do",(function(e,t){
1125
+ De("D",Se),De("DD",Se,be),De("Do",(function(e,t){
1122
1126
  // TODO: Remove "ordinalParse" fallback in next major release.
1123
1127
  return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),He(["D","DD"],Ve),He("Do",(function(e,t){t[Ve]=ue(e.match(Se)[0])}));
1124
1128
  // MOMENTS
@@ -1134,13 +1138,13 @@ ne("dayOfYear","DDD"),
1134
1138
  // PRIORITY
1135
1139
  oe("dayOfYear",4),
1136
1140
  // PARSING
1137
- Ae("DDD",Ge),Ae("DDDD",we),He(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),H("m",["mm",2],0,"minute"),
1141
+ De("DDD",ke),De("DDDD",we),He(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),H("m",["mm",2],0,"minute"),
1138
1142
  // ALIASES
1139
1143
  ne("minute","m"),
1140
1144
  // PRIORITY
1141
1145
  oe("minute",14),
1142
1146
  // PARSING
1143
- Ae("m",Se),Ae("mm",Se,be),He(["m","mm"],Ze);
1147
+ De("m",Se),De("mm",Se,be),He(["m","mm"],Ze);
1144
1148
  // MOMENTS
1145
1149
  var na=de("Minutes",!1);
1146
1150
  // FORMATTING
@@ -1150,7 +1154,7 @@ ne("second","s"),
1150
1154
  // PRIORITY
1151
1155
  oe("second",15),
1152
1156
  // PARSING
1153
- Ae("s",Se),Ae("ss",Se,be),He(["s","ss"],Ke);
1157
+ De("s",Se),De("ss",Se,be),He(["s","ss"],Ke);
1154
1158
  // MOMENTS
1155
1159
  var ra,ia,aa=de("Seconds",!1);
1156
1160
  // FORMATTING
@@ -1160,11 +1164,11 @@ ne("millisecond","ms"),
1160
1164
  // PRIORITY
1161
1165
  oe("millisecond",16),
1162
1166
  // PARSING
1163
- Ae("S",Ge,ve),Ae("SS",Ge,be),Ae("SSS",Ge,we),ra="SSSS";ra.length<=9;ra+="S")Ae(ra,Me);function oa(e,t){t[Xe]=ue(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")He(ra,oa);
1167
+ De("S",ke,ve),De("SS",ke,be),De("SSS",ke,we),ra="SSSS";ra.length<=9;ra+="S")De(ra,Me);function oa(e,t){t[Xe]=ue(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")He(ra,oa);
1164
1168
  // MOMENTS
1165
1169
  function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=de("Milliseconds",!1),
1166
1170
  // FORMATTING
1167
- 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=fe,ca.invalidAt=ki,ca.isAfter=jr,ca.isBefore=Vr,ca.isBetween=Wr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Ci,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Jn,ca.parsingFlags=Gi,ca.set=ge,ca.startOf=yi,ca.subtract=Nr,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=Ei,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Ti,ca.eraName=$i,ca.eraNarrow=Ii,ca.eraAbbr=Di,ca.eraYear=Ai,ca.year=yt,ca.isLeapYear=vt,ca.weekYear=ji,ca.isoWeekYear=Vi,ca.quarter=ca.quarters=Qi,ca.month=dt,ca.daysInMonth=ht,ca.week=ca.weeks=Mt,ca.isoWeek=ca.isoWeeks=Ft,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Wi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Vt,ca.isoWeekday=Wt,ca.dayOfYear=ta,ca.hour=ca.hours=an,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=_r,ca.isDST=xr,ca.isLocal=Er,ca.isUtcOffset=Cr,ca.isUtc=Gr,ca.isUTC=Gr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=C("dates accessor is deprecated. Use date instead.",ea),ca.months=C("months accessor is deprecated. Use month instead",dt),ca.years=C("years accessor is deprecated. Use year instead",yt),ca.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=$.prototype;function fa(e,t,n,r){var i=bn(),a=f().set(r,t);return i[n](a,e)}function pa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}
1171
+ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Xn(1e3*e)}function da(){return Xn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=zr,ca.diff=Jr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=fe,ca.invalidAt=Gi,ca.isAfter=jr,ca.isBefore=Vr,ca.isBetween=Wr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Ci,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Jn,ca.parsingFlags=ki,ca.set=ge,ca.startOf=yi,ca.subtract=Nr,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=Ei,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Ti,ca.eraName=$i,ca.eraNarrow=Ii,ca.eraAbbr=Ai,ca.eraYear=Di,ca.year=yt,ca.isLeapYear=vt,ca.weekYear=ji,ca.isoWeekYear=Vi,ca.quarter=ca.quarters=Qi,ca.month=dt,ca.daysInMonth=ht,ca.week=ca.weeks=Mt,ca.isoWeek=ca.isoWeeks=Ft,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Wi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Vt,ca.isoWeekday=Wt,ca.dayOfYear=ta,ca.hour=ca.hours=an,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=_r,ca.isDST=xr,ca.isLocal=Er,ca.isUtcOffset=Cr,ca.isUtc=kr,ca.isUTC=kr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=C("dates accessor is deprecated. Use date instead.",ea),ca.months=C("months accessor is deprecated. Use month instead",dt),ca.years=C("years accessor is deprecated. Use year instead",yt),ca.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=$.prototype;function fa(e,t,n,r){var i=bn(),a=f().set(r,t);return i[n](a,e)}function pa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}
1168
1172
  // ()
1169
1173
  // (5)
1170
1174
  // (fmt, 5)
@@ -1173,21 +1177,21 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){r
1173
1177
  // (true, 5)
1174
1178
  // (true, fmt, 5)
1175
1179
  // (true, fmt)
1176
- 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=V,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=F,ma.eras=Mi,ma.erasParse=Fi,ma.erasConvertYear=Li,ma.erasAbbrRegex=Pi,ma.erasNameRegex=Ni,ma.erasNarrowRegex=Oi,ma.months=ot,ma.monthsShort=st,ma.monthsParse=ct,ma.monthsRegex=ft,ma.monthsShortRegex=mt,ma.week=Ct,ma.firstDayOfYear=Tt,ma.firstDayOfWeek=kt,ma.weekdays=Ht,ma.weekdaysMin=Ut,ma.weekdaysShort=Bt,ma.weekdaysParse=zt,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Kt,ma.weekdaysMinRegex=Xt,ma.isPM=nn,ma.meridiem=on,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1180
+ function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=A,ma.longDateFormat=V,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=F,ma.eras=Mi,ma.erasParse=Fi,ma.erasConvertYear=Li,ma.erasAbbrRegex=Pi,ma.erasNameRegex=Ni,ma.erasNarrowRegex=Oi,ma.months=ot,ma.monthsShort=st,ma.monthsParse=ct,ma.monthsRegex=ft,ma.monthsShortRegex=mt,ma.week=Ct,ma.firstDayOfYear=Tt,ma.firstDayOfWeek=Gt,ma.weekdays=Ht,ma.weekdaysMin=Ut,ma.weekdaysShort=Bt,ma.weekdaysParse=zt,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Kt,ma.weekdaysMinRegex=Xt,ma.isPM=nn,ma.meridiem=on,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1177
1181
  // Side effect imports
1178
1182
  r.lang=C("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=C("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 Ea(e,t,n,r){var i=Mr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1179
1183
  // supports only 2.0-style add(1, 's') or add(duration)
1180
1184
  function Ca(e,t){return Ea(this,e,t,1)}
1181
1185
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
1182
- function Ga(e,t){return Ea(this,e,t,-1)}function ka(e){return e<0?Math.floor(e):Math.ceil(e)}function Ta(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;
1186
+ function ka(e,t){return Ea(this,e,t,-1)}function Ga(e){return e<0?Math.floor(e):Math.ceil(e)}function Ta(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;
1183
1187
  // if we have a mix of positive and negative values, bubble down first
1184
1188
  // check: https://github.com/moment/moment/issues/2166
1185
- return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*ka(Fa(s)+o),o=0,s=0),
1189
+ return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Ga(Fa(s)+o),o=0,s=0),
1186
1190
  // The following code bubbles up values, see the tests for
1187
1191
  // examples of what that means.
1188
1192
  l.milliseconds=a%1e3,e=ce(a/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,o+=ce(n/24),s+=
1189
1193
  // convert days to months
1190
- i=ce(Ma(o)),o-=ka(Fa(i)),
1194
+ i=ce(Ma(o)),o-=Ga(Fa(i)),
1191
1195
  // 12 months -> 1 year
1192
1196
  r=ce(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function Ma(e){
1193
1197
  // 400 years have 146097 days (taking into account leap year rules)
@@ -1200,7 +1204,7 @@ t=this._days+Math.round(Fa(this._months)),e){case"week":return t/7+r/6048e5;case
1200
1204
  // Math.floor prevents floating point math errors here
1201
1205
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1202
1206
  // TODO: Use this.as('ms')?
1203
- function $a(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ia(e){return function(){return this.as(e)}}var Da=Ia("ms"),Aa=Ia("s"),Na=Ia("m"),Pa=Ia("h"),Oa=Ia("d"),Ra=Ia("w"),Ha=Ia("M"),Ba=Ia("Q"),Ua=Ia("y");function Ya(){return Mr(this)}function za(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function ja(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=ja("milliseconds"),Wa=ja("seconds"),Za=ja("minutes"),Ka=ja("hours"),Xa=ja("days"),Ja=ja("months"),qa=ja("years");function Qa(){return ce(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1207
+ function $a(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ia(e){return function(){return this.as(e)}}var Aa=Ia("ms"),Da=Ia("s"),Na=Ia("m"),Pa=Ia("h"),Oa=Ia("d"),Ra=Ia("w"),Ha=Ia("M"),Ba=Ia("Q"),Ua=Ia("y");function Ya(){return Mr(this)}function za(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function ja(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=ja("milliseconds"),Wa=ja("seconds"),Za=ja("minutes"),Ka=ja("hours"),Xa=ja("days"),Ja=ja("months"),qa=ja("years");function Qa(){return ce(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1204
1208
  s:45,// seconds to minute
1205
1209
  m:45,// minutes to hour
1206
1210
  h:22,// hours to day
@@ -1226,11 +1230,11 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
1226
1230
  // 12 months -> 1 year
1227
1231
  n=ce(u/12),u%=12,
1228
1232
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1229
- 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=Ca,uo.subtract=Ga,uo.as=La,uo.asMilliseconds=Da,uo.asSeconds=Aa,uo.asMinutes=Na,uo.asHours=Pa,uo.asDays=Oa,uo.asWeeks=Ra,uo.asMonths=Ha,uo.asQuarters=Ba,uo.asYears=Ua,uo.valueOf=$a,uo._bubble=Ta,uo.clone=Ya,uo.get=za,uo.milliseconds=Va,uo.seconds=Wa,uo.minutes=Za,uo.hours=Ka,uo.days=Xa,uo.weeks=Qa,uo.months=Ja,uo.years=qa,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1233
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=Sa,uo.add=Ca,uo.subtract=ka,uo.as=La,uo.asMilliseconds=Aa,uo.asSeconds=Da,uo.asMinutes=Na,uo.asHours=Pa,uo.asDays=Oa,uo.asWeeks=Ra,uo.asMonths=Ha,uo.asQuarters=Ba,uo.asYears=Ua,uo.valueOf=$a,uo._bubble=Ta,uo.clone=Ya,uo.get=za,uo.milliseconds=Va,uo.seconds=Wa,uo.minutes=Za,uo.hours=Ka,uo.days=Xa,uo.weeks=Qa,uo.months=Ja,uo.years=qa,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1230
1234
  // FORMATTING
1231
1235
  H("X",0,0,"unix"),H("x",0,0,"valueOf"),
1232
1236
  // PARSING
1233
- Ae("x",Fe),Ae("X",Ie),He("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),He("x",(function(e,t,n){n._d=new Date(ue(e))})),
1237
+ De("x",Fe),De("X",Ie),He("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),He("x",(function(e,t,n){n._d=new Date(ue(e))})),
1234
1238
  //! moment.js
1235
1239
  r.version="2.29.4",i(Xn),r.fn=ca,r.min=er,r.max=tr,r.now=nr,r.utc=f,r.unix=ua,r.months=ya,r.isDate=d,r.locale=gn,r.invalid=v,r.duration=Mr,r.isMoment=S,r.weekdays=ba,r.parseZone=da,r.localeData=bn,r.isDuration=lr,r.monthsShort=va,r.weekdaysMin=_a,r.defineLocale=yn,r.updateLocale=vn,r.locales=wn,r.weekdaysShort=wa,r.normalizeUnits=re,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ur,r.prototype=ca,
1236
1240
  // currently HTML5 input type only supports 24-hour formats
@@ -1242,7 +1246,7 @@ TIME:"HH:mm",// <input type="time" />
1242
1246
  TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1243
1247
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1244
1248
  WEEK:"GGGG-[W]WW",// <input type="week" />
1245
- MONTH:"YYYY-MM"},r}()}));function Gr(e,t){Vn(e,t)}const kr={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Tr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};
1249
+ MONTH:"YYYY-MM"},r}()}));function kr(e,t){Vn(e,t)}const Gr={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Tr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};
1246
1250
  /* eslint-disable quote-props */
1247
1251
  /* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.59.2 */
1248
1252
  function Mr(e,t,n){const r=e.slice();return r[109]=t[n],r[111]=n,r}function Fr(e,t,n){const r=e.slice();return r[106]=t[n],r}
@@ -1253,9 +1257,9 @@ function $r(e){let t,n=!br(/*userAgent*/e[37])&&!/*gamefavorite*/e[0]&&/*isLogge
1253
1257
  // (559:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
1254
1258
  function Ir(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',_(n,"class","FavIconContainer"),_(n,"part","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler*/t[67]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
1255
1259
  // (577:8) {#if lang}
1256
- function Dr(e){let t,n,r,i,a=/*$_*/e[36]("playNow")+"";return{c(){t=p("button"),n=y(a),_(t,"class","GameInfoBtn"),_(t,"part","GameInfoBtn")},m(a,o){h(a,t,o),d(t,n),r||(i=w(t,"click",/*click_handler_1*/e[68]),r=!0)},p(e,t){/*$_*/32&t[1]&&a!==(a=/*$_*/e[36]("playNow")+"")&&S(n,a)},d(e){e&&m(t),r=!1,i()}}}
1260
+ function Ar(e){let t,n,r,i,a=/*$_*/e[36]("playNow")+"";return{c(){t=p("button"),n=y(a),_(t,"class","GameInfoBtn"),_(t,"part","GameInfoBtn")},m(a,o){h(a,t,o),d(t,n),r||(i=w(t,"click",/*click_handler_1*/e[68]),r=!0)},p(e,t){/*$_*/32&t[1]&&a!==(a=/*$_*/e[36]("playNow")+"")&&S(n,a)},d(e){e&&m(t),r=!1,i()}}}
1257
1261
  // (591:77)
1258
- function Ar(t){let n;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="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: white" 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"),_(n,"part","FavIconContainer")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1262
+ function Dr(t){let n;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="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: white" 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"),_(n,"part","FavIconContainer")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1259
1263
  // (585:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
1260
1264
  function Nr(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="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: white" 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"),_(n,"part","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[69]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
1261
1265
  // (599:6) {#if gameisnew}
@@ -1290,36 +1294,36 @@ function Zr(e){let t,n,r=/*$_*/e[36]("full")+"";return{c(){t=p("span"),n=y(r),_(
1290
1294
  // (626:16) {#each seats as seatData}
1291
1295
  function Kr(e){let t,n,r,i,a,o,s;return{c(){t=p("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),_(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),_(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[44](/*currentoccupiedseats*/e[29],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat"),_(t,"part",s=/*contains*/e[44](/*currentoccupiedseats*/e[29],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,o){h(e,t,o),d(t,n),d(n,r),d(n,i),d(t,a)},p(e,n){/*currentoccupiedseats, seats*/570425344&n[0]&&o!==(o=/*contains*/e[44](/*currentoccupiedseats*/e[29],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat")&&_(t,"class",o),/*currentoccupiedseats, seats*/570425344&n[0]&&s!==(s=/*contains*/e[44](/*currentoccupiedseats*/e[29],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat")&&_(t,"part",s)},d(e){e&&m(t)}}}
1292
1296
  // (662:2) {#if showgamename}
1293
- function Xr(e){let t,n;return{c(){t=p("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"part","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){h(e,t,r),d(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function Jr(t){let n,i,a,o,s,c,u,f,g,b,x,E,C,G,k,T,M,F,L,$,I,D,A,N,P,O,R,H,B,U,Y,z,j=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"";function V(e,t){/*fav*/
1294
- return e[16]?$r:Lr}let W=V(t),Z=W(t),K=/*lang*/t[1]&&Dr(t);function X(e,t){/*gamefavorite, isLoggedIn, favorites*/
1295
- return 32773&t[0]&&($=null),/*gamefavorite, isLoggedIn, favorites*/32773&t[0]&&(I=null),null==$&&($=!(br(/*userAgent*/e[37])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[15]||/*favorites*/!e[2])),$?Nr:(null==I&&(I=!!(br(/*userAgent*/e[37])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[15]&&/*favorites*/e[2])),I?Ar:void 0)}let J=X(t,[-1,-1,-1,-1]),q=J&&J(t),Q=/*gameisnew*/t[7]&&Pr(t),ee=/*gametag*/t[8]&&Or(t),te=/*livegamedata*/t[12]&&Rr(t),ne=/*showgamename*/t[10]&&Xr(t);return{c(){n=p("div"),i=p("div"),a=p("img"),u=v(),f=p("div"),g=p("div"),Z.c(),b=v(),x=p("p"),E=y(/*gamename*/t[4]),C=v(),K&&K.c(),T=v(),M=p("span"),F=y(j),L=v(),q&&q.c(),D=v(),A=p("div"),Q&&Q.c(),N=v(),ee&&ee.c(),P=v(),te&&te.c(),H=v(),ne&&ne.c(),this.c=e,l(a.src,o=/*gamethumbnail*/t[3])||_(a,"src",o),_(a,"class",s=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*hover*/t[17]?"GameContainerHovered":""} ${/*loaded*/t[18]?"Loaded":""}`),_(a,"part",c="GameBg "+(/*hover*/t[17]?"GameContainerHovered":"")+" "+(/*loaded*/t[18]?"Loaded":"")),_(a,"alt",""),_(a,"loading","lazy"),_(x,"class","GameInfoName"),_(x,"part","GameInfoName"),_(x,"title",/*gamename*/t[4]),_(g,"class",G="GameInfo "+(/*hover*/t[17]?"GameHovered":"")),_(g,"part",k="GameInfo "+(/*hover*/t[17]?"GameHovered":"")),_(M,"class","GameInfoVendor"),_(M,"part","GameInfoVendor"),_(f,"class","GameInfoWrapper"),_(f,"part","GameInfoWrapper"),_(A,"class","GameExtraInfo"),_(A,"part","GameExtraInfo"),_(i,"class",O="GameInnerContainer "+(/*livegamedata*/t[12]&&!/*isopen*/t[23]&&/*openhours*/t[24].value||/*livegamedata*/t[12]&&/*istablefull*/t[33]?"GameInnerContainerUnavailable":"")),_(i,"part",R="GameInnerContainer "+(/*livegamedata*/t[12]&&!/*isopen*/t[23]||/*livegamedata*/t[12]&&/*istablefull*/t[33]?"GameInnerContainerUnavailable":"")),_(n,"class",B=`GameContainer ${/*extraclassname*/t[34]}`),_(n,"part",U=`GameContainer ${/*extraclassname*/t[34]}`)},m(e,r){h(e,n,r),d(n,i),d(i,a),
1296
- /*img_binding*/t[66](a),d(i,u),d(i,f),d(f,g),Z.m(g,null),d(g,b),d(g,x),d(x,E),d(g,C),K&&K.m(g,null),d(f,T),d(f,M),d(M,F),d(i,L),q&&q.m(i,null),d(i,D),d(i,A),Q&&Q.m(A,null),d(A,N),ee&&ee.m(A,null),d(A,P),te&&te.m(A,null),d(n,H),ne&&ne.m(n,null)
1297
- /*div4_binding*/,t[71](n),Y||(z=[w(i,"mouseenter",/*gameHover*/t[42]),w(i,"mouseleave",/*gameBlur*/t[43]),w(i,"touchstart",/*gameTouch*/t[40],{passive:!0}),w(i,"touchend",/*gameTouchEnd*/t[41],{passive:!0})],Y=!0)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(a.src,o=/*gamethumbnail*/e[3])&&_(a,"src",o),/*gamecellsize, hover, loaded*/393728&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*hover*/e[17]?"GameContainerHovered":""} ${/*loaded*/e[18]?"Loaded":""}`)&&_(a,"class",s),/*hover, loaded*/393216&t[0]&&c!==(c="GameBg "+(/*hover*/e[17]?"GameContainerHovered":"")+" "+(/*loaded*/e[18]?"Loaded":""))&&_(a,"part",c),W===(W=V(e))&&Z?Z.p(e,t):(Z.d(1),Z=W(e),Z&&(Z.c(),Z.m(g,b))),/*gamename*/16&t[0]&&S(E,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(x,"title",/*gamename*/e[4]),/*lang*/e[1]?K?K.p(e,t):(K=Dr(e),K.c(),K.m(g,null)):K&&(K.d(1),K=null),/*hover*/131072&t[0]&&G!==(G="GameInfo "+(/*hover*/e[17]?"GameHovered":""))&&_(g,"class",G),/*hover*/131072&t[0]&&k!==(k="GameInfo "+(/*hover*/e[17]?"GameHovered":""))&&_(g,"part",k),/*gamevendor*/32&t[0]&&j!==(j=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(F,j),J===(J=X(e,t))&&q?q.p(e,t):(q&&q.d(1),q=J&&J(e),q&&(q.c(),q.m(i,D))),/*gameisnew*/e[7]?Q?Q.p(e,t):(Q=Pr(e),Q.c(),Q.m(A,N)):Q&&(Q.d(1),Q=null),/*gametag*/e[8]?ee?ee.p(e,t):(ee=Or(e),ee.c(),ee.m(A,P)):ee&&(ee.d(1),ee=null),/*livegamedata*/e[12]?te?te.p(e,t):(te=Rr(e),te.c(),te.m(A,null)):te&&(te.d(1),te=null),/*livegamedata, isopen, openhours*/25169920&t[0]|/*istablefull*/4&t[1]&&O!==(O="GameInnerContainer "+(/*livegamedata*/e[12]&&!/*isopen*/e[23]&&/*openhours*/e[24].value||/*livegamedata*/e[12]&&/*istablefull*/e[33]?"GameInnerContainerUnavailable":""))&&_(i,"class",O),/*livegamedata, isopen*/8392704&t[0]|/*istablefull*/4&t[1]&&R!==(R="GameInnerContainer "+(/*livegamedata*/e[12]&&!/*isopen*/e[23]||/*livegamedata*/e[12]&&/*istablefull*/e[33]?"GameInnerContainerUnavailable":""))&&_(i,"part",R),/*showgamename*/e[10]?ne?ne.p(e,t):(ne=Xr(e),ne.c(),ne.m(n,null)):ne&&(ne.d(1),ne=null),/*extraclassname*/8&t[1]&&B!==(B=`GameContainer ${/*extraclassname*/e[34]}`)&&_(n,"class",B),/*extraclassname*/8&t[1]&&U!==(U=`GameContainer ${/*extraclassname*/e[34]}`)&&_(n,"part",U)},i:e,o:e,d(e){e&&m(n)
1297
+ function Xr(e){let t,n;return{c(){t=p("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"part","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){h(e,t,r),d(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function Jr(t){let n,i,a,o,s,c,u,f,g,b,x,E,C,k,G,T,M,F,L,$,I,A,D,N,P,O,R,H,B,U,Y,z,j=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"";function V(e,t){/*fav*/
1298
+ return e[16]?$r:Lr}let W=V(t),Z=W(t),K=/*lang*/t[1]&&Ar(t);function X(e,t){/*gamefavorite, isLoggedIn, favorites*/
1299
+ return 32773&t[0]&&($=null),/*gamefavorite, isLoggedIn, favorites*/32773&t[0]&&(I=null),null==$&&($=!(br(/*userAgent*/e[37])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[15]||/*favorites*/!e[2])),$?Nr:(null==I&&(I=!!(br(/*userAgent*/e[37])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[15]&&/*favorites*/e[2])),I?Dr:void 0)}let J=X(t,[-1,-1,-1,-1]),q=J&&J(t),Q=/*gameisnew*/t[7]&&Pr(t),ee=/*gametag*/t[8]&&Or(t),te=/*livegamedata*/t[12]&&Rr(t),ne=/*showgamename*/t[10]&&Xr(t);return{c(){n=p("div"),i=p("div"),a=p("img"),u=v(),f=p("div"),g=p("div"),Z.c(),b=v(),x=p("p"),E=y(/*gamename*/t[4]),C=v(),K&&K.c(),T=v(),M=p("span"),F=y(j),L=v(),q&&q.c(),A=v(),D=p("div"),Q&&Q.c(),N=v(),ee&&ee.c(),P=v(),te&&te.c(),H=v(),ne&&ne.c(),this.c=e,l(a.src,o=/*gamethumbnail*/t[3])||_(a,"src",o),_(a,"class",s=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*hover*/t[17]?"GameContainerHovered":""} ${/*loaded*/t[18]?"Loaded":""}`),_(a,"part",c="GameBg "+(/*hover*/t[17]?"GameContainerHovered":"")+" "+(/*loaded*/t[18]?"Loaded":"")),_(a,"alt",""),_(a,"loading","lazy"),_(x,"class","GameInfoName"),_(x,"part","GameInfoName"),_(x,"title",/*gamename*/t[4]),_(g,"class",k="GameInfo "+(/*hover*/t[17]?"GameHovered":"")),_(g,"part",G="GameInfo "+(/*hover*/t[17]?"GameHovered":"")),_(M,"class","GameInfoVendor"),_(M,"part","GameInfoVendor"),_(f,"class","GameInfoWrapper"),_(f,"part","GameInfoWrapper"),_(D,"class","GameExtraInfo"),_(D,"part","GameExtraInfo"),_(i,"class",O="GameInnerContainer "+(/*livegamedata*/t[12]&&!/*isopen*/t[23]&&/*openhours*/t[24].value||/*livegamedata*/t[12]&&/*istablefull*/t[33]?"GameInnerContainerUnavailable":"")),_(i,"part",R="GameInnerContainer "+(/*livegamedata*/t[12]&&!/*isopen*/t[23]||/*livegamedata*/t[12]&&/*istablefull*/t[33]?"GameInnerContainerUnavailable":"")),_(n,"class",B=`GameContainer ${/*extraclassname*/t[34]}`),_(n,"part",U=`GameContainer ${/*extraclassname*/t[34]}`)},m(e,r){h(e,n,r),d(n,i),d(i,a),
1300
+ /*img_binding*/t[66](a),d(i,u),d(i,f),d(f,g),Z.m(g,null),d(g,b),d(g,x),d(x,E),d(g,C),K&&K.m(g,null),d(f,T),d(f,M),d(M,F),d(i,L),q&&q.m(i,null),d(i,A),d(i,D),Q&&Q.m(D,null),d(D,N),ee&&ee.m(D,null),d(D,P),te&&te.m(D,null),d(n,H),ne&&ne.m(n,null)
1301
+ /*div4_binding*/,t[71](n),Y||(z=[w(i,"mouseenter",/*gameHover*/t[42]),w(i,"mouseleave",/*gameBlur*/t[43]),w(i,"touchstart",/*gameTouch*/t[40],{passive:!0}),w(i,"touchend",/*gameTouchEnd*/t[41],{passive:!0})],Y=!0)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(a.src,o=/*gamethumbnail*/e[3])&&_(a,"src",o),/*gamecellsize, hover, loaded*/393728&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*hover*/e[17]?"GameContainerHovered":""} ${/*loaded*/e[18]?"Loaded":""}`)&&_(a,"class",s),/*hover, loaded*/393216&t[0]&&c!==(c="GameBg "+(/*hover*/e[17]?"GameContainerHovered":"")+" "+(/*loaded*/e[18]?"Loaded":""))&&_(a,"part",c),W===(W=V(e))&&Z?Z.p(e,t):(Z.d(1),Z=W(e),Z&&(Z.c(),Z.m(g,b))),/*gamename*/16&t[0]&&S(E,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(x,"title",/*gamename*/e[4]),/*lang*/e[1]?K?K.p(e,t):(K=Ar(e),K.c(),K.m(g,null)):K&&(K.d(1),K=null),/*hover*/131072&t[0]&&k!==(k="GameInfo "+(/*hover*/e[17]?"GameHovered":""))&&_(g,"class",k),/*hover*/131072&t[0]&&G!==(G="GameInfo "+(/*hover*/e[17]?"GameHovered":""))&&_(g,"part",G),/*gamevendor*/32&t[0]&&j!==(j=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(F,j),J===(J=X(e,t))&&q?q.p(e,t):(q&&q.d(1),q=J&&J(e),q&&(q.c(),q.m(i,A))),/*gameisnew*/e[7]?Q?Q.p(e,t):(Q=Pr(e),Q.c(),Q.m(D,N)):Q&&(Q.d(1),Q=null),/*gametag*/e[8]?ee?ee.p(e,t):(ee=Or(e),ee.c(),ee.m(D,P)):ee&&(ee.d(1),ee=null),/*livegamedata*/e[12]?te?te.p(e,t):(te=Rr(e),te.c(),te.m(D,null)):te&&(te.d(1),te=null),/*livegamedata, isopen, openhours*/25169920&t[0]|/*istablefull*/4&t[1]&&O!==(O="GameInnerContainer "+(/*livegamedata*/e[12]&&!/*isopen*/e[23]&&/*openhours*/e[24].value||/*livegamedata*/e[12]&&/*istablefull*/e[33]?"GameInnerContainerUnavailable":""))&&_(i,"class",O),/*livegamedata, isopen*/8392704&t[0]|/*istablefull*/4&t[1]&&R!==(R="GameInnerContainer "+(/*livegamedata*/e[12]&&!/*isopen*/e[23]||/*livegamedata*/e[12]&&/*istablefull*/e[33]?"GameInnerContainerUnavailable":""))&&_(i,"part",R),/*showgamename*/e[10]?ne?ne.p(e,t):(ne=Xr(e),ne.c(),ne.m(n,null)):ne&&(ne.d(1),ne=null),/*extraclassname*/8&t[1]&&B!==(B=`GameContainer ${/*extraclassname*/e[34]}`)&&_(n,"class",B),/*extraclassname*/8&t[1]&&U!==(U=`GameContainer ${/*extraclassname*/e[34]}`)&&_(n,"part",U)},i:e,o:e,d(e){e&&m(n)
1298
1302
  /*img_binding*/,t[66](null),Z.d(),K&&K.d(),q&&q.d(),Q&&Q.d(),ee&&ee.d(),te&&te.d(),ne&&ne.d()
1299
- /*div4_binding*/,t[71](null),Y=!1,r(z)}}}const qr="blackjack",Qr="roulette",ei="doubleballroulette",ti=5;function ni(e,t,n){let r;u(e,vr,(e=>n(36,r=e)));let i,a,o,s,l,c,d,h,m,f,p,g,y,v,b,w,_,x,S,E,C,G,T,F,L,{session:$=""}=t,{userid:I=""}=t,{lang:D="en"}=t,{clientstyling:N=""}=t,{clientstylingurl:P=""}=t,{translationurl:O=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gameid:Y=""}=t,{gameisnew:z=""}=t,{gametag:j=""}=t,{gamefunmode:V=!1}=t,{searchitem:W=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=!1}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{livelobbyendpoint:te=""}=t,{connectlive:ne=""}=t,{visibilityconnect:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,oe=!1,se=!1,le=!1,ce=window.navigator.userAgent,ue="HH:mm",de={},he=[],me="EUR",fe="";const pe=[qr],ge=[Qr,ei],ye={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ve={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(kr).forEach((e=>{Gr(e,kr[e])}));const be=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(15,oe=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(12,s=null)},we=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1303
+ /*div4_binding*/,t[71](null),Y=!1,r(z)}}}const qr="blackjack",Qr="roulette",ei="doubleballroulette",ti=5;function ni(e,t,n){let r;u(e,vr,(e=>n(36,r=e)));let i,a,o,s,l,c,d,h,m,f,p,g,y,v,b,w,_,x,S,E,C,k,T,F,L,{session:$=""}=t,{userid:I=""}=t,{lang:A="en"}=t,{clientstyling:N=""}=t,{clientstylingurl:P=""}=t,{translationurl:O=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gameid:Y=""}=t,{gameisnew:z=""}=t,{gametag:j=""}=t,{gamefunmode:V=!1}=t,{searchitem:W=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=!1}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{livelobbyendpoint:te=""}=t,{connectlive:ne=""}=t,{visibilityconnect:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,oe=!1,se=!1,le=!1,ce=window.navigator.userAgent,ue="HH:mm",de={},he=[],me="EUR",fe="";const pe=[qr],ge=[Qr,ei],ye={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ve={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(Gr).forEach((e=>{kr(e,Gr[e])}));const be=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(15,oe=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(12,s=null)},we=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1300
1304
  //Analytics event -- if game was searched
1301
1305
  "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1302
1306
  // Case mobile
1303
1307
  br(ce)&&"true"==ae?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:br(ce),source:"GameThumbnail",identifier:"Lobby"},window.location.href):br(ce)&&"false"==ae&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:br(ce)},window.location.href),
1304
1308
  // Case desktop
1305
- br(ce)||"true"!=ie?br(ce)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:br(ce)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:br(ce),identifier:"Lobby"},window.location.href)},_e=e=>{let t="thumbnail";Z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},xe=()=>{var e;e=D,or.set(e)},Se=()=>{te&&EventSource&&!l&&U&&Y&&(l=new EventSource(`${ee}/encoder/lobby/updates/${U}/${Y}`),l.addEventListener("message",Ce))},Ee=()=>{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){
1309
+ br(ce)||"true"!=ie?br(ce)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:br(ce)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:br(ce),identifier:"Lobby"},window.location.href)},_e=e=>{let t="thumbnail";Z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},xe=()=>{var e;e=A,or.set(e)},Se=()=>{te&&EventSource&&!l&&U&&Y&&(l=new EventSource(`${ee}/encoder/lobby/updates/${U}/${Y}`),l.addEventListener("message",Ce))},Ee=()=>{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){
1306
1310
  // eslint-disable-next-line no-console
1307
1311
  console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1308
1312
  r,Seats:// Roads, // for baccarat
1309
- a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(29,y=a),n(12,s.currentOccupiedSeats=a,s),await A());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(12,s.currentRouletteNumbers=r,s),await A());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(12,s.currentDoubleBallRouletteNumbers=r,s),await A());break;case"TableOpened":case"TableClosed":n(23,h=o),n(12,s.isOpen=o,s),await A()}// default case
1313
+ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(29,y=a),n(12,s.currentOccupiedSeats=a,s),await D());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(12,s.currentRouletteNumbers=r,s),await D());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(12,s.currentDoubleBallRouletteNumbers=r,s),await D());break;case"TableOpened":case"TableClosed":n(23,h=o),n(12,s.isOpen=o,s),await D()}// default case
1310
1314
  }}// default case
1311
- },Ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ke=(e,t)=>e.some((e=>e===t)),Te=()=>{if(s){if(n(23,h=s.isOpen),de=s.betLimit||{},n(24,m=s.openHours),n(25,he=(e=>{g=e.totalSeats||7,n(29,y=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(s).seats),m&&m.value){const{value:{startTime:e,originalTimeFormat:t}}=m;/* , timeFormat: timeFormatRaw */n(21,d=e),n(22,ue=t||ue)}h&&n(20,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ke(pe,e)?t=qr:ke(ge,e)&&(t=Qr)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1315
+ },ke=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Ge=(e,t)=>e.some((e=>e===t)),Te=()=>{if(s){if(n(23,h=s.isOpen),de=s.betLimit||{},n(24,m=s.openHours),n(25,he=(e=>{g=e.totalSeats||7,n(29,y=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(s).seats),m&&m.value){const{value:{startTime:e,originalTimeFormat:t}}=m;/* , timeFormat: timeFormatRaw */n(21,d=e),n(22,ue=t||ue)}h&&n(20,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Ge(pe,e)?t=qr:Ge(ge,e)&&(t=Qr)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1312
1316
  // GameComponent = 'baccarat';
1313
1317
  }// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
1314
1318
  // GameComponent = 'poker';
1315
1319
  // }
1316
- return t})(s)),n(26,me=Tr[q]),n(27,f=(de.min||{})[q]),n(28,p=(de.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(30,_=w.toLowerCase()===ei),n(13,x=(_?b:v)||[]),n(31,S="GameProp LiveProps RoulleteProps"),n(31,S+=_?" Double":""),n(32,E=ke(ge,w.toLowerCase())?ve:ye),G=C,n(33,C=Array.isArray(y)&&y.length===g),s.dealer&&n(35,F=s.dealer.DealerName),L=s.numberOfPlayers,n(34,fe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(34,fe+=" GameBackdrop"),h&&C&&f&&p&&s.currentOccupiedSeats?n(34,fe+=" GameContainerDimmed"):!1===h&&d&&n(34,fe+=" GameContainerFullyDimmed"),o&&(!G&&C?(n(34,fe+=" PulsatingRedShadow"),n(34,fe=fe.replace(" PulsatingGreenShadow",""))):G&&!C&&(n(34,fe+=" PulsatingGreenShadow"),n(34,fe=fe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(P),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};k((()=>(window.addEventListener("message",be,!1),()=>{window.removeEventListener("message",be),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(48,$=e.session),"userid"in e&&n(49,I=e.userid),"lang"in e&&n(1,D=e.lang),"clientstyling"in e&&n(50,N=e.clientstyling),"clientstylingurl"in e&&n(51,P=e.clientstylingurl),"translationurl"in e&&n(52,O=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gameid"in e&&n(6,Y=e.gameid),"gameisnew"in e&&n(7,z=e.gameisnew),"gametag"in e&&n(8,j=e.gametag),"gamefunmode"in e&&n(53,V=e.gamefunmode),"searchitem"in e&&n(54,W=e.searchitem),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(55,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(56,q=e.currency),"gamepagemodalurl"in e&&n(57,Q=e.gamepagemodalurl),"endpoint"in e&&n(58,ee=e.endpoint),"livelobbyendpoint"in e&&n(59,te=e.livelobbyendpoint),"connectlive"in e&&n(60,ne=e.connectlive),"visibilityconnect"in e&&n(61,re=e.visibilityconnect),"integratedgameframedesktop"in e&&n(62,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(63,ae=e.integratedgameframemobile)},e.$$.update=()=>{/*connectlive*/536870912&e.$$.dirty[1]&&ne&&("disconnect"===ne?Ee():"connect"===ne&&Se()),/*visibilityconnect*/1073741824&e.$$.dirty[1]&&re&&("disconnect"===re?Ee():"connect"===re&&"connect"===ne&&Se()),/*lang*/2&e.$$.dirty[0]&&D&&xe(),/*session, userid, endpoint*/134610944&e.$$.dirty[1]&&$&&I&&ee&&(n(15,oe=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(19,a.onload=()=>{n(18,le=!0)},a),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstyling*/524288&e.$$.dirty[1]&&N&&o&&(()=>{let e=document.createElement("style");e.innerHTML=N,o.appendChild(e)})(),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&P&&o&&Me(),/*favorites*/4&e.$$.dirty[0]&&R&&"true"==R&&n(16,se=!0),/*translationurl*/2097152&e.$$.dirty[1]&&O&&fetch(O).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Gr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&K&&P&&Me(),/*endpoint, livelobbyendpoint*/402653184&e.$$.dirty[1]&&ee&&te&&(()=>{let e=new URL(`${te.split("?")[0]}`);e.searchParams.append("platform",wr(ce)),e.searchParams.append("language",D),
1320
+ return t})(s)),n(26,me=Tr[q]),n(27,f=(de.min||{})[q]),n(28,p=(de.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(30,_=w.toLowerCase()===ei),n(13,x=(_?b:v)||[]),n(31,S="GameProp LiveProps RoulleteProps"),n(31,S+=_?" Double":""),n(32,E=Ge(ge,w.toLowerCase())?ve:ye),k=C,n(33,C=Array.isArray(y)&&y.length===g),s.dealer&&n(35,F=s.dealer.DealerName),L=s.numberOfPlayers,n(34,fe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(34,fe+=" GameBackdrop"),h&&C&&f&&p&&s.currentOccupiedSeats?n(34,fe+=" GameContainerDimmed"):!1===h&&d&&n(34,fe+=" GameContainerFullyDimmed"),o&&(!k&&C?(n(34,fe+=" PulsatingRedShadow"),n(34,fe=fe.replace(" PulsatingGreenShadow",""))):k&&!C&&(n(34,fe+=" PulsatingGreenShadow"),n(34,fe=fe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(P),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",be,!1),()=>{window.removeEventListener("message",be),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(48,$=e.session),"userid"in e&&n(49,I=e.userid),"lang"in e&&n(1,A=e.lang),"clientstyling"in e&&n(50,N=e.clientstyling),"clientstylingurl"in e&&n(51,P=e.clientstylingurl),"translationurl"in e&&n(52,O=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gameid"in e&&n(6,Y=e.gameid),"gameisnew"in e&&n(7,z=e.gameisnew),"gametag"in e&&n(8,j=e.gametag),"gamefunmode"in e&&n(53,V=e.gamefunmode),"searchitem"in e&&n(54,W=e.searchitem),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(55,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(56,q=e.currency),"gamepagemodalurl"in e&&n(57,Q=e.gamepagemodalurl),"endpoint"in e&&n(58,ee=e.endpoint),"livelobbyendpoint"in e&&n(59,te=e.livelobbyendpoint),"connectlive"in e&&n(60,ne=e.connectlive),"visibilityconnect"in e&&n(61,re=e.visibilityconnect),"integratedgameframedesktop"in e&&n(62,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(63,ae=e.integratedgameframemobile)},e.$$.update=()=>{/*connectlive*/536870912&e.$$.dirty[1]&&ne&&("disconnect"===ne?Ee():"connect"===ne&&Se()),/*visibilityconnect*/1073741824&e.$$.dirty[1]&&re&&("disconnect"===re?Ee():"connect"===re&&"connect"===ne&&Se()),/*lang*/2&e.$$.dirty[0]&&A&&xe(),/*session, userid, endpoint*/134610944&e.$$.dirty[1]&&$&&I&&ee&&(n(15,oe=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(19,a.onload=()=>{n(18,le=!0)},a),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstyling*/524288&e.$$.dirty[1]&&N&&o&&(()=>{let e=document.createElement("style");e.innerHTML=N,o.appendChild(e)})(),/*customStylingContainer*/2048&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&P&&o&&Me(),/*favorites*/4&e.$$.dirty[0]&&R&&"true"==R&&n(16,se=!0),/*translationurl*/2097152&e.$$.dirty[1]&&O&&fetch(O).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{kr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&K&&P&&Me(),/*endpoint, livelobbyendpoint*/402653184&e.$$.dirty[1]&&ee&&te&&(()=>{let e=new URL(`${te.split("?")[0]}`);e.searchParams.append("platform",wr(ce)),e.searchParams.append("language",A),
1317
1321
  // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
1318
- fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(12,s=t)}))})(),/*livegamedata*/4096&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/24576&e.$$.dirty[0]&&T&&x&&(()=>{const e="FirstElementAnimated",t=T.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,D,R,H,B,U,Y,z,j,K,J,o,s,x,T,oe,se,!1,le,a,c,d,ue,h,m,he,me,f,p,y,_,S,E,C,fe,F,r,ce,we,_e,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},ke,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ge(e)}-${Ge(t)}`),L&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},$,I,N,P,O,V,W,X,q,Q,ee,te,ne,re,ie,ae,ye,ve,function(e){M[e?"unshift":"push"]((()=>{a=e,n(19,a)}))},()=>_e(Y),()=>we(Y),()=>_e(Y),function(e){M[e?"unshift":"push"]((()=>{T=e,n(14,T)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(11,o)}))}]}function ri(e,t){Vn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ni,Jr,a,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),R()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),R()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),R()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),R()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),R()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),R()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),R()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),R()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),R()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),R()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),R()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),R()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),R()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),R()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),R()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),R()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),R()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),R()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),R()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),R()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const ii={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}};
1322
+ fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(12,s=t)}))})(),/*livegamedata*/4096&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/24576&e.$$.dirty[0]&&T&&x&&(()=>{const e="FirstElementAnimated",t=T.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,U,Y,z,j,K,J,o,s,x,T,oe,se,!1,le,a,c,d,ue,h,m,he,me,f,p,y,_,S,E,C,fe,F,r,ce,we,_e,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ke(e)}-${ke(t)}`),L&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},$,I,N,P,O,V,W,X,q,Q,ee,te,ne,re,ie,ae,ye,ve,function(e){M[e?"unshift":"push"]((()=>{a=e,n(19,a)}))},()=>_e(Y),()=>we(Y),()=>_e(Y),function(e){M[e?"unshift":"push"]((()=>{T=e,n(14,T)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(11,o)}))}]}function ri(e,t){Vn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ni,Jr,a,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),R()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),R()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),R()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),R()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),R()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),R()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),R()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),R()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),R()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),R()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),R()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),R()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),R()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),R()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),R()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),R()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),R()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),R()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),R()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),R()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const ii={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},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"}};
1319
1323
  /* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function ai(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
1320
1324
  // (178:4) {#if !isLoading}
1321
- function oi(e){let t,n,i,a,o,s,l,c,u,b,x,E,C,G,k,T,M,F,L,$,I,D,A,N,P,O,R,H,B,U,Y,z=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",V=/*$_*/e[11]("clear")+"";function W(e,t){/*fullSelection*/
1322
- return e[7]?ci:li}let Z=W(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=hi(ai(e,X,t));return{c(){t=p("div"),n=p("div"),i=p("div"),a=g("svg"),o=g("path"),s=v(),l=p("div"),c=p("span"),u=y(z),b=v(),x=p("div"),E=p("span"),C=y(j),G=v(),K.c(),k=v(),T=p("span"),M=g("svg"),F=g("path"),I=v(),D=p("div"),A=p("ul");for(let e=0;e<J.length;e+=1)J[e].c();N=v(),P=p("button"),O=y(V),_(o,"id","noun_filter_736223"),_(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),_(o,"transform","translate(-5 -6.2)"),_(o,"fill","#fff"),_(a,"xmlns","http://www.w3.org/2000/svg"),_(a,"width","16"),_(a,"height","16"),_(a,"viewBox","0 0 16 16"),_(c,"class","FilterName"),_(x,"class","FilterValueContainer"),_(l,"class","FilterTextContainer"),_(i,"class","FilterMainArea"),_(F,"id","arrow"),_(F,"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"),_(F,"transform","translate(-274.511 -441.088)"),_(F,"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 "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",$="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),_(A,"class","FilterDropdown"),_(P,"class","ClearFilters"),P.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,E),d(E,C),d(x,G),K.m(x,null),d(n,k),d(n,T),d(T,M),d(M,F),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,N),d(D,P),d(P,O),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(P,"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(C,j),Z===(Z=W(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(x,null))),/*isFilterActive*/16&r[0]&&L!==(L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(T,"class",L),/*isFilterActive*/16&r[0]&&$!==($="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",$),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=ai(e,X,t);J[t]?J[t].p(n,r):(J[t]=hi(n),J[t].c(),J[t].m(A,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&V!==(V=/*$_*/e[11]("clear")+"")&&S(O,V),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(P.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)}}}
1325
+ function oi(e){let t,n,i,a,o,s,l,c,u,b,x,E,C,k,G,T,M,F,L,$,I,A,D,N,P,O,R,H,B,U,Y,z=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",V=/*$_*/e[11]("clear")+"";function W(e,t){/*fullSelection*/
1326
+ return e[7]?ci:li}let Z=W(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=hi(ai(e,X,t));return{c(){t=p("div"),n=p("div"),i=p("div"),a=g("svg"),o=g("path"),s=v(),l=p("div"),c=p("span"),u=y(z),b=v(),x=p("div"),E=p("span"),C=y(j),k=v(),K.c(),G=v(),T=p("span"),M=g("svg"),F=g("path"),I=v(),A=p("div"),D=p("ul");for(let e=0;e<J.length;e+=1)J[e].c();N=v(),P=p("button"),O=y(V),_(o,"id","noun_filter_736223"),_(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),_(o,"transform","translate(-5 -6.2)"),_(o,"fill","#fff"),_(a,"xmlns","http://www.w3.org/2000/svg"),_(a,"width","16"),_(a,"height","16"),_(a,"viewBox","0 0 16 16"),_(c,"class","FilterName"),_(x,"class","FilterValueContainer"),_(l,"class","FilterTextContainer"),_(i,"class","FilterMainArea"),_(F,"id","arrow"),_(F,"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"),_(F,"transform","translate(-274.511 -441.088)"),_(F,"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 "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",$="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),_(D,"class","FilterDropdown"),_(P,"class","ClearFilters"),P.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,E),d(E,C),d(x,k),K.m(x,null),d(n,G),d(n,T),d(T,M),d(M,F),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,N),d(A,P),d(P,O),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(P,"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(C,j),Z===(Z=W(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(x,null))),/*isFilterActive*/16&r[0]&&L!==(L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(T,"class",L),/*isFilterActive*/16&r[0]&&$!==($="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",$),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=ai(e,X,t);J[t]?J[t].p(n,r):(J[t]=hi(n),J[t].c(),J[t].m(D,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&V!==(V=/*$_*/e[11]("clear")+"")&&S(O,V),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(P.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)}}}
1323
1327
  // (175:2) {#if hasErrors}
1324
1328
  function si(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchLoading"),_(t,"part","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)}}}
1325
1329
  // (191:14) {:else}
@@ -1343,34 +1347,34 @@ return e[10]?si:/*isLoading*/e[9]?void 0:oi}let i=r(t),a=i&&i(t);return{c(){n=p(
1343
1347
  /*dictionary.set(translations);
1344
1348
  locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(ii).forEach((e=>{ri(e,ii[e])}));
1345
1349
  // end custom styling area
1346
- w[h]&&(w={[h]:[]});const C=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},G=e=>{let t=localStorage.getItem("vendorFiltersByCategory");e.isFilterSelected=!e.isFilterSelected,b.length&&0!=b.filter((t=>t.name===e.name)).length?n(6,b=b.filter((t=>t.name!==e.name))):b.push(e),null==t?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})):(t=JSON.parse(t),t[h]=b.map((e=>e.id)),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(t))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),T()},T=()=>{
1350
+ w[h]&&(w={[h]:[]});const C=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},k=e=>{let t=localStorage.getItem("vendorFiltersByCategory");e.isFilterSelected=!e.isFilterSelected,b.length&&0!=b.filter((t=>t.name===e.name)).length?n(6,b=b.filter((t=>t.name!==e.name))):b.push(e),null==t?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})):(t=JSON.parse(t),t[h]=b.map((e=>e.id)),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(t))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),T()},T=()=>{
1347
1351
  // update filters value
1348
1352
  n(7,_=b.length===v.length||0==b.length),n(8,x=b.length)},F=()=>{const e=new URL(`${a}/casino/vendors`);n(4,g=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",s),e.searchParams.append("datasource",o),e.searchParams.append("platform",wr(y)),(h.match(/\$/g)||[]).length>1?(e.searchParams.append("filter",`games(subGroups=${h})`),e.searchParams.append("subVendors",`games(subGroups=${h})`)):e.searchParams.append("filter",`games(groups=${h})`),(e=>{n(9,S=!0),new Promise(((t,r)=>{fetch(e).then((e=>e.json())).then((e=>{e=e.items,t(e.items),n(6,b=[]);let r=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach((e=>{var t;r||(r={currentCategoryId:[]}),(null===(t=r[h])||void 0===t?void 0:t.indexOf(e.id))>=0?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1})),n(5,v=e),
1349
1353
  // needed to force the update of the filters value
1350
1354
  T()})).catch((e=>{console.error(e),n(10,E=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},L=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
1351
1355
  // this reassignation of the pointer value is required in order to have Svelte trigger a re-render
1352
- n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},$=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};k((()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,d=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&F(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&i&&(()=>{let e=document.createElement("style");e.innerHTML=c,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ri(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,x,S,E,r,C,G,L,a,o,s,l,c,d,h,()=>C(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>G(e),()=>L(),function(e){M[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function pi(e,t){Vn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#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:#D1D1D1;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 #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #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 white;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 #fff}.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-color-primary, #D0046C);border:1px solid 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),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},fi,mi,a,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),R()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),R()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}});const gi={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},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"}};
1356
+ n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},$=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};G((()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,d=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&F(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&i&&(()=>{let e=document.createElement("style");e.innerHTML=c,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ri(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,x,S,E,r,C,k,L,a,o,s,l,c,d,h,()=>C(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>k(e),()=>L(),function(e){M[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function pi(e,t){Vn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#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:#D1D1D1;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 #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #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 white;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 #fff}.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-color-primary, #D0046C);border:1px solid 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),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},fi,mi,a,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),R()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),R()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}});const gi={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},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"}};
1353
1357
  /* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function yi(e,t,n){const r=e.slice();return r[23]=t[n],r}
1354
1358
  // (114:4) {#if !isLoading}
1355
- function vi(e){let t,n,r,i,a,o,s,l,c,u,b,x,E,C,G,k,T,M,F,L,$,I,D,A,N,P,O,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",U=Object.values(/*vendorMap*/e[5]),Y=[];for(let t=0;t<U.length;t+=1)Y[t]=bi(yi(e,U,t));return{c(){t=p("div"),n=p("div"),r=p("div"),i=g("svg"),a=g("g"),o=g("path"),s=g("path"),l=g("path"),c=v(),u=p("div"),b=p("span"),x=y(H),E=v(),C=p("div"),G=p("span"),k=y(B),T=v(),M=p("span"),F=g("svg"),L=g("path"),D=v(),A=p("div"),N=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"),_(C,"class","SorterValueContainer"),_(u,"class","SorterTextContainer"),_(r,"class","SorterMainArea"),_(L,"id","arrow"),_(L,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_(L,"transform","translate(-274.511 -441.088)"),_(L,"fill","#d1d1d1"),_(F,"xmlns","http://www.w3.org/2000/svg"),_(F,"width","14"),_(F,"height","6.835"),_(F,"viewBox","0 0 14 6.835"),_(M,"class",$="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),_(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),_(N,"class","SorterDropdown"),_(A,"class",P="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,E),d(u,C),d(C,G),d(G,k),d(n,T),d(n,M),d(M,F),d(F,L),d(t,D),d(t,A),d(A,N);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(N,null);O||(R=w(n,"click",/*click_handler*/e[13]),O=!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(k,B),/*isSorterActive*/2&t&&$!==($="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&_(M,"class",$),/*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=yi(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=bi(r),Y[n].c(),Y[n].m(N,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&P!==(P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&_(A,"class",P)},d(e){e&&m(t),f(Y,e),O=!1,R()}}}
1359
+ function vi(e){let t,n,r,i,a,o,s,l,c,u,b,x,E,C,k,G,T,M,F,L,$,I,A,D,N,P,O,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",U=Object.values(/*vendorMap*/e[5]),Y=[];for(let t=0;t<U.length;t+=1)Y[t]=bi(yi(e,U,t));return{c(){t=p("div"),n=p("div"),r=p("div"),i=g("svg"),a=g("g"),o=g("path"),s=g("path"),l=g("path"),c=v(),u=p("div"),b=p("span"),x=y(H),E=v(),C=p("div"),k=p("span"),G=y(B),T=v(),M=p("span"),F=g("svg"),L=g("path"),A=v(),D=p("div"),N=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"),_(C,"class","SorterValueContainer"),_(u,"class","SorterTextContainer"),_(r,"class","SorterMainArea"),_(L,"id","arrow"),_(L,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_(L,"transform","translate(-274.511 -441.088)"),_(L,"fill","#d1d1d1"),_(F,"xmlns","http://www.w3.org/2000/svg"),_(F,"width","14"),_(F,"height","6.835"),_(F,"viewBox","0 0 14 6.835"),_(M,"class",$="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),_(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),_(N,"class","SorterDropdown"),_(D,"class",P="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,E),d(u,C),d(C,k),d(k,G),d(n,T),d(n,M),d(M,F),d(F,L),d(t,A),d(t,D),d(D,N);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(N,null);O||(R=w(n,"click",/*click_handler*/e[13]),O=!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(G,B),/*isSorterActive*/2&t&&$!==($="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&_(M,"class",$),/*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=yi(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=bi(r),Y[n].c(),Y[n].m(N,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&P!==(P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&_(D,"class",P)},d(e){e&&m(t),f(Y,e),O=!1,R()}}}
1356
1360
  // (140:10) {#each Object.values(vendorMap) as sort}
1357
1361
  function bi(e){let t,n,r,i,a,o,s,l,c,u,f,g,b=/*sort*/e[23]+"";function x(){/*click_handler_1*/
1358
1362
  return e[14](/*sort*/e[23])}return{c(){t=p("li"),n=p("label"),r=p("input"),a=v(),o=p("span"),s=v(),l=p("span"),c=y(b),u=v(),_(r,"type","radio"),_(r,"name","radio"),r.value=/*sort*/e[23],r.checked=i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),_(o,"class","SortersCheckmark"),_(n,"class","SorterLabel CustomRadioButton"),_(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){h(e,t,i),d(t,n),d(n,r),d(n,a),d(n,o),d(n,s),d(n,l),d(l,c),d(t,u),f||(g=w(r,"click",x),f=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&i!==(i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=i)},d(e){e&&m(t),f=!1,g()}}}function wi(t){let n;function r(e,t){if(!/*isLoading*/e[2])return vi}let i=r(t),a=i&&i(t);return{c(){n=p("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
1359
1363
  /*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()
1360
1364
  /*div_binding*/,t[15](null)}}}function _i(e,t,n){let r;u(e,vr,(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}){or.subscribe((n=>{null==n&&(Yn.set(t),or.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1361
1365
  /*dictionary.set(translations);
1362
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(gi).forEach((e=>{pi(e,gi[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)};k((()=>(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=>{pi(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)}))}]}
1366
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(gi).forEach((e=>{pi(e,gi[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=>{pi(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)}))}]}
1363
1367
  /* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
1364
1368
  function xi(e,t,n){const r=e.slice();return r[82]=t[n],r[84]=n,r}function Si(e,t,n){const r=e.slice();return r[82]=t[n],r[85]=t,r[84]=n,r}function Ei(e,t,n){const r=e.slice();return r[82]=t[n],r[84]=n,r}
1365
1369
  // (635:4) {:else}
1366
1370
  function Ci(e){let t;function n(e,t){/*categoryData*/
1367
1371
  return e[22]?Mi:/*showFavGamesCategory*/e[33]?Ti: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()}}}
1368
1372
  // (577:4) {#if searched}
1369
- function Gi(e){let t,n,r;function i(e,t){/*recentSearched*/
1373
+ function ki(e){let t,n,r;function i(e,t){/*recentSearched*/
1370
1374
  return e[26]?ea:/*shownCategoryData*/e[23].length?qi:Qi}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
1371
1375
  return e[23]?na:ta}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 "+(br(/*userAgent*/e[38])?"CasinoGamesHeaderMobile":"")),_(n,"part","CasinoGamesHeader Searched "+(br(/*userAgent*/e[38])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer"),_(t,"part","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()}}}
1372
1376
  // (569:2) {#if hasErrors}
1373
- function ki(e){let t;function n(e,t){/*filteresPresent*/
1377
+ function Gi(e){let t;function n(e,t){/*filteresPresent*/
1374
1378
  return e[28]?oa:aa}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r!==(r=n(e))&&(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
1375
1379
  // (723:39)
1376
1380
  function Ti(e){let t,n,r,i,a,o=/*casinomygames*/"true"!==e[14]&&Fi(e);function s(e,t){/*isLoading*/
@@ -1387,13 +1391,13 @@ function Fi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[37]("favorites")+"",u=/*favoriteGam
1387
1391
  // (828:18) {:else}
1388
1392
  function Li(e){let t,n,r=/*$_*/e[37]("waiting")+"";return{c(){t=p("p"),n=y(r)},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("waiting")+"")&&S(n,r)},d(e){e&&m(t)}}}
1389
1393
  // (738:18) {#if favoriteGamesData}
1390
- function $i(e){let t,n=/*favoriteGamesData*/e[36].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=Ui(xi(e,n,t));let i=null;return n.length||(i=Di(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/16378&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/508&a[1]){let o;for(n=/*favoriteGamesData*/e[36].items,o=0;o<n.length;o+=1){const i=xi(e,n,o);r[o]?r[o].p(i,a):(r[o]=Ui(i),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Di(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
1394
+ function $i(e){let t,n=/*favoriteGamesData*/e[36].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=Ui(xi(e,n,t));let i=null;return n.length||(i=Ai(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/16378&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/508&a[1]){let o;for(n=/*favoriteGamesData*/e[36].items,o=0;o<n.length;o+=1){const i=xi(e,n,o);r[o]?r[o].p(i,a):(r[o]=Ui(i),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Ai(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
1391
1395
  // (735:16) {#if isLoading && !isLazyLoading}
1392
1396
  function Ii(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)}}}
1393
1397
  // (809:20) {:else}
1394
- function Di(e){let t,n,r,i,a,o,s,l,c,u,f,b,w,x,E=/*$_*/e[37]("noFavoritesTitle")+"";let C=function(e,t){return br(/*userAgent*/e[38])?Ni:Ai}(e),G=C(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(E),w=v(),G.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-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-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-color-primary, #D0046C)"),_(l,"stroke","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-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"),_(f,"part","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class","NoFavoriteGames "+(br(/*userAgent*/e[38])?"NoFavoriteGamesMobile":"")),_(t,"part","NoFavoriteGames "+(br(/*userAgent*/e[38])?"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),G.m(t,null),d(t,x)},p(e,t){/*$_*/64&t[1]&&E!==(E=/*$_*/e[37]("noFavoritesTitle")+"")&&S(b,E),G.p(e,t)},d(e){e&&m(t),G.d()}}}
1398
+ function Ai(e){let t,n,r,i,a,o,s,l,c,u,f,b,w,x,E=/*$_*/e[37]("noFavoritesTitle")+"";let C=function(e,t){return br(/*userAgent*/e[38])?Ni:Di}(e),k=C(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(E),w=v(),k.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-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-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-color-primary, #D0046C)"),_(l,"stroke","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-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"),_(f,"part","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class","NoFavoriteGames "+(br(/*userAgent*/e[38])?"NoFavoriteGamesMobile":"")),_(t,"part","NoFavoriteGames "+(br(/*userAgent*/e[38])?"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),k.m(t,null),d(t,x)},p(e,t){/*$_*/64&t[1]&&E!==(E=/*$_*/e[37]("noFavoritesTitle")+"")&&S(b,E),k.p(e,t)},d(e){e&&m(t),k.d()}}}
1395
1399
  // (823:24) {:else}
1396
- function Ai(e){let t,n,r=/*$_*/e[37]("noFavorites")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText"),_(t,"part","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("noFavorites")+"")&&S(n,r)},d(e){e&&m(t)}}}
1400
+ function Di(e){let t,n,r=/*$_*/e[37]("noFavorites")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText"),_(t,"part","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("noFavorites")+"")&&S(n,r)},d(e){e&&m(t)}}}
1397
1401
  // (821:24) {#if isMobile(userAgent)}
1398
1402
  function Ni(e){let t,n,r=/*$_*/e[37]("noFavoritesMobile")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText"),_(t,"part","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/64&t[1]&&r!==(r=/*$_*/e[37]("noFavoritesMobile")+"")&&S(n,r)},d(e){e&&m(t)}}}
1399
1403
  // (740:22) {#if gameprops.gameModel}
@@ -1453,22 +1457,22 @@ function ia(e){let t,n,r,i,a,o,s,l,c,u,d,f,g;return{c(){t=p("casino-game-thumbna
1453
1457
  function aa(e){let t;return{c(){t=p("p"),t.textContent="500 Error - Internal Server Error.",_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}
1454
1458
  // (571:4) {#if filteresPresent}
1455
1459
  function oa(e){let t;return{c(){t=p("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}function sa(t){let n;function r(e,t){/*hasErrors*/
1456
- return e[21]?ki:/*searched*/e[25]?Gi:Ci}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoGamesCategorySectionContainer"),_(n,"part","CasinoGamesCategorySectionContainer")},m(e,r){h(e,n,r),a.m(n,null),
1460
+ return e[21]?Gi:/*searched*/e[25]?ki:Ci}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoGamesCategorySectionContainer"),_(n,"part","CasinoGamesCategorySectionContainer")},m(e,r){h(e,n,r),a.m(n,null),
1457
1461
  /*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(),
1458
- /*div_binding*/t[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='.SorterContainer{color:#fff;position:relative;z-index:16}.SorterSelector{background-color:#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:#D1D1D1;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 #fff;height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background: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),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},_i,wi,a,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),R()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),R()}});const la="game-tile-";function ca(e,t,n){let r;u(e,vr,(e=>n(37,r=e)));let i,a,o,s,l,c,d,h,m,f,{categoryindex:p=""}=t,{endpoint:g=""}=t,{datasource:y=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:w=""}=t,{favorites:_=""}=t,{clientstyling:x=""}=t,{clientstylingurl:S=""}=t,{translationurl:E=""}=t,{currency:C=""}=t,{categoryid:G=""}=t,{categorygames:T=0}=t,{livecasino:F="false"}=t,{visiblegames:L=""}=t,{gamepagemodalurl:$="false"}=t,{integratedgameframedesktop:I="false"}=t,{integratedgameframemobile:D="false"}=t,{casinomygames:A="false"}=t,{addfilterselector:N="false"}=t,{addsortingselector:P="false"}=t,{filterbylogo:O=""}=t,{once:R=!0}=t,{top:H=0}=t,{bottom:B=0}=t,{left:U=0}=t,{right:Y=0}=t,z=!0,j=!1,V=!0,W=window.navigator.userAgent,Z=[],K=!0,X=40,J=!1,q=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1,ie=!1,ae=!1,oe=new Array(1e4),se={},le="",ce="",ue={items:[],count:0,name:""};Object.keys(Er).forEach((e=>{Sr(e,Er[e])})),void 0!==document.hidden?
1462
+ /*div_binding*/t[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='.SorterContainer{color:#fff;position:relative;z-index:16}.SorterSelector{background-color:#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:#D1D1D1;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 #fff;height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background: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),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},_i,wi,a,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),R()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),R()}});const la="game-tile-";function ca(e,t,n){let r;u(e,vr,(e=>n(37,r=e)));let i,a,o,s,l,c,d,h,m,f,{categoryindex:p=""}=t,{endpoint:g=""}=t,{datasource:y=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:w=""}=t,{favorites:_=""}=t,{clientstyling:x=""}=t,{clientstylingurl:S=""}=t,{translationurl:E=""}=t,{currency:C=""}=t,{categoryid:k=""}=t,{categorygames:T=0}=t,{livecasino:F="false"}=t,{visiblegames:L=""}=t,{gamepagemodalurl:$="false"}=t,{integratedgameframedesktop:I="false"}=t,{integratedgameframemobile:A="false"}=t,{casinomygames:D="false"}=t,{addfilterselector:N="false"}=t,{addsortingselector:P="false"}=t,{filterbylogo:O=""}=t,{once:R=!0}=t,{top:H=0}=t,{bottom:B=0}=t,{left:U=0}=t,{right:Y=0}=t,z=!0,j=!1,V=!0,W=window.navigator.userAgent,Z=[],K=!0,X=40,J=!1,q=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1,ie=!1,ae=!1,oe=new Array(1e4),se={},le="",ce="",ue={items:[],count:0,name:""};Object.keys(Er).forEach((e=>{Sr(e,Er[e])})),void 0!==document.hidden?
1459
1463
  // Opera 12.10 and Firefox 18 and later support
1460
1464
  m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
1461
1465
  // IntersectionObserver used for loading more games
1462
1466
  let de=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,r=e.target.elems_index;// eslint-disable-line
1463
1467
  // eslint-disable-line
1464
- e.isIntersecting?(1.2*r>X&&fe(G),n(34,se[t]=1,se)):n(34,se[t]=0,se)}))}));
1468
+ e.isIntersecting?(1.2*r>X&&fe(k),n(34,se[t]=1,se)):n(34,se[t]=0,se)}))}));
1465
1469
  // Start favored games section
1466
1470
  const he=(e,t,r,i=[])=>{n(20,z=!0);let a="",o="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),c=JSON.parse(localStorage.getItem("vendorSortingBy")),u=g.replace(/.$/,"2");// @TODO remove after we migrate with all endpoints to v2 - hack for the endpoint since the filtering of categories functionality was developed only for the v2 api
1467
- return(G.match(/\$/g)||[]).length>1?(a=G.split("$").slice(0,2).join("$"),o=new URL(`${u}/casino/groups/${y}/${a}/subGroups`)):o=new URL(`${u}/casino/groups/${y}/${G}`),new Promise(((e,i)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",wr(W)),o.searchParams.append("pagination",`games(offset=${t},limit=${r})`),o.searchParams.append("language",v),
1471
+ return(k.match(/\$/g)||[]).length>1?(a=k.split("$").slice(0,2).join("$"),o=new URL(`${u}/casino/groups/${y}/${a}/subGroups`)):o=new URL(`${u}/casino/groups/${y}/${k}`),new Promise(((e,i)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",wr(W)),o.searchParams.append("pagination",`games(offset=${t},limit=${r})`),o.searchParams.append("language",v),
1468
1472
  // if vendor filters are active, get filtered games
1469
- window.postMessage({type:"CategoryVendors",categoryid:G},window.location.href),s&&s[G])if(s[G].length&&!1===V&&!1===ie){let e="";n(28,te=!0),s[G].forEach((t=>{e+=e?`,games(vendor(id=${t}))`:`games(vendor(id=${t}))`})),o.searchParams.append("filter",(s&&s[G].length<2?"$and":"$or")+`(${e})`)}else n(28,te=!1);c&&(c[G]?c[G]&&"All"!=c[G]&&("isNew"==c[G]||"advancedTags(name(hot))"==c[G]?(o.searchParams.append("sortedField",`games(${c[G]})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${c[G]})`)):ce&&"All"!=ce&&("advancedTags(name(hot))"==ce||"isNew"==ce?(o.searchParams.append("sortedField",`games(${ce})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${ce})`))),fetch(o).then((e=>e.json())).then((t=>{n(20,z=!1),(G.match(/\$/g)||[]).length>1&&(t=t.items.filter((e=>{if(e.id==G)return e}))[0]),n(50,f=!0),n(21,j=!1),l=t.games.total,e(t)}),(e=>{n(21,j=!0),console.error(e),i(e)}))}))},me=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==G&&(n(25,J=!1),V=!1,n(24,K=!1),n(23,Z=e.data.mostPlayedGames),n(22,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(20,z=!1);break;case"LastPlayedData":"LASTPLAYED"==G&&(n(25,J=!1),V=!1,n(24,K=!1),n(23,Z=e.data.lastPlayedGames),n(22,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(20,z=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(25,J=!0),n(26,q=!0),e.data.searchData.length>0?(n(23,Z=e.data.searchData),n(29,ne=!0),Z&&Z.forEach((e=>{e.isFavorite=pe(e.id)}))):(n(23,Z=[]),n(29,ne=!1));break;case"OutOfRecentSearches":n(25,J=!1),n(26,q=!1);break;case"SearchData":n(25,J=!0),n(26,q=!1),n(23,Z=e.data.searchData.items||[]),n(27,ee=!0),e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),Z&&Z.forEach((e=>{e.isFavorite=pe(e.id)}));break;case`CategoryData_${G}`:n(25,J=!1),V=!0,n(24,K=!0),n(27,ee=!1),ae=!1,e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),he(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(22,o=e),n(23,Z=o.games.items),Z&&Z.forEach((e=>{e.isFavorite=pe(e.id)}))}));break;case"CategoryChange":X=20;break;case"ApplySorter":n(0,G=e.data.itemId),ce=e.data.sortBy,he(0,0,X).then((e=>{n(22,o=e),n(23,Z=o.games.items),n(24,K=!1)}));break;case"CategoryUpdate":n(25,J=!1),V=!1,n(27,ee=!1),ae=!0,n(0,G=e.data.itemId),"MOSTPLAYED"!==G&&n(24,K=!1),"true"!==A&&he(0,0,X).then((t=>{n(22,o=t),o.games.items.forEach((e=>{e.isFavorite=pe(e.id)})),n(23,Z=o.games.items),n(24,K=!1),
1473
+ window.postMessage({type:"CategoryVendors",categoryid:k},window.location.href),s&&s[k])if(s[k].length&&!1===V&&!1===ie){let e="";n(28,te=!0),s[k].forEach((t=>{e+=e?`,games(vendor(id=${t}))`:`games(vendor(id=${t}))`})),o.searchParams.append("filter",(s&&s[k].length<2?"$and":"$or")+`(${e})`)}else n(28,te=!1);c&&(c[k]?c[k]&&"All"!=c[k]&&("isNew"==c[k]||"advancedTags(name(hot))"==c[k]?(o.searchParams.append("sortedField",`games(${c[k]})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${c[k]})`)):ce&&"All"!=ce&&("advancedTags(name(hot))"==ce||"isNew"==ce?(o.searchParams.append("sortedField",`games(${ce})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${ce})`))),fetch(o).then((e=>e.json())).then((t=>{n(20,z=!1),(k.match(/\$/g)||[]).length>1&&(t=t.items.filter((e=>{if(e.id==k)return e}))[0]),n(50,f=!0),n(21,j=!1),l=t.games.total,e(t)}),(e=>{n(21,j=!0),console.error(e),i(e)}))}))},me=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==k&&(n(25,J=!1),V=!1,n(24,K=!1),n(23,Z=e.data.mostPlayedGames),n(22,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(20,z=!1);break;case"LastPlayedData":"LASTPLAYED"==k&&(n(25,J=!1),V=!1,n(24,K=!1),n(23,Z=e.data.lastPlayedGames),n(22,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(20,z=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(25,J=!0),n(26,q=!0),e.data.searchData.length>0?(n(23,Z=e.data.searchData),n(29,ne=!0),Z&&Z.forEach((e=>{e.isFavorite=pe(e.id)}))):(n(23,Z=[]),n(29,ne=!1));break;case"OutOfRecentSearches":n(25,J=!1),n(26,q=!1);break;case"SearchData":n(25,J=!0),n(26,q=!1),n(23,Z=e.data.searchData.items||[]),n(27,ee=!0),e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),Z&&Z.forEach((e=>{e.isFavorite=pe(e.id)}));break;case`CategoryData_${k}`:n(25,J=!1),V=!0,n(24,K=!0),n(27,ee=!1),ae=!1,e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),he(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(22,o=e),n(23,Z=o.games.items),Z&&Z.forEach((e=>{e.isFavorite=pe(e.id)}))}));break;case"CategoryChange":X=20;break;case"ApplySorter":n(0,k=e.data.itemId),ce=e.data.sortBy,he(0,0,X).then((e=>{n(22,o=e),n(23,Z=o.games.items),n(24,K=!1)}));break;case"CategoryUpdate":n(25,J=!1),V=!1,n(27,ee=!1),ae=!0,n(0,k=e.data.itemId),"MOSTPLAYED"!==k&&n(24,K=!1),"true"!==D&&he(0,0,X).then((t=>{n(22,o=t),o.games.items.forEach((e=>{e.isFavorite=pe(e.id)})),n(23,Z=o.games.items),n(24,K=!1),
1470
1474
  // @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
1471
- Z.length<10&&0==e.data.origin&&(Q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Q},window.location.href)}),500))}));break;case"FavoriteUpdate":V=!0,o&&(n(23,Z=o.games.items),Z.forEach((e=>{e.isFavorite=pe(e.id)})));break;case"UpdateCategoryFavoriteGames":if(e.data.receivedFavoriteResults){if(d=e.data.receivedFavoriteResults.items,e.data.favStadalone)return;ie?V||window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let t;V=!1,e.data&&(t=e.data.receivedFavoriteResults.items,t.length&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)})),n(36,ue.items=
1475
+ Z.length<10&&0==e.data.origin&&(Q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Q},window.location.href)}),500))}));break;case"FavoriteUpdate":V=!0,o&&(n(23,Z=o.games.items),Z.forEach((e=>{e.isFavorite=pe(e.id)})));break;case"UpdateCategoryFavoriteGames":if(e.data.receivedFavoriteResults){if(d=e.data.receivedFavoriteResults.items,e.data.favStadalone)return;ie?V||window.postMessage({type:"CategoryUpdate",itemId:k},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let t;V=!1,e.data&&(t=e.data.receivedFavoriteResults.items,t.length&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)})),n(36,ue.items=
1472
1476
  // separate favorites array into mobile and desktop favorites
1473
1477
  function(e,t){let n=window.navigator.userAgent;
1474
1478
  // make sure to display favored games specific to the platform used
@@ -1481,17 +1485,17 @@ return br(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
1481
1485
  */
1482
1486
  o.games.items.length>Z.length&&(n(23,Z=o.games.items),Z.forEach((e=>{e.isFavorite=pe(e.id)}))),n(30,re=!1)}))},pe=e=>!!d&&-1!==d.findIndex((t=>t.id==e)),ge=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};
1483
1487
  // @TODO categoryId type
1484
- k((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(35,le="disconnect"):n(35,le="connect")})),window.addEventListener("message",me,!1),"FAVORITES"===G&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",me),window.removeEventListener("visibilitychange",me)})));return e.$$set=e=>{"categoryindex"in e&&n(41,p=e.categoryindex),"endpoint"in e&&n(1,g=e.endpoint),"datasource"in e&&n(2,y=e.datasource),"lang"in e&&n(3,v=e.lang),"session"in e&&n(4,b=e.session),"userid"in e&&n(5,w=e.userid),"favorites"in e&&n(6,_=e.favorites),"clientstyling"in e&&n(7,x=e.clientstyling),"clientstylingurl"in e&&n(8,S=e.clientstylingurl),"translationurl"in e&&n(42,E=e.translationurl),"currency"in e&&n(9,C=e.currency),"categoryid"in e&&n(0,G=e.categoryid),"categorygames"in e&&n(43,T=e.categorygames),"livecasino"in e&&n(10,F=e.livecasino),"visiblegames"in e&&n(44,L=e.visiblegames),"gamepagemodalurl"in e&&n(11,$=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(12,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,D=e.integratedgameframemobile),"casinomygames"in e&&n(14,A=e.casinomygames),"addfilterselector"in e&&n(15,N=e.addfilterselector),"addsortingselector"in e&&n(16,P=e.addsortingselector),"filterbylogo"in e&&n(17,O=e.filterbylogo),"once"in e&&n(45,R=e.once),"top"in e&&n(46,H=e.top),"bottom"in e&&n(47,B=e.bottom),"left"in e&&n(48,U=e.left),"right"in e&&n(49,Y=e.right)},e.$$.update=()=>{/*thumbnailContainer*/524288&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&f&&oe&&ae&&oe.forEach(((e,t)=>{e&&(
1488
+ G((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(35,le="disconnect"):n(35,le="connect")})),window.addEventListener("message",me,!1),"FAVORITES"===k&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",me),window.removeEventListener("visibilitychange",me)})));return e.$$set=e=>{"categoryindex"in e&&n(41,p=e.categoryindex),"endpoint"in e&&n(1,g=e.endpoint),"datasource"in e&&n(2,y=e.datasource),"lang"in e&&n(3,v=e.lang),"session"in e&&n(4,b=e.session),"userid"in e&&n(5,w=e.userid),"favorites"in e&&n(6,_=e.favorites),"clientstyling"in e&&n(7,x=e.clientstyling),"clientstylingurl"in e&&n(8,S=e.clientstylingurl),"translationurl"in e&&n(42,E=e.translationurl),"currency"in e&&n(9,C=e.currency),"categoryid"in e&&n(0,k=e.categoryid),"categorygames"in e&&n(43,T=e.categorygames),"livecasino"in e&&n(10,F=e.livecasino),"visiblegames"in e&&n(44,L=e.visiblegames),"gamepagemodalurl"in e&&n(11,$=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(12,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,A=e.integratedgameframemobile),"casinomygames"in e&&n(14,D=e.casinomygames),"addfilterselector"in e&&n(15,N=e.addfilterselector),"addsortingselector"in e&&n(16,P=e.addsortingselector),"filterbylogo"in e&&n(17,O=e.filterbylogo),"once"in e&&n(45,R=e.once),"top"in e&&n(46,H=e.top),"bottom"in e&&n(47,B=e.bottom),"left"in e&&n(48,U=e.left),"right"in e&&n(49,Y=e.right)},e.$$.update=()=>{/*thumbnailContainer*/524288&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&f&&oe&&ae&&oe.forEach(((e,t)=>{e&&(
1485
1489
  // Hack to make sure that I can identify the thumbnail index
1486
- e.elems_index=t,de.observe(e))})),/*lang, categoryid*/9&e.$$.dirty[0]&&v&&G&&(()=>{
1490
+ e.elems_index=t,de.observe(e))})),/*lang, categoryid*/9&e.$$.dirty[0]&&v&&k&&(()=>{
1487
1491
  // showFavGamesCategory vs categoryData
1488
1492
  // favoriteGamesData vs shownCategoryData
1489
- switch(G){case"FAVORITES":n(33,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&n(33,ie=!1)}})(),/*translationurl*/2048&e.$$.dirty[1]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Sr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/262272&e.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/262400&e.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[G,g,y,v,b,w,_,x,S,C,F,$,I,D,A,N,P,O,h,oe,z,j,o,Z,K,J,q,ee,te,ne,re,s,c,ie,se,le,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);Cr(l).diff(i)<r&&(r=Cr(l).diff(i),t=o),Cr(i).isAfter(s)&&Cr(i).isBefore(l)&&(n=e[t].name)})),n},ge,p,E,T,L,R,H,B,U,Y,f,function(e){M[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},e=>ge(o.id),function(e,t){M[e?"unshift":"push"]((()=>{oe[t]=e,n(19,oe)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(31,s)}))},function(e){M[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(31,s)}))},function(e){M[e?"unshift":"push"]((()=>{h=e,n(18,h)}))}]}
1493
+ switch(k){case"FAVORITES":n(33,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===D&&n(33,ie=!1)}})(),/*translationurl*/2048&e.$$.dirty[1]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Sr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/262272&e.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/262400&e.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[k,g,y,v,b,w,_,x,S,C,F,$,I,A,D,N,P,O,h,oe,z,j,o,Z,K,J,q,ee,te,ne,re,s,c,ie,se,le,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);Cr(l).diff(i)<r&&(r=Cr(l).diff(i),t=o),Cr(i).isAfter(s)&&Cr(i).isBefore(l)&&(n=e[t].name)})),n},ge,p,E,T,L,R,H,B,U,Y,f,function(e){M[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},e=>ge(o.id),function(e,t){M[e?"unshift":"push"]((()=>{oe[t]=e,n(19,oe)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(31,s)}))},function(e){M[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},function(e){M[e?"unshift":"push"]((()=>{s=e,n(31,s)}))},function(e){M[e?"unshift":"push"]((()=>{h=e,n(18,h)}))}]}
1490
1494
  /* src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */
1491
1495
  function ua(e){let t;return{c(){t=p("casino-games-category-section"),x(t,"session",/*session*/e[4]),x(t,"userid",/*userid*/e[5]),x(t,"endpoint",/*endpoint*/e[0]),x(t,"datasource",/*datasource*/e[1]),x(t,"lang",/*lang*/e[3]),x(t,"currency",/*currency*/e[2]),x(t,"favorites",/*favorites*/e[13]),x(t,"categoryid","MOSTPLAYED"),x(t,"categoryindex","1"),x(t,"categorygames","9"),x(t,"class","CategoryContainer"),x(t,"clientstyling",/*clientstyling*/e[6]),x(t,"clientstylingurl",/*clientstylingurl*/e[7]),x(t,"livecasino",/*livecasino*/e[8]),x(t,"visiblegames",/*visiblegames*/e[12]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),x(t,"casinomygames",/*casinomygames*/e[14])},m(e,n){h(e,t,n)},p(e,n){/*session*/16&n[0]&&x(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&x(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&x(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&x(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&x(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&x(t,"currency",/*currency*/e[2]),/*favorites*/8192&n[0]&&x(t,"favorites",/*favorites*/e[13]),/*clientstyling*/64&n[0]&&x(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&x(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/4096&n[0]&&x(t,"visiblegames",/*visiblegames*/e[12]),/*gamepagemodalurl*/2048&n[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/16384&n[0]&&x(t,"casinomygames",/*casinomygames*/e[14])},d(e){e&&m(t)}}}
1492
1496
  // (152:4) {#if mostPlayedEmpty}
1493
1497
  function da(e){let t,n,r=/*$_*/e[17]("noGames")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/131072&t[0]&&r!==(r=/*$_*/e[17]("noGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function ha(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
1494
1498
  return e[16]?da:ua}let a=i(t),o=a(t);return{c(){n=p("div"),r=p("div"),o.c(),this.c=e,_(r,"class","casino-most-played-section"),_(n,"class","CasinoGamesCategorySectionContainer"),_(n,"part","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),o.m(r,null),
1495
1499
  /*div1_binding*/t[22](n)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:e,o:e,d(e){e&&m(n),o.d(),
1496
- /*div1_binding*/t[22](null)}}}function ma(e,t,n){let r;u(e,vr,(e=>n(17,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,E=window.navigator.userAgent;Object.keys(xr).forEach((e=>{_r(e,xr[e])}));let C,G,k=[],T=!1;const F=()=>{(e=>{let t=new URL(`${i}/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x);let n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),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:wr(E),rounds:S}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{k=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(k=k.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)}))}else n(16,T=!0)}))},L=()=>{var e;e=s,or.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(18,b=e.lastPlayedEmpty),"translationurl"in e&&n(19,w=e.translationurl),"casinomygames"in e&&n(14,_=e.casinomygames),"mostplayedperiod"in e&&n(20,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(21,S=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&F(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty[0]&&d&&G&&(()=>{let e=document.createElement("style");e.innerHTML=d,G.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty[0]&&h&&G&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{G.appendChild(e)}),1)}))})(),/*translationurl*/524288&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,d,h,m,f,p,g,y,v,_,G,T,r,b,w,x,S,function(e){M[e?"unshift":"push"]((()=>{G=e,n(15,G)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color: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-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-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-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-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ca,sa,a,{categoryindex:41,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:42,currency:9,categoryid:0,categorygames:43,livecasino:10,visiblegames:44,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:45,top:46,bottom:47,left:48,right:49},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[41]}set categoryindex(e){this.$$set({categoryindex:e}),R()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),R()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),R()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),R()}get categorygames(){return this.$$.ctx[43]}set categorygames(e){this.$$set({categorygames:e}),R()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),R()}get visiblegames(){return this.$$.ctx[44]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}get once(){return this.$$.ctx[45]}set once(e){this.$$set({once:e}),R()}get top(){return this.$$.ctx[46]}set top(e){this.$$set({top:e}),R()}get bottom(){return this.$$.ctx[47]}set bottom(e){this.$$set({bottom:e}),R()}get left(){return this.$$.ctx[48]}set left(e){this.$$set({left:e}),R()}get right(){return this.$$.ctx[49]}set right(e){this.$$set({right:e}),R()}});class fa extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}",this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ma,ha,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:18,translationurl:19,casinomygames:14,mostplayedperiod:20,mostplayedrounds:21},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),R()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),R()}get lastPlayedEmpty(){return this.$$.ctx[18]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),R()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),R()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),R()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",fa),fa}));
1500
+ /*div1_binding*/t[22](null)}}}function ma(e,t,n){let r;u(e,vr,(e=>n(17,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,E=window.navigator.userAgent;Object.keys(xr).forEach((e=>{_r(e,xr[e])}));let C,k,G=[],T=!1;const F=()=>{(e=>{let t=new URL(`${i}/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x);let n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),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:wr(E),rounds:S}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{G=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(G=G.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)}))}else n(16,T=!0)}))},L=()=>{var e;e=s,or.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(18,b=e.lastPlayedEmpty),"translationurl"in e&&n(19,w=e.translationurl),"casinomygames"in e&&n(14,_=e.casinomygames),"mostplayedperiod"in e&&n(20,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(21,S=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&F(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty[0]&&d&&k&&(()=>{let e=document.createElement("style");e.innerHTML=d,k.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty[0]&&h&&k&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{k.appendChild(e)}),1)}))})(),/*translationurl*/524288&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,d,h,m,f,p,g,y,v,_,k,T,r,b,w,x,S,function(e){M[e?"unshift":"push"]((()=>{k=e,n(15,k)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color: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-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-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-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-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ca,sa,a,{categoryindex:41,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:42,currency:9,categoryid:0,categorygames:43,livecasino:10,visiblegames:44,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:45,top:46,bottom:47,left:48,right:49},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[41]}set categoryindex(e){this.$$set({categoryindex:e}),R()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),R()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),R()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),R()}get categorygames(){return this.$$.ctx[43]}set categorygames(e){this.$$set({categorygames:e}),R()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),R()}get visiblegames(){return this.$$.ctx[44]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}get once(){return this.$$.ctx[45]}set once(e){this.$$set({once:e}),R()}get top(){return this.$$.ctx[46]}set top(e){this.$$set({top:e}),R()}get bottom(){return this.$$.ctx[47]}set bottom(e){this.$$set({bottom:e}),R()}get left(){return this.$$.ctx[48]}set left(e){this.$$set({left:e}),R()}get right(){return this.$$.ctx[49]}set right(e){this.$$set({right:e}),R()}});class fa extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}",this.shadowRoot.appendChild(t),Y(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ma,ha,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:18,translationurl:19,casinomygames:14,mostplayedperiod:20,mostplayedrounds:21},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),R()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),R()}get lastPlayedEmpty(){return this.$$.ctx[18]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),R()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),R()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),R()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",fa),fa}));
1497
1501
  //# sourceMappingURL=casino-most-played-section.js.map