@everymatrix/casino-most-played-section-nd 1.39.2 → 1.40.0

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 x(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:x(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}function C(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function G(e,t,n){e.classList[n?"add":"remove"](t)}class F{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 k(e){const t={};for(const n of e)t[n.name]=n.value;return t}function E(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 t(){}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function a(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,l;function c(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function u(e,...n){if(null==e)return t;const r=e.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function d(e,t,n){e.$$.on_destroy.push(u(t,n))}function h(e,t){e.appendChild(t)}function m(e,t,n){e.insertBefore(t,n||null)}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function v(e){return document.createTextNode(e)}function b(){return v(" ")}function w(){return v("")}function x(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 S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:_(e,t,n)}function C(e,t){t=""+t,e.data!==t&&(e.data=t)}function G(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function F(e,t,n){e.classList[n?"add":"remove"](t)}class k{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=y(t.nodeName):this.e=g(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)m(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(f)}}function E(e){const t={};for(const n of e)t[n.name]=n.value;return t}function T(e){l=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 T(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const M=[],$=[];let L=[];const I=[],A=Promise.resolve();let D=!1;function O(){D||(D=!0,A.then(B))}function P(){return O(),A}function N(e){L.push(e)}
11
+ function M(e){(function(){if(!l)throw new Error("Function called outside component initialization");return l})().$$.on_mount.push(e)}const $=[],L=[];let I=[];const A=[],D=Promise.resolve();let O=!1;function P(){O||(O=!0,D.then(z))}function N(){return P(),D}function R(e){I.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.
@@ -27,61 +27,61 @@ function T(e){(function(){if(!s)throw new Error("Function called outside compone
27
27
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
28
28
  // callback called a second time; the seen_callbacks set, outside the flush()
29
29
  // function, guarantees this behavior.
30
- const R=new Set;let H=0;// Do *not* move this inside the flush() function
31
- function B(){
30
+ const H=new Set;let B=0;// Do *not* move this inside the flush() function
31
+ function z(){
32
32
  // Do not reenter flush while dirty components are updated, as this can
33
33
  // result in an infinite loop. Instead, let the inner flush handle it.
34
34
  // Reentrancy is ok afterwards for bindings etc.
35
- if(0!==H)return;const e=s;do{
35
+ if(0!==B)return;const e=l;do{
36
36
  // first, call beforeUpdate functions
37
37
  // and update components
38
- try{for(;H<M.length;){const e=M[H];H++,E(e),z(e.$$)}}catch(e){
38
+ try{for(;B<$.length;){const e=$[B];B++,T(e),U(e.$$)}}catch(e){
39
39
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw M.length=0,H=0,e}for(E(null),M.length=0,H=0;$.length;)$.pop()();
40
+ throw $.length=0,B=0,e}for(T(null),$.length=0,B=0;L.length;)L.pop()();
41
41
  // then, once components are updated, call
42
42
  // afterUpdate functions. This may cause
43
43
  // subsequent updates...
44
- for(let e=0;e<L.length;e+=1){const t=L[e];R.has(t)||(
44
+ for(let e=0;e<I.length;e+=1){const t=I[e];H.has(t)||(
45
45
  // ...so guard against infinite loops
46
- R.add(t),t())}L.length=0}while(M.length);for(;I.length;)I.pop()();D=!1,R.clear(),E(e)}function z(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
+ H.add(t),t())}I.length=0}while($.length);for(;A.length;)A.pop()();O=!1,H.clear(),T(e)}function U(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(R)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
- */const U=new Set;function Y(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];L.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),L=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
49
+ */const Y=new Set;function j(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];I.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),I=t}(n.after_update),i(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 j(a,o,l,c,u,d,h,f=[-1]){const p=s;E(a);const g=a.$$={fragment:null,ctx:[],
52
+ n.on_destroy=n.fragment=null,n.ctx=[])}function W(e,o,s,c,u,d,h,m=[-1]){const p=l;T(e);const g=e.$$={fragment:null,ctx:[],
53
53
  // state
54
- props:d,update:e,not_equal:u,bound:n(),
54
+ props:d,update:t,not_equal:u,bound:r(),
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]&&(M.push(e),O(),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:r(),dirty:m,skip_bound:!1,root:o.target||p.$$.root};h&&h(g.root);let y=!1;if(g.ctx=s?s(e,o.props||{},((t,n,...r)=>{const i=r.length?r[0]:n;return g.ctx&&u(g.ctx[t],g.ctx[t]=i)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](i),y&&function(e,t){-1===e.$$.dirty[0]&&($.push(e),P(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),n})):[],g.update(),y=!0,i(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
62
- g.fragment&&g.fragment.l(e),e.forEach(m)}else
62
+ g.fragment&&g.fragment.l(e),e.forEach(f)}else
63
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- g.fragment&&g.fragment.c();o.intro&&((v=a.$$.fragment)&&v.i&&(U.delete(v),v.i(b))),function(e,n,a,o){const{fragment:s,after_update:l}=e.$$;s&&s.m(n,a),o||
64
+ g.fragment&&g.fragment.c();o.intro&&((v=e.$$.fragment)&&v.i&&(Y.delete(v),v.i(b))),function(e,t,r,o){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,r),o||
65
65
  // onMount happens before the initial afterUpdate
66
- N((()=>{const n=e.$$.on_mount.map(t).filter(i);
66
+ R((()=>{const t=e.$$.on_mount.map(n).filter(a);
67
67
  // if the component was destroyed immediately
68
68
  // it will update the `$$.on_destroy` reference to `null`.
69
69
  // the destructured on_destroy may still reference to the old array
70
- e.$$.on_destroy?e.$$.on_destroy.push(...n):
70
+ e.$$.on_destroy?e.$$.on_destroy.push(...t):
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),B()}var v,b;E(p)}let W;"function"==typeof HTMLElement&&(W=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
73
+ i(t),e.$$.on_mount=[]})),l.forEach(R)}(e,o.target,o.anchor,o.customElement),z()}var v,b;T(p)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(n).filter(a);
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const e in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
- this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){Y(this,1),this.$destroy=e}$on(t,n){
77
+ this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){i(this.$$.on_disconnect)}$destroy(){j(this,1),this.$destroy=t}$on(e,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)}})
80
- /* eslint-disable no-prototype-builtins */;var V="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
79
+ if(!a(n))return t;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);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 Z="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
81
81
  // eslint-disable-next-line no-undef
82
- "undefined"!=typeof global&&global||{},Z="URLSearchParams"in V,K="Symbol"in V&&"iterator"in Symbol,X="FileReader"in V&&"Blob"in V&&function(){try{return new Blob,!0}catch(e){return!1}}(),J="FormData"in V,q="ArrayBuffer"in V;if(q)var Q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ee=ArrayBuffer.isView||function(e){return e&&Q.indexOf(Object.prototype.toString.call(e))>-1};function te(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 ne(e){return"string"!=typeof e&&(e=String(e)),e}
82
+ "undefined"!=typeof global&&global||{},K="URLSearchParams"in Z,X="Symbol"in Z&&"iterator"in Symbol,J="FileReader"in Z&&"Blob"in Z&&function(){try{return new Blob,!0}catch(e){return!1}}(),q="FormData"in Z,Q="ArrayBuffer"in Z;if(Q)var ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&ee.indexOf(Object.prototype.toString.call(e))>-1};function ne(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 re(e){return"string"!=typeof e&&(e=String(e)),e}
83
83
  // Build a destructive iterator for the value list
84
- function re(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return K&&(t[Symbol.iterator]=function(){return t}),t}function ie(e){this.map={},e instanceof ie?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 ae(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function oe(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function se(e){var t=new FileReader,n=oe(t);return t.readAsArrayBuffer(e),n}function le(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;
84
+ function ie(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return X&&(t[Symbol.iterator]=function(){return t}),t}function ae(e){this.map={},e instanceof ae?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 oe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function se(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function le(e){var t=new FileReader,n=se(t);return t.readAsArrayBuffer(e),n}function ce(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ue(){return this.bodyUsed=!1,this._initBody=function(e){var t;
85
85
  /*
86
86
  fetch-mock wraps the Response object in an ES6 Proxy to
87
87
  provide useful test harness features such as flush. However, on
@@ -93,24 +93,24 @@ function re(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
93
93
  _initBody is called.
94
94
  */
95
95
  // eslint-disable-next-line no-self-assign
96
- this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:X&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:J&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():q&&X&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=le(e.buffer),
96
+ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:J&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:K&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&J&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=ce(e.buffer),
97
97
  // IE 10-11 can't handle a DataView body.
98
- this._bodyInit=new Blob([this._bodyArrayBuffer])):q&&(ArrayBuffer.prototype.isPrototypeOf(e)||ee(e))?this._bodyArrayBuffer=le(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):Z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},X&&(this.blob=function(){var e=ae(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=ae(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(X)return this.blob().then(se);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=ae(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=oe(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)},J&&(this.formData=function(){return this.text().then(he)}),this.json=function(){return this.text().then(JSON.parse)},this}
98
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):Q&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=ce(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):K&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},J&&(this.blob=function(){var e=oe(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=oe(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(J)return this.blob().then(le);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=oe(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=se(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)},q&&(this.formData=function(){return this.text().then(me)}),this.json=function(){return this.text().then(JSON.parse)},this}
99
99
  // HTTP methods whose capitalization should be normalized
100
- ie.prototype.append=function(e,t){e=te(e),t=ne(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ie.prototype.delete=function(e){delete this.map[te(e)]},ie.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},ie.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},ie.prototype.set=function(e,t){this.map[te(e)]=ne(t)},ie.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ie.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),re(e)},ie.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),re(e)},ie.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),re(e)},K&&(ie.prototype[Symbol.iterator]=ie.prototype.entries);var ue=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var n,r,i=(t=t||{}).body;if(e instanceof de){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ie(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 ie(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),ue.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in V)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)){
100
+ ae.prototype.append=function(e,t){e=ne(e),t=re(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ae.prototype.delete=function(e){delete this.map[ne(e)]},ae.prototype.get=function(e){return e=ne(e),this.has(e)?this.map[e]:null},ae.prototype.has=function(e){return this.map.hasOwnProperty(ne(e))},ae.prototype.set=function(e,t){this.map[ne(e)]=re(t)},ae.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ae.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),ie(e)},ae.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),ie(e)},ae.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),ie(e)},X&&(ae.prototype[Symbol.iterator]=ae.prototype.entries);var de=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function he(e,t){if(!(this instanceof he))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 he){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ae(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 ae(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),de.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Z)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)){
101
101
  // Search for a '_' parameter in the query string
102
102
  var a=/([?&])_=[^&]*/;if(a.test(this.url))
103
103
  // If it already exists then set the value with the current time
104
- this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function he(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 me(e,t){if(!(this instanceof me))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 ie(t.headers),this.url=t.url||"",this._initBody(e)}de.prototype.clone=function(){return new de(this,{body:this._bodyInit})},ce.call(de.prototype),ce.call(me.prototype),me.prototype.clone=function(){return new me(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ie(this.headers),url:this.url})},me.error=function(){var e=new me(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var fe=[301,302,303,307,308];me.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new me(null,{status:t,headers:{location:e}})};var pe=V.DOMException;try{new pe}catch(e){(pe=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),pe.prototype.constructor=pe}function ge(e,t){return new Promise((function(n,r){var i=new de(e,t);if(i.signal&&i.signal.aborted)return r(new pe("Aborted","AbortError"));var a=new XMLHttpRequest;function o(){a.abort()}if(a.onload=function(){var e,t,r={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new ie,
104
+ this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function me(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 fe(e,t){if(!(this instanceof fe))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 ae(t.headers),this.url=t.url||"",this._initBody(e)}he.prototype.clone=function(){return new he(this,{body:this._bodyInit})},ue.call(he.prototype),ue.call(fe.prototype),fe.prototype.clone=function(){return new fe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ae(this.headers),url:this.url})},fe.error=function(){var e=new fe(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var pe=[301,302,303,307,308];fe.redirect=function(e,t){if(-1===pe.indexOf(t))throw new RangeError("Invalid status code");return new fe(null,{status:t,headers:{location:e}})};var ge=Z.DOMException;try{new ge}catch(e){(ge=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),ge.prototype.constructor=ge}function ye(e,t){return new Promise((function(n,r){var i=new he(e,t);if(i.signal&&i.signal.aborted)return r(new ge("Aborted","AbortError"));var a=new XMLHttpRequest;function o(){a.abort()}if(a.onload=function(){var e,t,r={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new ae,
105
105
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
106
106
  // https://github.com/github/fetch/issues/748
107
107
  // https://github.com/zloirock/core-js/issues/751
108
108
  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();try{t.append(r,i)}catch(e){console.warn("Response "+e.message)}}})),t)};
109
109
  // This check if specifically for when a user fetches a file locally from the file system
110
110
  // Only if the status is out of a normal range
111
- 0===i.url.indexOf("file://")&&(a.status<200||a.status>599)?r.status=200:r.status=a.status,r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout((function(){n(new me(o,r))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},a.onabort=function(){setTimeout((function(){r(new pe("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&V.location.href?V.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&&(X?a.responseType="blob":q&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof ie||V.Headers&&t.headers instanceof V.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(te(e)),a.setRequestHeader(e,ne(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(){
111
+ 0===i.url.indexOf("file://")&&(a.status<200||a.status>599)?r.status=200:r.status=a.status,r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout((function(){n(new fe(o,r))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},a.onabort=function(){setTimeout((function(){r(new ge("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&Z.location.href?Z.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&&(J?a.responseType="blob":Q&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof ae||Z.Headers&&t.headers instanceof Z.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(ne(e)),a.setRequestHeader(e,re(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(){
112
112
  // DONE (success or failure)
113
- 4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}ge.polyfill=!0,V.fetch||(V.fetch=ge,V.Headers=ie,V.Request=de,V.Response=me);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ye(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
113
+ 4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}ye.polyfill=!0,Z.fetch||(Z.fetch=ye,Z.Headers=ae,Z.Request=he,Z.Response=fe);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ve(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
114
114
  // the whatwg-fetch polyfill installs the fetch() function
115
115
  // on the global object (window or self)
116
116
 
@@ -131,7 +131,7 @@ self.fetch.bind(self);
131
131
  PERFORMANCE OF THIS SOFTWARE.
132
132
  ***************************************************************************** */
133
133
  /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
134
- var ve=function(e,t){return ve=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])},ve(e,t)};function be(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}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function we(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 xe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function _e(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Se(e){return"function"==typeof e}function Ce(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 Ge=Ce((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Fe(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ke=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=we(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(Se(l))try{l()}catch(e){i=e instanceof Ge?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=we(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Me(h)}catch(e){i=null!=i?i:[],e instanceof Ge?i=_e(_e([],xe(i)),xe(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 Ge(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Me(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Fe(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Fe(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ee=ke.EMPTY;function Te(e){return e instanceof ke||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function Me(e){Se(e)?e():e.unsubscribe()}var $e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Le={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Le.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],xe(n))):setTimeout.apply(void 0,_e([e,t],xe(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var Ae=null;function De(e){if($e.useDeprecatedSynchronousErrorHandling){var t=!Ae;if(t&&(Ae={errorThrown:!1,error:null}),e(),t){var n=Ae,r=n.errorThrown,i=n.error;if(Ae=null,r)throw i}}else e()}var Oe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Te(t)&&t.add(n)):n.destination=ze,n}return be(t,e),t.create=function(e,t,n){return new He(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}(ke),Pe=Function.prototype.bind;function Ne(e,t){return Pe.call(e,t)}var Re=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){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),He=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;Se(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&$e.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 Re(i),o}return be(t,e),t}(Oe);function Be(e){var t;t=e,Le.setTimeout((function(){throw t}))}var ze={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var je=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 Oe||function(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}(r)&&Te(r)?e:new He(e,t,n);return De((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=We(t))((function(t,r){var i=new He({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ue]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(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 We(e){var t;return null!==(t=null!=e?e:$e.Promise)&&void 0!==t?t:Promise}var Ve=Ce((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ze=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 be(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ve},t.prototype.next=function(e){var t=this;De((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=we(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;De((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;De((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?Ee:(this.currentObservers=null,a.push(e),new ke((function(){t.currentObservers=null,Fe(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,t){return new Ke(e,t)},t}(je),Ke=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return be(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Ee},t}(Ze),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},Je=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Xe);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 be(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}(Ze);let qe=[],Qe={};
134
+ var be=function(e,t){return be=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])},be(e,t)};function we(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}be(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function xe(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 _e(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 Se(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 Ce(e){return"function"==typeof e}function Ge(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Fe=Ge((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function ke(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ee=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=xe(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(Ce(l))try{l()}catch(e){i=e instanceof Fe?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=xe(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{$e(h)}catch(e){i=null!=i?i:[],e instanceof Fe?i=Se(Se([],_e(i)),_e(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Fe(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)$e(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ke(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&ke(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Te=Ee.EMPTY;function Me(e){return e instanceof Ee||e&&"closed"in e&&Ce(e.remove)&&Ce(e.add)&&Ce(e.unsubscribe)}function $e(e){Ce(e)?e():e.unsubscribe()}var Le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ie={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ie.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Se([e,t],_e(n))):setTimeout.apply(void 0,Se([e,t],_e(n)))},clearTimeout:function(e){var t=Ie.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ae(){}var De=null;function Oe(e){if(Le.useDeprecatedSynchronousErrorHandling){var t=!De;if(t&&(De={errorThrown:!1,error:null}),e(),t){var n=De,r=n.errorThrown,i=n.error;if(De=null,r)throw i}}else e()}var Pe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Me(t)&&t.add(n)):n.destination=Ue,n}return we(t,e),t.create=function(e,t,n){return new Be(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ee),Ne=Function.prototype.bind;function Re(e,t){return Ne.call(e,t)}var He=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){ze(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ze(e)}else ze(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ze(e)}},e}(),Be=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;Ce(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Le.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Re(t.next,a),error:t.error&&Re(t.error,a),complete:t.complete&&Re(t.complete,a)}):i=t;return o.destination=new He(i),o}return we(t,e),t}(Pe);function ze(e){var t;t=e,Ie.setTimeout((function(){throw t}))}var Ue={closed:!0,next:Ae,error:function(e){throw e},complete:Ae},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function je(e){return e}var We=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 Pe||function(e){return e&&Ce(e.next)&&Ce(e.error)&&Ce(e.complete)}(r)&&Me(r)?e:new Be(e,t,n);return Oe((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=Ve(t))((function(t,r){var i=new Be({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[Ye]=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?je: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=Ve(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 Ve(e){var t;return null!==(t=null!=e?e:Le.Promise)&&void 0!==t?t:Promise}var Ze=Ge((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ke=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 we(t,e),t.prototype.lift=function(e){var t=new Xe(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},t.prototype.next=function(e){var t=this;Oe((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=xe(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;Oe((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;Oe((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?Te:(this.currentObservers=null,a.push(e),new Ee((function(){t.currentObservers=null,ke(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new We;return e.source=this,e},t.create=function(e,t){return new Xe(e,t)},t}(We),Xe=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return we(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:Te},t}(Ke),Je={now:function(){return(Je.delegate||Date).now()},delegate:void 0},qe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Je);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 we(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}(Ke);let Qe=[],et={};
135
135
  /**
136
136
  * @name topic
137
137
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -139,36 +139,36 @@ var ve=function(e,t){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof A
139
139
  * @param step [String] How many values to be buffed for new subscribers - default 0
140
140
  * @returns ReplaySubject
141
141
  */
142
- const et=[];
142
+ const tt=[];
143
143
  /**
144
144
  * Create a `Writable` store that allows both updating and reading by subscription.
145
145
  * @param {*=}value initial value
146
146
  * @param {StartStopNotifier=} start
147
147
  */
148
- function tt(t,n=e){let r;const i=new Set;function o(e){if(a(t,e)&&(t=e,r)){// store is ready
149
- const e=!et.length;for(const e of i)e[1](),et.push(e,t);if(e){for(let e=0;e<et.length;e+=2)et[e][0](et[e+1]);et.length=0}}}return{set:o,update:function(e){o(e(t))},subscribe:function(a,s=e){const l=[a,s];return i.add(l),1===i.size&&(r=n(o)||e),a(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function nt(t,n,a){const o=!Array.isArray(t),s=o?[t]:t,l=n.length<2;return u=t=>{let a=!1;const u=[];let d=0,h=e;const m=()=>{if(d)return;h();const r=n(o?u[0]:u,t);l?t(r):h=i(r)?r:e},f=s.map(((e,t)=>c(e,(e=>{u[t]=e,d&=~(1<<t),a&&m()}),(()=>{d|=1<<t}))));return a=!0,m(),function(){r(f),h(),
148
+ function nt(e,n=t){let r;const i=new Set;function a(t){if(o(e,t)&&(e=t,r)){// store is ready
149
+ const t=!tt.length;for(const t of i)t[1](),tt.push(t,e);if(t){for(let e=0;e<tt.length;e+=2)tt[e][0](tt[e+1]);tt.length=0}}}return{set:a,update:function(t){a(t(e))},subscribe:function(o,s=t){const l=[o,s];return i.add(l),1===i.size&&(r=n(a)||t),o(e),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function rt(e,n,r){const o=!Array.isArray(e),s=o?[e]:e,l=n.length<2;return c=e=>{let r=!1;const c=[];let d=0,h=t;const m=()=>{if(d)return;h();const r=n(o?c[0]:c,e);l?e(r):h=a(r)?r:t},f=s.map(((e,t)=>u(e,(e=>{c[t]=e,d&=~(1<<t),r&&m()}),(()=>{d|=1<<t}))));return r=!0,m(),function(){i(f),h(),
150
150
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
151
151
  // Callbacks might already be placed in the queue which doesn't know it should no longer
152
152
  // invoke this derived store.
153
- a=!1}},{subscribe:tt(a,u).subscribe};
153
+ r=!1}},{subscribe:nt(r,c).subscribe};
154
154
  /**
155
155
  * Creates a `Readable` store that allows reading by subscription.
156
156
  * @param value initial value
157
157
  * @param {StartStopNotifier} [start]
158
158
  */
159
- var u}var rt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===it}(e)}
159
+ var c}var it=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===at}(e)}
160
160
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
161
- (e)};var it="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function at(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ut((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function ot(e,t,n){return e.concat(t).map((function(e){return at(e,n)}))}function st(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function lt(e,t){try{return t in e}catch(e){return!1}}
161
+ (e)};var at="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?dt((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function st(e,t,n){return e.concat(t).map((function(e){return ot(e,n)}))}function lt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function ct(e,t){try{return t in e}catch(e){return!1}}
162
162
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
163
- function ct(e,t,n){var r={};return n.isMergeableObject(e)&&st(e).forEach((function(t){r[t]=at(e[t],n)})),st(t).forEach((function(i){(function(e,t){return lt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
164
- })(e,i)||(lt(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return ut;var n=t.customMerge(e);return"function"==typeof n?n:ut}(i,n)(e[i],t[i],n):r[i]=at(t[i],n))})),r}function ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ot,n.isMergeableObject=n.isMergeableObject||rt,
163
+ function ut(e,t,n){var r={};return n.isMergeableObject(e)&&lt(e).forEach((function(t){r[t]=ot(e[t],n)})),lt(t).forEach((function(i){(function(e,t){return ct(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
164
+ })(e,i)||(ct(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return dt;var n=t.customMerge(e);return"function"==typeof n?n:dt}(i,n)(e[i],t[i],n):r[i]=ot(t[i],n))})),r}function dt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||st,n.isMergeableObject=n.isMergeableObject||it,
165
165
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
166
166
  // implementations can use it. The caller may not replace it.
167
- n.cloneUnlessOtherwiseSpecified=at;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ct(e,t,n):at(t,n)}ut.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return ut(e,n,t)}),{})};var dt=ut,ht=function(e,t){return ht=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])},ht(e,t)};function mt(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}ht(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ft,pt,gt,yt=function(){return yt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},yt.apply(this,arguments)};function vt(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))}
167
+ n.cloneUnlessOtherwiseSpecified=ot;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ut(e,t,n):ot(t,n)}dt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return dt(e,n,t)}),{})};var ht=dt,mt=function(e,t){return mt=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])},mt(e,t)};function ft(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}mt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pt,gt,yt,vt=function(){return vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},vt.apply(this,arguments)};function bt(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))}
168
168
  /**
169
169
  * Type Guards
170
170
  */
171
- function bt(e){return e.type===pt.literal}function wt(e){return e.type===pt.argument}function xt(e){return e.type===pt.number}function _t(e){return e.type===pt.date}function St(e){return e.type===pt.time}function Ct(e){return e.type===pt.select}function Gt(e){return e.type===pt.plural}function Ft(e){return e.type===pt.pound}function kt(e){return e.type===pt.tag}function Et(e){return!(!e||"object"!=typeof e||e.type!==gt.number)}function Tt(e){return!(!e||"object"!=typeof e||e.type!==gt.dateTime)}
171
+ function wt(e){return e.type===gt.literal}function xt(e){return e.type===gt.argument}function _t(e){return e.type===gt.number}function St(e){return e.type===gt.date}function Ct(e){return e.type===gt.time}function Gt(e){return e.type===gt.select}function Ft(e){return e.type===gt.plural}function kt(e){return e.type===gt.pound}function Et(e){return e.type===gt.tag}function Tt(e){return!(!e||"object"!=typeof e||e.type!==yt.number)}function Mt(e){return!(!e||"object"!=typeof e||e.type!==yt.dateTime)}
172
172
  // @generated from regex-gen.ts
173
173
  "function"==typeof SuppressedError&&SuppressedError,function(e){
174
174
  /** Argument is unclosed (e.g. `{0`) */
@@ -230,7 +230,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
230
230
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
231
231
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
232
232
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
233
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ft||(ft={})),function(e){
233
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(pt||(pt={})),function(e){
234
234
  /**
235
235
  * Raw text
236
236
  */
@@ -267,7 +267,7 @@ e[e.pound=7]="pound",
267
267
  /**
268
268
  * XML-like tag
269
269
  */
270
- e[e.tag=8]="tag"}(pt||(pt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(gt||(gt={}));var Mt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,$t=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
270
+ e[e.tag=8]="tag"}(gt||(gt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(yt||(yt={}));var $t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Lt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
271
271
  /**
272
272
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
273
273
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -279,7 +279,7 @@ e[e.tag=8]="tag"}(pt||(pt={})),function(e){e[e.number=0]="number",e[e.dateTime=1
279
279
  * @public
280
280
  * @param skeleton skeleton string
281
281
  */
282
- function Lt(e){var t={};return e.replace($t,(function(e){var n=e.length;switch(e[0]){
282
+ function It(e){var t={};return e.replace(Lt,(function(e){var n=e.length;switch(e[0]){
283
283
  // Era
284
284
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
285
285
  // Year
@@ -313,33 +313,33 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
313
313
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
314
314
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
315
315
  // @generated from regex-gen.ts
316
- var It=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Dt=/^(@+)?(\+|#+)?[rs]?$/g,Ot=/(\*)(0+)|(#+)(0+)|(0+)/g,Pt=/^(0+)$/;function Nt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Dt,(function(e,n,r){
316
+ var At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Dt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ot=/^(@+)?(\+|#+)?[rs]?$/g,Pt=/(\*)(0+)|(#+)(0+)|(0+)/g,Nt=/^(0+)$/;function Rt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ot,(function(e,n,r){
317
317
  // @@@ case
318
- return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Rt(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 Ht(e){
318
+ return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Ht(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 Bt(e){
319
319
  // Engineering
320
- 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)),!Pt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bt(e){var t=Rt(e);return t||{}}
320
+ 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)),!Nt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function zt(e){var t=Ht(e);return t||{}}
321
321
  /**
322
322
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
323
- */function zt(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=yt(yt(yt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return yt(yt({},e),Bt(t))}),{}));continue;case"engineering":t=yt(yt(yt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return yt(yt({},e),Bt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
323
+ */function Ut(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=vt(vt(vt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return vt(vt({},e),zt(t))}),{}));continue;case"engineering":t=vt(vt(vt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return vt(vt({},e),zt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
324
324
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
325
325
  case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
326
326
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
327
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ot,(function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}
327
+ case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Pt,(function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}
328
328
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
329
- if(Pt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(At.test(i.stem)){
329
+ if(Nt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Dt.test(i.stem)){
330
330
  // Precision
331
331
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
332
332
  // precision-integer case
333
- if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(At,(function(e,n,r,i,a,o){
333
+ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Dt,(function(e,n,r,i,a,o){
334
334
  // .000* case (before ICU67 it was .000+)
335
335
  return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var a=i.options[0];
336
336
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
337
- "w"===a?t=yt(yt({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=yt(yt({},t),Nt(a)))}
337
+ "w"===a?t=vt(vt({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=vt(vt({},t),Rt(a)))}
338
338
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
339
- else if(Dt.test(i.stem))t=yt(yt({},t),Nt(i.stem));else{var o=Rt(i.stem);o&&(t=yt(yt({},t),o));var s=Ht(i.stem);s&&(t=yt(yt({},t),s))}}return t}
339
+ else if(Ot.test(i.stem))t=vt(vt({},t),Rt(i.stem));else{var o=Ht(i.stem);o&&(t=vt(vt({},t),o));var s=Bt(i.stem);s&&(t=vt(vt({},t),s))}}return t}
340
340
  // @generated from time-data-gen.ts
341
341
  // prettier-ignore
342
- var Ut,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
342
+ var Yt,jt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
343
343
  /**
344
344
  * Returns the best matching date time pattern if a date time skeleton
345
345
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -352,7 +352,7 @@ var Ut,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
352
352
  * of the given `locale` to the corresponding time pattern.
353
353
  * @param locale
354
354
  */
355
- function jt(e){var t=e.hourCycle;if(void 0===t&&
355
+ function Wt(e){var t=e.hourCycle;if(void 0===t&&
356
356
  // @ts-ignore hourCycle(s) is not identified yet
357
357
  e.hourCycles&&
358
358
  // @ts-ignore
@@ -360,37 +360,37 @@ e.hourCycles.length&&(
360
360
  // @ts-ignore
361
361
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
362
362
  // TODO: Once hourCycle is fully supported remove the following with data generation
363
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Yt[n||""]||Yt[r||""]||Yt["".concat(r,"-001")]||Yt["001"])[0]}var Wt=new RegExp("^".concat(Mt.source,"*")),Vt=new RegExp("".concat(Mt.source,"*$"));function Zt(e,t){return{start:e,end:t}}
363
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(jt[n||""]||jt[r||""]||jt["".concat(r,"-001")]||jt["001"])[0]}var Vt=new RegExp("^".concat($t.source,"*")),Zt=new RegExp("".concat($t.source,"*$"));function Kt(e,t){return{start:e,end:t}}
364
364
  // #region Ponyfills
365
365
  // Consolidate these variables up top for easier toggling during debugging
366
- var Kt=!!String.prototype.startsWith,Xt=!!String.fromCodePoint,Jt=!!Object.fromEntries,qt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,en=!!String.prototype.trimEnd,tn=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},nn=!0;try{
366
+ var Xt=!!String.prototype.startsWith,Jt=!!String.fromCodePoint,qt=!!Object.fromEntries,Qt=!!String.prototype.codePointAt,en=!!String.prototype.trimStart,tn=!!String.prototype.trimEnd,nn=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},rn=!0;try{
367
367
  /**
368
368
  * legacy Edge or Xbox One browser
369
369
  * Unicode flag support: supported
370
370
  * Pattern_Syntax support: not supported
371
371
  * See https://github.com/formatjs/formatjs/issues/2822
372
372
  */
373
- nn="a"===(null===(Ut=dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ut?void 0:Ut[0])}catch(e){nn=!1}var rn,an=Kt?// Native
373
+ rn="a"===(null===(Yt=hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Yt?void 0:Yt[0])}catch(e){rn=!1}var an,on=Xt?// Native
374
374
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
375
- function(e,t,n){return e.slice(n,n+t.length)===t},on=Xt?String.fromCodePoint:// IE11
376
- function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;i>a;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},sn=
375
+ function(e,t,n){return e.slice(n,n+t.length)===t},sn=Jt?String.fromCodePoint:// IE11
376
+ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;i>a;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},ln=
377
377
  // native
378
- Jt?Object.fromEntries:// Ponyfill
379
- function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],o=i[1];t[a]=o}return t},ln=qt?// Native
378
+ qt?Object.fromEntries:// Ponyfill
379
+ function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],o=i[1];t[a]=o}return t},cn=Qt?// Native
380
380
  function(e,t){return e.codePointAt(t)}:// IE 11
381
- function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},cn=Qt?// Native
381
+ function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},un=en?// Native
382
382
  function(e){return e.trimStart()}:// Ponyfill
383
- function(e){return e.replace(Wt,"")},un=en?// Native
383
+ function(e){return e.replace(Vt,"")},dn=tn?// Native
384
384
  function(e){return e.trimEnd()}:// Ponyfill
385
- function(e){return e.replace(Vt,"")};
385
+ function(e){return e.replace(Zt,"")};
386
386
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
387
- function dn(e,t){return new RegExp(e,t)}
387
+ function hn(e,t){return new RegExp(e,t)}
388
388
  // #endregion
389
- if(nn){
389
+ if(rn){
390
390
  // Native
391
- var hn=dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");rn=function(e,t){var n;return hn.lastIndex=t,null!==(n=hn.exec(e)[1])&&void 0!==n?n:""}}else
391
+ var mn=hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");an=function(e,t){var n;return mn.lastIndex=t,null!==(n=mn.exec(e)[1])&&void 0!==n?n:""}}else
392
392
  // IE11
393
- rn=function(e,t){for(var n=[];;){var r=ln(e,t);if(void 0===r||pn(r)||gn(r))break;n.push(r),t+=r>=65536?2:1}return on.apply(void 0,n)};var mn=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(ft.UNMATCHED_CLOSING_TAG,Zt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&fn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var o=this.clonePosition();this.bump(),r.push({type:pt.pound,location:Zt(o,this.clonePosition())})}}}return{val:r,err:null}},
393
+ an=function(e,t){for(var n=[];;){var r=cn(e,t);if(void 0===r||gn(r)||yn(r))break;n.push(r),t+=r>=65536?2:1}return sn.apply(void 0,n)};var fn=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(pt.UNMATCHED_CLOSING_TAG,Kt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&pn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var o=this.clonePosition();this.bump(),r.push({type:gt.pound,location:Kt(o,this.clonePosition())})}}}return{val:r,err:null}},
394
394
  /**
395
395
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
396
396
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -412,14 +412,14 @@ rn=function(e,t){for(var n=[];;){var r=ln(e,t);if(void 0===r||pn(r)||gn(r))break
412
412
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
413
413
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
414
414
  // Self closing tag
415
- return{val:{type:pt.literal,value:"<".concat(r,"/>"),location:Zt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();
415
+ return{val:{type:gt.literal,value:"<".concat(r,"/>"),location:Kt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();
416
416
  // Expecting a close tag
417
- if(this.bumpIf("</")){if(this.isEOF()||!fn(this.char()))return this.error(ft.INVALID_TAG,Zt(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(ft.UNMATCHED_CLOSING_TAG,Zt(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:pt.tag,value:r,children:a,location:Zt(n,this.clonePosition())},err:null}:this.error(ft.INVALID_TAG,Zt(o,this.clonePosition())))}return this.error(ft.UNCLOSED_TAG,Zt(n,this.clonePosition()))}return this.error(ft.INVALID_TAG,Zt(n,this.clonePosition()))},
417
+ if(this.bumpIf("</")){if(this.isEOF()||!pn(this.char()))return this.error(pt.INVALID_TAG,Kt(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(pt.UNMATCHED_CLOSING_TAG,Kt(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:gt.tag,value:r,children:a,location:Kt(n,this.clonePosition())},err:null}:this.error(pt.INVALID_TAG,Kt(o,this.clonePosition())))}return this.error(pt.UNCLOSED_TAG,Kt(n,this.clonePosition()))}return this.error(pt.INVALID_TAG,Kt(n,this.clonePosition()))},
418
418
  /**
419
419
  * This method assumes that the caller has peeked ahead for the first tag character.
420
420
  */
421
421
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
422
- for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var s=Zt(n,this.clonePosition());return{val:{type:pt.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(fn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
422
+ for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var s=Kt(n,this.clonePosition());return{val:{type:gt.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(pn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
423
423
  /** See `parseTag` function docs. */},
424
424
  /**
425
425
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -441,67 +441,67 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
441
441
  // Optional closing apostrophe.
442
442
  this.bump();break}t.push(39),
443
443
  // Bump one more time because we need to skip 2 characters.
444
- this.bump()}else t.push(n);this.bump()}return on.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),on(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
445
- this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(ft.EMPTY_ARGUMENT,Zt(n,this.clonePosition()));
444
+ this.bump()}else t.push(n);this.bump()}return sn.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),sn(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
445
+ this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(pt.EMPTY_ARGUMENT,Kt(n,this.clonePosition()));
446
446
  // argument name
447
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ft.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));switch(this.char()){
447
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(pt.MALFORMED_ARGUMENT,Kt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(n,this.clonePosition()));switch(this.char()){
448
448
  // Simple argument: `{name}`
449
449
  case 125/* `}` */:// `}`
450
- return this.bump(),{val:{type:pt.argument,
450
+ return this.bump(),{val:{type:gt.argument,
451
451
  // value does not include the opening and closing braces.
452
- value:r,location:Zt(n,this.clonePosition())},err:null};
452
+ value:r,location:Kt(n,this.clonePosition())},err:null};
453
453
  // Argument with options: `{name, format, ...}`
454
454
  case 44/* `,` */:return this.bump(),// `,`
455
- this.bumpSpace(),this.isEOF()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(ft.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()))}},
455
+ this.bumpSpace(),this.isEOF()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(pt.MALFORMED_ARGUMENT,Kt(n,this.clonePosition()))}},
456
456
  /**
457
457
  * Advance the parser until the end of the identifier, if it is currently on
458
458
  * an identifier character. Return an empty string otherwise.
459
459
  */
460
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=rn(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Zt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();
460
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=an(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Kt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();
461
461
  // Parse this range:
462
462
  // {name, type, style}
463
463
  // ^---^
464
464
  switch(o){case"":
465
465
  // Expecting a style string number, date, time, plural, selectordinal, or select.
466
- return this.error(ft.EXPECT_ARGUMENT_TYPE,Zt(a,s));case"number":case"date":case"time":
466
+ return this.error(pt.EXPECT_ARGUMENT_TYPE,Kt(a,s));case"number":case"date":case"time":
467
467
  // Parse this range:
468
468
  // {name, number, style}
469
469
  // ^-------^
470
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=un(y.val)).length)return this.error(ft.EXPECT_ARGUMENT_STYLE,Zt(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Zt(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var u=Zt(r,this.clonePosition());
470
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=dn(y.val)).length)return this.error(pt.EXPECT_ARGUMENT_STYLE,Kt(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Kt(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var u=Kt(r,this.clonePosition());
471
471
  // Extract style or skeleton
472
- if(l&&an(null==l?void 0:l.style,"::",0)){
472
+ if(l&&on(null==l?void 0:l.style,"::",0)){
473
473
  // Skeleton starts with `::`.
474
- var d=cn(l.style.slice(2));if("number"===o)return(y=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?y:{val:{type:pt.number,value:n,location:u,style:y.val},err:null};if(0===d.length)return this.error(ft.EXPECT_DATE_TIME_SKELETON,u);var h=d;
474
+ var d=un(l.style.slice(2));if("number"===o)return(y=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?y:{val:{type:gt.number,value:n,location:u,style:y.val},err:null};if(0===d.length)return this.error(pt.EXPECT_DATE_TIME_SKELETON,u);var h=d;
475
475
  // Get "best match" pattern only if locale is passed, if not, let it
476
476
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
477
477
  // for unsupported patterns.
478
- this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=jt(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var m={type:gt.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Lt(h):{}};return{val:{type:"date"===o?pt.date:pt.time,value:n,location:u,style:m},err:null}}
478
+ this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Wt(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var m={type:yt.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?It(h):{}};return{val:{type:"date"===o?gt.date:gt.time,value:n,location:u,style:m},err:null}}
479
479
  // Regular style or no style.
480
- return{val:{type:"number"===o?pt.number:"date"===o?pt.date:pt.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
480
+ return{val:{type:"number"===o?gt.number:"date"===o?gt.date:gt.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
481
481
  // Parse this range:
482
482
  // {name, plural, options}
483
483
  // ^---------^
484
- var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ft.EXPECT_SELECT_ARGUMENT_OPTIONS,Zt(f,yt({},f)));this.bumpSpace();
484
+ var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(pt.EXPECT_SELECT_ARGUMENT_OPTIONS,Kt(f,vt({},f)));this.bumpSpace();
485
485
  // Parse offset:
486
486
  // {name, plural, offset:1, options}
487
487
  // ^-----^
488
488
  // or the first option:
489
489
  // {name, plural, one {...} other {...}}
490
490
  // ^--^
491
- var p=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Zt(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
491
+ var p=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Kt(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
492
492
  // Parse another identifier for option parsing
493
- this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,o,t,p);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var w=Zt(r,this.clonePosition());return"select"===o?{val:{type:pt.select,value:n,options:sn(b.val),location:w},err:null}:{val:{type:pt.plural,value:n,options:sn(b.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(ft.INVALID_ARGUMENT_TYPE,Zt(a,s))}},e.prototype.tryParseArgumentClose=function(e){
493
+ this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,o,t,p);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var w=Kt(r,this.clonePosition());return"select"===o?{val:{type:gt.select,value:n,options:ln(b.val),location:w},err:null}:{val:{type:gt.plural,value:n,options:ln(b.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(pt.INVALID_ARGUMENT_TYPE,Kt(a,s))}},e.prototype.tryParseArgumentClose=function(e){
494
494
  // Parse: {value, number, ::currency/GBP }
495
- return this.isEOF()||125/* `}` */!==this.char()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
495
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
496
496
  /**
497
497
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
498
498
  */
499
499
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
500
500
  // Treat apostrophe as quoting but include it in the style part.
501
501
  // Find the end of the quoted literal text.
502
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Zt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
502
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(pt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Kt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
503
503
  // Parse the skeleton
504
- for(var t=[],n=0,r=e.split(It).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:gt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?zt(n):{}},err:null}},
504
+ for(var t=[],n=0,r=e.split(At).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(pt.INVALID_NUMBER_SKELETON,t)}return{val:{type:yt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ut(n):{}},err:null}},
505
505
  /**
506
506
  * @param nesting_level The current nesting level of messages.
507
507
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -518,24 +518,24 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
518
518
  // ^--^
519
519
  for(var i,a=!1,o=[],s=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
520
520
  // Try parse `={number}` selector
521
- var d=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Zt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
521
+ var d=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,pt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Kt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
522
522
  // Duplicate selector clauses
523
- if(s.has(l))return this.error("select"===t?ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(a=!0),
523
+ if(s.has(l))return this.error("select"===t?pt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:pt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(a=!0),
524
524
  // Parse:
525
525
  // one {one apple}
526
526
  // ^----------^
527
- this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Zt(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(h);if(f.err)return f;o.push([l,{value:m.val,location:Zt(h,this.clonePosition())}]),
527
+ this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Kt(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(h);if(f.err)return f;o.push([l,{value:m.val,location:Kt(h,this.clonePosition())}]),
528
528
  // Keep track of the existing selectors
529
529
  s.add(l),
530
530
  // Prep next selector clause.
531
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===o.length?this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,Zt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(ft.MISSING_OTHER_CLAUSE,Zt(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(o>=48/* `0` */&&o<=57/* `9` */))break;i=!0,a=10*a+(o-48),this.bump()}var s=Zt(r,this.clonePosition());return i?tn(a*=n)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
531
+ this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===o.length?this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Kt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(pt.MISSING_OTHER_CLAUSE,Kt(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(o>=48/* `0` */&&o<=57/* `9` */))break;i=!0,a=10*a+(o-48),this.bump()}var s=Kt(r,this.clonePosition());return i?nn(a*=n)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
532
532
  // This is much faster than `Object.assign` or spread.
533
533
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
534
534
  /**
535
535
  * Return the code point at the current position of the parser.
536
536
  * Throws if the index is out of bound.
537
537
  */
538
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ln(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
538
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=cn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
539
539
  /** Bump the parser to the next UTF-16 code unit. */
540
540
  e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10/* '\n' */===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,
541
541
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -546,7 +546,7 @@ this.position.offset+=e<65536?1:2)}},
546
546
  * following the prefix and return true. Otherwise, don't bump the parser
547
547
  * and return false.
548
548
  */
549
- e.prototype.bumpIf=function(e){if(an(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
549
+ e.prototype.bumpIf=function(e){if(on(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
550
550
  /**
551
551
  * Bump the parser until the pattern character is found and return `true`.
552
552
  * Otherwise bump to the end of the file and return `false`.
@@ -558,7 +558,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t
558
558
  */
559
559
  e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},
560
560
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
561
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&pn(this.char());)this.bump()},
561
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&gn(this.char());)this.bump()},
562
562
  /**
563
563
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
564
564
  * If the input has been exhausted, then this returns null.
@@ -568,94 +568,94 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
568
568
  * This check if codepoint is alphabet (lower & uppercase)
569
569
  * @param codepoint
570
570
  * @returns
571
- */function fn(e){return e>=97&&e<=122||e>=65&&e<=90}
571
+ */function pn(e){return e>=97&&e<=122||e>=65&&e<=90}
572
572
  /**
573
573
  * Code point equivalent of regex `\p{White_Space}`.
574
574
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
575
575
  */
576
- function pn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
576
+ function gn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
577
577
  /**
578
578
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
579
579
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
580
- */function gn(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 yn(e){e.forEach((function(e){if(delete e.location,Ct(e)||Gt(e))for(var t in e.options)delete e.options[t].location,yn(e.options[t].value);else xt(e)&&Et(e.style)||(_t(e)||St(e))&&Tt(e.style)?delete e.style.location:kt(e)&&yn(e.children)}))}function vn(e,t){void 0===t&&(t={}),t=yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new mn(e,t).parse();if(n.err){var r=SyntaxError(ft[n.err.kind]);
580
+ */function yn(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 vn(e){e.forEach((function(e){if(delete e.location,Gt(e)||Ft(e))for(var t in e.options)delete e.options[t].location,vn(e.options[t].value);else _t(e)&&Tt(e.style)||(St(e)||Ct(e))&&Mt(e.style)?delete e.style.location:Et(e)&&vn(e.children)}))}function bn(e,t){void 0===t&&(t={}),t=vt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new fn(e,t).parse();if(n.err){var r=SyntaxError(pt[n.err.kind]);
581
581
  // @ts-expect-error Assign to error object
582
582
  throw r.location=n.err.location,
583
583
  // @ts-expect-error Assign to error object
584
- r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||yn(n.val),n.val}
584
+ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||vn(n.val),n.val}
585
585
 
586
586
  // Main
587
587
 
588
- function bn(e,t){var n=t&&t.cache?t.cache:kn,r=t&&t.serializer?t.serializer:Cn;return(t&&t.strategy?t.strategy:Sn)(e,{cache:n,serializer:r})}
588
+ function wn(e,t){var n=t&&t.cache?t.cache:En,r=t&&t.serializer?t.serializer:Gn;return(t&&t.strategy?t.strategy:Cn)(e,{cache:n,serializer:r})}
589
589
 
590
590
  // Strategy
591
591
 
592
- function wn(e,t,n,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),o=t.get(a);return void 0===o&&(o=e.call(this,r),t.set(a,o)),o}function xn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return void 0===a&&(a=e.apply(this,r),t.set(i,a)),a}function _n(e,t,n,r,i){return n.bind(t,e,r,i)}function Sn(e,t){return _n(e,this,1===e.length?wn:xn,t.cache.create(),t.serializer)}
592
+ function xn(e,t,n,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),o=t.get(a);return void 0===o&&(o=e.call(this,r),t.set(a,o)),o}function _n(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return void 0===a&&(a=e.apply(this,r),t.set(i,a)),a}function Sn(e,t,n,r,i){return n.bind(t,e,r,i)}function Cn(e,t){return Sn(e,this,1===e.length?xn:_n,t.cache.create(),t.serializer)}
593
593
  // Serializer
594
- var Cn=function(){return JSON.stringify(arguments)};
594
+ var Gn=function(){return JSON.stringify(arguments)};
595
595
 
596
596
  // Cache
597
597
 
598
- function Gn(){this.cache=Object.create(null)}Gn.prototype.get=function(e){return this.cache[e]},Gn.prototype.set=function(e,t){this.cache[e]=t};var Fn,kn={create:function(){
598
+ function Fn(){this.cache=Object.create(null)}Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var kn,En={create:function(){
599
599
  // @ts-ignore
600
- return new Gn}},En={variadic:function(e,t){return _n(e,this,xn,t.cache.create(),t.serializer)},monadic:function(e,t){return _n(e,this,wn,t.cache.create(),t.serializer)}};!function(e){
600
+ return new Fn}},Tn={variadic:function(e,t){return Sn(e,this,_n,t.cache.create(),t.serializer)},monadic:function(e,t){return Sn(e,this,xn,t.cache.create(),t.serializer)}};!function(e){
601
601
  // When we have a placeholder but no value to format
602
602
  e.MISSING_VALUE="MISSING_VALUE",
603
603
  // When value supplied is invalid
604
604
  e.INVALID_VALUE="INVALID_VALUE",
605
605
  // When we need specific Intl API but it's not available
606
- e.MISSING_INTL_API="MISSING_INTL_API"}(Fn||(Fn={}));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 mt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),$n=/** @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('", "'),'"'),Fn.INVALID_VALUE,i)||this}return mt(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),Fn.INVALID_VALUE,r)||this}return mt(t,e),t}(Mn),In=/** @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,'"'),Fn.MISSING_VALUE,n)||this}return mt(t,e),t}(Mn);function An(e){return"function"==typeof e}
606
+ e.MISSING_INTL_API="MISSING_INTL_API"}(kn||(kn={}));var Mn,$n=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ft(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ln=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),kn.INVALID_VALUE,i)||this}return ft(t,e),t}($n),In=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),kn.INVALID_VALUE,r)||this}return ft(t,e),t}($n),An=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),kn.MISSING_VALUE,n)||this}return ft(t,e),t}($n);function Dn(e){return"function"==typeof e}
607
607
  // TODO(skeleton): add skeleton support
608
- function Dn(e,t,n,r,i,a,
608
+ function On(e,t,n,r,i,a,
609
609
  // For debugging
610
610
  o){
611
611
  // Hot path for straight simple msg translations
612
- if(1===e.length&&bt(e[0]))return[{type:Tn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];
612
+ if(1===e.length&&wt(e[0]))return[{type:Mn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];
613
613
  // Exit early for string parts.
614
- if(bt(u))s.push({type:Tn.literal,value:u.value});else
614
+ if(wt(u))s.push({type:Mn.literal,value:u.value});else
615
615
  // TODO: should this part be literal type?
616
616
  // Replace `#` in plural rules with the actual numeric value.
617
- if(Ft(u))"number"==typeof a&&s.push({type:Tn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;
617
+ if(kt(u))"number"==typeof a&&s.push({type:Mn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;
618
618
  // Enforce that all required values are provided by the caller.
619
- if(!i||!(d in i))throw new In(d,o);var h=i[d];if(wt(u))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Tn.literal:Tn.object,value:h});else
619
+ if(!i||!(d in i))throw new An(d,o);var h=i[d];if(xt(u))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Mn.literal:Mn.object,value:h});else
620
620
  // Recursively format plural and select parts' option — which can be a
621
621
  // nested pattern structure. The choosing of the option to use is
622
622
  // abstracted-by and delegated-to the part helper object.
623
- if(_t(u)){var m="string"==typeof u.style?r.date[u.style]:Tt(u.style)?u.style.parsedOptions:void 0;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(St(u)){m="string"==typeof u.style?r.time[u.style]:Tt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(xt(u)){(m="string"==typeof u.style?r.number[u.style]:Et(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Tn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(kt(u)){var f=u.children,p=u.value,g=i[p];if(!An(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(Ct(u)){if(!(v=u.options[h]||u.options.other))throw new $n(u.value,h,Object.keys(u.options),o);s.push.apply(s,Dn(v.value,t,n,r,i))}else if(Gt(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',Fn.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 $n(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)}
623
+ if(St(u)){var m="string"==typeof u.style?r.date[u.style]:Mt(u.style)?u.style.parsedOptions:void 0;s.push({type:Mn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(Ct(u)){m="string"==typeof u.style?r.time[u.style]:Mt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Mn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){(m="string"==typeof u.style?r.number[u.style]:Tt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Mn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Et(u)){var f=u.children,p=u.value,g=i[p];if(!Dn(g))throw new In(p,"function",o);var y=g(On(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?Mn.literal:Mn.object,value:e}})))}if(Gt(u)){if(!(v=u.options[h]||u.options.other))throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,On(v.value,t,n,r,i))}else if(Ft(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new $n('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',kn.MISSING_INTL_API,o);var b=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,On(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===Mn.literal&&t.type===Mn.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
624
624
  /*
625
625
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
626
626
  Copyrights licensed under the New BSD License.
627
627
  See the accompanying LICENSE file for terms.
628
628
  */
629
629
  // -- MessageFormat --------------------------------------------------------
630
- function On(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?yt(yt(yt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=yt(yt({},i[t]),a[t]||{}),e}),{})):i),n}),yt({},e)):e}function Pn(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 Nn=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
630
+ function Pn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?vt(vt(vt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=vt(vt({},i[t]),a[t]||{}),e}),{})):i),n}),vt({},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"}(Mn||(Mn={}));var Rn=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
631
631
  // Hot path for straight simple msg translations
632
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===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},
632
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Mn.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 On(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},
633
633
  // Defined first because it's used to build the format pattern.
634
634
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
635
635
  // Parse string messages into an AST.
636
636
  this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
637
637
  // Creates a new object with the specified `formats` merged with the default
638
638
  // formats.
639
- this.formats=On(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Pn(a.number),strategy:En.variadic}),getDateTimeFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Pn(a.dateTime),strategy:En.variadic}),getPluralRules:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,vt([void 0],t,!1)))}),{cache:Pn(a.pluralRules),strategy:En.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=vn,
639
+ this.formats=Pn(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:wn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,bt([void 0],t,!1)))}),{cache:Nn(a.number),strategy:Tn.variadic}),getDateTimeFormat:wn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,bt([void 0],t,!1)))}),{cache:Nn(a.dateTime),strategy:Tn.variadic}),getPluralRules:wn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,bt([void 0],t,!1)))}),{cache:Nn(a.pluralRules),strategy:Tn.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=bn,
640
640
  // Default format options used as the prototype of the `formats` provided to the
641
641
  // constructor. These are used when constructing the internal Intl.NumberFormat
642
642
  // and Intl.DateTimeFormat instances.
643
- e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Rn={},Hn=(e,t,n)=>n?(t in Rn||(Rn[t]={}),e in Rn[t]||(Rn[t][e]=n),n):n,Bn=(e,t)=>{if(null==t)return;if(t in Rn&&e in Rn[t])return Rn[t][e];const n=hr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Hn(e,t,i)}};let zn;const Un=tt({});function Yn(e){return e in zn}function jn(e,t){if(!Yn(e))return null;const n=function(e){return zn[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Wn(e,...t){delete Rn[e],Un.update((n=>(n[e]=dt.all([n[e]||{},...t]),n)))}nt([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>zn=e));const Vn={};function Zn(e){return Vn[e]}function Kn(e){return null!=e&&hr(e).some((e=>{var t;return null==(t=Zn(e))?void 0:t.size}))}function Xn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Vn[e].delete(t),0===Vn[e].size&&delete Vn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Wn(e,...t)))}const Jn={};function qn(e){if(!Kn(e))return e in Jn?Jn[e]:Promise.resolve();const t=function(e){return hr(e).map((e=>{const t=Zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Jn[e]=Promise.all(t.map((([e,t])=>Xn(e,t)))).then((()=>{if(Kn(e))return qn(e);delete Jn[e]})),Jn[e]}const Qn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function er(){return Qn}const tr=tt(!1);var nr=Object.defineProperty,rr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,lr=(e,t,n)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cr;const ur=tt(null);function dr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function hr(e,t=er().fallbackLocale){const n=dr(e);return t?[...new Set([...n,...dr(t)])]:n}function mr(){return null!=cr?cr:void 0}ur.subscribe((e=>{cr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const fr=(pr=((e,t)=>{for(var n in t||(t={}))or.call(t,n)&&lr(e,n,t[n]);if(ar)for(var n of ar(t))sr.call(t,n)&&lr(e,n,t[n]);return e})({},ur),rr(pr,ir({set:e=>{if(e&&function(e){if(null==e)return;const t=hr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Yn(n))return n}}(e)&&Kn(e)){const{loadingDelay:t}=er();let n;return"undefined"!=typeof window&&null!=mr()&&t?n=window.setTimeout((()=>tr.set(!0)),t):tr.set(!0),qn(e).then((()=>{ur.set(e)})).finally((()=>{clearTimeout(n),tr.set(!1)}))}return ur.set(e)}})));var pr;const gr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var yr=Object.defineProperty,vr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,xr=(e,t,n)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_r=(e,t)=>{for(var n in t||(t={}))br.call(t,n)&&xr(e,n,t[n]);if(vr)for(var n of vr(t))wr.call(t,n)&&xr(e,n,t[n]);return e},Sr=(e,t)=>{var n={};for(var r in e)br.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&vr)for(var r of vr(e))t.indexOf(r)<0&&wr.call(e,r)&&(n[r]=e[r]);return n};const Cr=(e,t)=>{const{formats:n}=er();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Sr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Cr("number",r)),new Intl.NumberFormat(n,i)})),Fr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Sr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Cr("date",r):0===Object.keys(i).length&&(i=Cr("date","short")),new Intl.DateTimeFormat(n,i)})),kr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Sr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Cr("time",r):0===Object.keys(i).length&&(i=Cr("time","short")),new Intl.DateTimeFormat(n,i)})),Er=gr((
643
+ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Hn={},Bn=(e,t,n)=>n?(t in Hn||(Hn[t]={}),e in Hn[t]||(Hn[t][e]=n),n):n,zn=(e,t)=>{if(null==t)return;if(t in Hn&&e in Hn[t])return Hn[t][e];const n=mr(t);for(let r=0;r<n.length;r++){const i=Wn(n[r],e);if(i)return Bn(e,t,i)}};let Un;const Yn=nt({});function jn(e){return e in Un}function Wn(e,t){if(!jn(e))return null;const n=function(e){return Un[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Vn(e,...t){delete Hn[e],Yn.update((n=>(n[e]=ht.all([n[e]||{},...t]),n)))}rt([Yn],(([e])=>Object.keys(e))),Yn.subscribe((e=>Un=e));const Zn={};function Kn(e){return Zn[e]}function Xn(e){return null!=e&&mr(e).some((e=>{var t;return null==(t=Kn(e))?void 0:t.size}))}function Jn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Zn[e].delete(t),0===Zn[e].size&&delete Zn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Vn(e,...t)))}const qn={};function Qn(e){if(!Xn(e))return e in qn?qn[e]:Promise.resolve();const t=function(e){return mr(e).map((e=>{const t=Kn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return qn[e]=Promise.all(t.map((([e,t])=>Jn(e,t)))).then((()=>{if(Xn(e))return Qn(e);delete qn[e]})),qn[e]}const er={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function tr(){return er}const nr=nt(!1);var rr=Object.defineProperty,ir=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,or=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,cr=(e,t,n)=>t in e?rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let ur;const dr=nt(null);function hr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function mr(e,t=tr().fallbackLocale){const n=hr(e);return t?[...new Set([...n,...hr(t)])]:n}function fr(){return null!=ur?ur:void 0}dr.subscribe((e=>{ur=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const pr=(gr=((e,t)=>{for(var n in t||(t={}))sr.call(t,n)&&cr(e,n,t[n]);if(or)for(var n of or(t))lr.call(t,n)&&cr(e,n,t[n]);return e})({},dr),ir(gr,ar({set:e=>{if(e&&function(e){if(null==e)return;const t=mr(e);for(let e=0;e<t.length;e++){const n=t[e];if(jn(n))return n}}(e)&&Xn(e)){const{loadingDelay:t}=tr();let n;return"undefined"!=typeof window&&null!=fr()&&t?n=window.setTimeout((()=>nr.set(!0)),t):nr.set(!0),Qn(e).then((()=>{dr.set(e)})).finally((()=>{clearTimeout(n),nr.set(!1)}))}return dr.set(e)}})));var gr;const yr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var vr=Object.defineProperty,br=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable,_r=(e,t,n)=>t in e?vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sr=(e,t)=>{for(var n in t||(t={}))wr.call(t,n)&&_r(e,n,t[n]);if(br)for(var n of br(t))xr.call(t,n)&&_r(e,n,t[n]);return e},Cr=(e,t)=>{var n={};for(var r in e)wr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&br)for(var r of br(e))t.indexOf(r)<0&&xr.call(e,r)&&(n[r]=e[r]);return n};const Gr=(e,t)=>{const{formats:n}=tr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Fr=yr((e=>{var t=e,{locale:n,format:r}=t,i=Cr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Gr("number",r)),new Intl.NumberFormat(n,i)})),kr=yr((e=>{var t=e,{locale:n,format:r}=t,i=Cr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Gr("date",r):0===Object.keys(i).length&&(i=Gr("date","short")),new Intl.DateTimeFormat(n,i)})),Er=yr((e=>{var t=e,{locale:n,format:r}=t,i=Cr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Gr("time",r):0===Object.keys(i).length&&(i=Gr("time","short")),new Intl.DateTimeFormat(n,i)})),Tr=yr((
644
644
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
645
- (e,t=mr())=>new Nn(e,t,er().formats,{ignoreTag:er().ignoreTag}))),Tr=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=mr(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Bn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(i=null==(r=(n=er()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let d=u;try{d=Er(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Mr=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return kr(_r({locale:n},r))})(t).format(e),$r=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return Fr(_r({locale:n},r))})(t).format(e),Lr=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return Gr(_r({locale:n},r))})(t).format(e),Ir=(e,t=mr())=>Bn(e,t),Ar=nt([fr,Un],(()=>Tr));nt([fr],(()=>Mr)),nt([fr],(()=>$r)),nt([fr],(()=>Lr)),nt([fr,Un],(()=>Ir)),window.emWidgets={topic:(e,t=0)=>{if(-1==qe.indexOf(e)){let n=new Je(t);Qe[e]=n,qe.push(e)}return Qe[e]}};
645
+ (e,t=fr())=>new Rn(e,t,tr().formats,{ignoreTag:tr().ignoreTag}))),Mr=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=fr(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=zn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(i=null==(r=(n=tr()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let d=u;try{d=Tr(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},$r=(e,t)=>((e={})=>{var t=e,{locale:n=fr()}=t,r=Cr(t,["locale"]);return Er(Sr({locale:n},r))})(t).format(e),Lr=(e,t)=>((e={})=>{var t=e,{locale:n=fr()}=t,r=Cr(t,["locale"]);return kr(Sr({locale:n},r))})(t).format(e),Ir=(e,t)=>((e={})=>{var t=e,{locale:n=fr()}=t,r=Cr(t,["locale"]);return Fr(Sr({locale:n},r))})(t).format(e),Ar=(e,t=fr())=>zn(e,t),Dr=rt([pr,Yn],(()=>Mr));rt([pr],(()=>$r)),rt([pr],(()=>Lr)),rt([pr],(()=>Ir)),rt([pr,Yn],(()=>Ar)),window.emWidgets={topic:(e,t=0)=>{if(-1==Qe.indexOf(e)){let n=new qe(t);et[e]=n,Qe.push(e)}return et[e]}};
646
646
  /**
647
647
  * @name isMobile
648
648
  * @description A method that returns if the browser used to access the app is from a mobile device or not
649
649
  * @param {String} userAgent window.navigator.userAgent
650
650
  * @returns {Boolean} true or false
651
651
  */
652
- const Dr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Or=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
652
+ const Or=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Pr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
653
653
  /**
654
654
  * @name getDevice
655
655
  * @description A method that returns the type of the device
656
656
  * @param {String} userAgent window.navigator.userAgent
657
657
  * @returns {String} Android/iPhone/iPad/PC
658
- */function Pr(e,t){Wn(e,t)}const Nr={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Rr(e,t){Wn(e,t)}const Hr={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};var Br=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ye(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
658
+ */function Nr(e,t){Vn(e,t)}const Rr={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Hr(e,t){Vn(e,t)}const Br={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};var zr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ve(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
659
659
  // This is done to register the method called with moment()
660
660
  // without creating circular dependencies.
661
661
  function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){
@@ -695,7 +695,7 @@ me=/\d\d\d\d?/,// 999 - 9999
695
695
  fe=/\d\d\d\d\d\d?/,// 99999 - 999999
696
696
  pe=/\d{1,3}/,// 0 - 999
697
697
  ge=/\d{1,4}/,// 0 - 9999
698
- ve=/[+-]?\d{1,6}/,// -999999 - 999999
698
+ ye=/[+-]?\d{1,6}/,// -999999 - 999999
699
699
  be=/\d+/,// 0 - inf
700
700
  we=/[+-]?\d+/,// -inf - inf
701
701
  xe=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
@@ -713,7 +713,7 @@ function Ve(e){return Pe(e)?366:365}
713
713
  // HOOKS
714
714
  H("Y",0,0,(function(){var e=this.year();return e<=9999?D(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),
715
715
  // PARSING
716
- ke("Y",we),ke("YY",he,le),ke("YYYY",ge,ue),ke("YYYYY",ve,de),ke("YYYYYY",ve,de),Ae(["YYYYY","YYYYYY"],Ne),Ae("YYYY",(function(e,t){t[Ne]=2===e.length?r.parseTwoDigitYear(e):Le(e)})),Ae("YY",(function(e,t){t[Ne]=r.parseTwoDigitYear(e)})),Ae("Y",(function(e,t){t[Ne]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Le(e)+(Le(e)>68?1900:2e3)};
716
+ ke("Y",we),ke("YY",he,le),ke("YYYY",ge,ue),ke("YYYYY",ye,de),ke("YYYYYY",ye,de),Ae(["YYYYY","YYYYYY"],Ne),Ae("YYYY",(function(e,t){t[Ne]=2===e.length?r.parseTwoDigitYear(e):Le(e)})),Ae("YY",(function(e,t){t[Ne]=r.parseTwoDigitYear(e)})),Ae("Y",(function(e,t){t[Ne]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Le(e)+(Le(e)>68?1900:2e3)};
717
717
  // MOMENTS
718
718
  var Ze,Ke=Je("FullYear",!0);function Xe(){return Pe(this.year())}function Je(e,t){return function(n){return null!=n?(Qe(this,e,n),r.updateOffset(this,t),this):qe(this,e)}}function qe(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN;// Just in case
719
719
  }}function Qe(e,t,n){var r,i,a,o,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));
@@ -832,7 +832,7 @@ break;t--}a++}return sn}function fn(e){
832
832
  // Ensure name is available and function returns boolean
833
833
  return!(!e||!e.match("^[^/\\\\]*$"))}function pn(t){var n=null;
834
834
  // TODO: Find a better way to register and load all the locales in Node
835
- if(void 0===cn[t]&&e&&e.exports&&fn(t))try{n=sn._abbr,ye(),gn(n)}catch(e){
835
+ if(void 0===cn[t]&&e&&e.exports&&fn(t))try{n=sn._abbr,ve(),gn(n)}catch(e){
836
836
  // mark as not found to avoid repeating expensive file require call causing high CPU
837
837
  // when trying to find en-US, en_US, en-us for every format call
838
838
  cn[t]=null;// null means not found
@@ -1099,7 +1099,7 @@ function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+t
1099
1099
  H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),ke("N",Ri),ke("NN",Ri),ke("NNN",Ri),ke("NNNN",Hi),ke("NNNNN",Bi),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),ke("y",be),ke("yy",be),ke("yyy",be),ke("yyyy",be),ke("yo",zi),Ae(["y","yy","yyy","yyyy"],Ne),Ae(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ne]=n._locale.eraYearOrdinalParse(e,i):t[Ne]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Yi("gggg","weekYear"),Yi("ggggg","weekYear"),Yi("GGGG","isoWeekYear"),Yi("GGGGG","isoWeekYear"),
1100
1100
  // ALIASES
1101
1101
  // PARSING
1102
- ke("G",we),ke("g",we),ke("GG",he,le),ke("gg",he,le),ke("GGGG",ge,ue),ke("gggg",ge,ue),ke("GGGGG",ve,de),ke("ggggg",ve,de),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Le(e)})),De(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1102
+ ke("G",we),ke("g",we),ke("GG",he,le),ke("gg",he,le),ke("GGGG",ge,ue),ke("gggg",ge,ue),ke("GGGGG",ye,de),ke("ggggg",ye,de),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Le(e)})),De(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1103
1103
  // PARSING
1104
1104
  ke("Q",se),Ae("Q",(function(e,t){t[Re]=3*(Le(e)-1)})),H("D",["DD",2],"Do","date"),
1105
1105
  // PARSING
@@ -1209,262 +1209,262 @@ TIME:"HH:mm",// <input type="time" />
1209
1209
  TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1210
1210
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1211
1211
  WEEK:"GGGG-[W]WW",// <input type="week" />
1212
- MONTH:"YYYY-MM"},r}()}));function zr(e,t){Wn(e,t)}const Ur={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:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},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:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},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"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Yr={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$"};
1212
+ MONTH:"YYYY-MM"},r}()}));function Ur(e,t){Vn(e,t)}const Yr={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:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},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:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},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"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},jr={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$"};
1213
1213
  /* eslint-disable quote-props */
1214
1214
  /* ../casino-game-thumbnail-nd/src/CasinoGameThumbnailNd.svelte generated by Svelte v3.59.2 */
1215
- function jr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function Wr(e,t,n){const r=e.slice();return r[101]=t[n],r}
1215
+ function Wr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function Vr(e,t,n){const r=e.slice();return r[101]=t[n],r}
1216
1216
  // (539:8) {#if lang}
1217
- function Vr(e){let t,n,r,i,a,o,s=!Dr(/*userAgent*/e[36]),l=/*$_*/e[35]("playNow")+"",c=s&&
1217
+ function Zr(e){let t,n,r,i,a,o,s=!Or(/*userAgent*/e[36]),l=/*$_*/e[35]("playNow")+"",c=s&&
1218
1218
  // (541:12) {#if !isMobile(userAgent)}
1219
- function(){let e,t,n,r,i,a;return{c(){e=g("svg"),t=g("g"),n=g("g"),r=g("path"),i=g("path"),a=g("path"),x(r,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),x(r,"stroke","none"),x(i,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),x(i,"stroke","none"),x(i,"fill","#fff"),x(n,"id","Ellipse_664_copy"),x(n,"data-name","Ellipse 664 copy"),x(n,"transform","translate(26 13)"),x(n,"fill","rgba(249,165,2,0)"),x(a,"id","Rounded_Rectangle_683"),x(a,"data-name","Rounded Rectangle 683"),x(a,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),x(a,"transform","translate(-1102 -885)"),x(a,"fill","#fff"),x(t,"id","Group_5260"),x(t,"data-name","Group 5260"),x(t,"transform","translate(-26 -13)"),x(e,"xmlns","http://www.w3.org/2000/svg"),x(e,"width","28"),x(e,"height","28"),x(e,"viewBox","0 0 28 28")},m(o,s){h(o,e,s),d(e,t),d(t,n),d(n,r),d(n,i),d(t,a)},d(t){t&&m(e)}}}
1219
+ function(){let e,t,n,r,i,a;return{c(){e=y("svg"),t=y("g"),n=y("g"),r=y("path"),i=y("path"),a=y("path"),_(r,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),_(r,"stroke","none"),_(i,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),_(i,"stroke","none"),_(i,"fill","#fff"),_(n,"id","Ellipse_664_copy"),_(n,"data-name","Ellipse 664 copy"),_(n,"transform","translate(26 13)"),_(n,"fill","rgba(249,165,2,0)"),_(a,"id","Rounded_Rectangle_683"),_(a,"data-name","Rounded Rectangle 683"),_(a,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),_(a,"transform","translate(-1102 -885)"),_(a,"fill","#fff"),_(t,"id","Group_5260"),_(t,"data-name","Group 5260"),_(t,"transform","translate(-26 -13)"),_(e,"xmlns","http://www.w3.org/2000/svg"),_(e,"width","28"),_(e,"height","28"),_(e,"viewBox","0 0 28 28")},m(o,s){m(o,e,s),h(e,t),h(t,n),h(n,r),h(n,i),h(t,a)},d(t){t&&f(e)}}}
1220
1220
  // (559:8) {#if gameisnew}
1221
- ();return{c(){t=p("button"),c&&c.c(),n=v(),r=p("span"),i=y(l),x(t,"class","GameInfoBtn")},m(s,l){h(s,t,l),c&&c.m(t,null),d(t,n),d(t,r),d(r,i),a||(o=w(t,"click",/*click_handler*/e[63]),a=!0)},p(e,t){/*$_*/16&t[1]&&l!==(l=/*$_*/e[35]("playNow")+"")&&S(i,l)},d(e){e&&m(t),c&&c.d(),a=!1,o()}}}function Zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=p("span"),n=y(r),x(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&S(n,r)},d(e){e&&m(t)}}}
1221
+ ();return{c(){t=g("button"),c&&c.c(),n=b(),r=g("span"),i=v(l),_(t,"class","GameInfoBtn")},m(s,l){m(s,t,l),c&&c.m(t,null),h(t,n),h(t,r),h(r,i),a||(o=x(t,"click",/*click_handler*/e[63]),a=!0)},p(e,t){/*$_*/16&t[1]&&l!==(l=/*$_*/e[35]("playNow")+"")&&C(i,l)},d(e){e&&f(t),c&&c.d(),a=!1,o()}}}function Kr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=g("span"),n=v(r),_(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&C(n,r)},d(e){e&&f(t)}}}
1222
1222
  // (562:8) {#if gametag}
1223
- function Kr(e){let t,n;return{c(){t=p("span"),n=y(/*gametag*/e[8]),x(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&m(t)}}}
1223
+ function Xr(e){let t,n;return{c(){t=g("span"),n=v(/*gametag*/e[8]),_(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&C(n,/*gametag*/e[8])},d(e){e&&f(t)}}}
1224
1224
  // (565:8) {#if livegamedata}
1225
- function Xr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Jr(e);function i(e,t){/*isopen*/
1226
- return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===mi?Qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===fi?qr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),h(e,t,i),o&&o.m(e,i),h(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Jr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&m(t),o&&o.d(e),e&&m(n)}}}
1225
+ function Jr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&qr(e);function i(e,t){/*isopen*/
1226
+ return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===fi?ei:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===pi?Qr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=b(),o&&o.c(),n=w()},m(e,i){r&&r.m(e,i),m(e,t,i),o&&o.m(e,i),m(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=qr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&f(t),o&&o.d(e),e&&f(n)}}}
1227
1227
  // (566:10) {#if !isopen && starttime && timeformat}
1228
- function Jr(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/e[35]("opens")+"",g=Br.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=p("div"),n=p("div"),r=y(f),i=v(),a=p("span"),o=y(g),s=v(),l=new F(!1),c=v(),u=new F(!1),x(n,"class","ClosedGame"),l.a=c,u.a=null,x(t,"class","GameProp LiveProps")},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(a,o),d(t,s),l.m(b,t),d(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&f!==(f=/*$_*/e[35]("opens")+"")&&S(r,f),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Br.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(o,g),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(b),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&m(t)}}}
1228
+ function qr(e){let t,n,r,i,a,o,s,l,c,u,d=/*$_*/e[35]("opens")+"",p=zr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",y=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=g("div"),n=g("div"),r=v(d),i=b(),a=g("span"),o=v(p),s=b(),l=new k(!1),c=b(),u=new k(!1),_(n,"class","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps")},m(e,d){m(e,t,d),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(y,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&d!==(d=/*$_*/e[35]("opens")+"")&&C(r,d),/*starttime, timeformat*/3145728&t[0]&&p!==(p=zr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&C(o,p),/*dealername*/8&t[1]&&y!==(y=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(y),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&f(t)}}}
1229
1229
  // (599:70)
1230
- function qr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(gi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ri(jr(e,c,t));return{c(){t=p("div"),n=p("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new F(!1),a=v(),o=new F(!1),x(n,"class","LiveIcons"),i.a=a,o.a=null,x(t,"class",/*roulettecontainerclassname*/e[30])},m(c,m){h(c,t,m),d(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
1231
- /*div0_binding*/e[64](n),d(t,r),i.m(s,t),d(t,a),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(gi),t=0;t<c.length;t+=1){const i=jr(e,c,t);u[t]?u[t].p(i,r):(u[t]=ri(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&x(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&m(t),f(u,n),
1230
+ function Qr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(yi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ii(Wr(e,c,t));return{c(){t=g("div"),n=g("div");for(let e=0;e<u.length;e+=1)u[e].c();r=b(),i=new k(!1),a=b(),o=new k(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class",/*roulettecontainerclassname*/e[30])},m(c,d){m(c,t,d),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
1231
+ /*div0_binding*/e[64](n),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(yi),t=0;t<c.length;t+=1){const i=Wr(e,c,t);u[t]?u[t].p(i,r):(u[t]=ii(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&_(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&f(t),p(u,n),
1232
1232
  /*div0_binding*/e[64](null)}}}
1233
1233
  // (578:10) {#if isopen && displaytype && displaytype === BLACKJACK}
1234
- function Qr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
1235
- return e[32]?ai:ii}let u=c(e),f=u(e);return{c(){t=p("div"),n=p("div"),f.c(),r=v(),i=new F(!1),a=v(),o=new F(!1),x(n,"class","LiveIcons"),i.a=a,o.a=null,x(t,"class","GameProp LiveProps BlackjackDisplay"),x(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){h(e,t,c),d(t,n),f.m(n,null),d(t,r),i.m(s,t),d(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&f?f.p(e,t):(f.d(1),f=u(e),f&&(f.c(),f.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&m(t),f.d()}}}
1234
+ function ei(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
1235
+ return e[32]?oi:ai}let u=c(e),d=u(e);return{c(){t=g("div"),n=g("div"),d.c(),r=b(),i=new k(!1),a=b(),o=new k(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){m(e,t,c),h(t,n),d.m(n,null),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&f(t),d.d()}}}
1236
1236
  // (603:18) {#if roulleteresults && roulleteresults[i]}
1237
- function ei(e){let t;function n(e,t){/*isdouble*/
1238
- return e[29]?ni:ti}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
1237
+ function ti(e){let t;function n(e,t){/*isdouble*/
1238
+ return e[29]?ri:ni}let r=n(e),i=r(e);return{c(){i.c(),t=w()},m(e,n){i.m(e,n),m(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&f(t)}}}
1239
1239
  // (609:20) {:else}
1240
- function ti(e){let t,n,r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"";return{c(){t=new F(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),h(e,n,i)},p(e,n){/*roulleteresults*/16384&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"")&&t.p(r)},d(e){e&&m(n),e&&t.d()}}}
1240
+ function ni(e){let t,n,r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"";return{c(){t=new k(!1),n=w(),t.a=n},m(e,i){t.m(r,e,i),m(e,n,i)},p(e,n){/*roulleteresults*/16384&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"")&&t.p(r)},d(e){e&&f(n),e&&t.d()}}}
1241
1241
  // (604:20) {#if isdouble}
1242
- function ni(e){let t,n,r,i,a,o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"",s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"";return{c(){t=p("div"),n=new F(!1),r=v(),i=new F(!1),a=v(),n.a=r,i.a=a,x(t,"class","Double")},m(e,l){h(e,t,l),n.m(o,t),d(t,r),i.m(s,t),d(t,a)},p(e,t){/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"")&&n.p(o),/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"")&&i.p(s)},d(e){e&&m(t)}}}
1242
+ function ri(e){let t,n,r,i,a,o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"",s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"";return{c(){t=g("div"),n=new k(!1),r=b(),i=new k(!1),a=b(),n.a=r,i.a=a,_(t,"class","Double")},m(e,l){m(e,t,l),n.m(o,t),h(t,r),i.m(s,t),h(t,a)},p(e,t){/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"")&&n.p(o),/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"")&&i.p(s)},d(e){e&&f(t)}}}
1243
1243
  // (602:16) {#each new Array(numberofdisplayedresults) as garbage, i}
1244
- function ri(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]&&ei(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]?n?n.p(e,r):(n=ei(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1244
+ function ii(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]&&ti(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]?n?n.p(e,r):(n=ti(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
1245
1245
  // (585:16) {:else}
1246
- function ii(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=oi(Wr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n)},p(e,i){if(/*currentoccupiedseats, seats*/285212672&i[0]|/*contains*/256&i[1]){let a;for(n=/*seats*/e[24],a=0;a<n.length;a+=1){const o=Wr(e,n,a);r[a]?r[a].p(o,i):(r[a]=oi(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){f(r,e),e&&m(t)}}}
1246
+ function ai(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=si(Vr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=w()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n)},p(e,i){if(/*currentoccupiedseats, seats*/285212672&i[0]|/*contains*/256&i[1]){let a;for(n=/*seats*/e[24],a=0;a<n.length;a+=1){const o=Vr(e,n,a);r[a]?r[a].p(o,i):(r[a]=si(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){p(r,e),e&&f(t)}}}
1247
1247
  // (581:16) {#if istablefull}
1248
- function ai(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=p("span"),n=y(r),x(t,"class","FullTable")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&S(n,r)},d(e){e&&m(t)}}}
1248
+ function oi(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=g("span"),n=v(r),_(t,"class","FullTable")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&C(n,r)},d(e){e&&f(t)}}}
1249
1249
  // (586:18) {#each seats as seatData}
1250
- function oi(e){let t,n,r,i,a,o;return{c(){t=p("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),x(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"),x(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"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(n,"width","13"),x(n,"height","14"),x(n,"viewBox","0 0 13 14"),x(t,"class",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,o){h(e,t,o),d(t,n),d(n,r),d(n,i),d(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")&&x(t,"class",o)},d(e){e&&m(t)}}}
1250
+ function si(e){let t,n,r,i,a,o;return{c(){t=g("span"),n=y("svg"),r=y("path"),i=y("path"),a=b(),_(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),_(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,o){m(e,t,o),h(t,n),h(n,r),h(n,i),h(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")&&_(t,"class",o)},d(e){e&&f(t)}}}
1251
1251
  // (638:56)
1252
- function si(t){let n;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',x(n,"class","FavIconContainer")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1252
+ function li(e){let n;return{c(){n=g("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
1253
1253
  // (621:6) {#if !isMobile(userAgent)}
1254
- function li(e){let t,n,r;function i(e,t){/*gamefavorite*/
1255
- return e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?ui:!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]?ci:void 0}let a=i(e),o=a&&a(e);return{c(){t=p("div"),n=p("span"),r=v(),o&&o.c(),x(n,"class","GameInfoVendor"),C(n,"background-image","url("+/*gamevendor*/e[5]+")"),x(t,"class","GameTopContainer")},m(e,i){h(e,t,i),d(t,n),d(t,r),o&&o.m(t,null)},p(e,r){/*gamevendor*/32&r[0]&&C(n,"background-image","url("+/*gamevendor*/e[5]+")"),a===(a=i(e))&&o?o.p(e,r):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&m(t),o&&o.d()}}}
1254
+ function ci(e){let t,n,r;function i(e,t){/*gamefavorite*/
1255
+ return e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?di:!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]?ui:void 0}let a=i(e),o=a&&a(e);return{c(){t=g("div"),n=g("span"),r=b(),o&&o.c(),_(n,"class","GameInfoVendor"),G(n,"background-image","url("+/*gamevendor*/e[5]+")"),_(t,"class","GameTopContainer")},m(e,i){m(e,t,i),h(t,n),h(t,r),o&&o.m(t,null)},p(e,r){/*gamevendor*/32&r[0]&&G(n,"background-image","url("+/*gamevendor*/e[5]+")"),a===(a=i(e))&&o?o.p(e,r):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&f(t),o&&o.d()}}}
1256
1256
  // (630:48)
1257
- function ci(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',x(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[66]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
1257
+ function ui(e){let n,r,i;return{c(){n=g("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',_(n,"class","FavIconContainer")},m(t,a){m(t,n,a),r||(i=x(n,"click",/*click_handler_2*/e[66]),r=!0)},p:t,d(e){e&&f(n),r=!1,i()}}}
1258
1258
  // (624:10) {#if gamefavorite && isLoggedIn && favorites}
1259
- function ui(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',x(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_1*/t[65]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
1259
+ function di(e){let n,r,i;return{c(){n=g("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',_(n,"class","FavIconContainer")},m(t,a){m(t,n,a),r||(i=x(n,"click",/*click_handler_1*/e[65]),r=!0)},p:t,d(e){e&&f(n),r=!1,i()}}}
1260
1260
  // (647:2) {#if showgamename === 'true'}
1261
- function di(e){let t,n;return{c(){t=p("p"),n=y(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(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]&&x(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function hi(t){let n,r,i,a,o,s,c,u,f,g,y,b,w,_,S,C,F,k,E=/*lang*/t[1]&&Vr(t),T=/*gameisnew*/t[7]&&Zr(t),M=/*gametag*/t[8]&&Kr(t),$=/*livegamedata*/t[13]&&Xr(t);function L(e,t){return null==S&&(S=!Dr(/*userAgent*/e[36])),S?li:/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?si:void 0}let I=L(t),A=I&&I(t),D=/*showgamename*/"true"===t[10]&&di(t);return{c(){n=p("div"),r=p("div"),i=p("img"),s=v(),c=p("div"),u=p("div"),E&&E.c(),f=v(),g=p("div"),y=p("div"),T&&T.c(),b=v(),M&&M.c(),w=v(),$&&$.c(),_=v(),A&&A.c(),F=v(),D&&D.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||x(i,"src",a),x(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),x(i,"alt","Game thumbnail"),x(i,"loading","lazy"),x(u,"class","GameInfo"),x(c,"class","GameInfoWrapper"),x(y,"class","GameExtraInfo"),x(g,"class","GameExtraInfoContainer"),x(r,"class",C="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),x(n,"class",k=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),G(n,"WithGameName",/*showgamename*/t[10])},m(e,a){h(e,n,a),d(n,r),d(r,i),
1262
- /*img_binding*/t[62](i),d(r,s),d(r,c),d(c,u),E&&E.m(u,null),d(r,f),d(r,g),d(g,y),T&&T.m(y,null),d(y,b),M&&M.m(y,null),d(y,w),$&&$.m(y,null),d(g,_),A&&A.m(g,null),d(n,F),D&&D.m(n,null)
1263
- /*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&x(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&x(i,"class",o),/*lang*/e[1]?E?E.p(e,t):(E=Vr(e),E.c(),E.m(u,null)):E&&(E.d(1),E=null),/*gameisnew*/e[7]?T?T.p(e,t):(T=Zr(e),T.c(),T.m(y,b)):T&&(T.d(1),T=null),/*gametag*/e[8]?M?M.p(e,t):(M=Kr(e),M.c(),M.m(y,w)):M&&(M.d(1),M=null),/*livegamedata*/e[13]?$?$.p(e,t):($=Xr(e),$.c(),$.m(y,null)):$&&($.d(1),$=null),I===(I=L(e))&&A?A.p(e,t):(A&&A.d(1),A=I&&I(e),A&&(A.c(),A.m(g,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&C!==(C="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&x(r,"class",C),/*showgamename*/"true"===e[10]?D?D.p(e,t):(D=di(e),D.c(),D.m(n,null)):D&&(D.d(1),D=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&k!==(k=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&x(n,"class",k),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&G(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&m(n)
1264
- /*img_binding*/,t[62](null),E&&E.d(),T&&T.d(),M&&M.d(),$&&$.d(),A&&A.d(),D&&D.d()
1265
- /*div5_binding*/,t[67](null)}}}const mi="blackjack",fi="roulette",pi="doubleballroulette",gi=5;function yi(e,t,n){let r;u(e,Ar,(e=>n(35,r=e)));let i,a,o,s,l,c,d,h,m,f,p,g,y,v,b,w,x,_,S,C,G,F,k,E,M,{session:L=""}=t,{userid:I=""}=t,{lang:A="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:O=""}=t,{translationurl:N=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:z=""}=t,{gamelaunchurl:U=""}=t,{gameid:Y=""}=t,{gameisnew:j=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=""}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],fe="EUR",pe="";const ge=[mi],ye=[fi,pi],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Ur).forEach((e=>{zr(e,Ur[e])}));const we=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(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},xe=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1261
+ function hi(e){let t,n;return{c(){t=g("p"),n=v(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&C(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function mi(e){let n,r,i,a,o,s,l,u,d,p,y,v,w,x,S,C,G,k,E=/*lang*/e[1]&&Zr(e),T=/*gameisnew*/e[7]&&Kr(e),M=/*gametag*/e[8]&&Xr(e),$=/*livegamedata*/e[13]&&Jr(e);function L(e,t){return null==S&&(S=!Or(/*userAgent*/e[36])),S?ci:/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?li:void 0}let I=L(e),A=I&&I(e),D=/*showgamename*/"true"===e[10]&&hi(e);return{c(){n=g("div"),r=g("div"),i=g("img"),s=b(),l=g("div"),u=g("div"),E&&E.c(),d=b(),p=g("div"),y=g("div"),T&&T.c(),v=b(),M&&M.c(),w=b(),$&&$.c(),x=b(),A&&A.c(),G=b(),D&&D.c(),this.c=t,c(i.src,a=/*gamethumbnail*/e[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`),_(i,"alt","Game thumbnail"),_(i,"loading","lazy"),_(u,"class","GameInfo"),_(l,"class","GameInfoWrapper"),_(y,"class","GameExtraInfo"),_(p,"class","GameExtraInfoContainer"),_(r,"class",C="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":"")),_(n,"class",k=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`),F(n,"WithGameName",/*showgamename*/e[10])},m(t,a){m(t,n,a),h(n,r),h(r,i),
1262
+ /*img_binding*/e[62](i),h(r,s),h(r,l),h(l,u),E&&E.m(u,null),h(r,d),h(r,p),h(p,y),T&&T.m(y,null),h(y,v),M&&M.m(y,null),h(y,w),$&&$.m(y,null),h(p,x),A&&A.m(p,null),h(n,G),D&&D.m(n,null)
1263
+ /*div5_binding*/,e[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!c(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(i,"class",o),/*lang*/e[1]?E?E.p(e,t):(E=Zr(e),E.c(),E.m(u,null)):E&&(E.d(1),E=null),/*gameisnew*/e[7]?T?T.p(e,t):(T=Kr(e),T.c(),T.m(y,v)):T&&(T.d(1),T=null),/*gametag*/e[8]?M?M.p(e,t):(M=Xr(e),M.c(),M.m(y,w)):M&&(M.d(1),M=null),/*livegamedata*/e[13]?$?$.p(e,t):($=Jr(e),$.c(),$.m(y,null)):$&&($.d(1),$=null),I===(I=L(e))&&A?A.p(e,t):(A&&A.d(1),A=I&&I(e),A&&(A.c(),A.m(p,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&C!==(C="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",C),/*showgamename*/"true"===e[10]?D?D.p(e,t):(D=hi(e),D.c(),D.m(n,null)):D&&(D.d(1),D=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&k!==(k=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",k),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&F(n,"WithGameName",/*showgamename*/e[10])},i:t,o:t,d(t){t&&f(n)
1264
+ /*img_binding*/,e[62](null),E&&E.d(),T&&T.d(),M&&M.d(),$&&$.d(),A&&A.d(),D&&D.d()
1265
+ /*div5_binding*/,e[67](null)}}}const fi="blackjack",pi="roulette",gi="doubleballroulette",yi=5;function vi(e,t,n){let r;d(e,Dr,(e=>n(35,r=e)));let i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,w,x,_,S,C,G,F,k,E,T,{session:$=""}=t,{userid:I=""}=t,{lang:A="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:O=""}=t,{translationurl:P=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:z=""}=t,{gamelaunchurl:U=""}=t,{gameid:Y=""}=t,{gameisnew:j=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=""}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],fe="EUR",pe="";const ge=[fi],ye=[pi,gi],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Yr).forEach((e=>{Ur(e,Yr[e])}));const we=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(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},xe=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1266
1266
  //Analytics event -- if game was searched
1267
1267
  "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1268
1268
  // Case mobile
1269
- Dr(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Dr(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:z,launchUrl:U},window.location.href):Dr(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Dr(ue)},window.location.href),
1269
+ Or(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Or(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:z,launchUrl:U},window.location.href):Or(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Or(ue)},window.location.href),
1270
1270
  // Case desktop
1271
- Dr(ue)||"true"!=ae?Dr(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Dr(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Dr(ue),identifier:"Lobby",subVendor:z,launchUrl:U},window.location.href)},_e=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=A,fr.set(e)},Ce=()=>{ne&&EventSource&&!l&&z&&Y&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${z}/${Y}`),l.addEventListener("message",Fe))},Ge=()=>{l&&(l.close(),l=void 0)},Fe=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1271
+ Or(ue)||"true"!=ae?Or(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Or(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Or(ue),identifier:"Lobby",subVendor:z,launchUrl:U},window.location.href)},_e=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=A,pr.set(e)},Ce=()=>{ne&&EventSource&&!l&&z&&Y&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${z}/${Y}`),l.addEventListener("message",Fe))},Ge=()=>{l&&(l.close(),l=void 0)},Fe=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1272
1272
  // eslint-disable-next-line no-console
1273
1273
  console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1274
1274
  r,Seats:// Roads, // for baccarat
1275
- a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(13,s.currentOccupiedSeats=a,s),await P());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,s.currentRouletteNumbers=r,s),await P());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,s.currentDoubleBallRouletteNumbers=r,s),await P());break;case"TableOpened":case"TableClosed":n(22,h=o),n(13,s.isOpen=o,s),await P()}// default case
1275
+ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(13,s.currentOccupiedSeats=a,s),await N());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,s.currentRouletteNumbers=r,s),await N());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,s.currentDoubleBallRouletteNumbers=r,s),await N());break;case"TableOpened":case"TableClosed":n(22,h=o),n(13,s.isOpen=o,s),await N()}// default case
1276
1276
  }}// default case
1277
- },ke=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Ee=(e,t)=>e.some((e=>e===t)),Te=()=>{if(s){if(n(22,h=s.isOpen),he=s.betLimit||{},n(23,m=s.openHours),n(24,me=(e=>{g=e.totalSeats||7,n(28,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(20,d=e),n(21,de=t||de)}h&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Ee(ge,e)?t=mi:Ee(ye,e)&&(t=fi)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1277
+ },ke=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Ee=(e,t)=>e.some((e=>e===t)),Te=()=>{if(s){if(n(22,h=s.isOpen),he=s.betLimit||{},n(23,m=s.openHours),n(24,me=(e=>{g=e.totalSeats||7,n(28,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(20,u=e),n(21,de=t||de)}h&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Ee(ge,e)?t=fi:Ee(ye,e)&&(t=pi)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1278
1278
  // GameComponent = 'baccarat';
1279
1279
  }// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
1280
1280
  // GameComponent = 'poker';
1281
1281
  // }
1282
- return t})(s)),n(25,fe=Yr[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,x=w.toLowerCase()===pi),n(14,_=(x?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=x?" Double":""),n(31,C=Ee(ye,w.toLowerCase())?be:ve),F=G,n(32,G=Array.isArray(y)&&y.length===g),s.dealer&&n(34,E=s.dealer.DealerName),M=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&G&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&d&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!F&&G?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):F&&!G&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};T((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Fe)})));return e.$$set=e=>{"session"in e&&n(43,L=e.session),"userid"in e&&n(44,I=e.userid),"lang"in e&&n(1,A=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,O=e.clientstylingurl),"translationurl"in e&&n(47,N=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,z=e.gamevendor),"gamelaunchurl"in e&&n(48,U=e.gamelaunchurl),"gameid"in e&&n(6,Y=e.gameid),"gameisnew"in e&&n(7,j=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(51,q=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ie=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Ge():"connect"===re&&Ce()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Ge():"connect"===ie&&"connect"===re&&Ce()),/*lang*/2&e.$$.dirty[0]&&A&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&L&&I&&ee&&(n(16,le=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,ce=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&O&&o&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&N&&fetch(N).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{zr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&O&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Or(ue)),e.searchParams.append("language",A),
1282
+ return t})(s)),n(25,fe=jr[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,x=w.toLowerCase()===gi),n(14,_=(x?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=x?" Double":""),n(31,C=Ee(ye,w.toLowerCase())?be:ve),F=G,n(32,G=Array.isArray(y)&&y.length===g),s.dealer&&n(34,E=s.dealer.DealerName),T=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&G&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&u&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!F&&G?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):F&&!G&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};M((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Fe)})));return e.$$set=e=>{"session"in e&&n(43,$=e.session),"userid"in e&&n(44,I=e.userid),"lang"in e&&n(1,A=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,O=e.clientstylingurl),"translationurl"in e&&n(47,P=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,z=e.gamevendor),"gamelaunchurl"in e&&n(48,U=e.gamelaunchurl),"gameid"in e&&n(6,Y=e.gameid),"gameisnew"in e&&n(7,j=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(51,q=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ie=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Ge():"connect"===re&&Ce()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Ge():"connect"===ie&&"connect"===re&&Ce()),/*lang*/2&e.$$.dirty[0]&&A&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&$&&I&&ee&&(n(16,le=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,ce=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&O&&o&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ur(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&O&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Pr(ue)),e.searchParams.append("language",A),
1283
1283
  // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
1284
- fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&k&&_&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,z,Y,j,W,K,J,se,o,s,_,k,le,ce,a,c,d,de,h,m,me,fe,f,p,y,x,S,C,G,pe,E,r,ue,xe,_e,Ee,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ke(e)}-${ke(t)}`),M&&(r=`\n <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${M}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},L,I,D,O,N,U,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){$[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>xe(Y),function(e){$[e?"unshift":"push"]((()=>{k=e,n(15,k)}))},()=>_e(Y),()=>_e(Y),function(e){$[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function vi(e,t){Wn(e,t)}!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 20px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 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(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.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}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.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(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.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 var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},yi,hi,a,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const bi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
1285
- /* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function wi(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
1284
+ fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&k&&_&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,z,Y,j,W,K,J,se,o,s,_,k,le,ce,a,c,u,de,h,m,me,fe,f,p,y,x,S,C,G,pe,E,r,ue,xe,_e,Ee,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ke(e)}-${ke(t)}`),T&&(r=`\n <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${T}</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,D,O,P,U,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){L[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>xe(Y),function(e){L[e?"unshift":"push"]((()=>{k=e,n(15,k)}))},()=>_e(Y),()=>_e(Y),function(e){L[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function bi(e,t){Vn(e,t)}!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 20px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 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(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.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}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.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(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.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 var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},vi,mi,o,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),z()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),z()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),z()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),z()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),z()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),z()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),z()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),z()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),z()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),z()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),z()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),z()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),z()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),z()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),z()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),z()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),z()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),z()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),z()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),z()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),z()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),z()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),z()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),z()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),z()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),z()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),z()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),z()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),z()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),z()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const wi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
1285
+ /* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function xi(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
1286
1286
  // (178:4) {#if !isLoading}
1287
- function xi(e){let t,n,i,a,o,s,l,c,u,b,_,C,G,F,k,E,T,M,$,L,I,A,D,O,P,N,R,H,B,z,U,Y=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
1288
- return e[7]?Ci:Si}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=ki(wi(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(Y),b=v(),_=p("div"),C=p("span"),G=y(j),F=v(),K.c(),k=v(),E=p("span"),T=g("svg"),M=g("path"),I=v(),A=p("div"),D=p("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=v(),P=p("button"),N=y(W),x(o,"id","noun_filter_736223"),x(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"),x(o,"transform","translate(-5 -6.2)"),x(o,"fill","#fff"),x(a,"xmlns","http://www.w3.org/2000/svg"),x(a,"width","16"),x(a,"height","16"),x(a,"viewBox","0 0 16 16"),x(c,"class","FilterName"),x(_,"class","FilterValueContainer"),x(l,"class","FilterTextContainer"),x(i,"class","FilterMainArea"),x(M,"id","arrow"),x(M,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x(M,"transform","translate(-274.511 -441.088)"),x(M,"fill","#d1d1d1"),x(T,"xmlns","http://www.w3.org/2000/svg"),x(T,"width","14"),x(T,"height","6.835"),x(T,"viewBox","0 0 14 6.835"),x(E,"class",$="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),x(n,"class",L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),x(D,"class","FilterDropdown"),x(P,"class","ClearFilters"),P.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,x(A,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),x(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,_),d(_,C),d(C,G),d(_,F),K.m(_,null),d(n,k),d(n,E),d(E,T),d(T,M),d(t,I),d(t,A),d(A,D);for(let e=0;e<J.length;e+=1)J[e]&&J[e].m(D,null);d(A,O),d(A,P),d(P,N),z||(U=[w(n,"click",/*click_handler*/e[22]),w(P,"click",/*click_handler_2*/e[25])],z=!0)},p(e,r){if(/*$_*/2048&r[0]&&Y!==(Y=/*$_*/e[11]("filterby")+"")&&S(u,Y),/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("providers")+"")&&S(G,j),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(_,null))),/*isFilterActive*/16&r[0]&&$!==($="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&x(E,"class",$),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&x(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=wi(e,X,t);J[t]?J[t].p(n,r):(J[t]=ki(n),J[t].c(),J[t].m(D,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&S(N,W),/*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":""))&&x(A,"class",H),/*addfilterselector, addsortingselector*/3&r[0]&&B!==(B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&x(t,"class",B)},d(e){e&&m(t),K.d(),f(J,e),z=!1,r(U)}}}
1287
+ function _i(e){let t,n,r,a,o,s,l,c,u,d,w,S,G,F,k,E,T,M,$,L,I,A,D,O,P,N,R,H,B,z,U,Y=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
1288
+ return e[7]?Gi:Ci}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=Ei(xi(e,X,t));return{c(){t=g("div"),n=g("div"),r=g("div"),a=y("svg"),o=y("path"),s=b(),l=g("div"),c=g("span"),u=v(Y),d=b(),w=g("div"),S=g("span"),G=v(j),F=b(),K.c(),k=b(),E=g("span"),T=y("svg"),M=y("path"),I=b(),A=g("div"),D=g("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=b(),P=g("button"),N=v(W),_(o,"id","noun_filter_736223"),_(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),_(o,"transform","translate(-5 -6.2)"),_(o,"fill","#fff"),_(a,"xmlns","http://www.w3.org/2000/svg"),_(a,"width","16"),_(a,"height","16"),_(a,"viewBox","0 0 16 16"),_(c,"class","FilterName"),_(w,"class","FilterValueContainer"),_(l,"class","FilterTextContainer"),_(r,"class","FilterMainArea"),_(M,"id","arrow"),_(M,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_(M,"transform","translate(-274.511 -441.088)"),_(M,"fill","#d1d1d1"),_(T,"xmlns","http://www.w3.org/2000/svg"),_(T,"width","14"),_(T,"height","6.835"),_(T,"viewBox","0 0 14 6.835"),_(E,"class",$="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",L="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(i,f){m(i,t,f),h(t,n),h(n,r),h(r,a),h(a,o),h(r,s),h(r,l),h(l,c),h(c,u),h(l,d),h(l,w),h(w,S),h(S,G),h(w,F),K.m(w,null),h(n,k),h(n,E),h(E,T),h(T,M),h(t,I),h(t,A),h(A,D);for(let e=0;e<J.length;e+=1)J[e]&&J[e].m(D,null);h(A,O),h(A,P),h(P,N),z||(U=[x(n,"click",/*click_handler*/e[22]),x(P,"click",/*click_handler_2*/e[25])],z=!0)},p(e,r){if(/*$_*/2048&r[0]&&Y!==(Y=/*$_*/e[11]("filterby")+"")&&C(u,Y),/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("providers")+"")&&C(G,j),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(w,null))),/*isFilterActive*/16&r[0]&&$!==($="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(E,"class",$),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=xi(e,X,t);J[t]?J[t].p(n,r):(J[t]=Ei(n),J[t].c(),J[t].m(D,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&C(N,W),/*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&&f(t),K.d(),p(J,e),z=!1,i(U)}}}
1289
1289
  // (175:2) {#if hasErrors}
1290
- function _i(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=p("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&S(n,r)},d(e){e&&m(t)}}}
1290
+ function Si(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=g("p"),n=v(r),_(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&C(n,r)},d(e){e&&f(t)}}}
1291
1291
  // (191:14) {:else}
1292
- function Si(e){let t,n;return{c(){t=p("span"),n=y(/*selectionNumber*/e[8]),x(t,"class","FilterCounter")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&S(n,/*selectionNumber*/e[8])},d(e){e&&m(t)}}}
1292
+ function Ci(e){let t,n;return{c(){t=g("span"),n=v(/*selectionNumber*/e[8]),_(t,"class","FilterCounter")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&C(n,/*selectionNumber*/e[8])},d(e){e&&f(t)}}}
1293
1293
  // (189:14) {#if fullSelection}
1294
- function Ci(e){let t,n,r=/*$_*/e[11]("all")+"";return{c(){t=p("span"),n=y(r),x(t,"class","FilterCounter")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("all")+"")&&S(n,r)},d(e){e&&m(t)}}}
1294
+ function Gi(e){let t,n,r=/*$_*/e[11]("all")+"";return{c(){t=g("span"),n=v(r),_(t,"class","FilterCounter")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("all")+"")&&C(n,r)},d(e){e&&f(t)}}}
1295
1295
  // (213:50)
1296
- function Gi(e){let t,n;return{c(){t=p("img"),l(t.src,n=/*vendor*/e[36].logo)||x(t,"src",n),x(t,"alt","vendor logo")},m(e,n){h(e,t,n)},p(e,r){/*vendorArray*/32&r[0]&&!l(t.src,n=/*vendor*/e[36].logo)&&x(t,"src",n)},d(e){e&&m(t)}}}
1296
+ function Fi(e){let t,n;return{c(){t=g("img"),c(t.src,n=/*vendor*/e[36].logo)||_(t,"src",n),_(t,"alt","vendor logo")},m(e,n){m(e,t,n)},p(e,r){/*vendorArray*/32&r[0]&&!c(t.src,n=/*vendor*/e[36].logo)&&_(t,"src",n)},d(e){e&&f(t)}}}
1297
1297
  // (211:16) {#if filterbylogo === "false"}
1298
- function Fi(e){let t,n,r,i,a,o,s,l,c=/*vendor*/e[36].name+"",u=/*vendor*/e[36].games.count+"";return{c(){t=p("div"),n=p("span"),r=y(c),i=v(),a=p("span"),o=y("("),s=y(u),l=y(")"),x(t,"class","FilterItemLabel")},m(e,c){h(e,t,c),d(t,n),d(n,r),d(t,i),d(t,a),d(a,o),d(a,s),d(a,l)},p(e,t){/*vendorArray*/32&t[0]&&c!==(c=/*vendor*/e[36].name+"")&&S(r,c),/*vendorArray*/32&t[0]&&u!==(u=/*vendor*/e[36].games.count+"")&&S(s,u)},d(e){e&&m(t)}}}
1298
+ function ki(e){let t,n,r,i,a,o,s,l,c=/*vendor*/e[36].name+"",u=/*vendor*/e[36].games.count+"";return{c(){t=g("div"),n=g("span"),r=v(c),i=b(),a=g("span"),o=v("("),s=v(u),l=v(")"),_(t,"class","FilterItemLabel")},m(e,c){m(e,t,c),h(t,n),h(n,r),h(t,i),h(t,a),h(a,o),h(a,s),h(a,l)},p(e,t){/*vendorArray*/32&t[0]&&c!==(c=/*vendor*/e[36].name+"")&&C(r,c),/*vendorArray*/32&t[0]&&u!==(u=/*vendor*/e[36].games.count+"")&&C(s,u)},d(e){e&&f(t)}}}
1299
1299
  // (206:10) {#each vendorArray as vendor}
1300
- function ki(e){let t,n,i,a,o,s,l,c,u,f,g,y;function b(){
1301
- /*input_change_handler*/e[23].call(i,/*each_value*/e[37],/*vendor_index*/e[38])}function _(){/*click_handler_1*/
1300
+ function Ei(e){let t,n,r,a,o,s,l,c,u,d,p,y;function v(){
1301
+ /*input_change_handler*/e[23].call(r,/*each_value*/e[37],/*vendor_index*/e[38])}function w(){/*click_handler_1*/
1302
1302
  return e[24](/*vendor*/e[36])}function S(e,t){/*filterbylogo*/
1303
- return"false"===e[2]?Fi:/*filterbylogo*/"true"===e[2]?Gi:void 0}let C=S(e),G=C&&C(e);return{c(){t=p("li"),n=p("label"),i=p("input"),o=v(),s=p("span"),l=v(),G&&G.c(),c=v(),x(i,"type","checkbox"),x(i,"name","checkbox"),i.__value=a=/*vendor*/e[36].name,i.value=i.__value,x(s,"class","FiltersCheckmark"),x(n,"class","FilterLabel"),x(t,"class",u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":"")),t.value=f=/*vendor*/e[36].name},m(r,a){h(r,t,a),d(t,n),d(n,i),i.checked=/*vendor*/e[36].isFilterSelected,d(n,o),d(n,s),d(n,l),G&&G.m(n,null),d(t,c),g||(y=[w(i,"change",b),w(i,"click",_)],g=!0)},p(r,o){e=r,/*vendorArray*/32&o[0]&&a!==(a=/*vendor*/e[36].name)&&(i.__value=a,i.value=i.__value),/*vendorArray*/32&o[0]&&(i.checked=/*vendor*/e[36].isFilterSelected),C===(C=S(e))&&G?G.p(e,o):(G&&G.d(1),G=C&&C(e),G&&(G.c(),G.m(n,null))),/*filterbylogo*/4&o[0]&&u!==(u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":""))&&x(t,"class",u),/*vendorArray*/32&o[0]&&f!==(f=/*vendor*/e[36].name)&&(t.value=f)},d(e){e&&m(t),G&&G.d(),g=!1,r(y)}}}function Ei(t){let n;function r(e,t){/*hasErrors*/
1304
- return e[10]?_i:/*isLoading*/e[9]?void 0:xi}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)
1305
- /*div_binding*/,t[26](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()
1306
- /*div_binding*/,t[26](null)}}}function Ti(e,t,n){let r;u(e,Ar,(e=>n(11,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{categoryid:h=""}=t,{addfilterselector:m="false"}=t,{addsortingselector:f="false"}=t,{filterbylogo:p="false"}=t,g=!1,y=window.navigator.userAgent,v=[],b=[],w={},x=!1,_=0,S=!0,C=!1;
1303
+ return"false"===e[2]?ki:/*filterbylogo*/"true"===e[2]?Fi:void 0}let C=S(e),G=C&&C(e);return{c(){t=g("li"),n=g("label"),r=g("input"),o=b(),s=g("span"),l=b(),G&&G.c(),c=b(),_(r,"type","checkbox"),_(r,"name","checkbox"),r.__value=a=/*vendor*/e[36].name,r.value=r.__value,_(s,"class","FiltersCheckmark"),_(n,"class","FilterLabel"),_(t,"class",u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":"")),t.value=d=/*vendor*/e[36].name},m(i,a){m(i,t,a),h(t,n),h(n,r),r.checked=/*vendor*/e[36].isFilterSelected,h(n,o),h(n,s),h(n,l),G&&G.m(n,null),h(t,c),p||(y=[x(r,"change",v),x(r,"click",w)],p=!0)},p(i,o){e=i,/*vendorArray*/32&o[0]&&a!==(a=/*vendor*/e[36].name)&&(r.__value=a,r.value=r.__value),/*vendorArray*/32&o[0]&&(r.checked=/*vendor*/e[36].isFilterSelected),C===(C=S(e))&&G?G.p(e,o):(G&&G.d(1),G=C&&C(e),G&&(G.c(),G.m(n,null))),/*filterbylogo*/4&o[0]&&u!==(u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":""))&&_(t,"class",u),/*vendorArray*/32&o[0]&&d!==(d=/*vendor*/e[36].name)&&(t.value=d)},d(e){e&&f(t),G&&G.d(),p=!1,i(y)}}}function Ti(e){let n;function r(e,t){/*hasErrors*/
1304
+ return e[10]?Si:/*isLoading*/e[9]?void 0:_i}let i=r(e),a=i&&i(e);return{c(){n=g("div"),a&&a.c(),this.c=t},m(t,r){m(t,n,r),a&&a.m(n,null)
1305
+ /*div_binding*/,e[26](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:t,o:t,d(t){t&&f(n),a&&a.d()
1306
+ /*div_binding*/,e[26](null)}}}function Mi(e,t,n){let r;d(e,Dr,(e=>n(11,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{categoryid:h=""}=t,{addfilterselector:m="false"}=t,{addsortingselector:f="false"}=t,{filterbylogo:p="false"}=t,g=!1,y=window.navigator.userAgent,v=[],b=[],w={},x=!1,_=0,S=!0,C=!1;
1307
1307
  // start translations area
1308
- !function({withLocale:e,translations:t}){fr.subscribe((n=>{null==n&&(Un.set(t),fr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1308
+ !function({withLocale:e,translations:t}){pr.subscribe((n=>{null==n&&(Yn.set(t),pr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1309
1309
  /*dictionary.set(translations);
1310
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(bi).forEach((e=>{vi(e,bi[e])}));
1310
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(wi).forEach((e=>{bi(e,wi[e])}));
1311
1311
  // end custom styling area
1312
1312
  w[h]&&(w={[h]:[]});const G=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},F=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),k()},k=()=>{
1313
1313
  // update filters value
1314
- n(7,x=b.length===v.length||0==b.length),n(8,_=b.length)},E=()=>{const e=new URL(`${a}/v1/casino/vendors`);n(4,g=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",s),e.searchParams.append("datasource",o),e.searchParams.append("platform",Or(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),
1314
+ n(7,x=b.length===v.length||0==b.length),n(8,_=b.length)},E=()=>{const e=new URL(`${a}/v1/casino/vendors`);n(4,g=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",s),e.searchParams.append("datasource",o),e.searchParams.append("platform",Pr(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),
1315
1315
  // needed to force the update of the filters value
1316
- k()})).catch((e=>{console.error(e),n(10,C=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},M=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
1316
+ k()})).catch((e=>{console.error(e),n(10,C=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},T=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
1317
1317
  // this reassignation of the pointer value is required in order to have Svelte trigger a re-render
1318
- n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,x=!0),n(4,g=!1)},L=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};T((()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,d=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&E(),/*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=>{vi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,x,_,S,C,r,G,F,M,a,o,s,l,c,d,h,()=>G(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>F(e),()=>M(),function(e){$[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function Mi(e,t){Wn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Ti,Ei,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),B()))}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}),B()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),B()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}});const $i={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
1319
- /* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function Li(e,t,n){const r=e.slice();return r[23]=t[n],r}
1318
+ n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,x=!0),n(4,g=!1)},$=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};M((()=>(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,u=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&&E(),/*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]&&u&&i&&(()=>{let e=document.createElement("style");fetch(new URL(u)).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=>{bi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,x,_,S,C,r,G,F,T,a,o,s,l,c,u,h,()=>G(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>F(e),()=>T(),function(e){L[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function $i(e,t){Vn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Mi,Ti,o,{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&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),z()))}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}),z()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),z()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),z()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),z()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),z()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),z()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),z()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),z()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),z()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),z()}});const Li={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
1319
+ /* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function Ii(e,t,n){const r=e.slice();return r[23]=t[n],r}
1320
1320
  // (114:4) {#if !isLoading}
1321
- function Ii(e){let t,n,r,i,a,o,s,l,c,u,b,_,C,G,F,k,E,T,M,$,L,I,A,D,O,P,N,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",z=Object.values(/*vendorMap*/e[5]),U=[];for(let t=0;t<z.length;t+=1)U[t]=Ai(Li(e,z,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"),_=y(H),C=v(),G=p("div"),F=p("span"),k=y(B),E=v(),T=p("span"),M=g("svg"),$=g("path"),A=v(),D=p("div"),O=p("ul");for(let e=0;e<U.length;e+=1)U[e].c();x(o,"id","Path_5267"),x(o,"data-name","Path 5267"),x(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"),x(o,"transform","translate(-206.448 0)"),x(o,"fill","#fff"),x(s,"id","Path_5268"),x(s,"data-name","Path 5268"),x(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"),x(s,"transform","translate(0 0)"),x(s,"fill","#fff"),x(l,"id","Path_5269"),x(l,"data-name","Path 5269"),x(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"),x(l,"transform","translate(-412.896 0)"),x(l,"fill","#fff"),x(a,"id","sortby"),x(a,"transform","translate(-306 -342)"),x(i,"xmlns","http://www.w3.org/2000/svg"),x(i,"width","20"),x(i,"height","20"),x(i,"viewBox","0 0 26.003 22.819"),x(b,"class","SorterName"),x(G,"class","SorterValueContainer"),x(u,"class","SorterTextContainer"),x(r,"class","SorterMainArea"),x($,"id","arrow"),x($,"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"),x($,"transform","translate(-274.511 -441.088)"),x($,"fill","#d1d1d1"),x(M,"xmlns","http://www.w3.org/2000/svg"),x(M,"width","14"),x(M,"height","6.835"),x(M,"viewBox","0 0 14 6.835"),x(T,"class",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),x(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),x(O,"class","SorterDropdown"),x(D,"class",P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),x(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,_),d(u,C),d(u,G),d(G,F),d(F,k),d(n,E),d(n,T),d(T,M),d(M,$),d(t,A),d(t,D),d(D,O);for(let e=0;e<U.length;e+=1)U[e]&&U[e].m(O,null);N||(R=w(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&S(_,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&S(k,B),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&x(T,"class",L),/*isSorterActive*/2&t&&I!==(I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&x(n,"class",I),/*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/120&t){let n;for(z=Object.values(/*vendorMap*/e[5]),n=0;n<z.length;n+=1){const r=Li(e,z,n);U[n]?U[n].p(r,t):(U[n]=Ai(r),U[n].c(),U[n].m(O,null))}for(;n<U.length;n+=1)U[n].d(1);U.length=z.length}/*isSorterActive*/2&t&&P!==(P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&x(D,"class",P)},d(e){e&&m(t),f(U,e),N=!1,R()}}}
1321
+ function Ai(e){let t,n,r,i,a,o,s,l,c,u,d,w,S,G,F,k,E,T,M,$,L,I,A,D,O,P,N,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",z=Object.values(/*vendorMap*/e[5]),U=[];for(let t=0;t<z.length;t+=1)U[t]=Di(Ii(e,z,t));return{c(){t=g("div"),n=g("div"),r=g("div"),i=y("svg"),a=y("g"),o=y("path"),s=y("path"),l=y("path"),c=b(),u=g("div"),d=g("span"),w=v(H),S=b(),G=g("div"),F=g("span"),k=v(B),E=b(),T=g("span"),M=y("svg"),$=y("path"),A=b(),D=g("div"),O=g("ul");for(let e=0;e<U.length;e+=1)U[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"),_(d,"class","SorterName"),_(G,"class","SorterValueContainer"),_(u,"class","SorterTextContainer"),_(r,"class","SorterMainArea"),_($,"id","arrow"),_($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_($,"transform","translate(-274.511 -441.088)"),_($,"fill","#d1d1d1"),_(M,"xmlns","http://www.w3.org/2000/svg"),_(M,"width","14"),_(M,"height","6.835"),_(M,"viewBox","0 0 14 6.835"),_(T,"class",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),_(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),_(O,"class","SorterDropdown"),_(D,"class",P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),_(t,"class","SorterContainer")},m(f,p){m(f,t,p),h(t,n),h(n,r),h(r,i),h(i,a),h(a,o),h(a,s),h(a,l),h(r,c),h(r,u),h(u,d),h(d,w),h(u,S),h(u,G),h(G,F),h(F,k),h(n,E),h(n,T),h(T,M),h(M,$),h(t,A),h(t,D),h(D,O);for(let e=0;e<U.length;e+=1)U[e]&&U[e].m(O,null);N||(R=x(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&C(w,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&C(k,B),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&_(T,"class",L),/*isSorterActive*/2&t&&I!==(I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&_(n,"class",I),/*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/120&t){let n;for(z=Object.values(/*vendorMap*/e[5]),n=0;n<z.length;n+=1){const r=Ii(e,z,n);U[n]?U[n].p(r,t):(U[n]=Di(r),U[n].c(),U[n].m(O,null))}for(;n<U.length;n+=1)U[n].d(1);U.length=z.length}/*isSorterActive*/2&t&&P!==(P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&_(D,"class",P)},d(e){e&&f(t),p(U,e),N=!1,R()}}}
1322
1322
  // (140:10) {#each Object.values(vendorMap) as sort}
1323
- function Ai(e){let t,n,r,i,a,o,s,l,c,u,f,g,b=/*sort*/e[23]+"";function _(){/*click_handler_1*/
1324
- 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(),x(r,"type","radio"),x(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"),x(o,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(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",_),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 Di(t){let n;function r(e,t){if(!/*isLoading*/e[2])return Ii}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)
1325
- /*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()
1326
- /*div_binding*/,t[15](null)}}}function Oi(e,t,n){let r;u(e,Ar,(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}){fr.subscribe((n=>{null==n&&(Un.set(t),fr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1323
+ function Di(e){let t,n,r,i,a,o,s,l,c,u,d,p,y=/*sort*/e[23]+"";function w(){/*click_handler_1*/
1324
+ return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),a=b(),o=g("span"),s=b(),l=g("span"),c=v(y),u=b(),_(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){m(e,t,i),h(t,n),h(n,r),h(n,a),h(n,o),h(n,s),h(n,l),h(l,c),h(t,u),d||(p=x(r,"click",w),d=!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&&f(t),d=!1,p()}}}function Oi(e){let n;function r(e,t){if(!/*isLoading*/e[2])return Ai}let i=r(e),a=i&&i(e);return{c(){n=g("div"),a&&a.c(),this.c=t},m(t,r){m(t,n,r),a&&a.m(n,null)
1325
+ /*div_binding*/,e[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:t,o:t,d(t){t&&f(n),a&&a.d()
1326
+ /*div_binding*/,e[15](null)}}}function Pi(e,t,n){let r;d(e,Dr,(e=>n(4,r=e)));let i,{lang:a=""}=t,{translationurl:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,{categoryid:c=""}=t,u=!1,h=!0,m="",f="All";!function({withLocale:e,translations:t}){pr.subscribe((n=>{null==n&&(Yn.set(t),pr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1327
1327
  /*dictionary.set(translations);
1328
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys($i).forEach((e=>{Mi(e,$i[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)};T((()=>(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=>{Mi(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){$[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
1328
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Li).forEach((e=>{$i(e,Li[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,u=!u)},y=()=>{n(1,u=!u),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,u=!1)};M((()=>(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,u=!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=>{$i(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,u,h,f,r,p,g,y,a,o,s,l,c,()=>y(),e=>g(e),function(e){L[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
1329
1329
  /* ../casino-games-category-section-nd/src/CasinoGamesCategorySectionNd.svelte generated by Svelte v3.59.2 */
1330
- function Pi(e,t,n){const r=e.slice();return r[90]=t[n],r[92]=n,r}function Ni(e,t,n){const r=e.slice();return r[90]=t[n],r[93]=t,r[92]=n,r}function Ri(e,t,n){const r=e.slice();return r[90]=t[n],r[92]=n,r}
1331
- // (751:4) {:else}
1332
- function Hi(e){let t;function n(e,t){/*categoryData*/
1333
- return e[26]?Yi:/*showFavGamesCategory*/e[37]?Ui: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()}}}
1334
- // (689:4) {#if searched}
1335
- function Bi(e){let t,n,r;function i(e,t){/*recentSearched*/
1336
- return e[30]?pa:/*shownCategoryData*/e[27].length?ma:fa}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
1337
- return e[27]?ya:ga}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(),c.c(),x(n,"class","CasinoGamesHeader Searched "+(Dr(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),d(t,n),o.m(n,null),d(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&o?o.p(e,r):(o.d(1),o=a(e),o&&(o.c(),o.m(n,null))),l===(l=s(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),o.d(),c.d()}}}
1338
- // (681:2) {#if hasErrors}
1339
- function zi(e){let t;function n(e,t){/*presentFilters*/
1340
- return e[32]?xa:wa}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)}}}
1341
- // (856:39)
1342
- function Ui(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[18]&&ji(e);function o(e,t){/*isLoading*/
1343
- return e[23]&&!/*isLazyLoading*/e[34]?Zi:/*favoriteGamesData*/e[40]?Vi:Wi}let s=o(e),l=s(e);return{c(){t=p("div"),a&&a.c(),n=v(),r=p("ul"),l.c(),x(r,"class",i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),x(t,"class","CasinoGamesContainer")},m(i,o){h(i,t,o),a&&a.m(t,null),d(t,n),d(t,r),l.m(r,null),
1344
- /*ul_binding_1*/e[56](r)},p(e,c){/*casinomygames*/"true"!==e[18]?a?a.p(e,c):(a=ji(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),s===(s=o(e))&&l?l.p(e,c):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/512&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&x(r,"class",i)},d(n){n&&m(t),a&&a.d(),l.d(),
1330
+ function Ni(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}function Ri(e,t,n){const r=e.slice();return r[91]=t[n],r[94]=t,r[93]=n,r}function Hi(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}
1331
+ // (755:4) {:else}
1332
+ function Bi(e){let t;function n(e,t){/*categoryData*/
1333
+ return e[26]?ji:/*showFavGamesCategory*/e[37]?Yi:void 0}let r=n(e),i=r&&r(e);return{c(){t=g("div"),i&&i.c()},m(e,n){m(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&&f(t),i&&i.d()}}}
1334
+ // (693:4) {#if searched}
1335
+ function zi(e){let t,n,r;function i(e,t){/*recentSearched*/
1336
+ return e[30]?ga:/*shownCategoryData*/e[27].length?fa:pa}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
1337
+ return e[27]?va:ya}let l=s(e),c=l(e);return{c(){t=g("div"),n=g("div"),o.c(),r=b(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(Or(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer")},m(e,i){m(e,t,i),h(t,n),o.m(n,null),h(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&&f(t),o.d(),c.d()}}}
1338
+ // (685:2) {#if hasErrors}
1339
+ function Ui(e){let t;function n(e,t){/*presentFilters*/
1340
+ return e[32]?_a:xa}let r=n(e),i=r(e);return{c(){i.c(),t=w()},m(e,n){i.m(e,n),m(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&&f(t)}}}
1341
+ // (860:39)
1342
+ function Yi(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[18]&&Wi(e);function o(e,t){/*isLoading*/
1343
+ return e[23]&&!/*isLazyLoading*/e[34]?Ki:/*favoriteGamesData*/e[40]?Zi:Vi}let s=o(e),l=s(e);return{c(){t=g("div"),a&&a.c(),n=b(),r=g("ul"),l.c(),_(r,"class",i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(t,"class","CasinoGamesContainer")},m(i,o){m(i,t,o),a&&a.m(t,null),h(t,n),h(t,r),l.m(r,null),
1344
+ /*ul_binding_1*/e[56](r)},p(e,c){/*casinomygames*/"true"!==e[18]?a?a.p(e,c):(a=Wi(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),s===(s=o(e))&&l?l.p(e,c):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/512&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(r,"class",i)},d(n){n&&f(t),a&&a.d(),l.d(),
1345
1345
  /*ul_binding_1*/e[56](null)}}}
1346
- // (753:8) {#if categoryData}
1347
- function Yi(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&ia(e);function i(e,t){/*isLoading*/
1348
- return e[23]&&!/*isLazyLoading*/e[34]?da:/*shownCategoryData*/0!==e[27].length?ua:ca}let a=i(e),o=a(e);return{c(){t=p("div"),r&&r.c(),n=v(),o.c(),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[18]?r?r.p(e,s):(r=ia(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o.d(1),o=a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&m(t),r&&r.d(),o.d()}}}
1349
- // (858:14) {#if casinomygames !== 'true'}
1350
- function ji(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].items.length+"";return{c(){t=p("div"),n=p("h3"),r=y(c),i=v(),a=p("span"),o=y("("),s=y(u),l=y(")"),x(a,"class","CategoryFavName"),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(a,o),d(a,s),d(a,l),
1351
- /*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&S(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&S(s,u)},d(n){n&&m(t)
1346
+ // (757:8) {#if categoryData}
1347
+ function ji(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&aa(e);function i(e,t){/*isLoading*/
1348
+ return e[23]&&!/*isLazyLoading*/e[34]?ha:/*shownCategoryData*/0!==e[27].length?da:ua}let a=i(e),o=a(e);return{c(){t=g("div"),r&&r.c(),n=b(),o.c(),_(t,"class","CasinoGamesContainer")},m(e,i){m(e,t,i),r&&r.m(t,null),h(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[18]?r?r.p(e,s):(r=aa(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o.d(1),o=a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&f(t),r&&r.d(),o.d()}}}
1349
+ // (862:14) {#if casinomygames !== 'true'}
1350
+ function Wi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].items.length+"";return{c(){t=g("div"),n=g("h3"),r=v(c),i=b(),a=g("span"),o=v("("),s=v(u),l=v(")"),_(a,"class","CategoryFavName"),_(n,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(a,s),h(a,l),
1351
+ /*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&C(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&C(s,u)},d(n){n&&f(t)
1352
1352
  /*h3_binding_1*/,e[55](null)}}}
1353
- // (969:18) {:else}
1354
- function Wi(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=p("p"),n=y(r)},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&S(n,r)},d(e){e&&m(t)}}}
1355
- // (871:18) {#if favoriteGamesData}
1356
- function Vi(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ra(Pi(e,n,t));let i=null;return n.length||(i=Ki(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&a[1]){let o;for(n=/*favoriteGamesData*/e[40].items,o=0;o<n.length;o+=1){const i=Pi(e,n,o);r[o]?r[o].p(i,a):(r[o]=ra(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=Ki(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
1357
- // (868:16) {#if isLoading && !isLazyLoading}
1358
- function Zi(t){let n;return{c(){n=p("div"),x(n,"class","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1359
- // (950:20) {:else}
1360
- function Ki(e){let t,n,r,i,a,o,s,l,c,u,f,b,w,_,C=/*$_*/e[41]("noFavoritesTitle")+"";let G=function(e){return Dr(/*userAgent*/e[42])?Ji:Xi}(e),F=G(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(C),w=v(),F.c(),_=v(),x(r,"x","1"),x(r,"y","18.053"),x(r,"width","90.263"),x(r,"height","90.263"),x(r,"rx","12"),x(r,"stroke","var(--emw--color-gray-150, #828282)"),x(r,"stroke-width","1.5"),x(i,"x","106.737"),x(i,"y","56.737"),x(i,"width","90.263"),x(i,"height","90.263"),x(i,"rx","12"),x(i,"stroke","var(--emw--color-gray-150, #828282)"),x(i,"stroke-width","1.5"),x(a,"cx","70.5"),x(a,"cy","32.237"),x(a,"r","31.487"),x(a,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(a,"stroke-width","1.5"),x(a,"stroke-dasharray","5 0"),x(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"),x(o,"fill","var(--emw-color-gray-150, #828282)"),x(s,"d","M78 43h11v13H78V43z"),x(s,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(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"),x(l,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(l,"stroke-linecap","round"),x(l,"stroke-linejoin","round"),x(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"),x(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(c,"stroke-width","1.5"),x(c,"stroke-linecap","round"),x(c,"stroke-linejoin","round"),x(n,"width","198"),x(n,"height","148"),x(n,"viewBox","0 0 198 148"),x(n,"fill","none"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(f,"class","NoFavoriteText NoFavoriteTextHighlight"),x(t,"class","NoFavoriteGames "+(Dr(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(n,o),d(n,s),d(n,l),d(n,c),d(t,u),d(t,f),d(f,b),d(t,w),F.m(t,null),d(t,_)},p(e,t){/*$_*/1024&t[1]&&C!==(C=/*$_*/e[41]("noFavoritesTitle")+"")&&S(b,C),F.p(e,t)},d(e){e&&m(t),F.d()}}}
1361
- // (964:24) {:else}
1362
- function Xi(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=p("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&S(n,r)},d(e){e&&m(t)}}}
1363
- // (962:24) {#if isMobile(userAgent)}
1364
- function Ji(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=p("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&S(n,r)},d(e){e&&m(t)}}}
1365
- // (873:22) {#if gameprops.gameModel}
1366
- function qi(e){let t,n=/*gameprops*/e[90].gameModel.isFavorite&&Qi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[90].gameModel.isFavorite?n?n.p(e,r):(n=Qi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1367
- // (874:24) {#if gameprops.gameModel.isFavorite}
1368
- function Qi(e){let t,n=
1369
- // (875:26) {#if intersecting || nativeLoading}
1353
+ // (973:18) {:else}
1354
+ function Vi(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=g("p"),n=v(r)},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&C(n,r)},d(e){e&&f(t)}}}
1355
+ // (875:18) {#if favoriteGamesData}
1356
+ function Zi(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ia(Ni(e,n,t));let i=null;return n.length||(i=Xi(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=w(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&a[1]){let o;for(n=/*favoriteGamesData*/e[40].items,o=0;o<n.length;o+=1){const i=Ni(e,n,o);r[o]?r[o].p(i,a):(r[o]=ia(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=Xi(e),i.c(),i.m(t.parentNode,t))}},d(e){p(r,e),e&&f(t),i&&i.d(e)}}}
1357
+ // (872:16) {#if isLoading && !isLazyLoading}
1358
+ function Ki(e){let n;return{c(){n=g("div"),_(n,"class","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
1359
+ // (954:20) {:else}
1360
+ function Xi(e){let t,n,r,i,a,o,s,l,c,u,d,p,w,x,S=/*$_*/e[41]("noFavoritesTitle")+"";let G=function(e){return Or(/*userAgent*/e[42])?qi:Ji}(e),F=G(e);return{c(){t=g("p"),n=y("svg"),r=y("rect"),i=y("rect"),a=y("circle"),o=y("path"),s=y("path"),l=y("path"),c=y("path"),u=b(),d=g("span"),p=v(S),w=b(),F.c(),x=b(),_(r,"x","1"),_(r,"y","18.053"),_(r,"width","90.263"),_(r,"height","90.263"),_(r,"rx","12"),_(r,"stroke","var(--emw--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(--emw--color-gray-150, #828282)"),_(i,"stroke-width","1.5"),_(a,"cx","70.5"),_(a,"cy","32.237"),_(a,"r","31.487"),_(a,"stroke","var(--emw--casino-color-primary, var(--emw--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(--emw-color-gray-150, #828282)"),_(s,"d","M78 43h11v13H78V43z"),_(s,"stroke","var(--emw--casino-color-primary, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),_(l,"stroke","var(--emw--casino-color-primary, var(--emw--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(--emw--casino-color-primary, var(--emw--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"),_(d,"class","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class","NoFavoriteGames "+(Or(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,f){m(e,t,f),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),h(n,s),h(n,l),h(n,c),h(t,u),h(t,d),h(d,p),h(t,w),F.m(t,null),h(t,x)},p(e,t){/*$_*/1024&t[1]&&S!==(S=/*$_*/e[41]("noFavoritesTitle")+"")&&C(p,S),F.p(e,t)},d(e){e&&f(t),F.d()}}}
1361
+ // (968:24) {:else}
1362
+ function Ji(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=g("span"),n=v(r),_(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&C(n,r)},d(e){e&&f(t)}}}
1363
+ // (966:24) {#if isMobile(userAgent)}
1364
+ function qi(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=g("span"),n=v(r),_(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&C(n,r)},d(e){e&&f(t)}}}
1365
+ // (877:22) {#if gameprops.gameModel}
1366
+ function Qi(e){let t,n=/*gameprops*/e[91].gameModel.isFavorite&&ea(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[91].gameModel.isFavorite?n?n.p(e,r):(n=ea(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
1367
+ // (878:24) {#if gameprops.gameModel.isFavorite}
1368
+ function ea(e){let t,n=
1369
+ // (879:26) {#if intersecting || nativeLoading}
1370
1370
  function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
1371
- return 512&r[1]&&(n=null),null==t&&(t=!!Dr(/*userAgent*/e[42])),t?ta:(null==n&&(n=!!/*gameprops*/e[90].gameModel.platform.includes("PC")),n?ea:void 0)}let a=i(e,[-1,-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=b()},m(e,t){o&&o.m(e,t),h(e,r,t)},p(e,t){a===(a=i(e,t))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&m(r)}}}
1372
- // (912:82)
1373
- (e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function ea(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v;return{c(){t=p("casino-game-thumbnail-nd"),_(t,"class",n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"part",r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[90].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[90].gameModel.name),_(t,"gamevendor",o=/*gameprops*/e[90].gameModel.vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[90].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),_(t,"gameid",d=/*gameprops*/e[90].gameModel.id),_(t,"gamefunmode",f=/*gameprops*/e[90].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"gamefavorite",g=/*gameprops*/e[90].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*translationurl*/2048&h[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[90].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[90].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[90].gameModel.vendor.logo)&&_(t,"gamevendor",o),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[90].launchUrl)&&_(t,"gamelaunchurl",s),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[90].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[90].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[90].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&f!==(f=/*gameprops*/e[90].gameModel.hasFunMode)&&_(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[90].gameModel.isFavorite)&&_(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&h[0]&&_(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1374
- // (876:28) {#if isMobile(userAgent)}
1375
- function ta(e){let t,n=/*gameprops*/e[90].gameModel.platform.includes("iPad")||/*gameprops*/e[90].gameModel.platform.includes("iPhone")||/*gameprops*/e[90].gameModel.platform.includes("Android"),r=n&&na(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),h(e,t,n)},p(e,i){/*favoriteGamesData*/512&i[1]&&(n=/*gameprops*/e[90].gameModel.platform.includes("iPad")||/*gameprops*/e[90].gameModel.platform.includes("iPhone")||/*gameprops*/e[90].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=na(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
1376
- // (877:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
1377
- function na(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v;return{c(){t=p("casino-game-thumbnail-nd"),_(t,"class",n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"part",r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[90].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[90].gameModel.name),_(t,"gamevendor",o=/*gameprops*/e[90].gameModel.vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[90].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),_(t,"gameid",d=/*gameprops*/e[90].gameModel.id),_(t,"gamefunmode",f=/*gameprops*/e[90].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"gamefavorite",g=/*gameprops*/e[90].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[90].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[90].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[90].gameModel.vendor.logo)&&_(t,"gamevendor",o),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[90].launchUrl)&&_(t,"gamelaunchurl",s),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[90].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[90].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[90].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[90].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&f!==(f=/*gameprops*/e[90].gameModel.hasFunMode)&&_(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[90].gameModel.isFavorite)&&_(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&h[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&h[0]&&_(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[90].gameModel.details?/*gameprops*/e[90].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1378
- // (872:20) {#each favoriteGamesData.items as gameprops, index}
1379
- function ra(e){let t,n=/*gameprops*/e[90].gameModel&&qi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[90].gameModel?n?n.p(e,r):(n=qi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1380
- // (755:12) {#if casinomygames !== 'true'}
1381
- function ia(e){let t,n,r,i,a,o,s=/*categoryData*/e[26].name+"";function l(e,t){/*showLoadCategory*/
1382
- return e[28]?oa:aa}let c=l(e),u=c(e);return{c(){t=p("div"),n=p("span"),n.innerHTML='<div class="CategoryIconAnimation"></div> \n <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',r=v(),i=p("h3"),a=y(s),o=v(),u.c(),x(n,"class","CategoryIcon"),x(i,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(s,l){h(s,t,l),d(t,n),d(t,r),d(t,i),d(i,a),
1383
- /*h3_binding*/e[51](i),d(t,o),u.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&s!==(s=/*categoryData*/e[26].name+"")&&S(a,s),c===(c=l(e))&&u?u.p(e,n):(u.d(1),u=c(e),u&&(u.c(),u.m(t,null)))},d(n){n&&m(t)
1371
+ return 512&r[1]&&(n=null),null==t&&(t=!!Or(/*userAgent*/e[42])),t?na:(null==n&&(n=!!/*gameprops*/e[91].gameModel.platform.includes("PC")),n?ta:void 0)}let a=i(e,[-1,-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=w()},m(e,t){o&&o.m(e,t),m(e,r,t)},p(e,t){a===(a=i(e,t))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&f(r)}}}
1372
+ // (916:82)
1373
+ (e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&f(t)}}}function ta(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y,v;return{c(){t=g("casino-game-thumbnail-nd"),S(t,"class",n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"translationurl",/*translationurl*/e[11]),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[91].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[91].gameModel.vendor.logo),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].gameModel.isNew),S(t,"gametag",c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[91].gameModel.hasFunMode),S(t,"showgamename",/*showgamename*/e[13]),S(t,"gamefavorite",p=/*gameprops*/e[91].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),S(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[39]),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*session*/64&m[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&S(t,"lang",/*lang*/e[5]),/*translationurl*/2048&m[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&m[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[91].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[91].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[91].gameModel.vendor.logo)&&S(t,"gamevendor",o),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[91].gameModel.isNew)&&S(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags))&&S(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[91].gameModel.id)&&S(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&h!==(h=/*gameprops*/e[91].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&p!==(p=/*gameprops*/e[91].gameModel.isFavorite)&&S(t,"gamefavorite",p),/*showFavGamesCategory*/64&m[1]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&S(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&S(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&f(t)}}}
1374
+ // (880:28) {#if isMobile(userAgent)}
1375
+ function na(e){let t,n=/*gameprops*/e[91].gameModel.platform.includes("iPad")||/*gameprops*/e[91].gameModel.platform.includes("iPhone")||/*gameprops*/e[91].gameModel.platform.includes("Android"),r=n&&ra(e);return{c(){r&&r.c(),t=w()},m(e,n){r&&r.m(e,n),m(e,t,n)},p(e,i){/*favoriteGamesData*/512&i[1]&&(n=/*gameprops*/e[91].gameModel.platform.includes("iPad")||/*gameprops*/e[91].gameModel.platform.includes("iPhone")||/*gameprops*/e[91].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=ra(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&f(t)}}}
1376
+ // (881:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
1377
+ function ra(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y,v;return{c(){t=g("casino-game-thumbnail-nd"),S(t,"class",n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[91].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[91].gameModel.vendor.logo),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].gameModel.isNew),S(t,"gametag",c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[91].gameModel.hasFunMode),S(t,"showgamename",/*showgamename*/e[13]),S(t,"gamefavorite",p=/*gameprops*/e[91].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),S(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[39]),S(t,"translationurl",/*translationurl*/e[11]),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*session*/64&m[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&S(t,"lang",/*lang*/e[5]),/*favorites*/256&m[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[91].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[91].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[91].gameModel.vendor.logo)&&S(t,"gamevendor",o),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[91].gameModel.isNew)&&S(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags))&&S(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[91].gameModel.id)&&S(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&h!==(h=/*gameprops*/e[91].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&p!==(p=/*gameprops*/e[91].gameModel.isFavorite)&&S(t,"gamefavorite",p),/*showFavGamesCategory*/64&m[1]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&S(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&m[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&m[0]&&S(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&f(t)}}}
1378
+ // (876:20) {#each favoriteGamesData.items as gameprops, index}
1379
+ function ia(e){let t,n=/*gameprops*/e[91].gameModel&&Qi(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[91].gameModel?n?n.p(e,r):(n=Qi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
1380
+ // (759:12) {#if casinomygames !== 'true'}
1381
+ function aa(e){let t,n,r,i,a,o,s=/*categoryData*/e[26].name+"";function l(e,t){/*showLoadCategory*/
1382
+ return e[28]?sa:oa}let c=l(e),u=c(e);return{c(){t=g("div"),n=g("span"),n.innerHTML='<div class="CategoryIconAnimation"></div> \n <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',r=b(),i=g("h3"),a=v(s),o=b(),u.c(),_(n,"class","CategoryIcon"),_(i,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(s,l){m(s,t,l),h(t,n),h(t,r),h(t,i),h(i,a),
1383
+ /*h3_binding*/e[51](i),h(t,o),u.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&s!==(s=/*categoryData*/e[26].name+"")&&C(a,s),c===(c=l(e))&&u?u.p(e,n):(u.d(1),u=c(e),u&&(u.c(),u.m(t,null)))},d(n){n&&f(t)
1384
1384
  /*h3_binding*/,e[51](null),u.d()}}}
1385
- // (779:16) {:else}
1386
- function aa(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&sa(e),a=/*addsortingselector*/"true"==e[2]&&la(e);return{c(){t=p("div"),i&&i.c(),n=v(),a&&a.c(),x(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){h(e,t,r),i&&i.m(t,null),d(t,n),a&&a.m(t,null)},p(e,o){/*addfilterselector*/"true"==e[1]?i?i.p(e,o):(i=sa(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,o):(a=la(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&o[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&x(t,"class",r)},d(e){e&&m(t),i&&i.d(),a&&a.d()}}}
1387
- // (772:16) {#if showLoadCategory}
1388
- function oa(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=p("a"),n=p("span"),r=y(c),i=y(" ("),a=y(u),o=y(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(n,o),s||(l=w(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&S(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&S(a,u)},d(e){e&&m(t),s=!1,l()}}}
1389
- // (781:22) {#if addfilterselector == "true"}
1390
- function sa(e){let t;return{c(){t=p("casino-filter"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"datasource",/*datasource*/e[4]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addfilterselector",/*addfilterselector*/e[1]),_(t,"addsortingselector",/*addsortingselector*/e[2]),_(t,"filterbylogo",/*filterbylogo*/e[19])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&_(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&_(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/524288&n[0]&&_(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&m(t)}}}
1391
- // (794:22) {#if addsortingselector == "true"}
1392
- function la(e){let t;return{c(){t=p("casino-sort"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&m(t)}}}
1393
- // (851:14) {:else}
1394
- function ca(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=p("p"),n=y(r),x(t,"class","NoSearchResults")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
1395
- // (810:14) {#if shownCategoryData.length !== 0 }
1396
- function ua(e){let t,n,r=/*shownCategoryData*/e[27],i=[];for(let t=0;t<r.length;t+=1)i[t]=ha(Ni(e,r,t));return{c(){t=p("ul");for(let e=0;e<i.length;e+=1)i[e].c();x(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){h(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
1397
- /*ul_binding*/e[54](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&a[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const o=Ni(e,r,n);i[n]?i[n].p(o,a):(i[n]=ha(o),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&a[0]|/*favoriteGamesData, showFavGamesCategory*/576&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&x(t,"class",n)},d(n){n&&m(t),f(i,n),
1385
+ // (783:16) {:else}
1386
+ function oa(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&la(e),a=/*addsortingselector*/"true"==e[2]&&ca(e);return{c(){t=g("div"),i&&i.c(),n=b(),a&&a.c(),_(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){m(e,t,r),i&&i.m(t,null),h(t,n),a&&a.m(t,null)},p(e,o){/*addfilterselector*/"true"==e[1]?i?i.p(e,o):(i=la(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,o):(a=ca(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&o[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&_(t,"class",r)},d(e){e&&f(t),i&&i.d(),a&&a.d()}}}
1387
+ // (776:16) {#if showLoadCategory}
1388
+ function sa(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=g("a"),n=g("span"),r=v(c),i=v(" ("),a=v(u),o=v(")"),_(n,"class","CategoryLoadMore"),_(t,"class","CategoryNameLink")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),s||(l=x(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&C(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&C(a,u)},d(e){e&&f(t),s=!1,l()}}}
1389
+ // (785:22) {#if addfilterselector == "true"}
1390
+ function la(e){let t;return{c(){t=g("casino-filter"),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"datasource",/*datasource*/e[4]),S(t,"lang",/*lang*/e[5]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"addfilterselector",/*addfilterselector*/e[1]),S(t,"addsortingselector",/*addsortingselector*/e[2]),S(t,"filterbylogo",/*filterbylogo*/e[19])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&S(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&S(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&S(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&S(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/524288&n[0]&&S(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&f(t)}}}
1391
+ // (798:22) {#if addsortingselector == "true"}
1392
+ function ca(e){let t;return{c(){t=g("casino-sort"),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"lang",/*lang*/e[5]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&S(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&S(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&f(t)}}}
1393
+ // (855:14) {:else}
1394
+ function ua(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("p"),n=v(r),_(t,"class","NoSearchResults")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&C(n,r)},d(e){e&&f(t)}}}
1395
+ // (814:14) {#if shownCategoryData.length !== 0 }
1396
+ function da(e){let t,n,r=/*shownCategoryData*/e[27],i=[];for(let t=0;t<r.length;t+=1)i[t]=ma(Ri(e,r,t));return{c(){t=g("ul");for(let e=0;e<i.length;e+=1)i[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){m(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
1397
+ /*ul_binding*/e[54](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&a[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const o=Ri(e,r,n);i[n]?i[n].p(o,a):(i[n]=ma(o),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&a[0]|/*favoriteGamesData, showFavGamesCategory*/576&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&_(t,"class",n)},d(n){n&&f(t),p(i,n),
1398
1398
  /*ul_binding*/e[54](null)}}}
1399
- // (807:12) {#if isLoading && !isLazyLoading}
1400
- function da(t){let n;return{c(){n=p("div"),x(n,"class","DualRing")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1401
- // (813:20) {#if intersecting || nativeLoading}
1402
- // (812:18) {#each shownCategoryData as gameprops, index}
1403
- function ha(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v,b=/*index*/e[92];const w=()=>/*casino_game_thumbnail_nd_binding*/e[53](t,b),x=()=>/*casino_game_thumbnail_nd_binding*/e[53](null,b);return{c(){t=p("casino-game-thumbnail-nd"),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"class",n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"part",r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[90].thumbnail),_(t,"gamename",a=/*gameprops*/e[90].name),_(t,"gamevendor",o=/*gameprops*/e[90].vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[90].isNew),_(t,"gametag",c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),_(t,"gameid",d=/*gameprops*/e[90].id),_(t,"gamefunmode",f=/*gameprops*/e[90].hasFunMode),_(t,"gamefavorite",g=/*gameprops*/e[90].isFavorite),_(t,"translationurl",/*translationurl*/e[11]),_(t,"showgamename",/*showgamename*/e[13]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[90].details?/*gameprops*/e[90].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){h(e,t,n),w()},p(h,m){e=h,/*session*/64&m[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&_(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"part",r),/*favorites*/256&m[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[90].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[90].name)&&_(t,"gamename",a),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[90].vendor.logo)&&_(t,"gamevendor",o),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[90].launchUrl)&&_(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[90].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[90].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[90].id)&&_(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&f!==(f=/*gameprops*/e[90].hasFunMode)&&_(t,"gamefunmode",f),/*shownCategoryData*/134217728&m[0]&&g!==(g=/*gameprops*/e[90].isFavorite)&&_(t,"gamefavorite",g),/*translationurl*/2048&m[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&m[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&m[0]|/*intersectingIndexes*/128&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[90].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&_(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&v!==(v=/*gameprops*/e[90].details?/*gameprops*/e[90].href:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&m[0]&&_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[92]&&(x(),b=/*index*/e[92],w())},d(e){e&&m(t),x()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
1404
- // (701:12) {:else}
1405
- function ma(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=p("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
1406
- // (697:12) {#if !shownCategoryData.length}
1407
- function fa(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=p("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
1408
- // (692:10) {#if recentSearched}
1409
- function pa(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=p("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
1410
- // (747:8) {:else}
1411
- function ga(t){let n;return{c(){n=p("p"),n.textContent="Waiting",x(n,"class","SearchWaiting")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1412
- // (708:8) {#if shownCategoryData}
1413
- function ya(e){let t,n,r=!/*showItems*/e[33]&&va(e),i=/*shownCategoryData*/e[27],a=[];for(let t=0;t<i.length;t+=1)a[t]=ba(Ri(e,i,t));return{c(){r&&r.c(),t=v(),n=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();x(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),h(e,t,i),h(e,n,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(e,o){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,o):(r=va(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&o[0]|/*searchItem, addGameTag*/4097&o[1]){let t;for(i=/*shownCategoryData*/e[27],t=0;t<i.length;t+=1){const r=Ri(e,i,t);a[t]?a[t].p(r,o):(a[t]=ba(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&m(t),e&&m(n),f(a,e)}}}
1414
- // (709:10) {#if !showItems}
1415
- function va(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=p("p"),n=y(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Dr(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&S(n,r)},d(e){e&&m(t)}}}
1416
- // (713:12) {#each shownCategoryData as gameprops, index}
1417
- function ba(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y;return{c(){t=p("casino-game-thumbnail-nd"),_(t,"class",n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"part",r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"searchitem",/*searchItem*/e[31]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[90].thumbnail),_(t,"gamename",a=/*gameprops*/e[90].name),_(t,"gamevendor",o=/*gameprops*/e[90].vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[90].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[90].isNew),_(t,"gametag",c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[90].cellSize),_(t,"gameid",d=/*gameprops*/e[90].id),_(t,"gamefunmode",f=/*gameprops*/e[90].hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"gamefavorite",g=/*gameprops*/e[90].isFavorite),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",y=/*gameprops*/e[90].details?/*gameprops*/e[90].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*shownCategoryData*/134217728&h[0]&&n!==(n=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/134217728&h[0]&&r!==(r=""+(Sa+(/*gameprops*/e[90].cellSize?/*gameprops*/e[90].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*searchItem*/1&h[1]&&_(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&h[0]&&i!==(i=/*gameprops*/e[90].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/134217728&h[0]&&a!==(a=/*gameprops*/e[90].name)&&_(t,"gamename",a),/*shownCategoryData*/134217728&h[0]&&o!==(o=/*gameprops*/e[90].vendor.logo)&&_(t,"gamevendor",o),/*shownCategoryData*/134217728&h[0]&&s!==(s=/*gameprops*/e[90].launchUrl)&&_(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&h[0]&&l!==(l=/*gameprops*/e[90].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/134217728&h[0]&&c!==(c=/*gameprops*/e[90].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[90].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/134217728&h[0]&&u!==(u=/*gameprops*/e[90].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/134217728&h[0]&&d!==(d=/*gameprops*/e[90].id)&&_(t,"gameid",d),/*shownCategoryData*/134217728&h[0]&&f!==(f=/*gameprops*/e[90].hasFunMode)&&_(t,"gamefunmode",f),/*showgamename*/8192&h[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&h[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&h[0]&&g!==(g=/*gameprops*/e[90].isFavorite)&&_(t,"gamefavorite",g),/*currency*/4096&h[0]&&_(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&h[0]&&y!==(y=/*gameprops*/e[90].details?/*gameprops*/e[90].href:"")&&_(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1418
- // (685:4) {:else}
1419
- function wa(e){let t;return{c(){t=p("p"),t.textContent="500 Error - Internal Server Error.",x(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}
1420
- // (683:4) {#if presentFilters}
1421
- function xa(e){let t;return{c(){t=p("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}function _a(t){let n;function r(e,t){/*hasErrors*/
1422
- return e[24]?zi:/*searched*/e[29]?Bi:Hi}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,x(n,"class","CasinoGamesCategorySectionContainer")},m(e,r){h(e,n,r),a.m(n,null),
1423
- /*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(),
1424
- /*div_binding*/t[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Oi,Di,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),B()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),B()}});const Sa="game-tile-";function Ca(e,t,n){let r;u(e,Ar,(e=>n(41,r=e)));let i,a,o,s,l,c,d,h,m,f,{endpoint:p=""}=t,{datasource:g=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:b=""}=t,{favorites:w=""}=t,{clientstyling:x=""}=t,{clientstylingurl:_=""}=t,{translationurl:S=""}=t,{currency:C=""}=t,{categoryid:G=""}=t,{showgamename:F=""}=t,{livecasino:k="false"}=t,{gamepagemodalurl:E="true"}=t,{integratedgameframedesktop:M="false"}=t,{integratedgameframemobile:L="false"}=t,{casinomygames:I="false"}=t,{addfilterselector:A="false"}=t,{addsortingselector:D="false"}=t,{filterbylogo:O=""}=t,{casinogamesgridslider:P="false"}=t,{fetchviaevent:N="false"}=t,{showallpage:R="casino"}=t,{actionevent:H="CategoryChange"}=t,{displayedgamecount:B="10"}=t,{showallbuttongamescount:z="10"}=t,U=!0,Y=!1,j=!0,W=window.navigator.userAgent,V=[],Z=!0,K=40,X=!1,J=!1,q=!1,Q=!1,ee=!1,te=!0,ne=!1,re=!1,ie=!1,ae=new Array(1e4),oe={},se="",le="",ce=[],ue=new AbortController,de={items:[],count:0,name:""};Object.keys(Hr).forEach((e=>{Rr(e,Hr[e])})),void 0!==document.hidden?
1399
+ // (811:12) {#if isLoading && !isLazyLoading}
1400
+ function ha(e){let n;return{c(){n=g("div"),_(n,"class","DualRing")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
1401
+ // (817:20) {#if intersecting || nativeLoading}
1402
+ // (816:18) {#each shownCategoryData as gameprops, index}
1403
+ function ma(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y,v,b=/*index*/e[93];const w=()=>/*casino_game_thumbnail_nd_binding*/e[53](t,b),x=()=>/*casino_game_thumbnail_nd_binding*/e[53](null,b);return{c(){t=g("casino-game-thumbnail-nd"),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"class",n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].thumbnail),S(t,"gamename",a=/*gameprops*/e[91].name),S(t,"gamevendor",o=/*gameprops*/e[91].vendor.logo),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].isNew),S(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].id),S(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),S(t,"gamefavorite",p=/*gameprops*/e[91].isFavorite),S(t,"translationurl",/*translationurl*/e[11]),S(t,"showgamename",/*showgamename*/e[13]),S(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[39]),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),S(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){m(e,t,n),w()},p(m,f){e=m,/*session*/64&f[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&f[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&f[0]&&S(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&f[0]&&n!==(n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/134217728&f[0]&&r!==(r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*favorites*/256&f[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&f[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&f[0]&&i!==(i=/*gameprops*/e[91].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/134217728&f[0]&&a!==(a=/*gameprops*/e[91].name)&&S(t,"gamename",a),/*shownCategoryData*/134217728&f[0]&&o!==(o=/*gameprops*/e[91].vendor.logo)&&S(t,"gamevendor",o),/*shownCategoryData*/134217728&f[0]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&f[0]&&l!==(l=/*gameprops*/e[91].isNew)&&S(t,"gameisnew",l),/*shownCategoryData*/134217728&f[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&S(t,"gametag",c),/*shownCategoryData*/134217728&f[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*shownCategoryData*/134217728&f[0]&&d!==(d=/*gameprops*/e[91].id)&&S(t,"gameid",d),/*shownCategoryData*/134217728&f[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&S(t,"gamefunmode",h),/*shownCategoryData*/134217728&f[0]&&p!==(p=/*gameprops*/e[91].isFavorite)&&S(t,"gamefavorite",p),/*translationurl*/2048&f[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&f[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&f[0]|/*intersectingIndexes*/128&f[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&S(t,"connectlive",y),/*visibilityconnect*/256&f[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&f[0]&&S(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&f[0]&&v!==(v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:"")&&S(t,"livelobbyendpoint",v),/*clientstyling*/512&f[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&f[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&f[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&f[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&f[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&f[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&f[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&f[0]&&S(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[93]&&(x(),b=/*index*/e[93],w())},d(e){e&&f(t),x()}}}(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&f(t)}}}
1404
+ // (705:12) {:else}
1405
+ function fa(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=g("h3"),n=v(r),_(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&C(n,r)},d(e){e&&f(t)}}}
1406
+ // (701:12) {#if !shownCategoryData.length}
1407
+ function pa(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("h3"),n=v(r),_(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&C(n,r)},d(e){e&&f(t)}}}
1408
+ // (696:10) {#if recentSearched}
1409
+ function ga(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=g("h3"),n=v(r),_(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&C(n,r)},d(e){e&&f(t)}}}
1410
+ // (751:8) {:else}
1411
+ function ya(e){let n;return{c(){n=g("p"),n.textContent="Waiting",_(n,"class","SearchWaiting")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
1412
+ // (712:8) {#if shownCategoryData}
1413
+ function va(e){let t,n,r=!/*showItems*/e[33]&&ba(e),i=/*shownCategoryData*/e[27],a=[];for(let t=0;t<i.length;t+=1)a[t]=wa(Hi(e,i,t));return{c(){r&&r.c(),t=b(),n=g("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),m(e,t,i),m(e,n,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(e,o){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,o):(r=ba(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&o[0]|/*searchItem, addGameTag*/4097&o[1]){let t;for(i=/*shownCategoryData*/e[27],t=0;t<i.length;t+=1){const r=Hi(e,i,t);a[t]?a[t].p(r,o):(a[t]=wa(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&f(t),e&&f(n),p(a,e)}}}
1414
+ // (713:10) {#if !showItems}
1415
+ function ba(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=g("p"),n=v(r),_(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Or(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&C(n,r)},d(e){e&&f(t)}}}
1416
+ // (717:12) {#each shownCategoryData as gameprops, index}
1417
+ function wa(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y;return{c(){t=g("casino-game-thumbnail-nd"),S(t,"class",n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"searchitem",/*searchItem*/e[31]),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].thumbnail),S(t,"gamename",a=/*gameprops*/e[91].name),S(t,"gamevendor",o=/*gameprops*/e[91].vendor.logo),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].isNew),S(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].id),S(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),S(t,"showgamename",/*showgamename*/e[13]),S(t,"translationurl",/*translationurl*/e[11]),S(t,"gamefavorite",p=/*gameprops*/e[91].isFavorite),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",y=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(Ca+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*session*/64&m[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&S(t,"lang",/*lang*/e[5]),/*searchItem*/1&m[1]&&S(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&m[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[91].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[91].name)&&S(t,"gamename",a),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[91].vendor.logo)&&S(t,"gamevendor",o),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[91].isNew)&&S(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&S(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[91].id)&&S(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&S(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&m[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&m[0]&&p!==(p=/*gameprops*/e[91].isFavorite)&&S(t,"gamefavorite",p),/*currency*/4096&m[0]&&S(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&y!==(y=/*gameprops*/e[91].details?/*gameprops*/e[91].href:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/512&m[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&f(t)}}}
1418
+ // (689:4) {:else}
1419
+ function xa(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Server Error.",_(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&f(t)}}}
1420
+ // (687:4) {#if presentFilters}
1421
+ function _a(e){let t;return{c(){t=g("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&f(t)}}}function Sa(e){let n;function r(e,t){/*hasErrors*/
1422
+ return e[24]?Ui:/*searched*/e[29]?zi:Bi}let i=r(e),a=i(e);return{c(){n=g("div"),a.c(),this.c=t,_(n,"class","CasinoGamesCategorySectionContainer")},m(t,r){m(t,n,r),a.m(n,null),
1423
+ /*div_binding*/e[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:t,o:t,d(t){t&&f(n),a.d(),
1424
+ /*div_binding*/e[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Pi,Oi,o,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),z()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),z()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),z()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),z()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),z()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),z()}});const Ca="game-tile-";function Ga(t,n,r){let i;d(t,Dr,(e=>r(41,i=e)));let a,o,s,l,c,u,h,m,f,p,{endpoint:g=""}=n,{datasource:y=""}=n,{lang:v=""}=n,{session:b=""}=n,{userid:w=""}=n,{favorites:x=""}=n,{clientstyling:_=""}=n,{clientstylingurl:S=""}=n,{translationurl:C=""}=n,{currency:G=""}=n,{categoryid:F=""}=n,{showgamename:k=""}=n,{livecasino:E="false"}=n,{gamepagemodalurl:T="true"}=n,{integratedgameframedesktop:$="false"}=n,{integratedgameframemobile:I="false"}=n,{casinomygames:A="false"}=n,{addfilterselector:D="false"}=n,{addsortingselector:O="false"}=n,{filterbylogo:P=""}=n,{casinogamesgridslider:N="false"}=n,{fetchviaevent:R="false"}=n,{showallpage:H="casino"}=n,{actionevent:B="CategoryChange"}=n,{displayedgamecount:z="10"}=n,{showallbuttongamescount:U="10"}=n,Y=!0,j=!1,W=!0,V=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=[],de=new AbortController,he={items:[],count:0,name:""};Object.keys(Br).forEach((e=>{Hr(e,Br[e])})),void 0!==document.hidden?
1425
1425
  // Opera 12.10 and Firefox 18 and later support
1426
- h="hidden":void 0!==document.msHidden?h="msHidden":void 0!==document.webkitHidden&&(h="webkitHidden");
1426
+ m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
1427
1427
  // IntersectionObserver used for loading more games
1428
- let he=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,r=e.target.elems_index;// eslint-disable-line
1428
+ let me=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,n=e.target.elems_index;// eslint-disable-line
1429
1429
  // eslint-disable-line
1430
- e.isIntersecting?(1.2*r>K&&xe(G),n(38,oe[t]=1,oe)):n(38,oe[t]=0,oe)}))}));
1430
+ e.isIntersecting?(1.2*n>X&&Se(F),r(38,se[t]=1,se)):r(38,se[t]=0,se)}))}));
1431
1431
  // Start favored games section
1432
- const me=(e,t)=>{let r=`${p}/v1/player/${t}/favorites/`;n(23,U=!0);let i={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(r,i).then((e=>e.json())).then((t=>{n(23,U=!1),f=[],t?(t.items.forEach((e=>{e.gameModel&&(f.push(e),ce.includes(e.id)||ce.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f})):f=[],"FAVORITES"===G&&we(f),V.forEach((e=>{e.isFavorite=ge(e.id)}));let r=V;n(27,V=void 0),n(27,V=r),e(f)})).catch((e=>{console.error(e),t(e)}))}))},fe=(e,t,r)=>{ue&&ue.abort(),ue=new AbortController;const i=ue.signal;n(23,U=!0);let a="",o="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),c=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(a=e.split("$").slice(0,2).join("$"),o=new URL(`${p}/v1/casino/groups/${g}/${a}/subGroups`)):o=new URL(`${p}/v1/casino/groups/${g}/${e}`),new Promise(((a,u)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Or(W)),o.searchParams.append("pagination",`games(offset=${t},limit=${r})`),o.searchParams.append("language",y),
1432
+ const fe=(e,t)=>{let n=`${g}/v1/player/${t}/favorites/`;r(23,Y=!0);let i={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(n,i).then((e=>e.json())).then((t=>{r(23,Y=!1),p=[],t?(t.items.forEach((e=>{e.gameModel&&(p.push(e),ue.includes(e.id)||ue.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:p})):p=[],"FAVORITES"===F&&_e(p),Z.forEach((e=>{e.isFavorite=ve(e.id)}));let n=Z;r(27,Z=void 0),r(27,Z=n),e(p)})).catch((e=>{console.error(e),t(e)}))}))},pe=(e,t,n)=>{de&&de.abort(),de=new AbortController;const i=de.signal;r(23,Y=!0);let a="",o="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),l=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(a=e.split("$").slice(0,2).join("$"),o=new URL(`${g}/v1/casino/groups/${y}/${a}/subGroups`)):o=new URL(`${g}/v1/casino/groups/${y}/${e}`),new Promise(((a,u)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Pr(V)),o.searchParams.append("pagination",`games(offset=${t},limit=${n})`),o.searchParams.append("language",v),
1433
1433
  // if vendor filters are active, get filtered games
1434
- window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),s&&s[e])if(s[e].length&&!1===j&&!1===re){let t="";n(32,ee=!0),s[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),o.searchParams.append("filter",`${t}`)}else n(32,ee=!1);c&&(c[e]?c[e]&&"All"!=c[e]&&("isNew"==c[e]||"advancedTags(name(hot))"==c[e]?(o.searchParams.append("sortedField",`games(${c[e]})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${c[e]})`)):le&&"All"!=le&&("advancedTags(name(hot))"==le||"isNew"==le?(o.searchParams.append("sortedField",`games(${le})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${le})`))),fetch(o,{signal:i}).then((e=>e.json())).then((t=>{i.aborted||(n(23,U=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),n(50,m=!0),n(24,Y=!1),l=t.games.total,n(34,ne=!0),a(t))})).catch((e=>{"AbortError"!==e.name&&(n(24,Y=!0),console.error(e),u(e))}))}))},pe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==G&&(n(29,X=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.mostPlayedGames),n(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(23,U=!1);break;case"LastPlayedData":"LASTPLAYED"==G&&(n(29,X=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.lastPlayedGames),n(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(23,U=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(29,X=!0),n(30,J=!0),e.data.searchData.length>0?(n(27,V=e.data.searchData),n(33,te=!0),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))):(n(27,V=[]),n(33,te=!1));break;case"OutOfRecentSearches":n(29,X=!1),n(30,J=!1);break;case"SearchData":n(29,X=!0),n(30,J=!1),n(27,V=e.data.searchData.items||[]),n(31,Q=!0),e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}));break;case`CategoryData_${G}`:n(29,X=!1),n(25,j=!0),n(1,A="false"),n(2,D="false"),n(31,Q=!1),ie=!1,e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),fe(e.data.categoryId,0,e.data.visiblegames).then((t=>{n(26,o=t),n(27,V=o.games.items),l<=e.data.visiblegames?n(28,Z=!1):n(28,Z=!0),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))}));break;case"CategoryChange":K=20;break;case"ApplySorter":n(0,G=e.data.itemId),le=e.data.sortBy,fe(G,0,K).then((e=>{n(26,o=e),n(27,V=o.games.items),n(28,Z=!1)}));break;case"CategoryUpdate":n(29,X=!1),n(25,j=!1),n(31,Q=!1),ie=!0,n(34,ne=!1),n(0,G=e.data.itemId),"MOSTPLAYED"!==G&&n(28,Z=!1),"true"!==I&&fe(G,0,K).then((t=>{n(26,o=t),o.games.items.forEach((e=>{e.isFavorite=ge(e.id)})),n(27,V=o.games.items),n(28,Z=!1),
1434
+ window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),s&&s[e])if(s[e].length&&!1===W&&!1===ie){let t="";r(32,te=!0),s[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),o.searchParams.append("filter",`${t}`)}else r(32,te=!1);l&&(l[e]?l[e]&&"All"!=l[e]&&("isNew"==l[e]||"advancedTags(name(hot))"==l[e]?(o.searchParams.append("sortedField",`games(${l[e]})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${l[e]})`)):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,{signal:i}).then((e=>e.json())).then((t=>{i.aborted||(r(23,Y=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),r(50,f=!0),r(24,j=!1),c=t.games.total,r(34,re=!0),a(t))})).catch((e=>{"AbortError"!==e.name&&(r(24,j=!0),console.error(e),u(e))}))}))},ge=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==F&&(r(29,J=!1),r(25,W=!1),r(28,K=!1),r(27,Z=e.data.mostPlayedGames),r(26,s={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),r(23,Y=!1);break;case"LastPlayedData":"LASTPLAYED"==F&&(r(29,J=!1),r(25,W=!1),r(28,K=!1),r(27,Z=e.data.lastPlayedGames),r(26,s={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),r(23,Y=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":r(29,J=!0),r(30,q=!0),e.data.searchData.length>0?(r(27,Z=e.data.searchData),r(33,ne=!0),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))):(r(27,Z=[]),r(33,ne=!1));break;case"OutOfRecentSearches":r(29,J=!1),r(30,q=!1);break;case"SearchData":r(29,J=!0),r(30,q=!1),r(27,Z=e.data.searchData.items||[]),r(31,ee=!0),e.data.receivedFavoriteResults&&(p=e.data.receivedFavoriteResults.items),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}));break;case`CategoryData_${F}`:r(29,J=!1),r(25,W=!0),r(1,D="false"),r(2,O="false"),r(31,ee=!1),ae=!1,e.data.receivedFavoriteResults&&(p=e.data.receivedFavoriteResults.items),pe(e.data.categoryId,0,e.data.visiblegames).then((t=>{r(26,s=t),r(27,Z=s.games.items),c<=e.data.visiblegames?r(28,K=!1):r(28,K=!0),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))}));break;case"CategoryChange":X=20;break;case"ApplySorter":r(0,F=e.data.itemId),ce=e.data.sortBy,pe(F,0,X).then((e=>{r(26,s=e),r(27,Z=s.games.items),r(28,K=!1)}));break;case"CategoryUpdate":ye(e.data.itemId);break;case`SetUnfavoredGame${F}`:we(`${g}/v1/player/${w}/favorites`,b,e.data.id);break;case`SetFavoredGame${F}`:be(`${g}/v1/player/${w}/favorites`,b,e.data.id);break;case"UserSessionID":a=e.data.session,o=e.data.userID,"true"==x&&o&&o.length&&a&&a.length>0&&fe(a,o);break;case"UpdateFavoredList":"FAVORITES"===F&&xe(e.data.url,e.data.sessionID)}},ye=t=>{r(29,J=!1),r(25,W=!1),r(31,ee=!1),ae=!0,r(34,re=!1),r(0,F=t),"MOSTPLAYED"!==F&&r(28,K=!1),"true"!==A&&pe(F,0,X).then((t=>{r(26,s=t),s.games.items.forEach((e=>{e.isFavorite=ve(e.id)})),r(27,Z=s.games.items),r(28,K=!1),
1435
1435
  // @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
1436
- V.length<10&&0==e.data.origin&&(q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:q},window.location.href)}),500))}));break;case`SetUnfavoredGame${G}`:ve(`${p}/v1/player/${b}/favorites`,v,e.data.id);break;case`SetFavoredGame${G}`:ye(`${p}/v1/player/${b}/favorites`,v,e.data.id);break;case"UserSessionID":i=e.data.session,a=e.data.userID,"true"==w&&a&&a.length&&i&&i.length>0&&me(i,a);break;case"UpdateFavoredList":"FAVORITES"===G&&be(e.data.url,e.data.sessionID)}},ge=e=>{var t;return null!==(t=null==f?void 0:f.some((t=>t.id===e)))&&void 0!==t&&t};
1436
+ Z.length<10&&0==e.data.origin&&(Q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Q},window.location.href)}),500))}))},ve=e=>{var t;return null!==(t=null==p?void 0:p.some((t=>t.id===e)))&&void 0!==t&&t};
1437
1437
  // @TODO categoryId type
1438
- let ye=async(e,t,n)=>{
1438
+ let be=async(e,t,n)=>{
1439
1439
  // Wait for the updateFavoredList to complete
1440
- await be(e,t),ce.includes(n)||ce.push(n);let r={items:ce},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e,i).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)})).catch((e=>{console.error("Err",e)}))};const ve=(e,t,n)=>{fetch(`${e}/${n}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${n}`},window.location.href),be(e,t)})),ce.includes(n)&&(ce=ce.filter((e=>e!=n)))},be=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>{f=e.items,N?(f.forEach((e=>{ce.includes(e.id)||ce.push(e.id)})),o&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=ge(e.id)})))):f.forEach((e=>{e.isFavorite=ge(e.id)})),"FAVORITES"===G&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f}),we(f))})).catch((e=>{console.error(e)})),we=e=>{if(!e)return;let t;t=(null==e?void 0:e.items)||e||[],t.length>0&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!0)})),n(40,de.items=
1440
+ await xe(e,t),ue.includes(n)||ue.push(n);let r={items:ue},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e,i).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)})).catch((e=>{console.error("Err",e)}))};const we=(e,t,n)=>{fetch(`${e}/${n}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${n}`},window.location.href),xe(e,t)})),ue.includes(n)&&(ue=ue.filter((e=>e!=n)))},xe=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>{p=e.items,R?(p.forEach((e=>{ue.includes(e.id)||ue.push(e.id)})),s&&(r(27,Z=s.games.items),Z.forEach((e=>{e.isFavorite=ve(e.id)})))):p.forEach((e=>{e.isFavorite=ve(e.id)})),"FAVORITES"===F&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:p}),_e(p))})).catch((e=>{console.error(e)})),_e=e=>{if(!e)return;let t;t=(null==e?void 0:e.items)||e||[],t.length>0&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!0)})),r(40,he.items=
1441
1441
  // separate favorites array into mobile and desktop favorites
1442
1442
  function(e){let t=window.navigator.userAgent;
1443
1443
  // make sure to display favored games specific to the platform used
1444
- return Dr(t)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,de.items),de),n(40,de.name="Favorites",de),n(23,U=!1)},xe=e=>{K+=1,n(34,ne=!0),K<=l&&fe(e,0,K).then((e=>{n(26,o=e),
1444
+ return Or(t)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,he.items),he),r(40,he.name="Favorites",he),r(23,Y=!1)},Se=e=>{X+=1,r(34,re=!0),X<=c&&pe(e,0,X).then((e=>{r(26,s=e),
1445
1445
  // @TODO categoryData type fix
1446
1446
  /**
1447
1447
  * This check is needed to prevent requests with less items
1448
1448
  * that started before but ended after the last request to add items to list
1449
1449
  * This could also use abort controller instead but refactoring is needed
1450
1450
  */
1451
- o.games.items.length>V.length&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=ge(e.id)}))),n(34,ne=!1)}))},_e=e=>{window.postMessage({type:`${H}`,itemId:e,showallpage:R},window.location.href)},Se=()=>{var e;e=y,fr.set(e)};
1451
+ s.games.items.length>Z.length&&(r(27,Z=s.games.items),Z.forEach((e=>{e.isFavorite=ve(e.id)}))),r(34,re=!1)}))},Ce=e=>{window.postMessage({type:`${B}`,itemId:e,showallpage:H},window.location.href)},Ge=()=>{var e;e=v,pr.set(e)};
1452
1452
  // Fetch fav list and pass to be updated
1453
- T((()=>(window.addEventListener("visibilitychange",(e=>{document[h]?n(39,se="disconnect"):n(39,se="connect")})),window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe),window.removeEventListener("visibilitychange",pe)})));return e.$$set=e=>{"endpoint"in e&&n(3,p=e.endpoint),"datasource"in e&&n(4,g=e.datasource),"lang"in e&&n(5,y=e.lang),"session"in e&&n(6,v=e.session),"userid"in e&&n(7,b=e.userid),"favorites"in e&&n(8,w=e.favorites),"clientstyling"in e&&n(9,x=e.clientstyling),"clientstylingurl"in e&&n(10,_=e.clientstylingurl),"translationurl"in e&&n(11,S=e.translationurl),"currency"in e&&n(12,C=e.currency),"categoryid"in e&&n(0,G=e.categoryid),"showgamename"in e&&n(13,F=e.showgamename),"livecasino"in e&&n(14,k=e.livecasino),"gamepagemodalurl"in e&&n(15,E=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(16,M=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(17,L=e.integratedgameframemobile),"casinomygames"in e&&n(18,I=e.casinomygames),"addfilterselector"in e&&n(1,A=e.addfilterselector),"addsortingselector"in e&&n(2,D=e.addsortingselector),"filterbylogo"in e&&n(19,O=e.filterbylogo),"casinogamesgridslider"in e&&n(20,P=e.casinogamesgridslider),"fetchviaevent"in e&&n(45,N=e.fetchviaevent),"showallpage"in e&&n(46,R=e.showallpage),"actionevent"in e&&n(47,H=e.actionevent),"displayedgamecount"in e&&n(48,B=e.displayedgamecount),"showallbuttongamescount"in e&&n(49,z=e.showallbuttongamescount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty[0]&&y&&Se(),/*endpoint, lang, categoryid, datasource*/57&e.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&e.$$.dirty[1]&&(
1453
+ M((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="disconnect"):r(39,le="connect")})),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})));return t.$$set=e=>{"endpoint"in e&&r(3,g=e.endpoint),"datasource"in e&&r(4,y=e.datasource),"lang"in e&&r(5,v=e.lang),"session"in e&&r(6,b=e.session),"userid"in e&&r(7,w=e.userid),"favorites"in e&&r(8,x=e.favorites),"clientstyling"in e&&r(9,_=e.clientstyling),"clientstylingurl"in e&&r(10,S=e.clientstylingurl),"translationurl"in e&&r(11,C=e.translationurl),"currency"in e&&r(12,G=e.currency),"categoryid"in e&&r(0,F=e.categoryid),"showgamename"in e&&r(13,k=e.showgamename),"livecasino"in e&&r(14,E=e.livecasino),"gamepagemodalurl"in e&&r(15,T=e.gamepagemodalurl),"integratedgameframedesktop"in e&&r(16,$=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(17,I=e.integratedgameframemobile),"casinomygames"in e&&r(18,A=e.casinomygames),"addfilterselector"in e&&r(1,D=e.addfilterselector),"addsortingselector"in e&&r(2,O=e.addsortingselector),"filterbylogo"in e&&r(19,P=e.filterbylogo),"casinogamesgridslider"in e&&r(20,N=e.casinogamesgridslider),"fetchviaevent"in e&&r(45,R=e.fetchviaevent),"showallpage"in e&&r(46,H=e.showallpage),"actionevent"in e&&r(47,B=e.actionevent),"displayedgamecount"in e&&r(48,z=e.displayedgamecount),"showallbuttongamescount"in e&&r(49,U=e.showallbuttongamescount)},t.$$.update=()=>{/*lang*/32&t.$$.dirty[0]&&v&&Ge(),/*endpoint, lang, categoryid, datasource*/57&t.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&t.$$.dirty[1]&&(
1454
1454
  // Widget is working as standalone when fetchviaevent isn't set
1455
- "false"===N||""===N)&&p&&y&&G&&g&&B&&z&&((e,t,r)=>{""!==e&&(n(29,X=!1),n(25,j=!0),n(1,A="false"),n(2,D="false"),n(31,Q=!1),ie=!1,n(28,Z=+t>+r),fe(e,0,+t).then((e=>{n(26,o=e),n(27,V=o.games.items),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))})))})(G,B,z),/*favorites, endpoint, session, userid*/456&e.$$.dirty[0]&&
1455
+ "false"===R||""===R)&&g&&v&&F&&y&&z&&U&&((e,t,n)=>{""!==e&&(r(29,J=!1),r(25,W=!0),r(1,D="false"),r(2,O="false"),r(31,ee=!1),ae=!1,r(28,K=+t>+n),pe(e,0,+t).then((e=>{r(26,s=e),r(27,Z=s.games.items),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))})))})(F,z,U),/*favorites, endpoint, session, userid*/456&t.$$.dirty[0]&&
1456
1456
  // Call the fav. list fetch when widget is standalone
1457
- "true"===w&&p&&v&&b&&me(v,b),/*thumbnailContainer*/4194304&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&m&&ae&&ie&&ae.forEach(((e,t)=>{e&&(
1457
+ "true"===x&&g&&b&&w&&fe(b,w),/*thumbnailContainer*/4194304&t.$$.dirty[0]|/*dataloaded*/524288&t.$$.dirty[1]&&f&&oe&&ae&&oe.forEach(((e,t)=>{e&&(
1458
1458
  // Hack to make sure that I can identify the thumbnail index
1459
- e.elems_index=t,he.observe(e))})),/*lang, categoryid, userid, session*/225&e.$$.dirty[0]&&y&&G&&b&&v&&(()=>{
1459
+ e.elems_index=t,me.observe(e))})),/*lang, categoryid, userid, session*/225&t.$$.dirty[0]&&v&&F&&w&&b&&(()=>{
1460
1460
  // showFavGamesCategory vs categoryData
1461
1461
  // favoriteGamesData vs shownCategoryData
1462
- switch(G){case"FAVORITES":n(37,re=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===I&&n(37,re=!1)}})(),/*translationurl*/2048&e.$$.dirty[0]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&e.$$.dirty[0]&&x&&d&&(()=>{let e=document.createElement("style");e.innerHTML=x,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&e.$$.dirty[0]&&_&&d&&(()=>{let e=new URL(_),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})()},[G,A,D,p,g,y,v,b,w,x,_,S,C,F,k,E,M,L,I,O,P,d,ae,U,Y,j,o,V,Z,X,J,Q,ee,te,ne,s,c,re,oe,se,de,r,W,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Br(l).diff(i)<r&&(r=Br(l).diff(i),t=o),Br(i).isAfter(s)&&Br(i).isBefore(l)&&(n=e[t].name)})),n},_e,N,R,H,B,z,m,function(e){$[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},e=>_e(o.id),function(e,t){$[e?"unshift":"push"]((()=>{ae[t]=e,n(22,ae)}))},function(e){$[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){$[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},function(e){$[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){$[e?"unshift":"push"]((()=>{d=e,n(21,d)}))}]}
1462
+ switch(F){case"FAVORITES":r(37,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&r(37,ie=!1);break;default:ye(F)}})(),/*translationurl*/2048&t.$$.dirty[0]&&C&&fetch(C).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Hr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&_&&h&&(()=>{let e=document.createElement("style");e.innerHTML=_,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.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)}))})()},[F,D,O,g,y,v,b,w,x,_,S,C,G,k,E,T,$,I,A,P,N,h,oe,Y,j,W,s,Z,K,J,q,ee,te,ne,re,l,u,ie,se,le,he,i,V,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);zr(l).diff(i)<r&&(r=zr(l).diff(i),t=o),zr(i).isAfter(s)&&zr(i).isBefore(l)&&(n=e[t].name)})),n},Ce,R,H,B,z,U,f,function(e){L[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>Ce(s.id),function(e,t){L[e?"unshift":"push"]((()=>{oe[t]=e,r(22,oe)}))},function(e){L[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){L[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){L[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){L[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
1463
1463
  /* src/CasinoMostPlayedSectionNd.svelte generated by Svelte v3.59.2 */
1464
- function Ga(e){let t;return{c(){t=p("casino-games-category-section-nd"),_(t,"session",/*session*/e[4]),_(t,"userid",/*userid*/e[5]),_(t,"endpoint",/*endpoint*/e[0]),_(t,"datasource",/*datasource*/e[1]),_(t,"lang",/*lang*/e[3]),_(t,"currency",/*currency*/e[2]),_(t,"favorites",/*favorites*/e[14]),_(t,"fetchviaevent",/*fetchviaevent*/e[16]),_(t,"categoryid","MOSTPLAYED"),_(t,"categoryindex","1"),_(t,"categorygames","9"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[12]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),_(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){h(e,t,n)},p(e,n){/*session*/16&n[0]&&_(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&_(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&_(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&_(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&_(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&_(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&_(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&_(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&_(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&m(t)}}}
1464
+ function Fa(e){let t;return{c(){t=g("casino-games-category-section-nd"),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"datasource",/*datasource*/e[1]),S(t,"lang",/*lang*/e[3]),S(t,"currency",/*currency*/e[2]),S(t,"favorites",/*favorites*/e[14]),S(t,"fetchviaevent",/*fetchviaevent*/e[16]),S(t,"categoryid","MOSTPLAYED"),S(t,"categoryindex","1"),S(t,"categorygames","9"),S(t,"class","CategoryContainer"),S(t,"showgamename",/*showgamename*/e[12]),S(t,"clientstyling",/*clientstyling*/e[6]),S(t,"clientstylingurl",/*clientstylingurl*/e[7]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"visiblegames",/*visiblegames*/e[13]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),S(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){m(e,t,n)},p(e,n){/*session*/16&n[0]&&S(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&S(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&S(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&S(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&S(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&S(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&S(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&S(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&S(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&S(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&S(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&S(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&f(t)}}}
1465
1465
  // (153:4) {#if mostPlayedEmpty}
1466
- function Fa(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=p("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function ka(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
1467
- return e[18]?Fa:Ga}let a=i(t),o=a(t);return{c(){n=p("div"),r=p("div"),o.c(),this.c=e,x(r,"class","casino-most-played-section"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),o.m(r,null),
1468
- /*div1_binding*/t[23](n)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:e,o:e,d(e){e&&m(n),o.d(),
1469
- /*div1_binding*/t[23](null)}}}function Ea(e,t,n){let r;u(e,Ar,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:x="false"}=t,{mostplayedperiod:_="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:C="true"}=t,G=window.navigator.userAgent;Object.keys(Nr).forEach((e=>{Pr(e,Nr[e])}));let F,k,E=[],T=!1;const M=()=>{(e=>{let t=new URL(`${i}/v1/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",_);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),F=m?t:t.href,new Promise(((e,t)=>{fetch(F).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:Or(G),rounds:S}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{E=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===x&&(E=E.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:E},window.location.href)}))}else n(18,T=!0)}))},L=()=>{var e;e=s,fr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,x=e.casinomygames),"mostplayedperiod"in e&&n(21,_=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,C=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&d&&k&&(()=>{let e=document.createElement("style");e.innerHTML=d,k.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&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*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pr(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,d,h,m,f,p,g,y,v,b,x,C,k,T,r,w,_,S,function(e){$[e?"unshift":"push"]((()=>{k=e,n(17,k)}))}]}!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw-casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw-casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 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:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;padding:8px 0 0;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw-casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 20px)}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw-casino-color-primary, #D0046C);border-color:var(--emw-casino-color-primary, #D0046C) transparent var(--emw-casino-color-primary, #D0046C);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw-casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Ca,_a,a,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),B()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),B()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),B()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),B()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),B()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),B()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),B()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),B()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),B()}});class Ta extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Ea,ka,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}}return!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",Ta),Ta}));
1466
+ function ka(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=g("p"),n=v(r),_(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&C(n,r)},d(e){e&&f(t)}}}function Ea(e){let n,r;function i(e,t){/*mostPlayedEmpty*/
1467
+ return e[18]?ka:Fa}let a=i(e),o=a(e);return{c(){n=g("div"),r=g("div"),o.c(),this.c=t,_(r,"class","casino-most-played-section"),_(n,"class","CasinoGamesCategorySectionContainer")},m(t,i){m(t,n,i),h(n,r),o.m(r,null),
1468
+ /*div1_binding*/e[23](n)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&f(n),o.d(),
1469
+ /*div1_binding*/e[23](null)}}}function Ta(e,t,n){let r;d(e,Dr,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:x="false"}=t,{mostplayedperiod:_="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:C="true"}=t,G=window.navigator.userAgent;Object.keys(Rr).forEach((e=>{Nr(e,Rr[e])}));let F,k,E=[],T=!1;const M=()=>{(e=>{let t=new URL(`${i}/v1/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",_);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),F=m?t:t.href,new Promise(((e,t)=>{fetch(F).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:Pr(G),rounds:S}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{E=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===x&&(E=E.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:E},window.location.href)}))}else n(18,T=!0)}))},$=()=>{var e;e=s,pr.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,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,x=e.casinomygames),"mostplayedperiod"in e&&n(21,_=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,C=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&u&&k&&(()=>{let e=document.createElement("style");e.innerHTML=u,k.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&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*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&$()},[i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,x,C,k,T,r,w,_,S,function(e){L[e?"unshift":"push"]((()=>{k=e,n(17,k)}))}]}!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw-casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw-casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 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:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;padding:8px 0 0;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw-casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 20px)}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw-casino-color-primary, #D0046C);border-color:var(--emw-casino-color-primary, #D0046C) transparent var(--emw-casino-color-primary, #D0046C);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw-casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ga,Sa,o,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),z()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),z()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),z()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),z()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),z()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),z()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),z()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),z()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),z()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),z()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),z()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),z()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),z()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),z()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),z()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),z()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),z()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),z()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),z()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),z()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),z()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),z()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),z()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),z()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),z()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),z()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),z()}});class Ma extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ta,Ea,o,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),z()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),z()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),z()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),z()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),z()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),z()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),z()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),z()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),z()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),z()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),z()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),z()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),z()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),z()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),z()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),z()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),z()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),z()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),z()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),z()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),z()}}return!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",Ma),Ma}));
1470
1470
  //# sourceMappingURL=casino-most-played-section-nd.js.map